Use 3 bytes for __pad1 in pthread_rwlock_t for x32
[glibc.git] / ChangeLog
blobec08f77bf1a72679dd1ab8b3e37f7e6f3ab1eb14
1 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4         3 bytes for __pad1 for x32.
5         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
8             H.J. Lu  <hongjiu.lu@intel.com>
10         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
12         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
18         [BZ #17069]
19         * posix/regcomp.c (parse_expression): Deallocate partially
20         constructed tree before returning error.
21         * posix/Makefile.c (tests): Add bug-regex36.
22         (generated): Add bug-regex36.mtrace.
23         (tests-special): Add $(objpfx)bug-regex36-mem.out
24         (bug-regex36-ENV): New variable.
25         ($(objpfx)bug-regex36-mem.out): New rule.
26         * posix/bug-regex36.c: New file.
28 2014-06-19  Will Newton  <will.newton@linaro.org>
30         * malloc/malloc.c (systrim): If extra is zero then return
31         early.
33 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
37 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
39         * sysdeps/aarch64/strchr.S: New file.
41 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
43         [BZ #17022]
44         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
45         from arguments -2 or below.
46         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
47         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
49 2014-06-18  Andreas Schwab  <schwab@suse.de>
51         [BZ #17062]
52         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
53         of a bracket expr not to run off the end of the string.
54         * posix/Makefile (tests): Add tst-fnmatch3.
55         * posix/tst-fnmatch3.c: New file.
57 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
59         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
60         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
61         [$(cross-compiling) = no]: Likewise.
62         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
63         [$(cross-compiling) = no]: Likewise.
65 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
67         [BZ #17031]
68         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
69         double, adjusted for any remainder from the high double.
70         * math/libm-test.inc (nearbyint): Add tests.
71         (rint): Likewise.
73 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75         * nptl/sysdeps/powerpc/Makefile: Moved ...
76         * sysdeps/powerpc/nptl/Makefile: ... here.
77         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
78         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
79         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
80         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
81         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
82         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
83         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
84         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
85         * nptl/sysdeps/powerpc/tls.h: Moved ...
86         * sysdeps/powerpc/nptl/tls.h: ... here.
88 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
90         [BZ #16681]
91         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
92         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
93         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
94         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
95         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
96         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
97         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
98         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
99         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
101 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
103         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
105 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
107         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
108         defined operator.
110         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
111         $TIMEOUTFACTOR.
113 2014-06-16  Florian Weimer  <fweimer@redhat.com>
115         [BZ #17058]
116         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
117         non-executed part of the test.
119 2014-06-16  Andreas Schwab  <schwab@suse.de>
121         * string/bits/string2.h (strdup, strndup): Update feature guard.
123 2014-06-14  David S. Miller  <davem@davemloft.net>
125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
127 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
129         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
130         that was previously under [RESET_PID].
131         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
133         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
134         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
135         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
136         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
137         (__libc_vfork): New strong alias.
138         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
140 2014-06-14 Andi Kleen  <ak@linux.intel.com>
142         * sysdeps/generic/elide.h: New file.
144 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
146         * Makefile (installed-headers): Adjust path of pthread.h header.
148 2014-06-13  Roland McGrath  <roland@hack.frob.com>
150         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
151         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
152         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
153         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
155         * nptl/sysdeps/s390/Makefile: Moved ...
156         * sysdeps/s390/nptl/Makefile: ... here.
157         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
158         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
159         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
160         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
161         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
162         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
163         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
164         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
165         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
166         * sysdeps/s390/nptl/pthreaddef.h: ... here.
167         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
168         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
169         * nptl/sysdeps/s390/tls.h: Moved ...
170         * sysdeps/s390/nptl/tls.h: ... here.
172         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
173         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
175 2014-06-13  David S. Miller  <davem@davemloft.net>
177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
178         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
179         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
180         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
182         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
183         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
184         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
185         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
186         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
187         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
188         Remove RESET_PID cpp guards.
189         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
190         Remove RESET_PID cpp guards.
191         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
193 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
195         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
196         __sp to uintptr_t.
198 2014-06-13  Andi Kleen  <ak@linux.intel.com>
200         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
201         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
202         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
203         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
204         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
205         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
206         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
207         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
208         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
209         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
210         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
211         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
212         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
213         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
214         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
215         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
216         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
217         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
218         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
219         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
221         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
222         (pthread_rwlock_rdlock): Add elision.
223         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
224         (pthread_rwlock_wrlock): Add elision.
225         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
226         (pthread_rwlock_trywrlock): Add elision.
227         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
228         (pthread_rwlock_tryrdlock): Add elision.
229         * nptl/pthread_rwlock_unlock.c: Include elide.h.
230         (pthread_rwlock_tryrdlock): Add elision unlock.
231         * nptl/sysdeps/pthread/pthread.h:
232         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
233         (PTHREAD_RWLOCK_INITIALIZER,
234         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
235         Handle new elision field.
236         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
237         * sysdeps/arm/nptl/bits/pthreadtypes.h
238         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
239         * sysdeps/sh/nptl/bits/pthreadtypes.h
240         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
241         * sysdeps/tile/nptl/bits/pthreadtypes.h
242         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
243         * sysdeps/a/nptl/bits/pthreadtypes.h
244         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
245         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
246         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
247         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
248         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
249         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
250         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
251         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
252         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
253         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
254         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
255         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
256         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
257         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
258         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
259         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
260         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
261         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
262         (elision_init): Set try_xbegin to zero when no RTM.
263         * sysdeps/x86/nptl/bits/pthreadtypes.h
264         (pthread_rwlock_t): Change __pad1 to __rwelision.
265         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
267 2014-06-13  Andi Kleen  <ak@linux.intel.com>
269         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
270         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
271         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
272         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
274 2014-06-13  Meador Inge  <meadori@codesourcery.com>
276         [BZ #16996]
277         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
278         that the cached result has been set before returning it.
280 2014-06-12  Roland McGrath  <roland@hack.frob.com>
282         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
283         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
284         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
285         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
286         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
287         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
289         * nptl/sysdeps/sparc/Makefile: Moved ...
290         * sysdeps/sparc/nptl/Makefile: ... here.
291         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
292         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
293         * nptl/sysdeps/sparc/tls.h: Moved ...
294         * sysdeps/sparc/nptl/tls.h: ... here.
295         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
296         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
297         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
298         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
299         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
300         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
301         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
302         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
303         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
304         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
305         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
306         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
307         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
308         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
309         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
310         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
311         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
312         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
313         Update #include.
314         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
315         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
316         Update #include.
317         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
318         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
319         Update #include.
320         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
321         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
322         Update #include.
324         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
326         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
327         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
329         * sysdeps/pthread/posix-timer.h: Include <list.h>.
330         (struct list_links): Type removed.
331         (struct thread_node, struct timer_node): Replace struct list_links
332         with struct list_head.
333         (list_unlink_ip): Likewise.
334         * sysdeps/pthread/timer_routines.c
335         (timer_free_list, thread_free_list, thread_active_list): Likewise.
336         (list_append, list_insbefore): Likewise.
337         (list_init): Function removed.
338         (thread_init, init_module): Use INIT_LIST_HEAD instead.
339         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
340         * sysdeps/pthread/Makefile: ... here, new file.
342         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
343         * sysdeps/nptl/Implies: ... here.
344         * sysdeps/unix/sysv/linux/Implies: Add nptl.
345         * nptl/sysdeps/pthread/list.h: Moved ...
346         * include/list.h: ... here.
347         * nptl/sysdeps/pthread/createthread.c: Moved ...
348         * nptl/createthread.c: ... here.
349         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
350         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
351         * nptl/pt-longjmp.c: ... here.
352         * nptl/sysdeps/pthread/Makefile: Moved ...
353         * sysdeps/nptl/Makefile: ... here.
354         * nptl/sysdeps/pthread/Subdirs: Moved ...
355         * sysdeps/nptl/Subdirs: ... here.
356         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
357         * sysdeps/nptl/aio_misc.h: ... here.
358         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
359         * sysdeps/nptl/bits/libc-lock.h: ... here.
360         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
361         * sysdeps/nptl/bits/libc-lockP.h: ... here.
362         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
363         * sysdeps/nptl/bits/stdio-lock.h: ... here.
364         * nptl/sysdeps/pthread/configure: Moved ...
365         * sysdeps/nptl/configure: ... here.
366         * nptl/sysdeps/pthread/configure.ac: Moved ...
367         * sysdeps/nptl/configure.ac: ... here.
368         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
369         * sysdeps/nptl/gai_misc.h: ... here.
370         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
371         * sysdeps/nptl/librt-cancellation.c: ... here.
372         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
373         * sysdeps/nptl/malloc-machine.h: ... here.
374         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
375         * sysdeps/nptl/pthread-functions.h: ... here.
376         * nptl/sysdeps/pthread/pthread.h: Moved ...
377         * sysdeps/nptl/pthread.h: ... here.
378         * nptl/sysdeps/pthread/setxid.h: Moved ...
379         * sysdeps/nptl/setxid.h: ... here.
380         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
381         * sysdeps/nptl/sigfillset.c: ... here.
382         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
383         * sysdeps/nptl/tcb-offsets.h: ... here.
384         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
385         * sysdeps/nptl/tst-mqueue8x.c: ... here.
386         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
387         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
388         * nptl/sysdeps/pthread/allocalim.h: Moved ...
389         * sysdeps/pthread/allocalim.h: ... here.
390         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
391         * sysdeps/pthread/bits/sigthread.h: ... here.
392         * nptl/sysdeps/pthread/flockfile.c: Moved ...
393         * sysdeps/pthread/flockfile.c: ... here.
394         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
395         * sysdeps/pthread/ftrylockfile.c: ... here.
396         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
397         * sysdeps/pthread/funlockfile.c: ... here.
398         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
399         * sysdeps/pthread/posix-timer.h: ... here.
400         * nptl/sysdeps/pthread/timer_create.c: Moved ...
401         * sysdeps/pthread/timer_create.c: ... here.
402         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
403         * sysdeps/pthread/timer_delete.c: ... here.
404         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
405         * sysdeps/pthread/timer_getoverr.c: ... here.
406         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
407         * sysdeps/pthread/timer_gettime.c: ... here.
408         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
409         * sysdeps/pthread/timer_routines.c: ... here.
410         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
411         * sysdeps/pthread/timer_settime.c: ... here.
412         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
413         * sysdeps/pthread/tst-timer.c: ... here.
414         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
415         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
417         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
418         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
420         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
421         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
422         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
423         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
424         Update #include target.
425         * nptl/sysdeps/i386/i686/Makefile: Moved ...
426         * sysdeps/i386/i686/nptl/Makefile: ... here.
427         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
428         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
429         Update #include target.
430         * nptl/sysdeps/i386/i686/tls.h: Moved ...
431         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
432         * nptl/sysdeps/i386/Makefile: Moved ...
433         * sysdeps/i386/nptl/Makefile: ... here.
434         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
435         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
436         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
437         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
438         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
439         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
440         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
441         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
442         * sysdeps/i386/nptl/pthreaddef.h: ... here.
443         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
444         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
445         * nptl/sysdeps/i386/tls.h: Moved ...
446         * sysdeps/i386/nptl/tls.h: ... here.
448         * sysdeps/sh/Makefile [$(subdir) = csu]
449         (gen-as-const-headers): Add tcb-offsets.sym.
450         * nptl/sysdeps/sh/Makefile: File removed.
451         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
452         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
453         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
454         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
455         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
456         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
457         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
458         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
459         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
460         * sysdeps/sh/nptl/pthreaddef.h: ... here.
461         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
462         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
463         * nptl/sysdeps/sh/tls.h: Moved ...
464         * sysdeps/sh/nptl/tls.h: ... here.
465         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
466         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
467         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
468         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
469         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
470         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
471         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
472         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
473         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
474         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
475         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
476         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
477         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
478         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
479         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
480         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
481         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
482         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
483         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
484         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
485         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
486         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
487         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
488         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
489         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
490         Moved ...
491         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
492         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
493         Moved ...
494         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
495         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
496         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
497         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
498         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
499         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
500         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
501         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
502         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
503         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
504         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
505         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
506         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
507         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
508         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
509         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
510         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
511         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
512         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
514 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
516         * posix/spawn_faction_addopen.c: Include string.h.
518 2014-06-11  Roland McGrath  <roland@hack.frob.com>
520         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
521         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
522         * nptl/sysdeps/x86_64/Makefile: Moved ...
523         * sysdeps/x86_64/nptl/Makefile: ... here.
524         * nptl/sysdeps/x86_64/configure: Moved ...
525         * sysdeps/x86_64/nptl/configure: ... here.
526         * nptl/sysdeps/x86_64/configure.ac: Moved ...
527         * sysdeps/x86_64/nptl/configure.ac: ... here.
528         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
529         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
530         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
531         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
532         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
533         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
534         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
535         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
536         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
537         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
538         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
539         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
540         * nptl/sysdeps/x86_64/tls.h: Moved ...
541         * sysdeps/x86_64/nptl/tls.h: ... here.
542         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
543         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
544         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
545         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
547         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
549 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
553 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
555         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
556         type.
557         [POSIX] (off_t): Likewise.
558         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
559         [POSIX] (S_ISBLK): Require macro.
560         [POSIX] (S_ISCHR): Likewise.
561         [POSIX] (S_ISDIR): Likewise.
562         [POSIX] (S_ISFIFO): Likewise.
563         [POSIX] (S_ISREG): Likewise.
564         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
565         optional-macro.
566         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
567         type.
568         [POSIX] (time_t): Likewise.
569         [POSIX] (timer_t): Likewise.
571 2014-06-11  Florian Weimer  <fweimer@redhat.com>
573         [BZ #17048]
574         * posix/spawn_int.h (struct __spawn_action): Make the path string
575         non-const to support deallocation.
576         * posix/spawn_faction_addopen.c
577         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
578         * posix/spawn_faction_destroy.c
579         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
580         path in all spawn_do_open actions.
581         * posix/tst-spawn.c (do_test): Exercise the copy operation in
582         posix_spawn_file_actions_addopen.
584 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
586         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
587         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
588         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
589         conditional code always true.
590         (__libc_vfork): New alias.
592 2014-06-11  Roland McGrath  <roland@hack.frob.com>
594         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
595         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
597         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
599         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
600         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
602         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
603         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
605         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
606         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
608 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
610         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
611         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
612         multiarch strcmp for PPC64.
613         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
614         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
615         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
616         multiarch optimizations.
617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
618         (__libc_ifunc_impl_list): Likewise.
620 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
622         * benchtests/scripts/validate_benchout.py: New script.
623         * benchtests/Makefile (bench-func): Call it.
624         * benchtests/scripts/benchout.schema.json: New file.
626 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
628         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
629         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
630         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
631         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
632         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
633         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
634         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
635         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
636         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
637         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
638         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
639         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
640         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
641         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
642         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
643         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
645         Moved ...
646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
647         ... here.
648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
649         Moved ...
650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
652         Moved ...
653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
654         ... here.
655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
656         Moved ...
657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
658         ... here.
659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
660         Moved ...
661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
663         Moved ...
664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
665         ... here.
666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
667         Moved ...
668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
669         ... here.
670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
671         Moved ...
672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
674         Moved ...
675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
676         ... here.
677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
678         Moved ...
679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
680         ... here.
681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
682         Moved ...
683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
684         ... here.
685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
686         Moved ...
687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
689         Moved ...
690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
691         ... here.
692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
693         Moved ...
694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
695         ... here.
696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
697         Moved ...
698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
699         ... here.
700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
701         Moved ...
702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
704         Moved ...
705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
706         ... here.
707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
708         Moved ...
709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
710         ... here.
711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
712         Moved ...
713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
715         Moved ...
716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
717         ... here.
718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
719         Moved ...
720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
722         Moved ...
723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
725         Moved ...
726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
727         ... here.
728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
729         Moved ...
730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
731         ... here.
732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
733         Moved ...
734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
735         ... here.
736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
737         Moved ...
738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
740         Moved ...
741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
742         ... here.
743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
744         Moved ...
745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
746         ... here.
747         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
748         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
749         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
750         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
751         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
752         Moved ...
753         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
754         ... here.
755         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
756         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
757         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
758         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
759         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
760         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
761         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
762         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
763         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
764         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
765         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
766         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
767         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
768         Moved ...
769         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
770         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
771         Moved ...
772         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
773         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
774         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
775         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
776         Moved ...
777         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
778         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
779         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
780         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
781         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
782         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
783         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
785 2014-06-10  Wilco  <wdijkstr@arm.com>
787         * math/test-fenv-return.c: New file.
788         * math/Makefile: Add new test test-fenv-return.
790 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
792         [BZ #17042]
793         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
794         when x - 1 is zero.
795         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
796         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
797         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
798         0.0L for an argument of 1.0L.
799         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
800         Likewise.
801         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
802         value when x - 1 is zero.
803         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
804         * sysdeps/i386/fpu/libm-test-ulps: Update.
805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
807 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
809         [BZ #15119]
810         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
812 2014-06-09  Roland McGrath  <roland@hack.frob.com>
814         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
815         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
817 2014-06-09  Roland McGrath  <roland@hack.frob.com>
819         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
820         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
822         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
823         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
825         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
826         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
828         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
829         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
831         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
832         if not already defined.
833         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
834         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
835         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
836         (TLS_INIT_TP): Use it.
837         (TLS_DEFINE_INIT_TP): New macro.
838         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
840 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
842         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
843         constant.
844         [POSIX] (IXANY): Likewise.
845         [POSIX] (OLCUC): Likewise.
846         [POSIX || POSIX2008] (CBAUD): Do not allow.
847         [POSIX || POSIX2008] (DEFECHO): Likewise.
848         [POSIX || POSIX2008] (ECHOCTL): Likewise.
849         [POSIX || POSIX2008] (ECHOKE): Likewise.
850         [POSIX || POSIX2008] (ECHOPRT): Likewise.
851         [POSIX || POSIX2008] (EXTA): Likewise.
852         [POSIX || POSIX2008] (EXTB): Likewise.
853         [POSIX || POSIX2008] (FLUSHO): Likewise.
854         [POSIX || POSIX2008] (LOBLK): Likewise.
855         [POSIX || POSIX2008] (PENDIN): Likewise.
856         [POSIX || POSIX2008] (SWTCH): Likewise.
857         [POSIX || POSIX2008] (VDISCARD): Likewise.
858         [POSIX || POSIX2008] (VDSUSP): Likewise.
859         [POSIX || POSIX2008] (VLNEXT): Likewise.
860         [POSIX || POSIX2008] (VREPRINT): Likewise.
861         [POSIX || POSIX2008] (VSTATUS): Likewise.
862         [POSIX || POSIX2008] (VWERASE): Likewise.
863         (B*): Change to B[0123456789]*.
864         * conform/data/time.h-data [POSIX || UNIX98]
865         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
866         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
867         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
868         [POSIX] (tm_*): Do not allow.
870 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
872         * Makefile (install): Don't set LANGUAGE.
873         * Makefile.in (install): Likewise.
874         * assert/Makefile (test-assert-ENV): Remove variable.
875         (test-assert-perr-ENV): Likewise.
876         * elf/Makefile (neededtest4-ENV): Likewise.
877         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
878         [$(cross-compiling) = no]: Don't set LANGUAGE.
879         * io/ftwtest-sh (LANG): Remove variable.
880         * libio/Makefile (tst-widetext-ENV): Likewise.
881         * manual/install.texi (Running make install): Don't refer to
882         environment settings for make install.
883         * INSTALL: Regenerated.
884         * nptl/tst-tls6.sh: Don't set LANG.
885         * posix/globtest.sh (LANG): Remove variable.
886         * string/Makefile (tester-ENV): Likewise.
887         (inl-tester-ENV): Likewise.
888         (noinl-tester-ENV): Likewise.
889         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
890         [$(cross-compiling) = no]: Don't set LANGUAGE.
891         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
892         without explicit environment settings.
894 2014-06-06  Roland McGrath  <roland@hack.frob.com>
896         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
897         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
898         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
899         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
901 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
903         * crypt/crypt-private.h [DOS]: Add some includes taken from the
904         other files in the crypt directory.
905         * crypt/crypt.c: Remove duplicate includes.
906         * crypt/crypt-entry.c: Likewise.
907         * crypt/crypt_util.c: Likewise.
909 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
911         * Makeconfig (run-program-env): New variable.
912         (run-program-prefix-before-env): Likewise.
913         (run-program-prefix-after-env): Likewise.
914         (run-program-prefix): Define in terms of new variables.
915         (built-program-cmd-before-env): New variable.
916         (built-program-cmd-after-env): Likewise.
917         (built-program-cmd): Define in terms of new variables.
918         (test-program-prefix-before-env): New variable.
919         (test-program-prefix-after-env): Likewise.
920         (test-program-prefix): Define in terms of new variables.
921         (test-program-cmd-before-env): New variable.
922         (test-program-cmd-after-env): Likewise.
923         (test-program-cmd): Define in terms of new variables.
924         * Rules (make-test-out): Use $(run-program-env).
925         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
926         (help): Do not mention environment variables.  Mention
927         --timeoutfactor option.
928         (timeoutfactor): New variable.
929         (blacklist_exports): Remove function.
930         (exports): Remove variable.
931         (command): Do not include ${exports}.
932         * manual/install.texi (Configuring and compiling): Do not mention
933         test wrappers preserving environment variables.  Mention that last
934         assignment to a variable must take precedence.
935         * INSTALL: Regenerated.
936         * benchtests/Makefile (run-bench): Use $(run-program-env).
937         * catgets/Makefile ($(objpfx)test1.cat): Use
938         $(built-program-cmd-before-env), $(run-program-env) and
939         $(built-program-cmd-after-env).
940         ($(objpfx)test2.cat): Do not specify environment variables
941         explicitly.
942         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
943         $(run-program-env) and $(built-program-cmd-after-env).
944         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
945         $(run-program-env) and $(test-program-cmd-after-env).
946         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
947         explicitly.
948         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
949         run_program_env and test_program_cmd_after_env arguments.
950         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
951         * elf/tst-pathopt.sh: Use run_program_env argument.
952         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
953         $(test-wrapper-env) and $(run-program-env).
954         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
955         run_program_env arguments.
956         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
957         * intl/Makefile ($(objpfx)tst-gettext.out): Use
958         $(test-program-prefix-before-env), $(run-program-env) and
959         $(test-program-prefix-after-env).
960         ($(objpfx)tst-gettext2.out): Likewise.
961         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
962         run_program_env and test_program_prefix_after_env arguments.
963         * intl/tst-gettext2.sh: Likewise.
964         * intl/tst-gettext4.sh: Do not set environment variables
965         explicitly.
966         * intl/tst-gettext6.sh: Likewise.
967         * intl/tst-translit.sh: Likewise.
968         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
969         $(test-program-prefix-before-env), $(run-program-env) and
970         $(test-program-prefix-after-env).
971         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
972         run_program_env and test_program_prefix_after_env arguments.
973         * math/Makefile (run-regen-ulps): Use $(run-program-env).
974         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
975         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
976         explicitly with each use of ${test_wrapper_env}.
977         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
978         $(test-program-prefix-before-env), $(run-program-env) and
979         $(test-program-prefix-after-env).
980         * posix/tst-getconf.sh: Do not set environment variables
981         explicitly.
982         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
983         run_program_env and test_program_prefix_after_env arguments.
984         * stdio-common/tst-printf.sh: Do not set environment variables
985         explicitly.
986         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
987         $(test-program-prefix-before-env), $(run-program-env) and
988         $(test-program-prefix-after-env).
989         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
990         run_program_env and test_program_prefix_after_env arguments.
991         Split $test calls into $test_pre and $test.
992         * timezone/Makefile (build-testdata): Use
993         $(built-program-cmd-before-env), $(run-program-env) and
994         $(built-program-cmd-after-env).
996 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
998         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
999         strlen for non SHARED builds.
1001 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1003         * nptl/allocatestack.c (check_list): Inlined function...
1004         (__reclaim_stacks): ... here.
1006 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1008         [BZ #15698]
1009         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1010         memory overrun.
1012 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
1014         * Rules (make-test-out): Include
1015         LOCPATH=$(common-objpfx)localedata in default environment.
1016         * debug/Makefile (tst-chk1-ENV): Remove variable.
1017         (tst-chk2-ENV): Likewise.
1018         (tst-chk3-ENV): Likewise.
1019         (tst-chk4-ENV): Likewise.
1020         (tst-chk5-ENV): Likewise.
1021         (tst-chk6-ENV): Likewise.
1022         (tst-lfschk1-ENV): Likewise.
1023         (tst-lfschk2-ENV): Likewise.
1024         (tst-lfschk3-ENV): Likewise.
1025         (tst-lfschk4-ENV): Likewise.
1026         (tst-lfschk5-ENV): Likewise.
1027         (tst-lfschk6-ENV): Likewise.
1028         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1029         (tst-iconv7-ENV): Likewise.
1030         * intl/Makefile (LOCPATH-ENV): Likewise.
1031         (tst-codeset-ENV): Likewise.
1032         (tst-gettext3-ENV): Likewise.
1033         (tst-gettext5-ENV): Likewise.
1034         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1035         (tst-fopenloc-ENV): Likewise.
1036         (tst-fgetws-ENV): Remove variable.
1037         (tst-ungetwc1-ENV): Likewise.
1038         (tst-ungetwc2-ENV): Likewise.
1039         (bug-ungetwc2-ENV): Likewise.
1040         (tst-swscanf-ENV): Likewise.
1041         (bug-ftell-ENV): Likewise.
1042         (tst-fgetwc-ENV): Likewise.
1043         (tst-fseek-ENV): Likewise.
1044         (tst-ftell-partial-wide-ENV): Likewise.
1045         (tst-ftell-active-handler-ENV): Likewise.
1046         (tst-ftell-append-ENV): Likewise.
1047         * posix/Makefile (tst-fnmatch-ENV): Likewise.
1048         (tst-regexloc-ENV): Likewise.
1049         (bug-regex1-ENV): Likewise.
1050         (tst-regex-ENV): Likewise.
1051         (tst-regex2-ENV): Likewise.
1052         (bug-regex5-ENV): Likewise.
1053         (bug-regex6-ENV): Likewise.
1054         (bug-regex17-ENV): Likewise.
1055         (bug-regex18-ENV): Likewise.
1056         (bug-regex19-ENV): Likewise.
1057         (bug-regex20-ENV): Likewise.
1058         (bug-regex22-ENV): Likewise.
1059         (bug-regex23-ENV): Likewise.
1060         (bug-regex25-ENV): Likewise.
1061         (bug-regex26-ENV): Likewise.
1062         (bug-regex30-ENV): Likewise.
1063         (bug-regex32-ENV): Likewise.
1064         (bug-regex33-ENV): Likewise.
1065         (bug-regex34-ENV): Likewise.
1066         (bug-regex35-ENV): Likewise.
1067         (tst-rxspencer-ENV): Likewise.
1068         (tst-rxspencer-no-utf8-ENV): Likewise.
1069         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1070         (tst-sscanf-ENV): Likewise.
1071         (tst-swprintf-ENV): Likewise.
1072         (tst-swscanf-ENV): Likewise.
1073         (test-vfprintf-ENV): Likewise.
1074         (scanf13-ENV): Likewise.
1075         (bug14-ENV): Likewise.
1076         (tst-grouping-ENV): Likewise.
1077         * stdlib/Makefile (tst-strtod-ENV): Likewise.
1078         (tst-strtod3-ENV): Likewise.
1079         (tst-strtod4-ENV): Likewise.
1080         (tst-strtod5-ENV): Likewise.
1081         (testmb2-ENV): Likewise./
1082         * string/Makefile (tst-strxfrm-ENV): Likewise.
1083         (tst-strxfrm2-ENV): Likewise.
1084         (bug-strcoll1-ENV): Likewise.
1085         (test-strcasecmp-ENV): Likewise.
1086         (test-strncasecmp-ENV): Likewise.
1087         * time/Makefile (tst-strptime-ENV): Likewise.
1088         (tst-ftime_l-ENV): Likewise.
1089         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1090         (tst-mbrtowc-ENV): Likewise.
1091         (tst-wcrtomb-ENV): Likewise.
1092         (tst-mbrtowc2-ENV): Likewise.
1093         (tst-c16c32-1-ENV): Likewise.
1094         (tst-mbsnrtowcs-ENV): Likewise.
1096 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1098         * manual/resource.texi (How to get information about the memory
1099         subsystem?): Fix typo.
1100         Reported by Peon de la Parra Ivan <peon@keba.com>
1102 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
1104         [BZ #16882]
1105         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1106         (pthread_spin_lock): Branch out of spin loop to proper location.
1107         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1108         (pthread_spin_lock): Likewise.
1110         * nptl/tst-spin4.c: New test.
1111         * nptl/Makefile (tests): Add tst-spin4.
1113 2014-06-03  Andreas Schwab  <schwab@suse.de>
1115         [BZ #15946]
1116         * resolv/res_send.c (send_dg): Reload file descriptor after
1117         calling reopen.
1119 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
1121         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1123 2014-06-03  Richard Henderson  <rth@redhat.com>
1125         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1126         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1127         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1128         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
1129         in the SAVE_PID block.
1130         (__libc_vfork): New alias.
1131         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1133         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1134         child in registers, not on the stack.  Remove RESET_PID conditionals.
1135         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1137 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1139         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1141 2014-06-03  Wilco  <wdijkstr@arm.com>
1143         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1144         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1145         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1146         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1147         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1148         Likewise.
1150 2014-06-03  Wilco  <wdijkstr@arm.com>
1152         * sysdeps/aarch64/fpu/math_private.h
1153         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1154         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1155         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1156         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1157         Fix declarations.
1159 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1161         * crypt/crypt-private.h: Include ufc-crypt.h.
1162         (__b64_from_24bit): Declare extern.
1163         * crypt/crypt_util.c(__b64_from_24bit): New function.
1164         (b64t): New static const variable.
1165         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1166         (b64t): Remove variable.
1167         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1168         * crypt/sha256-crypt.c: Include crypt-private.h.
1169         (b64t): Remove variable.
1170         (__sha256_crypt_r): Remove b64_from_24bit and replace
1171         with __b64_from_24bit.
1172         * crypt/sha512-crypt.c: Likewise.
1174 2014-06-02  Roland McGrath  <roland@hack.frob.com>
1176         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1177         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1178         Label the code __libc_vfork rather than __vfork.
1179         [!NOT_IN_libc] (vfork): Define as weak alias.
1180         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1181         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1182         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1184 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1186         * malloc/malloc.c (malloc_info): Fix format specifier for
1187         n_mmaps.
1189 2014-06-02  Wilco  <wdijkstr@arm.com>
1191         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1192         FPCR write.
1194 2014-06-02  Wilco  <wdijkstr@arm.com>
1196         [BZ #17009]
1197         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1198         Rewrite to reduce FPCR/FPSR accesses.
1200 2014-06-01  David S. Miller  <davem@davemloft.net>
1202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1204 2014-05-31  David S. Miller  <davem@davemloft.net>
1206         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1207         to occur in round to nearest mode when |x| >= 2.0
1209 2014-05-30  Richard Henderson  <rth@twiddle.net>
1211         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1212         (PSEUDO_RET_NOERRNO): Remove.
1213         (ret): Don't redefine.
1214         (ret_NOERRNO): Define in terms of ret.
1215         (ret_ERRVAL): Likewise.
1217         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1218         use of PSEUDO_RET; perform the error check directly.
1220 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
1222         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1223         with __int128_t.
1225 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1227         * malloc/malloc (malloc_info): Fix formatting.
1229 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1230             Roland McGrath  <roland@hack.frob.com>
1232         * malloc/malloc (malloc_info): Also print mmapped statistics.
1234 2014-05-30  Roland McGrath  <roland@hack.frob.com>
1236         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1237         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1239 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
1241         * malloc/malloc.c (malloc_info): Inline mi_arena.
1243 2014-05-29  Richard Henderson  <rth@twiddle.net>
1245         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1246         Remove comma before expanding ASM_ARGS_##nr.
1247         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1248         Make _x0 a strict output; make _x8 a strict input; adjust expansion
1249         of ASM_ARGS_##nr.
1250         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1251         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1252         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1253         (ASM_ARGS_1): Add leading comma.
1255         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1256         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1257         to __errno_location.
1258         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1259         Remove the expected plt for __errno_location.
1261         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1262         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1263         call to __read_tp.
1265         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1266         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
1267         it and break it down.
1268         (DOCARGS_0, DOCARGS_1): Do nothing.
1269         (DOCARGS_2): Update to store into the new stack frame.
1270         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1271         (UNDOCARGS_1): Update to restore from the new stack frame.
1272         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1273         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1275         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1276         (SINGLE_THREAD_P): New parameter for result regno.
1277         (PSEUDO): Update to match; use cbz instead of beq.
1279         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1280         Use ENTRY to define the _nocancel entry point.  Share the syscall
1281         and syscall error check paths with the cancel path.
1282         (PSEUDO_END): New.
1284         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1285         whitespace; tabs before and after asm mnemonics.
1287 2014-05-29  Eric Wong  <normalperson@yhbt.net>
1289         [BZ #15132]
1290         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1291         Call fstat64 or stat64 internally, depending on arguments passed.
1292         Replace stat buffer argument with file descriptor argument.
1293         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1294         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1295         Pass fd to __internal_statvfs instead of calling fstat64.
1296         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1297         Pass fd to __internal_statvfs64 instead of calling fstat64.
1298         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1299         Pass -1 to __internal_statvfs instead of calling stat64.
1300         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1301         Pass -1 to __internal_statvfs64 instead of calling stat64.
1303 2014-05-28  Roland McGrath  <roland@hack.frob.com>
1305         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1306         that was previously under [RESET_PID].
1307         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1309         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1310         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1312 2014-05-27  Roland McGrath  <roland@hack.frob.com>
1314         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1316         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1317         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1319 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
1321         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1323 2014-05-27  Andreas Schwab  <schwab@suse.de>
1325         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1326         TLS_INIT_TP macro.
1327         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1328         * elf/rtld.c (init_tls, dl_main): Likewise.
1329         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1330         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1331         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1332         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1333         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1334         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1335         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1336         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1337         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1338         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1339         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1340         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1341         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1342         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1343         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1344         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1345         * sysdeps/generic/tls.h: Update description.
1347 2014-05-27  Will Newton  <will.newton@linaro.org>
1349         [BZ #16990]
1350         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1351         and restore r2 rather than just restoring.
1353 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1355         [BZ #16724]
1356         * libio/tst-ftell-append.c: New test case.
1357         * libio/Makefile (tests): Add test case.
1358         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1359         append mode.
1360         * libio/wfileops.c (do_ftell_wide): Likewise.
1362 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1366         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1367         ...
1368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1370         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1371         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1372         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1373         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1374         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1375         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1376         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1377         Moved ...
1378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1379         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1380         Moved ...
1381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1382         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1383         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1384         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1385         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1386         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1387         ...
1388         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1389         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1390         Moved ...
1391         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1392         here.
1393         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1394         ...
1395         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1396         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1397         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1399         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1400         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1401         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1402         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1404         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1405         merge into ...
1406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1407         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1408         ...
1409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1410         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1411         ...
1412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1413         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1414         Moved ...
1415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1416         here.
1417         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1418         Moved ...
1419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1420         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1421         Moved ...
1422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1425         conditional [RESET_PID].
1426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1427         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1428         removed.
1429         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1430         removed.
1432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1433         <tcb-offsets.h>.
1434         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1435         (__libc_vfork): New strong alias.
1436         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1437         removed.
1438         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1439         Removed.
1441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1442         <tcb-offsets.h>.
1443         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1444         (__libc_vfork): New strong alias.
1445         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1446         removed.
1447         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1448         removed.
1450 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
1452         * malloc/malloc.c (mi_arena): New function.
1453         (malloc_info): Remove nested function mi_arena. Call non-nosted
1454         function mi_arena.
1456 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1458         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1459         by insrwi.
1460         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1461         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1462         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1463         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1464         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1465         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1466         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1468 2014-05-26  Andreas Schwab  <schwab@suse.de>
1470         [BZ #16984]
1471         * locale/programs/repertoire.c (repertoire_read): Add slash
1472         between I18NPATH element and file name.
1473         * locale/programs/locfile.c (locfile_read): Likewise.
1475 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1477         * nptl/pthread_mutexattr_settype.c
1478         (__pthread_mutexattr_settype):
1479         Disable lock elision for PTHREAD_MUTEX_NORMAL.
1481 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1483         * nptl/tst-mutex5 (do_test):
1484         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1486 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1488         * benchtests/README: Document 'init' directive.
1489         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1490         BENCH_INIT.
1491         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1492         (parse_file): Recognize 'init' directive.
1494 2014-05-26  Kyle McMartin  <kyle@redhat.com>
1496         [BZ #16796]
1497         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1498         alignment of struct pthread.
1500 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1502         [BZ #16878]
1503         * nscd/netgroupcache.c (addgetnetgrentX): Look for
1504         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1505         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1506         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1508 2014-05-25  Richard Henderson  <rth@twiddle.net>
1510         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1511         (SINGLE_THREAD_P_PIC): Remove.
1512         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1513         (SINGLE_THREAD_P_PIC): Remove.
1515         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1516         branch to syscall error ...
1517         (PSEUDO): ... here.
1518         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1519         from __local_syscall_error to .Lsyscall_error.
1520         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1521         (SYSCALL_ERROR): Update label name.
1523         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1524         Do not use DOARGS/UNDOARGS.
1525         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1526         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1527         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1528         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1529         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1531         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1532         block comment.
1534         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1535         define if !NOT_IN_libc.
1536         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1537         define with non-default symbol versions.
1539 2014-05-23  Richard Henderson  <rth@twiddle.net>
1541         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1542         (vfork, __vfork): Define via compat_symbol.
1544         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1545         [!HAVE_IFUNC] (vfork_compat): Remove.
1546         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1548 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1550         [BZ #16978]
1551         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1552         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1553         variable.
1555 2014-05-23  Richard Henderson  <rth@twiddle.net>
1557         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1558         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1559         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1560         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1562         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1563         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1564         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1565         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1566         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1567         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1568         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1569         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1570         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1571         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1572         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1573         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1574         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1575         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1576         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1577         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1578         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1579         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1580         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1581         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1582         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1583         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1584         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1585         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1586         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1587         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1588         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1589         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1590         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1591         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1592         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1593         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1594         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1595         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1596         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1597         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1598         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1599         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1600         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1601         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1602         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1603         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1604         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1605         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1606         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1607         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1608         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1609         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1610         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1611         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1612         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1613         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1614         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1615         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1616         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1617         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1619         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1620         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1621         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
1622         before exiting on error.
1623         (__libc_vfork): New strong alias.
1624         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1625         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1627         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1628         that was previously under [RESET_PID].
1629         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1631         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1633 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1635         [BZ #16977]
1636         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1637         value when x - 1 is zero.
1638         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1639         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1640         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1641         0.0L for an argument of 1.0L.
1642         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1643         Likewise.
1644         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1645         value when x - 1 is zero.
1646         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1647         * sysdeps/i386/fpu/libm-test-ulps: Update.
1648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1650 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1652         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1653         alphasort and versionsort.
1655 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1657         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1658         macro.
1659         [copysignf]: Likewise.
1661 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1663         * crypt/md5-crypt.c: Fix formatting.
1665 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1667         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1668         (b64_from_24bit): New function.
1670 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1672         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1673         libc_hidden_builtin_def to ifunc.
1674         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1675         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1677 2014-05-21  Roland McGrath  <roland@hack.frob.com>
1679         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1680         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1682 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
1684         * nscd/Depend (linuxthreads): Remove.
1685         (nptl): Add.
1686         * resolv/Depend (linuxthreads): Remove.
1687         * rt/Depend (linuxthreads): Remove.
1689         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1690         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1691         $(common-objpfx)elf/.
1692         (link-libc-before-gnulib): Likewise.
1693         (elfobjdir): Remove variable.
1694         * Makefile (install): Use $(elf-objpfx) instead of
1695         $(common-objpfx)elf/.
1696         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1697         $(elfobjdir)/.
1698         (link-libc-deps): Likewise.
1699         ($(common-objpfx)libc.so): Likewise.
1700         ($(common-objpfx)linkobj/libc.so): Likewise.
1701         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1702         instead of $(common-objpfx)elf/.
1703         (symbolic-link-list): Likewise.
1704         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1705         [$(cross-compiling) = no]: Likewise.
1706         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1707         $(elfobjdir)/.
1708         (static-gnulib-arch): Likewise.
1709         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1710         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1711         $(common-objpfx)elf/.
1713 2014-05-21  Richard Henderson  <rth@redhat.com>
1715         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1716         (SINGLE_THREAD_P): Use the correct width load.  Fold
1717         into the ldr offset.
1719         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1720         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1722 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
1724         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1725         (libgcc_s_resume): Use __attribute_used__.
1726         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1727         Likewise.
1729 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1731         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1732         optimization when used with float constants.
1734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1736 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
1738         [BZ #16915]
1739         * locale/nl_langinfo_l.c: Make direct reference to every
1740         _nl_current_CATEGORY symbol.
1741         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1742         (tests-static): Add tst-langinfo-static.
1743         (tests-special): Add tst-langinfo-static.out.
1744         ($(objpfx)tst-langinfo.out): Redirect output.
1745         ($(objpfx)tst-langinfo-static.out): New.
1746         * localedata/tst-langinfo.sh: Send output to stdout.
1747         * localedata/tst-langinfo-static.c: New file.
1749         [BZ #16965]
1750         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1751         when the shift amount is modulo the limb size.
1753 2014-05-20  Richard Henderson  <rth@redhat.com>
1755         [BZ #16967]
1756         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1757         Change type of sa_flags from unsigned int to int.
1759         [BZ #16966]
1760         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1762         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1764 2014-05-20  Will Newton  <will.newton@linaro.org>
1766         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1767         Test the return value of the system call in the nocancel case.
1769 2014-05-20  Will Newton  <will.newton@linaro.org>
1770             Yvan Roux  <yvan.roux@linaro.org>
1772         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1773         #include of asm/ptrace.h.
1774         (PTRACE_GET_THREAD_AREA): Remove #undef.
1775         (PTRACE_GETHBPREGS): Likewise.
1776         (PTRACE_SETHBPREGS): Likewise.
1777         (struct user_regs_struct): New structure.
1778         (struct user_fpsimd_struct): New structure.
1779         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1780         #include of asm/ptrace.h and second #include of sys/user.h.
1781         (PTRACE_GET_THREAD_AREA): Remove #undef.
1782         (PTRACE_GETHBPREGS): Likewise.
1783         (PTRACE_SETHBPREGS): Likewise.
1784         (ELF_NGREG): Use new struct user_regs_struct.
1785         (elf_fpregset_t): Use new struct user_fpsimd_struct.
1787 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1789         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1790         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1792 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
1794         [BZ #16958]
1795         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1796         membar to avoid block loads/stores to overlap previous stores.
1798 2014-05-17  Richard Henderson  <rth@redhat.com>
1800         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1801         Create the __##syscall_name##_nocancel entry point.
1802         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1803         Remove; let the sysdep-cancel.h code create it.
1805 2014-05-17  David S. Miller  <davem@davemloft.net>
1807         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1808         Protect with __USE_GNU.
1809         (TIOCSET_TEMPT): Likewise.
1810         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1811         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1812         these are already provided in bits/ioctl-types.h
1814 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1816         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1817         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1819         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1820         Use wait4 regardless of [__NR_waitpid].
1822 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1824         PR libgcc/60166
1825         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1826         (_FP_NANSIGN_Q): Set the quiet bit.
1828 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
1830         * benchtests/Makefile
1831         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1832         not $(common-objpfx)math/libm.so.
1833         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1834         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1835         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1836         $(common-objpfx)dlfcn/libdl.so.
1837         ($(objpfx)tst-audit8): Depend on $(libm), not
1838         $(common-objpfx)math/libm.so.
1839         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1840         not $(common-objpfx)dlfcn/libdl.so.
1841         * math/Makefile
1842         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1843         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
1844         [$(build-shared) = yes].
1845         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1846         $(common-objpfx)nptl/libpthread.so.
1847         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1848         $(common-objpfx)math/libm.so$(libm.so-version) or
1849         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1850         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1851         $(common-objpfx)dlfcn/libdl.so.
1852         * setjmp/Makefile (link-libm): Remove variable.
1853         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1854         * stdio-common/Makefile (link-libm): Remove variable.
1855         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1856         * stdlib/Makefile (link-libm): Remove variable.
1857         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1858         ($(objpfx)tst-strtod-round): Likewise.
1859         ($(objpfx)tst-tininess): Likewise.
1860         ($(objpfx)tst-strtod-underflow): Likewise.
1861         ($(objpfx)tst-strtod6): Likewise.
1862         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1863         $(libdl), not $(common-objpfx)nptl/libpthread.so and
1864         $(common-objpfx)dlfcn/libdl.so.
1866 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1868         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1869         BSD terminal modes definitions.
1871 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1873         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1874         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1876         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1877         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1878         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1879         Don't do #include_next.
1880         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1881         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1882         Don't do #include_next.
1883         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1884         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1885         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1886         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1888 2014-05-16  Allan McRae  <allan@archlinux.org>
1890         * po/sv.po: Update Swedish translation from translation project.
1892         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1893         in sed expression.
1895 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
1897         [BZ #16917]
1898         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1899         errno if the TIOCGPTN ioctl fails with an error different than
1900         EINVAL.
1901         * login/tst-ptsname.c: New file.
1902         * login/Makefile (tests): Add tst-ptsname.
1904         [BZ #16943]
1905         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1906         and prlimit64.
1908 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1910         [BZ #16849]
1911         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1912         herrno to return EAI_AGAIN.
1914 2014-05-14  Roland McGrath  <roland@hack.frob.com>
1916         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1917         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1918         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1919         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1920         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1921         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1922         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1923         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1924         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1925         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1926         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1927         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1928         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1929         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1930         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1931         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1932         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1933         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1934         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1935         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1936         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1937         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1938         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1939         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1940         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1941         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1942         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1943         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1944         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1945         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1947         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1948         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1949         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1951         Moved ...
1952         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1954         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1956         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1958         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1960         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1962         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1964         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1966         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1967         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1968         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1969         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1970         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1972         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1973         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1974         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1975         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1976         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1978         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1980         Moved ...
1981         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1983         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1985         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1987         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1989         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1991         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1993         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1995         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1997         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1999         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2000         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2001         Moved ...
2002         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2004         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2006         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2007         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2008         (libpthread-sysdep_routines): Add elision-related stuff here instead.
2009         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2010         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2011         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2012         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2013         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2014         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2015         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2016         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2017         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2018         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2019         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2020         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2021         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2022         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2023         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2024         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2025         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2026         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2027         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2028         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2029         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2030         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2031         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2032         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2033         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2034         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2035         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2036         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2038         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2039         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2041         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2042         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2043         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2044         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2045         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2046         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2047         Moved ...
2048         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2049         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2050         Moved ...
2051         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2052         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2053         Moved ...
2054         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2055         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2056         Moved ...
2057         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2058         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2059         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2060         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2061         Moved ...
2062         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2063         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2064         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2065         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2066         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2067         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2068         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2069         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2070         Moved ...
2071         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2072         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2073         Moved ...
2074         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2075         ... here.
2076         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2077         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2078         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2079         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2080         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2081         Moved ...
2082         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2083         ... here.
2084         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2085         Moved ...
2086         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2087         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2088         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2089         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2090         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2091         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2092         Moved ...
2093         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2094         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2095         Moved ...
2096         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2097         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2098         Moved ...
2099         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2100         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2101         Moved ...
2102         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2103         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2104         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2105         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2106         Moved ...
2107         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2108         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2109         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2110         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2111         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2112         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2113         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2114         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2115         Moved ...
2116         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2117         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2118         Moved ...
2119         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2120         ... here.
2121         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2122         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2123         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2124         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2125         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2126         Moved ...
2127         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2128         ... here.
2129         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2130         Moved ...
2131         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2132         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2133         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2134         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2135         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2136         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2137         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2138         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2139         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2140         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2141         Moved ...
2142         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2143         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2144         Moved ...
2145         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2146         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2147         Moved ...
2148         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2149         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2150         Moved ...
2151         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2152         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2153         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2154         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2155         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2156         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2157         Moved ...
2158         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2159         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2160         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2161         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2162         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2163         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2164         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2165         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2166         Moved ...
2167         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2168         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2169         Moved ...
2170         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2171         ... here.
2172         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2173         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2174         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2175         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2176         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2177         Moved ...
2178         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2179         ... here.
2180         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2181         Moved ...
2182         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2183         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2184         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2185         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2186         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2187         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2188         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2189         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2190         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2191         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2192         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2194         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2195         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2197         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2198         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2200         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2201         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2202         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2203         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2204         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2205         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2206         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2207         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2208         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2209         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2210         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2211         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2212         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2213         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2214         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2215         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2216         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2217         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2218         Moved ...
2219         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2220         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2221         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2222         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2223         Moved ...
2224         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2225         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2226         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2227         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2228         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2229         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2230         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2231         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2232         Moved ...
2233         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2234         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2235         Moved ...
2236         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2237         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2238         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2239         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2240         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2241         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2242         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2243         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2244         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2245         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2246         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2247         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2248         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2249         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2250         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2251         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2252         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2254         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2255         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2256         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2257         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2258         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2260         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2261         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2262         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2263         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2264         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2265         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2266         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2267         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2268         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2269         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2271         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2272         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2274         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2275         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2276         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2277         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2278         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2279         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2280         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2281         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2282         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2283         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2284         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2285         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2286         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2287         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2288         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2289         Update #include.
2290         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2291         Likewise.
2292         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2293         Likewise.
2294         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2295         Likewise.
2296         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2297         Likewise.
2298         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2299         Likewise.
2300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2301         Likewise.
2302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2303         Likewise.
2304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2305         Likewise.
2306         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2307         Likewise.
2308         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2309         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2310         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2311         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2312         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2313         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2314         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2315         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2316         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2317         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2318         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2319         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2320         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2321         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
2322         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
2324         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2325         that was previously under [RESET_PID].
2326         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2327         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2328         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2330         * sysdeps/i386/nptl/Implies: New file.
2331         * sysdeps/x86_64/nptl/Implies: New file.
2332         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2333         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2334         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2335         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2337         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2338         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2339         (__libc_vfork): New strong alias.
2340         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2341         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2343         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2344         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2345         (__libc_vfork): New strong alias.
2346         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2347         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2349         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2350         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2351         (__libc_vfork): New strong alias.
2352         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2353         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2354         * nptl/pt-vfork.c: New file.
2355         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2356         (libpthread: GLIBC_2.20): New version set (empty).
2358 2014-05-14  Will Newton  <will.newton@linaro.org>
2360         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2361         rather than #if.
2363 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2365         [BZ #16564]
2366         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2367         arguments with exponent 65 or above.
2368         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2369         arguments 0x1p113L or above.
2370         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2371         to arguments 0x1p107L or above.
2372         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2373         positive arguments with exponent 65 or above.
2374         * math/auto-libm-test-in: Add more tests of log1p.
2375         * math/auto-libm-test-out: Regenerated.
2377         [BZ #16928]
2378         * math/s_cacos.c (__cacos): Ensure zero real part of result from
2379         non-finite arguments is +0.
2380         * math/s_cacosf.c (__cacosf): Likewise.
2381         * math/s_cacosl.c (__cacosl): Likewise.
2382         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2383         * sysdeps/i386/fpu/libm-test-ulps: Update.
2384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2386         [BZ #16927]
2387         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2388         value.
2389         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2390         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2391         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2392         for explicit high bit of mantissa when testing for argument equal
2393         to 1.
2394         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2395         * sysdeps/i386/fpu/libm-test-ulps: Update.
2396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2398         [BZ #16516]
2399         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2400         (__erf): Scale by 16 instead of 8 in potentially underflowing
2401         case.  Ensure exception if result actually underflows.
2402         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2403         (__erff): Scale by 16 instead of 8 in potentially underflowing
2404         case.  Ensure exception if result actually underflows.
2405         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2406         (efx8): Remove variable.
2407         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2408         case.  Ensure exception if result actually underflows.
2409         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2410         (efx8): Remove variable.
2411         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2412         case.  Ensure exception if result actually underflows.
2413         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2414         (efx8): Remove variable.
2415         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2416         case.  Ensure exception if result actually underflows.
2417         * math/auto-libm-test-in: Add more tests of erf.
2418         * math/auto-libm-test-out: Regenerated.
2420 2014-05-14  Andreas Schwab  <schwab@suse.de>
2422         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2423         Remove code conditionalized on USE___THREAD.
2425         * config.h.in (HAVE_PT_CHOWN): Define as 0.
2426         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2427         not definedness.
2429 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2431         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2432         Define unconditionally.
2433         (__ASSUME_O_CLOEXEC): Likewise.
2434         (__ASSUME_SOCK_CLOEXEC): Likewise.
2435         (__ASSUME_IN_NONBLOCK): Likewise.
2436         (__ASSUME_PIPE2): Likewise.
2437         (__ASSUME_EVENTFD2): Likewise.
2438         (__ASSUME_SIGNALFD4): Likewise.
2439         (__ASSUME_DUP3): Likewise.
2440         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2441         (__ASSUME_DUP3): Do not define.
2442         (__ASSUME_EVENTFD2): Likewise.
2443         (__ASSUME_IN_NONBLOCK): Likewise.
2444         (__ASSUME_O_CLOEXEC): Likewise.
2445         (__ASSUME_PIPE2): Likewise.
2446         (__ASSUME_SIGNALFD4): Likewise.
2447         (__ASSUME_SOCK_CLOEXEC): Likewise.
2448         (__ASSUME_UTIMES): Undefine.
2449         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2450         (__ASSUME_UTIMES): Do not define.
2451         (__ASSUME_O_CLOEXEC): Likewise.
2452         (__ASSUME_SOCK_CLOEXEC): Likewise.
2453         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2454         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2455         0x020621].
2456         (__ASSUME_PIPE2): Likewise.
2457         (__ASSUME_EVENTFD2): Likewise.
2458         (__ASSUME_SIGNALFD4): Likewise.
2459         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2460         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2461         Do not define.
2462         (__ASSUME_EVENTFD2): Likewise.
2463         (__ASSUME_SIGNALFD4): Likewise.
2464         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2465         (__ASSUME_32BITUIDS): Likewise.
2466         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2467         (__ASSUME_IPC64): Likewise.
2468         (__ASSUME_ST_INO_64_BIT): Likewise.
2469         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2470         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2471         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2472         (__ASSUME_UTIMES): Do not define.
2473         (__ASSUME_PSELECT): Likewise.
2474         (__ASSUME_PPOLL): Likewise.
2475         (__ASSUME_O_CLOEXEC): Likewise.
2476         (__ASSUME_SOCK_CLOEXEC): Likewise.
2477         (__ASSUME_IN_NONBLOCK): Likewise.
2478         (__ASSUME_PIPE2): Likewise.
2479         (__ASSUME_EVENTFD2): Likewise.
2480         (__ASSUME_SIGNALFD4): Likewise.
2481         (__ASSUME_DUP3): Likewise.
2482         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2483         (__ASSUME_UTIMES): Likewise.
2484         (__ASSUME_O_CLOEXEC): Likewise.
2485         (__ASSUME_SOCK_CLOEXEC): Likewise.
2486         (__ASSUME_IN_NONBLOCK): Likewise.
2487         (__ASSUME_PIPE2): Likewise.
2488         (__ASSUME_EVENTFD2): Likewise.
2489         (__ASSUME_SIGNALFD4): Likewise.
2490         (__ASSUME_DUP3): Likewise.
2491         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2492         (__ASSUME_UTIMES): Likewise.
2493         (__ASSUME_O_CLOEXEC): Likewise.
2494         (__ASSUME_SOCK_CLOEXEC): Likewise.
2495         (__ASSUME_IN_NONBLOCK): Likewise.
2496         (__ASSUME_PIPE2): Likewise.
2497         (__ASSUME_EVENTFD2): Likewise.
2498         (__ASSUME_SIGNALFD4): Likewise.
2499         (__ASSUME_DUP3): Likewise.
2500         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2501         Likewise.
2502         (__ASSUME_UTIMES): Likewise.
2503         (__ASSUME_EVENTFD2): Likewise.
2504         (__ASSUME_SIGNALFD4): Likewise.
2505         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2506         (__ASSUME_O_CLOEXEC): Likewise.
2507         (__ASSUME_SOCK_CLOEXEC): Likewise.
2508         (__ASSUME_IN_NONBLOCK): Likewise.
2509         (__ASSUME_PIPE2): Likewise.
2510         (__ASSUME_EVENTFD2): Likewise.
2511         (__ASSUME_SIGNALFD4): Likewise.
2512         (__ASSUME_DUP3): Likewise.
2513         (__ASSUME_UTIMES): Undefine.
2515         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2516         feclearexcept.  Remove symbol versioning code.
2517         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
2518         symbol versioning code.
2519         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
2520         symbol versioning code.
2521         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2522         feupdateenv.  Remove symbol versioning code.
2523         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2524         fegetexceptflag.  Remove symbol versioning code.
2525         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2526         fesetexceptflag.  Remove symbol versioning code.
2527         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2528         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
2529         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2530         (__posix_fadvise64_l32): Remove prototype.
2531         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2532         code.
2534 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2536         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2537         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2538         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2539         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2541 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
2543         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2544         current working directory
2546 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2548         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2549         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2550         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2551         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2552         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2553         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2554         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2555         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2556         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2557         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2558         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2559         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2560         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2561         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2562         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2563         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2564         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2565         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2566         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2567         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2568         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2569         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2570         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2571         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2572         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2573         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2574         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2575         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2576         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2577         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2578         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2579         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2580         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2581         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2582         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2583         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2584         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2585         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2586         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2587         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2588         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2589         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2591         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2592         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2594         * sysdeps/unix/sysv/linux/arm/Makefile
2595         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2596         Add rt-aeabi_unwind_cpp_pr1.
2597         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2598         Add nptl-aeabi_unwind_cpp_pr1.
2599         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2600         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2601         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2602         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2603         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2604         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2606         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2607         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2608         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2609         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2611         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2612         Deconditionalize the code that was previously under [RESET_PID].
2613         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2615         * sysdeps/generic/exit-thread.h: New file.
2616         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2617         * include/unistd.h (__exit_thread): Remove declaration.
2618         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2619         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2620         * csu/libc-start.c: Include <exit-thread.h>.
2621         (LIBC_START_MAIN): Pass no argument to __exit_thread.
2622         * nptl/pthread_create.c: Include <exit-thread.h>.
2623         (start_thread): Call __exit_thread in place of __exit_thread_inline.
2624         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2625         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2626         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2627         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2628         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2629         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2630         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2631         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2632         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2633         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2634         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2635         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2636         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2637         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2638         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2639         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2641 2014-05-13  Andreas Schwab  <schwab@suse.de>
2643         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2645 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
2647         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2648         (__ASSUME_UTIMES): Do not condition on kernel version.
2649         (__ASSUME_PSELECT): Define unconditionally.
2650         (__ASSUME_PPOLL): Likewise.
2651         (__ASSUME_ATFCTS): Likewise.
2652         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2653         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2654         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2655         (__ASSUME_UTIMENSAT): Define unconditionally.
2656         (__ASSUME_PRIVATE_FUTEX): Likewise.
2657         (__ASSUME_FALLOCATE): Likewise.
2658         (__ASSUME_O_CLOEXEC): Likewise.
2659         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2660         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2661         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2662         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2663         (__ASSUME_IN_NONBLOCK): Likewise.
2664         (__ASSUME_PIPE2): Likewise.
2665         (__ASSUME_EVENTFD2): Likewise.
2666         (__ASSUME_SIGNALFD4): Likewise.
2667         (__ASSUME_DUP3): Likewise.
2668         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2669         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2670         (__ASSUME_AT_RANDOM): Likewise.
2671         (__ASSUME_PREADV): Likewise.
2672         (__ASSUME_PWRITEV): Likewise.
2673         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2674         (__ASSUME_F_GETOWN_EX): Define unconditionally.
2675         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2676         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2677         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2678         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2679         (__ASSUME_O_CLOEXEC): Define unconditionally.
2680         (__ASSUME_PSELECT): Do not undefine conditionally.
2681         (__ASSUME_PPOLL): Likewise.
2682         (__ASSUME_ATFCTS): Likewise.
2683         (__ASSUME_SET_ROBUST_LIST): Likewise.
2684         (__ASSUME_UTIMENSAT): Likewise.
2685         (__ASSUME_FDATASYNC): Define unconditionally.
2686         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2687         (__ASSUME_SIGFRAME_V2): Likewise.
2688         )__ASSUME_EVENTFD2): Likewise.
2689         (__ASSUME_SIGNALFD4): Likewise.
2690         (__ASSUME_PSELECT): Do not undefine conditionally.
2691         (__ASSUME_PPOLL): Likewise.
2692         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2693         (__ASSUME_PSELECT): Define unconditionally.
2694         (__ASSUME_PPOLL): Likewise.
2695         (__ASSUME_O_CLOEXEC): Likewise.
2696         (__ASSUME_SOCK_CLOEXEC): Likewise.
2697         (__ASSUME_IN_NONBLOCK): Likewise.
2698         (__ASSUME_PIPE2): Likewise.
2699         (__ASSUME_EVENTFD2): Likewise.
2700         (__ASSUME_SIGNALFD4): Likewise.
2701         (__ASSUME_DUP3): Likewise.
2702         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2703         (__ASSUME_O_CLOEXEC): Likewise.
2704         (__ASSUME_SOCK_CLOEXEC): Likewise.
2705         (__ASSUME_IN_NONBLOCK): Likewise.
2706         (__ASSUME_PIPE2): Likewise.
2707         (__ASSUME_EVENTFD2): Likewise.
2708         (__ASSUME_SIGNALFD4): Likewise.
2709         (__ASSUME_DUP3): Likewise.
2710         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2711         (__ASSUME_EVENTFD2): Likewise.
2712         (__ASSUME_SIGNALFD4): Likewise.
2713         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2715 2014-05-12  Andreas Schwab  <schwab@suse.de>
2717         [BZ #16932]
2718         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2719         (_nss_nis_gethostbyname4_r): Return error if item length is larger
2720         than maximum RPC packet size.
2721         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2722         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2723         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2724         (_nss_nis_getservbyport_r): Likewise.
2726 2014-05-12  Will Newton  <will.newton@linaro.org>
2728         * malloc/Makefile (tests): Add tst-mallopt.
2729         * malloc/tst-mallopt.c: New file.
2731 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2733         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2734         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2736 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2738         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2739         (tst-tlsmod6.so): Likewise.
2741 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2743         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2745 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
2747         [BZ #16064]
2748         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2749         and <dl-procinfo.h>.
2750         (__fegetenv): Save SSE state in envp->__eip if supported.
2751         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2752         envp->__eip if supported.
2753         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2754         and <dl-procinfo.h>.
2755         (__fesetenv): Always set __eip, __cs_selector, __opcode,
2756         __data_offset and __data_selector in environment to 0.  Set SSE
2757         state if supported.
2758         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2759         test-fenv-sse.
2760         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2761         -mfpmath=sse.
2762         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2764 2014-05-09  Will Newton  <will.newton@linaro.org>
2766         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2767         and libc_relro_required for ARM.
2768         * sysdeps/arm/preconfigure: Regenerate.
2770 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2771             Stefan Liebler  <stli@linux.vnet.ibm.com>
2773         * config.make.in (enable-lock-elision): New Makefile variable.
2774         * configure.ac: Likewise.
2775         * configure: Regenerate.
2776         * sysdeps/s390/configure.ac:
2777         Add check for gcc transactions support.
2778         * sysdeps/s390/configure: Regenerate.
2779         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2780         Build elision files if enabled.
2781         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2782         Add lock elision support for s390.
2783         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2784         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2785         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2786         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2787         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2788         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2789         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2790         Likewise.
2791         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2792         Likewise.
2793         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2794         Likewise.
2795         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2796         Likewise.
2797         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2798         (__lll_timedlock_elision, __lll_lock_elision)
2799         (__lll_unlock_elision, __lll_trylock_elision)
2800         (lll_timedlock_elision, lll_lock_elision)
2801         (lll_unlock_elision, lll_trylock_elision): Add.
2802         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2803         (pthread_mutex_t): Add lock elision support for s390.
2805 2014-05-14  Wilco  <wdijkstr@arm.com>
2807         * sysdeps/arm/fclrexcpt.c: Cleanup.
2808         * sysdeps/arm/fedisblxcpt.c: Cleanup.
2809         * sysdeps/arm/feenablxcpt.c: Cleanup.
2810         * sysdeps/arm/fegetenv.c: Cleanup.
2811         * sysdeps/arm/fegetexcept.c: Cleanup.
2812         * sysdeps/arm/fegetround.c: Cleanup.
2813         * sysdeps/arm/feholdexcpt.c: Cleanup.
2814         * sysdeps/arm/fesetenv.c: Cleanup.
2815         * sysdeps/arm/fesetround.c: Cleanup.
2816         * sysdeps/arm/feupdateenv.c: Cleanup.
2817         * sysdeps/arm/fgetexcptflg.c: Cleanup.
2818         * sysdeps/arm/fraiseexcpt.c: Cleanup.
2819         * sysdeps/arm/fsetexcptflg.c: Cleanup.
2820         * sysdeps/arm/ftestexcept.c: Cleanup.
2821         * sysdeps/arm/get-rounding-mode.h: Cleanup.
2822         * sysdeps/arm/setfpucw.c: Cleanup.
2824 2014-05-09  Will Newton  <will.newton@linaro.org>
2826         * sysdeps/arm/armv7/strcmp.S: New file.
2827         * NEWS: Mention addition of ARMv7 optimized strcmp.
2829 2014-05-08  Roland McGrath  <roland@hack.frob.com>
2831         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2832         look for %.ac rather than %.in.
2834         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2835         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2836         * sysdeps/mach/hurd/configure: Regenerated.
2837         * sysdeps/unix/sysv/linux/configure: Regenerated.
2839         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2841 2014-05-07  Steve Ellcey  <sellcey@mips.com>
2843         [BZ# 16922]
2844         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2845         (LONG_SUB): Ditto.
2846         (PTR_SUB): Ditto.
2848 2014-05-07  Andreas Schwab  <schwab@suse.de>
2850         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2851         when skipping over non-matching result from nscd.
2853 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
2855         [BZ #16876]
2856         * nptl/sockperf.c (client): Check socket return value.
2858         [BZ #16877]
2859         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2860         nscd security class.
2862 2014-05-06  Roland McGrath  <roland@hack.frob.com>
2864         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2865         * sysdeps/arm/unwind.h: ... here.
2867 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
2869         [BZ# 16916]
2870         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2871         Define.
2873 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2875         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2876         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2877         multiarch strncpy for PPC64.
2878         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2879         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2880         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2881         multiarch optimizations.
2882         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2883         (__libc_ifunc_impl_list): Likewise.
2884         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2885         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2886         multiarch stpncpy for PPC64.
2887         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2888         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2890 2014-05-06  Andreas Schwab  <schwab@suse.de>
2892         [BZ #16912]
2893         * gmon/mcount.c (_MCOUNT_DECL): Use
2894         atomic_compare_and_exchange_bool_acq instead of
2895         catomic_compare_and_exchange_bool_acq.
2897 2014-05-05  Roland McGrath  <roland@hack.frob.com>
2899         * elf/Makefile (others, install-bin): Remove pldd.
2900         (pldd-modules): Variable removed.
2901         ($(objpfx)pldd): Target removed.
2902         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2903         (others, install-bin): Append pldd here.
2904         ($(objpfx)pldd): New target.
2906         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2907         to 0, so the first #if test emitted later doesn't see it undefined.
2908         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2909         * sysdeps/gnu/errlist.c: Regenerated.
2911 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2913         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2914         [libc_hidden_builtin_def]: Define to empty value.
2915         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2916         [libc_hidden_builtin_def]: Likewise.
2917         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2918         [libc_hidden_builtin_def]: Likewise.
2919         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2920         [libc_hidden_builtin_def]: Likewise.
2921         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2922         __redirect_memcpy and define ifunc as default hidden symbol.
2923         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2924         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2926 2014-05-04  Adam Conrad  <adconrad@0c3.net>
2928         * locale/iso-4217.def: Reintroduce XDR currency.
2930 2014-05-04  Allan McRae  <allan@archlinux.org>
2932         * po/eo.po: Update Esperanto translation from translation project.
2934 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
2936         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2937         and FEATURE_INDEX_MAX to 1.
2938         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2940 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2942         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2943         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2944         * iconvdata/big5.c (ONE_DIRECTION): Define.
2945         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2946         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2947         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2948         * iconvdata/cp932.c (ONE_DIRECTION): Define.
2949         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2950         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2951         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2952         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2953         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2954         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2955         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2956         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2957         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2958         * iconvdata/gbk.c (ONE_DIRECTION): Define.
2959         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2960         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2961         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2962         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2963         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2964         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2965         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2966         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2967         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2968         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2969         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2970         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2971         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2972         * iconvdata/iso646.c (ONE_DIRECTION): Define.
2973         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2974         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2975         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2976         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2977         * iconvdata/johab.c (ONE_DIRECTION): Define.
2978         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2979         * iconvdata/sjis.c (ONE_DIRECTION): Define.
2980         * iconvdata/t.61.c (ONE_DIRECTION): Define.
2981         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2982         * iconvdata/tscii.c (ONE_DIRECTION): Define.
2983         * iconvdata/uhc.c (ONE_DIRECTION): Define.
2984         * iconvdata/unicode.c (ONE_DIRECTION): Define.
2985         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2986         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2987         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2989 2014-05-01  Roland McGrath  <roland@hack.frob.com>
2991         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2992         (_IO_JUMPS_OFFSET): Define to 0.
2994         * nptl/sysdeps/pthread/bits/libc-lock.h
2995         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2996         (__libc_lock_define_initialized_recursive): Always define using
2997         initializer.  Modern compilers treat uninitialized (implicit zero) and
2998         explicit zero initializers the same (i.e. put the datum in bss).
3000 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3002         * nscd/nscd-client.h: Include <string.h>.
3004 2014-05-01  David S. Miller  <davem@davemloft.net>
3006         [BZ #16885]
3007         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3008         multiple zero bytes exist at the end of a string.
3009         Reported by Aurelien Jarno <aurelien@aurel32.net>
3011         * string/test-strcmp.c (check): Add explicit test for situations where
3012         there are multiple zero bytes after the first.
3014 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3016         [BZ #16890]
3017         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3018         when compiling wprintf.
3019         * stdio-common/tstdiomisc.c (t3): New function.
3020         (main): Call it.
3022 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3024         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3025         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3026         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3027         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3029 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3031         * stdlib/longlong.h: Updated from GCC.
3033 2014-05-01  Will Newton  <will.newton@linaro.org>
3034             Bernard Ogden  <bernie.ogden@linaro.org>
3036         * NEWS: Update fixed bug list.
3038         [BZ #15119]
3039         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3041 2014-04-30  David S. Miller  <davem@davemloft.net>
3043         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3044         (libc_feholdexcept_setround_sparc_ctx): New function.
3045         (libc_fesetenv_sparc_ctx): Likewise.
3046         (libc_feupdateenv_sparc_ctx): Likewise.
3047         (libc_feholdsetround_sparc_ctx): Likewise.
3048         (libc_feholdexcept_setround_ctx): Define.
3049         (libc_feholdexcept_setroundf_ctx): Likewise.
3050         (libc_feholdexcept_setroundl_ctx): Likewise.
3051         (libc_fesetenv_ctx): Likewise.
3052         (libc_fesetenvf_ctx): Likewise.
3053         (libc_fesetenvl_ctx): Likewise.
3054         (libc_feupdateenv_ctx): Likewise.
3055         (libc_feupdateenvf_ctx): Likewise.
3056         (libc_feupdateenvl_ctx): Likewise.
3057         (libc_feresetround_ctx): Likewise.
3058         (libc_feresetroundf_ctx): Likewise.
3059         (libc_feresetroundl_ctx): Likewise.
3060         (libc_feholdsetround_ctx): Likewise.
3061         (libc_feholdsetroundf_ctx): Likewise.
3062         (libc_feholdsetroundl_ctx): Likewise.
3064         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3065         with __USE_GNU instead of XOPEN cpp guards.
3067         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3068         0.
3070         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3071         with XOPEN cpp guards.
3073 2014-04-30  Julian Brown  <julian@codesourcery.com>
3075         [BZ #16888]
3076         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3077         handling.
3079 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
3081         [BZ #9894]
3082         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3083         Change to 2.6.32.
3084         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3085         * sysdeps/unix/sysv/linux/configure: Regenerated.
3086         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3087         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3088         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3089         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3090         * README: Update reference to required Linux kernel version.
3091         * manual/install.texi (Linux): Update reference to required Linux
3092         kernel headers version.
3093         * INSTALL: Regenerated.
3095         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3096         header inclusion.
3097         [POSIX] (limits.h): Likewise.
3098         [POSIX] (math.h): Likewise.
3099         [POSIX] (sys/wait.h): Likewise.
3100         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3101         function.
3102         [POSIX] (stddef.h): Do not allow header inclusion.
3104 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3106         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3108 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
3110         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3111         Return immediately after lll_futex_wake.
3113 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3115         [BZ #16791]
3116         * nscd/nscd-client.h (datahead_init_common): Initialize entire
3117         structure.
3118         (datahead_init_pos): Call datahead_init_common early.
3119         (datahead_init_neg): Likewise.
3121         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3122         datahead_init_neg): New functions.
3123         * nscd/aicache.c (addhstaiX): Use them.
3124         * nscd/grpcache.c (cache_addgr): Likewise.
3125         * nscd/hstcache.c (cache_addhst): Likewise.
3126         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3127         * nscd/netgroupcache.c (do_notfound): Likewise.
3128         (addgetnetgrentX): Likewise.
3129         (addinnetgrX): Likewise.
3130         * nscd/pwdcache.c (cache_addpw): Likewise.
3131         * nscd/servicescache.c (cache_addserv): Likewise.
3133 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3134             Atsushi Onoe  <atsushi@onoe.org>
3136         [BZ #14308]
3137         [BZ #12994]
3138         [BZ #13651]
3139         * resolv/res_query.c (__libc_res_nsearch): Return if at least
3140         one response is valid.
3141         * resolv/res_send.c (send_dg): Check for validity of other
3142         response if the current response is a referral.
3144 2014-04-29  Steve Ellcey  <sellcey@mips.com>
3146         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3148 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
3150         [BZ #16823]
3151         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3152         Always divide by positive zero when computing -Inf result.
3153         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3154         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3156 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3158         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3159         FPSCR if value do not change.
3160         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3161         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3162         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3163         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3164         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3165         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3166         function.
3168 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
3170         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3171         * sysdeps/unix/sysv/linux/hppa: Move directory from
3172         ports/systeps/unix/sysv/linux/hppa.
3173         * README: Update listing for hppa-*-linux-gnu.
3175 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
3177         [BZ #16754]
3178         * manual/stdio.texi (Hook functions): Fix types of stream hook
3179         functions.
3180         [BZ #16854]
3181         * socket/sys/socket.h: Fix typo in comment.
3183 2014-04-28  Wilco  <wdijkstr@arm.com>
3185         * sysdeps/arm/fenv_private.h: New file.
3186         * sysdeps/arm/math_private.h: New file.
3187         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3189 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
3191         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3192         with __int128_t.
3193         (La_x86_64_retval): Likewise.
3195 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
3197         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3198         fpsr if value didn't change.
3199         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3200         to fpcr if value didn't change.
3201         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3202         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3203         fpsr or fpcr if value didn't change.
3204         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3205         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3206         fpcr if value didn't change.
3207         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3208         to fpsr if value didn't change.
3210 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3212         * nptl/tst-sem3.c: Use test-skeleton.c
3213         (main): Rename to do_test.  Use return instead of
3214         exit.
3215         * nptl/tst-sem4.c: Use test-skeleton.c
3216         (main): Rename to do_test.
3218 2014-04-22  David S. Miller  <davem@davemloft.net>
3220         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3221         (struct sigaction): New struct member __glibc_reserved0, change
3222         type of sa_flags to int.
3224 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
3226         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3227         (COUNT_LEADING_ZEROS_0): Define for AArch64.
3229 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3231         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3232         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3234 2014-04-22  Will Newton  <will.newton@linaro.org>
3235             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
3237         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3238         (__longjmp): Add longjmp and longjmp_target SystemTap
3239         probes.
3240         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3241         (__sigsetjmp): Add setjmp SystemTap probe.
3243 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
3245         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3246         match manual order.
3248 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3250         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3252         * sysdeps/powerpc/fpu/fenv_private.h
3253         (libc_feholdexcept_setroundl_ctx): Define to
3254         libc_feholdexcept_setround_ppc_ctx.
3255         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3256         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3257         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3258         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3260 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3262         * sysdeps/aarch64/math-tests.h: New file.
3264 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
3266         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3267         New.
3268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3269         Check and set bit_AVX2_Usable.
3270         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3271         macro.
3272         (bit_AVX2): Likewise.
3273         (index_AVX2_Usable): Likewise.
3274         (CPUID_AVX2): Likewise.
3275         (HAS_AVX2): Likewise.
3277 2014-04-17  Will Newton  <will.newton@linaro.org>
3279         * manual/setjmp.texi (System V contexts): Add note that
3280         calling setcontext on a context created by a call to a
3281         signal handler is undefined.  Update text to note that
3282         setcontext from a signal handler is possible but not
3283         recommended.
3285         [BZ #16629]
3286         * stdlib/tst-setcontext.c: Include signal.h.
3287         (main): Check that the signal stack before and
3288         after swapcontext is the same.
3290         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3291         Re-implement to restore registers in user code and avoid
3292         rt_sigreturn system call.
3294 2014-04-17  Wilco  <wdijkstr@arm.com>
3296         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3297         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3298         * math/test-fenv.c: Skip exception trap tests on targets which only
3299         support non-stop mode.
3301 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3302             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3304         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3305         (libc_feholdsetround_aarch64_ctx)
3306         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3307         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3308         (libc_feresetround_ctx, libc_feresetroundf_ctx)
3309         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3310         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3311         (libc_feresetround_noexl_ctx): Define.
3313 2014-04-16  Richard Henderson  <rth@redhat.com>
3315         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3317         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3318         unwind tables.
3320         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3321         const from the non-libc, non-ldso copy.
3323         * sysdeps/alpha/libm-test-ulps: Regenerate.
3325 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
3326             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3328         * sysdeps/aarch64/fpu/math_private.h: New file.
3330 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3332         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3334 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
3336         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3337         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3338         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3339         Intel MPX bound registers before _dl_profile_fixup.
3340         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3341         registers after _dl_profile_fixup.  Save and restore bound
3342         registers bnd0/bnd1 when calling _dl_call_pltexit.
3343         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3344         (LR_BND_OFFSET): Likewise.
3345         (LRV_BND0_OFFSET): Likewise.
3346         (LRV_BND1_OFFSET): Likewise.
3348 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3350         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3351         to...
3352         * sysdeps/mach/hurd/i386/tls.h: ... here.
3353         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3354         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3355         fields.
3357 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3359         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3361 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3363         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3365 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3367         [BZ #14770]
3368         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3369         * sysdeps/s390/configure: Regenerate.
3371         [BZ #16824]
3372         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3373         Set round-to-nearest internally to reduce error accumulation.
3375 2014-04-16  Alan Modra  <amodra@gmail.com>
3377         [BZ #16740]
3378         [BZ #16619]
3379         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3380         * math/libm-test.inc (frexp_test_data): Add tests.
3381         * NEWS: Update fixed bug list.
3383 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3385         * benchtests/Makefile: Depend on libraries in build directory.
3386         (bench-math): Separate out math tests.
3387         (bench-pthread): Separate out pthread tests.
3388         (bench): Include math and pthread tests.
3390 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
3392         [BZ #16831]
3393         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3394         _dl_debug_initialize.
3396         * configure.ac: Remove SELinux header check.
3397         * configure: Regenerate.
3398         * nscd/selinux.c (perms): Array of const char* to permission names.
3399         (nscd_request_avc_has_perm): Call security_deny_unknown to find
3400         default policy. Call string_to_security_class and string_to_av_perm to
3401         translate strings. Enforce default policy and call avs_has_perm with
3402         results of translated strings.
3404 2014-04-13  David S. Miller  <davem@davemloft.net>
3406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3408 2014-04-12  Allan McRae  <allan@archlinux.org>
3410         [BZ #16838]
3411         * manual/string.texi (Collation Functions): Fix qsort argument
3412         order in example.
3413         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3415 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
3417         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3418         Make the test a no-op if there are no exceptions defined.
3420 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3422         * elf/Makefile (tests): make tst-dlopen-aout conditional on
3423         enable-hardcoded-path-in-tests
3425 2014-04-11  Will Newton  <will.newton@linaro.org>
3427         * benchtests/Makefile (extra-objs): Add json-lib.o.
3428         (bench-func): Tidy up JSON output.
3429         * benchtests/bench-skeleton.c: Include json-lib.h.
3430         (main): Use JSON library functions to do output of
3431         benchmark results.
3432         * benchtests/bench-timing-type.c (main): Output the
3433         timing type simply, leaving formatting to the user.
3434         * benchtests/json-lib.c: New file.
3435         * benchtests/json-lib.h: Likewise.
3437 2014-04-11  Torvald Riegel  <triegel@redhat.com>
3439         [BZ #15215]
3440         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3441         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
3442         memory barriers.  Add comments.
3443         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3444         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3445         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3446         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3447         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3448         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3450 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3452         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3453         * sysdeps/s390/s390-64/configure.ac: ... this ...
3454         * sysdeps/s390/configure.ac: ... to here.
3455         * sysdeps/s390/s390-32/configure: Delete file.
3456         * sysdeps/s390/s390-64/configure: Delete file.
3457         * sysdeps/s390/configure: Regenerate.
3459 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
3461         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3463 2014-04-11  Will Newton  <will.newton@linaro.org>
3465         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3466         to zero if it is not defined elsewhere.  (mtrim): Test
3467         the value of MALLOC_DEBUG with #if rather than #ifdef.
3469 2014-04-10 Torvald Riegel  <triegel@redhat.com>
3471         * benchtests/pthread_once-inputs: New file.
3472         * benchtests/pthread_once-source.c: New file.
3473         * benchtests/README: Update documentation.
3475 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3476             H.J. Lu  <hongjiu.lu@intel.com>
3478         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3479         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3480         * sysdeps/x86_64/configure: Regenerated.
3481         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3482         macro.
3483         (REGISTER_SAVE_RAX): Likewise.
3484         (REGISTER_SAVE_RCX): Likewise.
3485         (REGISTER_SAVE_RDX): Likewise.
3486         (REGISTER_SAVE_RSI): Likewise.
3487         (REGISTER_SAVE_RDI): Likewise.
3488         (REGISTER_SAVE_R8): Likewise.
3489         (REGISTER_SAVE_R9): Likewise.
3490         (REGISTER_SAVE_BND0): Likewise.
3491         (REGISTER_SAVE_BND1): Likewise.
3492         (REGISTER_SAVE_BND2): Likewise.
3493         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
3494         bound registers when calling _dl_fixup.
3496 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3498         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3499         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3500         of its definition.
3501         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3502         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3503         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3504         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3505         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3506         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3507         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3509 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
3511         [BZ #15514]
3512         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3513         pathconf(_PC_NAME_MAX).
3515 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3517         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3518         Remove macro usage.
3519         (__PTHREAD_SPINS): Move definition to ...
3520         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3521         (__PTHREAD_SPINS): ... here.
3522         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3523         (__PTHREAD_SPIN): Likewise.
3524         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3525         (__PTHREAD_SPIN): Likewise.
3526         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3527         (__PTHREAD_SPIN): Likewise.
3528         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3529         (__PTHREAD_SPIN): Likewise.
3530         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3531         (__PTHREAD_SPIN): Likewise.
3532         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3533         (__PTHREAD_SPIN): Likewise.
3534         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3535         (__PTHREAD_SPIN): Likewise.
3536         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3537         (__PTHREAD_SPIN): Likewise.
3538         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3539         (__PTHREAD_SPIN): Likewise.
3540         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3541         (__PTHREAD_SPIN): Likewise.
3542         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3543         (__PTHREAD_SPIN): Likewise.
3544         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3545         (__PTHREAD_SPIN): Likewise.
3547         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3548         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3549         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3550         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3551         imply folder.
3552         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3553         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3554         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3555         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3556         correct imply path.
3557         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3558         strlen symbol for non multi-arch builds.
3559         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3560         missing hidden_def and weak_alias.
3562 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
3564         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3566 2014-04-07  Will Newton  <will.newton@linaro.org>
3568         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3569         and contents.  [!_LIBC] Remove #ifndef and contents.
3570         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
3571         * string/memccpy.c (__memccpy): Use ANSI prototype.
3572         * string/memfrob.c (memfrob): Likewise.
3573         * string/strcoll.c (STRCOLL): Likewise.
3574         * string/strlen.c (strlen): Likewise.
3575         * string/strtok.c (STRTOK): Likewise.
3576         * string/strcat.c: Remove unused #include of memcopy.h.
3577         (strcat): Use ANSI prototype.
3578         * string/strchr.c: Remove unused #include of memcopy.h.
3579         (strchr): Use ANSI prototype.
3580         * string/strcmp.c: Remove unused #include of memcopy.h.
3581         (strcmp): Use ANSI prototype.
3582         * string/strcpy.c: Remove unused #include of memcopy.h.
3583         (strcpy): Use ANSI prototype.
3585 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3587         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3588         * config.make.in (config-extra-cppflags): Set it from
3589         libc_extra_cppflags.
3590         * configure.ac (libc_extra_cflags): Make it accumulate over
3591         configure fragments.
3592         (libc_extra_cppflags): New flag.
3593         * configure. Regenerate.
3594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3595         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3596         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3599         [BZ #16815]
3600         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3601         result for FE_DOWNWARD rounding mode.
3602         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3603         Likewise.
3604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3606 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
3608         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3609         in function argument name.
3611 2014-04-03  David Svoboda  <svoboda@cert.org>
3613         [BZ #5666]
3614         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3615         explicitly.
3617 2014-04-03  Roland McGrath  <roland@hack.frob.com>
3619         * elf/dl-unmap-segments.h: New file.
3620         * sysdeps/generic/ldsodefs.h
3621         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3622         * elf/dl-close.c: Include <dl-unmap-segments.h>.
3623         * elf/dl-fptr.c: Likewise.
3624         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3625         * sysdeps/aarch64/tlsdesc.c: Likewise.
3626         * sysdeps/arm/tlsdesc.c: Likewise.
3627         * sysdeps/i386/tlsdesc.c: Likewise.
3628         * sysdeps/tile/dl-runtime.c: Likewise.
3629         * sysdeps/x86_64/tlsdesc.c: Likewise.
3630         * elf/dl-load.h: New file.
3631         * elf/dl-load.c: Include it.
3632         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3633         Macros moved to dl-load.h.
3634         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3635         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3636         Use _dl_unmap_segments in place of __munmap.
3637         Break out segment-mapping loop into ...
3638         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3640 2014-04-03  Will Newton  <will.newton@linaro.org>
3642         * elf/dl-lookup.c (do_lookup_x): Remove comment
3643         referring to nested function and move variable
3644         declarations down to before first use.
3646 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
3648         [BZ #16799]
3649         [BZ #16800]
3650         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3651         with 0 numerator.
3652         * math/s_catanf.c (__catanf): Likewise.
3653         * math/s_catanh.c (__catanh): Likewise.
3654         * math/s_catanhf.c (__catanhf): Likewise.
3655         * math/s_catanhl.c (__catanhl): Likewise.
3656         * math/s_catanl.c (__catanl): Likewise.
3657         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3658         by positive zero when computing -Inf result.
3659         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3660         (catanh_test): Likewise.
3661         * sysdeps/i386/fpu/libm-test-ulps: Update.
3662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3664         [BZ #16789]
3665         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3666         instead of using underflowing value in computing result.
3667         * math/s_clog10.c (__clog10): Likewise.
3668         * math/s_clog10f.c (__clog10f): Likewise.
3669         * math/s_clog10l.c (__clog10l): Likewise.
3670         * math/s_clogf.c (__clogf): Likewise.
3671         * math/s_clogl.c (__clogl): Likewise.
3672         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3673         (clog10_test): Likewise.
3674         * sysdeps/i386/fpu/libm-test-ulps: Update.
3675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3677 2014-04-02  Alan Modra  <amodra@gmail.com>
3679         [BZ #16739]
3680         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3681         output when value is near a power of two.  Use int64_t for lx and
3682         remove casts.  Use decimal rather than hex exponent constants.
3683         Don't use long double multiplication when double will suffice.
3684         * math/libm-test.inc (nextafter_test_data): Add tests.
3685         * NEWS: Add 16739 and 16786 to bug list.
3687         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3689         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3691 2014-04-01  Will Newton  <will.newton@linaro.org>
3693         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3694         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
3696 2014-04-01  Florian Weimer  <fweimer@redhat.com>
3698         [BZ #13347]
3699         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3700         * nptl/tst-setuid2.c: New file.
3701         * nptl/Makefile (xtests): Add tst-setuid2.
3703 2014-04-01  Alan Modra  <amodra@gmail.com>
3705         [BZ #16786]
3706         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3708 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3710         [BZ #6803]
3711         [BZ #6804]
3712         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3713         set errno as appropriate.
3714         * math/w_scalbf.c (__scalbf): Likewise.
3715         * math/w_scalbl.c (__scalbl): Likewise.
3716         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3717         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3718         * math/libm-test.inc (scalb_test_data): Add errno expectations.
3719         Add more NaN tests.
3721         [BZ #16349]
3722         * math/w_atan2.c: Include <errno.h>.
3723         (__atan2): Set errno for result underflowing to zero.
3724         * math/w_atan2f.c: Include <errno.h>.
3725         (__atan2f): Set errno for result underflowing to zero.
3726         * math/w_atan2l.c: Include <errno.h>.
3727         (__atan2l): Set errno for result underflowing to zero.
3728         * math/auto-libm-test-in: Don't allow missing errno for some atan2
3729         tests.
3730         * math/auto-libm-test-out: Regenerated.
3732 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3734         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3735         Encode instruction correctly in little endian.
3736         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3737         Likewise.
3738         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3739         Likewise.
3740         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3741         Likewise.
3742         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3743         Likewise.
3745 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3747         [BZ #9894]
3748         * sysdeps/unix/sysv/linux/kernel-features.h
3749         [__sparc__ && !__arch64__ && !__sparc_v9__]
3750         (__ASSUME_SET_ROBUST_LIST): Do not define.
3751         [__sparc__ && !__arch64__ && !__sparc_v9__]
3752         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3753         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3754         Likewise.
3755         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3756         (__ASSUME_FUTEX_LOCK_PI): Undefine.
3757         (__ASSUME_REQUEUE_PI): Likewise.
3758         (__ASSUME_SET_ROBUST_LIST): Likewise.
3759         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3760         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3761         Undefine.
3762         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3763         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3764         Likewise.
3765         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3766         Likewise.
3767         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3768         Likewise.
3769         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3770         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3771         Undefine.
3772         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3773         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3774         Likewise.
3776         [BZ #16648]
3777         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3778         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3779         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3781 2014-03-31  Will Newton  <will.newton@linaro.org>
3783         * benchtests/Makefile (bench): Add ffs and ffsll to list
3784         of tests.
3785         * benchtests/ffs-inputs: New file.
3786         * benchtests/ffsll-inputs: Likewise.
3788 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
3790         [BZ #16770]
3791         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3792         too large before casting to int.
3793         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3794         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3795         * math/libm-test.inc (scalb_test_data): Add more tests.
3797 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3799         * benchtests/Makefile (DETAILED_OPT): New make option.
3800         (bench-func): Run benchmark program with -d if DETAILED_OPT is
3801         set.
3802         * benchtests/bench-skeleton.c: Include stdbool.h.
3803         (main): Store and print timings per input.
3804         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3805         member to each argument value.
3806         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3807         (_print_arg_data): Initialize per-input timing to 0.
3809         * benchtests/Makefile (timing-type): New binary.
3810         (bench-clean): Also remove bench-timing-type.
3811         (bench): New target for timing-type.
3812         (bench-func): Print output in JSON format.
3813         * benchtests/bench-skeleton.c (main): Print output in JSON
3814         format.
3815         * benchtests/bench-timing-type.c: New file.
3816         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3817         (TIMING_PRINT_STATS): Remove.
3818         * benchtests/scripts/bench.py (_print_arg_data): Store variant
3819         name separately.
3821         * benchtests/bench-modf.c: Remove.
3822         * benchtests/modf-inputs: New inputs file.
3824 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
3826         [BZ #16362]
3827         * math/s_clog10.c (M_PI_LOG10E): New macro.
3828         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3829         imaginary parts are 0.
3830         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3831         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3832         imaginary parts are 0.
3833         * math/s_clog10l.c (M_PI_LOG10El): New macro.
3834         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3835         imaginary parts are 0.
3836         * math/libm-test.inc (clog10_test_data): Update expected results
3837         for when real and imaginary parts are 0.
3839 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
3841         * elf/dl-load.c: Finish conversion of __builtin_expect into
3842         __glibc_{un}likely.
3844 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
3846         [BZ #16348]
3847         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3848         1+x for argument with exponent below -67.
3849         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3850         Likewise.
3851         * math/auto-libm-test-in: Add more tests of exp.
3852         * math/auto-libm-test-out: Regenerated.
3854 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3856         [BZ #16759]
3857         * inet/getnetgrent_r.c (get_nonempty_val): New function.
3858         (nscd_getnetgrent): Use it.
3860         [BZ #16760]
3861         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3862         of stpcpy.
3864 2014-03-27  Andi Kleen  <ak@linux.intel.com>
3866         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3867         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3868         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3869         (lll_robust_unlock): Remove out of line section. Use cfi
3870         intrinsics.
3871         (LLL_STUB_UNWIND_INFO*): Remove.
3872         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3873         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3874         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3875         (lll_robust_unlock): Remove out of line section. Use cfi
3876         intrinsics.
3877         (LLL_STUB_UNWIND_INFO*): Remove.
3879 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3881         [BZ #16758]
3882         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3883         blank values.
3885 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3887         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3889 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
3891         [BZ #16198]
3892         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3893         fnstenv.
3894         * math/test-fenv-preserve.c: New file.
3895         * math/Makefile (tests): Add test-fenv-preserve.
3897 2014-03-26  Will Newton <will.newton@linaro.org>
3899         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3901 2014-03-25  Roland McGrath  <roland@hack.frob.com>
3903         * scripts/versionlist.awk: Partition the version sets and emit all
3904         GLIBC_* (sorted) before all others (sorted).
3906 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3908         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3909         GLIBC_2.2.5 version.
3911 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3913         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3914         calls.
3916         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3917         previous change.
3919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3921 2014-03-25  Andreas Schwab  <schwab@suse.de>
3923         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3924         label to be used after in6ailist is initialized.
3926 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3928         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3929         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3931 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3933         [BZ #16357]
3934         [BZ #16599]
3935         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3936         min_plus_half.
3937         (fp_formats): Update initializers.
3938         (init_fp_formats): Initialize new field.
3939         (output_for_one_input_case): Allow underflow for results up to
3940         min_plus_half.
3941         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3942         * math/auto-libm-test-in: Don't mark some underflows from asin and
3943         atanh as spurious.
3944         * math/auto-libm-test-out: Regenerated.
3945         * sysdeps/i386/fpu/libm-test-ulps: Update.
3946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3948 2014-03-25  Andreas Schwab  <schwab@suse.de>
3950         * libio/Makefile (tst-ftell-partial-wide-ENV)
3951         (tst-ftell-active-handler-ENV): Define.
3953 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
3955         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3957 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3959         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3961 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3963         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3964         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3965         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3967 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3969         [BZ #16634]
3970         * elf/dl-load.c (open_verify): Add mode parameter.
3971         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3972         (open_path): Change from boolean 'secure' to complete flag 'mode'
3973         (_dl_map_object): Adjust.
3974         * elf/Makefile (tests): Add tst-dlopen-aout.
3975         * elf/tst-dlopen-aout.c: New test.
3977 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
3979         [BZ #16714]
3980         * sysdeps/unix/sysv/linux/s390/bits/stat.h
3981         (struct stat): Rename member pad0 to __glibc_reserved0.
3983         [BZ #16712]
3984         * sysdeps/s390/s390-32/bits/wordsize.h
3985         (__WORDSIZE32_SIZE_ULONG): New define.
3986         * sysdeps/s390/s390-64/bits/wordsize.h
3987         (__WORDSIZE32_SIZE_ULONG): Likewise.
3988         * sysdeps/generic/stdint.h (SIZE_MAX):
3989         Define as UL if __WORDSIZE32_SIZE_ULONG.
3991         [BZ #16713]
3992         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3993         (__glibc_reserved0): New variable.
3994         (sa_flags): Change type to int.
3996         * posix/Makefile (before-compile): Use += before-compile instead
3997         of a :=.
3999         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4000         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4002 2014-03-20  Andreas Schwab  <schwab@suse.de>
4004         [BZ #16743]
4005         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4006         non-matching result from nscd.
4008 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4010         * scripts/bench.py: Moved to ...
4011         * benchtests/scripts/bench.py: ... here.
4012         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4014 2014-03-24  Andreas Schwab  <schwab@suse.de>
4016         [BZ #16002]
4017         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4018         alloca_account and account alloca use for struct in6ailist.
4020 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
4022         [BZ #16284]
4023         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4024         rounding mode to recompute results that overflow to infinity or
4025         underflow to zero.
4026         * math/auto-libm-test-in: Don't mark tests as expected to fail for
4027         bug 16284.
4028         * math/auto-libm-test-out: Regenerated.
4029         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4030         (ccosh_test): Likewise.
4031         (csin_test_data): Use plus_oflow.
4032         (csin_test): Use ALL_RM_TEST.
4033         (csinh_test_data): Use plus_oflow.
4034         (csinh_test): Use ALL_RM_TEST.
4035         * sysdeps/i386/fpu/libm-test-ulps: Update.
4036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4038 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
4040         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4041         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4042         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4044         [BZ #16731]
4045         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4046         when x - 1 is zero.
4047         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4048         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4049         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4050         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4051         argument is 1.
4052         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4053         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4054         zero.
4055         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4056         * sysdeps/i386/fpu/libm-test-ulps: Update.
4057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4059 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4061         * scripts/bench.pl: Remove file.
4062         * scripts/bench.py: New benchmark script.
4063         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4064         * benchtests/README: Mention python dependency.
4065         * scripts/pylintrc: New file.
4066         * scripts/pylint: New file.
4068         * bits/mathdef.h: Use #ifdef instead of #if.
4069         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4070         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4071         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4072         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4073         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4074         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4076 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4077             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4079         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4080         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4081         and strpbrk-ppc64 objects.
4082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4083         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4084         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4085         multiarch strpbrk for POWER7.
4086         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4087         multiarch strpbrk for PPC64.
4088         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4089         ifunc selector.
4090         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4091         strpbrk for POWER7.
4093 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4095         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4096         (atan_test): Likewise.
4097         (atanh_test_data): Use NO_TEST_INLINE for two tests.
4098         (atanh_test): Use ALL_RM_TEST.
4099         (atan2_test_data): Likewise.
4100         (cabs_test): Likewise.
4101         (cacosh_test): Likewise.
4102         (carg_test): Likewise.
4103         (casin_test): Likewise.
4104         (casinh_test): Likewise.
4105         (cbrt_test): Likewise.
4106         (csqrt_test): Likewise.
4107         (erf_test): Likewise.
4108         (erfc_test): Likewise.
4109         (pow10_test): Likewise.
4110         (exp2_test): Likewise.
4111         (hypot_test): Likewise.
4112         (j0_test): Likewise.
4113         (j1_test): Likewise.
4114         (lgamma_test): Likewise.
4115         (gamma_test): Likewise.
4116         (sincos_test): Likewise.
4117         (tanh_test): Likewise.
4118         (y0_test): Likewise.
4119         (y1_test): Likewise.
4120         * sysdeps/i386/fpu/libm-test-ulps: Update.
4121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4123 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4125         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4126         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4127         and strcspn-ppc64 objects.
4128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4129         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4130         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4131         multiarch strcspn for POWER7.
4132         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4133         multiarch strcspn for PPC64.
4134         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4135         ifunc selector.
4136         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4137         strcspn for POWER7.
4139 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4141         * math/gen-libm-test.pl (generate_testfile): Expect only function
4142         name as argument to AUTO_TESTS_* and pass results for all rounding
4143         modes to parse_args.
4144         (parse_auto_input): Separate inputs of automatic tests from
4145         outputs before storing in %auto_tests.
4146         * math/libm-test.inc (acos_test_data): Update call to
4147         AUTO_TESTS_f_f.
4148         (acos_test): Use ALL_RM_TEST.
4149         (acos_tonearest_test_data): Remove.
4150         (acos_test_tonearest): Likewise.
4151         (acos_towardzero_test_data): Likewise.
4152         (acos_test_towardzero): Likewise.
4153         (acos_downward_test_data): Likewise.
4154         (acos_test_downward): Likewise.
4155         (acos_upward_test_data): Likewise.
4156         (acos_test_upward): Likewise.
4157         (acosh_test_data): Update call to AUTO_TESTS_f_f.
4158         (asin_test_data): Likewise.
4159         (asin_test): Use ALL_RM_TEST.
4160         (asin_tonearest_test_data): Remove.
4161         (asin_test_tonearest): Likewise.
4162         (asin_towardzero_test_data): Likewise.
4163         (asin_test_towardzero): Likewise.
4164         (asin_downward_test_data): Likewise.
4165         (asin_test_downward): Likewise.
4166         (asin_upward_test_data): Likewise.
4167         (asin_test_upward): Likewise.
4168         (asinh_test_data): Update call to AUTO_TESTS_f_f.
4169         (atan_test_data): Likewise.
4170         (atanh_test_data): Likewise.
4171         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4172         (cabs_test_data): Update call to AUTO_TESTS_c_f.
4173         (carg_test_data): Likewise.
4174         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4175         (ccos_test_data): Update call to AUTO_TESTS_c_c.
4176         (ccosh_test_data): Likewise.
4177         (cexp_test_data): Likewise.
4178         (clog_test_data): Likewise.
4179         (clog10_test_data): Likewise.
4180         (cos_test_data): Update call to AUTO_TESTS_f_f.
4181         (cos_test): Use ALL_RM_TEST.
4182         (cos_tonearest_test_data): Remove.
4183         (cos_test_tonearest): Likewise.
4184         (cos_towardzero_test_data): Likewise.
4185         (cos_test_towardzero): Likewise.
4186         (cos_downward_test_data): Likewise.
4187         (cos_test_downward): Likewise.
4188         (cos_upward_test_data): Likewise.
4189         (cos_test_upward): Likewise.
4190         (cosh_test_data): Update call to AUTO_TESTS_f_f.
4191         (cosh_test): Use ALL_RM_TEST.
4192         (cosh_tonearest_test_data): Remove.
4193         (cosh_test_tonearest): Likewise.
4194         (cosh_towardzero_test_data): Likewise.
4195         (cosh_test_towardzero): Likewise.
4196         (cosh_downward_test_data): Likewise.
4197         (cosh_test_downward): Likewise.
4198         (cosh_upward_test_data): Likewise.
4199         (cosh_test_upward): Likewise.
4200         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4201         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4202         (ctan_test_data): Likewise.
4203         (ctan_test): Use ALL_RM_TEST.
4204         (ctan_tonearest_test_data): Remove.
4205         (ctan_test_tonearest): Likewise.
4206         (ctan_towardzero_test_data): Likewise.
4207         (ctan_test_towardzero): Likewise.
4208         (ctan_downward_test_data): Likewise.
4209         (ctan_test_downward): Likewise.
4210         (ctan_upward_test_data): Likewise.
4211         (ctan_test_upward): Likewise.
4212         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4213         (ctanh_test): Use ALL_RM_TEST.
4214         (ctanh_tonearest_test_data): Remove.
4215         (ctanh_test_tonearest): Likewise.
4216         (ctanh_towardzero_test_data): Likewise.
4217         (ctanh_test_towardzero): Likewise.
4218         (ctanh_downward_test_data): Likewise.
4219         (ctanh_test_downward): Likewise.
4220         (ctanh_upward_test_data): Likewise.
4221         (ctanh_test_upward): Likewise.
4222         (erf_test_data): Update call to AUTO_TESTS_f_f.
4223         (erfc_test_data): Likewise.
4224         (exp_test_data): Likewise.
4225         (exp_test): Use ALL_RM_TEST.
4226         (exp_tonearest_test_data): Remove.
4227         (exp_test_tonearest): Likewise.
4228         (exp_towardzero_test_data): Likewise.
4229         (exp_test_towardzero): Likewise.
4230         (exp_downward_test_data): Likewise.
4231         (exp_test_downward): Likewise.
4232         (exp_upward_test_data): Likewise.
4233         (exp_test_upward): Likewise.
4234         (exp10_test_data): Update call to AUTO_TESTS_f_f.
4235         (exp10_test): Use ALL_RM_TEST.
4236         (exp10_tonearest_test_data): Remove.
4237         (exp10_test_tonearest): Likewise.
4238         (exp10_towardzero_test_data): Likewise.
4239         (exp10_test_towardzero): Likewise.
4240         (exp10_downward_test_data): Likewise.
4241         (exp10_test_downward): Likewise.
4242         (exp10_upward_test_data): Likewise.
4243         (exp10_test_upward): Likewise.
4244         (exp2_test_data): Update call to AUTO_TESTS_f_f.
4245         (expm1_test_data): Likewise.
4246         (expm1_test): Use ALL_RM_TEST.
4247         (expm1_tonearest_test_data): Remove.
4248         (expm1_test_tonearest): Likewise.
4249         (expm1_towardzero_test_data): Likewise.
4250         (expm1_test_towardzero): Likewise.
4251         (expm1_downward_test_data): Likewise.
4252         (expm1_test_downward): Likewise.
4253         (expm1_upward_test_data): Likewise.
4254         (expm1_test_upward): Likewise.
4255         (fma_test_data): Update call to AUTO_TESTS_fff_f.
4256         (fma_test): Use ALL_RM_TEST.
4257         (fma_towardzero_test_data): Remove.
4258         (fma_test_towardzero): Likewise.
4259         (fma_downward_test_data): Likewise.
4260         (fma_test_downward): Likewise.
4261         (fma_upward_test_data): Likewise.
4262         (fma_test_upward): Likewise.
4263         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4264         (j0_test_data): Update call to AUTO_TESTS_f_f.
4265         (j1_test_data): Likewise.
4266         (jn_test_data): Update call to AUTO_TESTS_if_f.
4267         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4268         (log_test_data): Update call to AUTO_TESTS_f_f.
4269         (log10_test_data): Likewise.
4270         (log1p_test_data): Likewise.
4271         (log2_test_data): Likewise.
4272         (pow_test_data): Update call to AUTO_TESTS_ff_f.
4273         (pow_tonearest_test_data): Likewise.
4274         (sin_test_data): Update call to AUTO_TESTS_f_f.
4275         (sin_test): Use ALL_RM_TEST.
4276         (sin_tonearest_test_data): Remove.
4277         (sin_test_tonearest): Likewise.
4278         (sin_towardzero_test_data): Likewise.
4279         (sin_test_towardzero): Likewise.
4280         (sin_downward_test_data): Likewise.
4281         (sin_test_downward): Likewise.
4282         (sin_upward_test_data): Likewise.
4283         (sin_test_upward): Likewise.
4284         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4285         (sinh_test_data): Update call to AUTO_TESTS_f_f.
4286         (sinh_test): Use ALL_RM_TEST.
4287         (sinh_tonearest_test_data): Remove.
4288         (sinh_test_tonearest): Likewise.
4289         (sinh_towardzero_test_data): Likewise.
4290         (sinh_test_towardzero): Likewise.
4291         (sinh_downward_test_data): Likewise.
4292         (sinh_test_downward): Likewise.
4293         (sinh_upward_test_data): Likewise.
4294         (sinh_test_upward): Likewise.
4295         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4296         (sqrt_test): Use ALL_RM_TEST.
4297         (sqrt_tonearest_test_data): Remove.
4298         (sqrt_test_tonearest): Likewise.
4299         (sqrt_towardzero_test_data): Likewise.
4300         (sqrt_test_towardzero): Likewise.
4301         (sqrt_downward_test_data): Likewise.
4302         (sqrt_test_downward): Likewise.
4303         (sqrt_upward_test_data): Likewise.
4304         (sqrt_test_upward): Likewise.
4305         (tan_test_data): Update call to AUTO_TESTS_f_f.
4306         (tan_test): Use ALL_RM_TEST.
4307         (tan_tonearest_test_data): Remove.
4308         (tan_test_tonearest): Likewise.
4309         (tan_towardzero_test_data): Likewise.
4310         (tan_test_towardzero): Likewise.
4311         (tan_downward_test_data): Likewise.
4312         (tan_test_downward): Likewise.
4313         (tan_upward_test_data): Likewise.
4314         (tan_test_upward): Likewise.
4315         (tanh_test_data): Update call to AUTO_TESTS_f_f.
4316         (tgamma_test_data): Likewise.
4317         (y0_test_data): Likewise.
4318         (y1_test_data): Likewise.
4319         (yn_test_data): Update call to AUTO_TESTS_if_f.
4320         (main): Do not call removed functions.
4322 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4324         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4325         (ldexp_test_data): Remove.
4326         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
4327         scalbn_test_data.
4328         (scalb_test): Use ALL_RM_TEST.
4330 2014-03-19  Andreas Schwab  <schwab@suse.de>
4332         * nscd/nscd.service: Also invalidate netgroup cache on reload.
4334 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4336         [BZ #16649]
4337         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4338         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4339         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4340         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4341         (__ASSUME_PREADV): Undefine.
4342         (__ASSUME_PWRITEV): Likewise.
4344 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4346         * bits/mman-linux.h: Add comment about non-Linux use.
4347         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4348         bits/mman-linux.h resting place.
4350         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4351         * bits/mman-linux.h: ... here.
4353 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4355         * conform/conformtest.pl: Add standard definition when calling C
4356         preprocessor on data files.
4357         (checknamespace): Remove unused variable.
4359 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4361         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4362         minus_oflow, plus_uflow and minus_uflow in expected results.
4363         * math/libm-test.inc (scalbn_test_data): Add more tests of
4364         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
4365         minus_uflow.
4366         (scalbn_test): Use ALL_RM_TEST.
4367         (scalbln_test_data): Add more tests of negative arguments.  Use
4368         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4369         (scalbln_test): Use ALL_RM_TEST.
4371 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4373         * scripts/abilist.awk: Ignore symbols marked with .hidden.
4375 2014-03-18  Will Newton  <will.newton@linaro.org>
4377         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4378         inaccurate comment.
4380 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4382         * Makerules [!subdir] (check-abi): Exit with error status if a
4383         test failed.
4385 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4387         * math/libm-test.inc (nearbyint_test_data): Include all tests used
4388         for rint.  Include results for all rounding modes.
4389         (nearbyint_test): Use ALL_RM_TEST.
4390         (rint_test_data): Include all tests used for nearbyint.
4392 2014-03-17  Will Newton  <will.newton@linaro.org>
4394         * nptl/sysdeps/pthread/pthread.h: Revert previous
4395         change.
4397         * sysdeps/generic/ldsodefs.h: Revert previous
4398         change.
4400         * libio/genops.c: Revert previous change.
4401         * libio/libioP.h: Likewise.
4402         * stdio-common/vfprintf.c: Likewise.
4404         * sysdeps/generic/math_private.h: Revert previous
4405         change.
4407         * sysdeps/generic/math_private.h: Check whether
4408         HAVE_RM_CTX is defined with #ifdef rather
4409         than #if.
4411         * argp/argp-fmtstream.h: Check whether
4412         __STRICT_ANSI__ is defined with #ifdef rather
4413         than #if.
4414         * argp/argp.h: Likewise.
4416         * libio/genops.c: Check whether
4417         _IO_JUMPS_OFFSET is defined with #ifdef rather
4418         than #if.
4419         * libio/libioP.h: Likewise.
4420         * stdio-common/vfprintf.c: Likewise.
4422         * sysdeps/generic/ldsodefs.h: Check whether
4423         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4424         than #if.
4426         * nptl/sysdeps/pthread/pthread.h: Check
4427         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4428         its value.
4430 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4432         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4433         setting O_APPEND.
4434         * libio/tst-ftell-active-handler.c (do_append_test): Add a
4435         test case.
4437         [BZ #16680]
4438         * libio/fileops.c (_IO_file_open): Seek to end of file but
4439         don't cache the offset.
4440         (get_file_offset): Remove function.
4441         (do_ftell): Use cached offset when available.
4442         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4443         don't cache the offset.
4444         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4445         case.
4446         (do_one_test): Call it.
4447         (do_ftell_test): Fix up expected old offset for a+ mode.
4448         * libio/wfileops.c (do_ftell_wide): Used cached offset when
4449         available.
4451         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4452         up test status with function return status.
4453         (do_write_test): Likewise.
4454         (do_append_test): Likewise.
4456         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4457         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4458         Remove.
4460 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4462         * math/gen-libm-test.pl (parse_args): Handle results specified for
4463         each rounding mode separately.
4464         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4465         tests and results from lrint_tonearest_test_data,
4466         lrint_towardzero_test_data, lrint_downward_test_data and
4467         lrint_upward_test_data.
4468         (lrint_test): Use ALL_RM_TEST.
4469         (lrint_tonearest_test_data): Remove.
4470         (lrint_test_tonearest): Likewise.
4471         (lrint_towardzero_test_data): Likewise.
4472         (lrint_test_towardzero): Likewise.
4473         (lrint_downward_test_data): Likewise.
4474         (lrint_test_downward): Likewise.
4475         (lrint_upward_test_data): Likewise.
4476         (lrint_test_upward): Likewise.
4477         (llrint_test_data): Merge in per-rounding-mode tests and results
4478         from llrint_tonearest_test_data, llrint_towardzero_test_data,
4479         llrint_downward_test_data and llrint_upward_test_data.
4480         (llrint_test): Use ALL_RM_TEST.
4481         (llrint_tonearest_test_data): Remove.
4482         (llrint_test_tonearest): Likewise.
4483         (llrint_towardzero_test_data): Likewise.
4484         (llrint_test_towardzero): Likewise.
4485         (llrint_downward_test_data): Likewise.
4486         (llrint_test_downward): Likewise.
4487         (llrint_upward_test_data): Likewise.
4488         (llrint_test_upward): Likewise.
4489         (rint_test_data): Merge in per-rounding-mode tests and results
4490         from rint_tonearest_test_data, rint_towardzero_test_data,
4491         rint_downward_test_data and rint_upward_test_data.  Add
4492         per-rounding-mode results for tests not in those arrays.
4493         (rint_test): Use ALL_RM_TEST.
4494         (rint_tonearest_test_data): Remove.
4495         (rint_test_tonearest): Likewise.
4496         (rint_towardzero_test_data): Likewise.
4497         (rint_test_towardzero): Likewise.
4498         (rint_downward_test_data): Likewise.
4499         (rint_test_downward): Likewise.
4500         (rint_upward_test_data): Likewise.
4501         (rint_test_upward): Likewise.
4502         (main): Don't call removed functions.
4504 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4506         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4507         "Compiled on ..." crapola.  It is anti-useful.
4509 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
4511         * scripts/evaluate-test.sh: Handle fourth argument to determine
4512         whether test run should stop on failure.
4513         * Makeconfig (stop-on-test-failure): New variable.
4514         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4515         $(stop-on-test-failure).
4516         * Makefile (tests): Give a summary of results from testing and
4517         exit with failure status if they include an ERROR or FAIL.
4518         (xtests): Likewise.
4519         * manual/install.texi (Configuring and compiling): Mention
4520         stop-on-test-failure=y.
4521         * INSTALL: Regenerated.
4523 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4525         * scripts/versionlist.awk: New file.
4526         * Makerules [$(build-shared) = yes]
4527         (postclean-generated): Add Versions.def, not Versions.def.v and
4528         Versions.def.v.i.
4529         ($(common-objpfx)Versions.def.v.i): Target removed.
4530         ($(common-objpfx)Versions.def): New target.
4531         ($(common-objpfx)Versions.all): Depend on that rather that
4532         $(common-objpfx)Versions.def.v.
4533         * Versions.def: File removed.
4535         * Makeconfig (+gccwarn): Add -Wundef.
4536         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4537         a dl-sysdep.h breaking its contract.
4538         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4539         * include/stackinfo.h: New file.
4540         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4541         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4542         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4543         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4544         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4545         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4546         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4547         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4548         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4549         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4550         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4551         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4552         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4553         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4554         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4556 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4558         [BZ #16707]
4559         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4560         implementation.
4561         * math/libm-test.inc (round_test_data): Add more tests.
4563         [BZ #16706]
4564         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4565         implementation.
4566         * math/libm-test.inc (nearbyint_test_data): Add more tests.
4568         [BZ #16701]
4569         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4570         implementation.
4571         * math/libm-test.inc (ceil_test_data): Add more tests.
4573         * math/libm-test.inc (trunc_test_data): Add more tests related to
4574         BZ#16414.
4576 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4578         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4579         with #if rather than #ifdef.
4580         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4582 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
4584         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4585         first.  Disable AVX-512 GCC support if assembler doesn't support
4586         it.
4587         * sysdeps/x86_64/configure: Regenerated.
4589 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
4591         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4592         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4593         (__old_pthread_attr_setstack): Likewise.
4594         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4595         [!_STACK_GROWS_DOWN]: Likewise.
4597 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
4599         * config.make.in (have-bash2): Delete.
4600         * configure.ac (libc_cv_have_bash2): Delete.
4601         * configure: Regenerate.
4602         * elf/Makefile (common-ldd-rewrite): Rename to ...
4603         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
4604         (sh-ldd-rewrite): Delete.
4605         (bash-ldd-rewrite): Delete.
4606         (have-bash2): Delete checks.
4607         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4608         ldd-rewrite.
4610         * config.make.in (have-ksh): Delete.
4611         (KSH): Delete.
4612         * configure.ac (libc_cv_have_ksh): Delete.
4613         * configure: Regenerate.
4615         * elf/Makefile: Delete $(have-ksh) check.
4616         ($(objpfx)sotruss): Change KSH to BASH.
4617         * elf/sotruss.ksh: Rename to ...
4618         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
4619         function style to match POSIX.  Drop ksh vim mode setting.
4621         * manual/time.texi (Specifying the Time Zone with TZ): Change
4622         Tuesday to Thursday.
4624         * debug/tst-longjmp_chk2.c: Update header comment.
4625         (stackoverflow_handler): Add comment.  Call assert on pass value.
4627 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
4629         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4630         (HAVE_AVX512_ASM_SUPPORT): Likewise.
4631         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4632         (La_x86_64_vector): Add zmm.
4633         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4634         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4635         ($(objpfx)tst-audit10): New target.
4636         ($(objpfx)tst-audit10.out): Likewise.
4637         (tst-audit10-ENV): New.
4638         (AVX512-CFLAGS): Likewise.
4639         (CFLAGS-tst-audit10.c): Likewise.
4640         (CFLAGS-tst-auditmod10a.c): Likewise.
4641         (CFLAGS-tst-auditmod10b.c): Likewise.
4642         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4643         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4644         * sysdeps/x86_64/configure: Regenerated.
4645         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4646         AVX-512 zmm register support.
4647         (_dl_x86_64_save_sse): Likewise.
4648         (_dl_x86_64_restore_sse): Likewise.
4649         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4650         size vector registers.
4651         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4652         (ZMM_SIZE): Likewise.
4653         * sysdeps/x86_64/tst-audit10.c: New file.
4654         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4655         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4657 2014-03-13  Roland McGrath  <roland@hack.frob.com>
4659         * configure.ac (HAVE_EHDR_START): New check.
4660         * configure: Regenerated.
4661         * config.h.in (HAVE_EHDR_START): New #undef.
4662         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4663         assuming the lowest-addressed segment maps the start of the file.
4665 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
4667         * INSTALL: Regenerated.
4669 2014-03-13  Will Newton  <will.newton@linaro.org>
4671         * manual/setjmp.texi (System V contexts): Improve
4672         clarity and grammar of documentation.
4674 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
4676         [BZ #16381]
4677         * elf/Makefile (tests): Add tst-pie2.
4678         (tests-pie): Add tst-pie2.
4679         * elf/tst-pie2.c: New file.
4680         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4681         for ET_EXEC.
4682         * elf/rtld.c (map_doit): Load executable as lt_executable.
4683         (dl_main): Likewise.
4685 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
4687         [BZ #16642]
4688         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4689         (__ASSUME_PSELECT): Undefine.
4691 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4693         [BZ #16689]
4694         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4695         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4696         static build.
4697         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4698         selector for static builds.
4700 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4702         [BZ #16695]
4703         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4704         key in the buffer.
4706 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4708         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4709         IFUNC selector for static builds.
4711 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
4713         * sysdeps/mips/math_private.h [__mips_hard_float]
4714         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4715         libc_feresetround_mips_ctx.
4716         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4717         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4718         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4720         [BZ #16677]
4721         * math/s_nextafter.c (__nextafter): Do not return value from
4722         overflowing computation.
4723         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4724         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4725         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4726         Likewise.
4727         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4728         Likewise.
4729         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4730         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4732 2014-03-11  Roland McGrath  <roland@hack.frob.com>
4734         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4735         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4736         Move sfi_sp use from the load-multiple (that no longer sets sp) to
4737         the new mov targetting sp.
4739 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4741         [BZ #16683]
4742         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4743         Define it for static builds as well.
4744         (NO_BZERO_IMPL): Likewise.
4746 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4748         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4749         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4750         multiarch strspn for PPC64.
4751         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4752         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4754         (__libc_ifunc_impl_list): Likewise.
4755         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4756         multiarch optimizations
4757         * string/strspn.c (strspn): Using macro to redefine symbol name.
4759 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4760             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4762         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4763         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4764         multiarch strncat for PPC64.
4765         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4766         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4767         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4768         (__libc_ifunc_impl_list): Likewise.
4769         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4770         multiarch optimizations
4772 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4774         [BZ #16639]
4775         * nscd/nscd.service: Make service type forking.
4777 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4779         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4780         sign in non default rounding modes.
4781         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4783 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
4785         * math/libm-test.inc (ALL_RM_TEST): New macro.
4786         (ceil_test): Use ALL_RM_TEST.
4787         (cimag_test): Likewise.
4788         (conj_test): Likewise.
4789         (copysign_test): Likewise.
4790         (cproj_test): Likewise.
4791         (creal_test): Likewise.
4792         (fabs_test): Likewise.
4793         (floor_test): Likewise.
4794         (fmax_test): Likewise.
4795         (fmin_test): Likewise.
4796         (fmod_test): Likewise.
4797         (fpclassify_test): Likewise.
4798         (frexp_test): Likewise.
4799         (ilogb_test): Likewise.
4800         (isfinite_test): Likewise.
4801         (finite_test): Likewise.
4802         (isgreater_test): Likewise.
4803         (isgreaterequal_test): Likewise.
4804         (isinf_test): Likewise.
4805         (isless_test): Likewise.
4806         (islessequal_test): Likewise.
4807         (islessgreater_test): Likewise.
4808         (isnan_test): Likewise.
4809         (isnormal_test): Likewise.
4810         (issignaling_test): Likewise.
4811         (isunordered_test): Likewise.
4812         (logb_test): Likewise.
4813         (logb_downward_test_data): Remove.
4814         (logb_test_downward): Likewise.
4815         (lround_test): Use ALL_RM_TEST.
4816         (llround_test): Likewise.
4817         (modf_test): Likewise.
4818         (nexttoward_test): Likewise.
4819         (remainder_test): Likewise.
4820         (drem_test): Likewise.
4821         (remainder_tonearest_test_data): Likewise.
4822         (remainder_test_tonearest): Likewise.
4823         (drem_test_tonearest): Likewise.
4824         (remainder_towardzero_test_data): Likewise.
4825         (remainder_test_towardzero): Likewise.
4826         (drem_test_towardzero): Likewise.
4827         (remainder_downward_test_data): Likewise.
4828         (remainder_test_downward): Likewise.
4829         (drem_test_downward): Likewise.
4830         (remainder_upward_test_data): Likewise.
4831         (remainder_test_upward): Likewise.
4832         (drem_test_upward): Likewise.
4833         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
4834         (round_test): Use ALL_RM_TEST.
4835         (signbit_test): Likewise.
4836         (trunc_test): Likewise.
4837         (significand_test): Likewise.
4838         (main): Don't call removed functions.
4840 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4842         [BZ #16674]
4843         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4844         || __USE_XOPEN2K8].
4845         (ILL_ILLOPN): Likewise.
4846         (ILL_ILLADR): Likewise.
4847         (ILL_ILLTRP): Likewise.
4848         (ILL_PRVOPC): Likewise.
4849         (ILL_PRVREG): Likewise.
4850         (ILL_COPROC): Likewise.
4851         (ILL_BADSTK): Likewise.
4852         (FPE_INTDIV): Likewise.
4853         (FPE_INTOVF): Likewise.
4854         (FPE_FLTDIV): Likewise.
4855         (FPE_FLTOVF): Likewise.
4856         (FPE_FLTUND): Likewise.
4857         (FPE_FLTRES): Likewise.
4858         (FPE_FLTINV): Likewise.
4859         (FPE_FLTSUB): Likewise.
4860         (SEGV_MAPERR): Likewise.
4861         (SEGV_ACCERR): Likewise.
4862         (BUS_ADRALN): Likewise.
4863         (BUS_ADRERR): Likewise.
4864         (BUS_OBJERR): Likewise.
4865         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4866         (TRAP_TRACE): Likewise.
4867         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4868         __USE_XOPEN2K8].
4869         (CLD_KILLED): Likewise.
4870         (CLD_DUMPED): Likewise.
4871         (CLD_TRAPPED): Likewise.
4872         (CLD_STOPPED): Likewise.
4873         (CLD_CONTINUED): Likewise.
4874         (POLL_IN): Likewise.
4875         (POLL_OUT): Likewise.
4876         (POLL_MSG): Likewise.
4877         (POLL_ERR): Likewise.
4878         (POLL_PRI): Likewise.
4879         (POLL_HUP): Likewise.
4880         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4881         Likewise.
4882         (ILL_ILLOPN): Likewise.
4883         (ILL_ILLADR): Likewise.
4884         (ILL_ILLTRP): Likewise.
4885         (ILL_PRVOPC): Likewise.
4886         (ILL_PRVREG): Likewise.
4887         (ILL_COPROC): Likewise.
4888         (ILL_BADSTK): Likewise.
4889         (FPE_INTDIV): Likewise.
4890         (FPE_INTOVF): Likewise.
4891         (FPE_FLTDIV): Likewise.
4892         (FPE_FLTOVF): Likewise.
4893         (FPE_FLTUND): Likewise.
4894         (FPE_FLTRES): Likewise.
4895         (FPE_FLTINV): Likewise.
4896         (FPE_FLTSUB): Likewise.
4897         (SEGV_MAPERR): Likewise.
4898         (SEGV_ACCERR): Likewise.
4899         (BUS_ADRALN): Likewise.
4900         (BUS_ADRERR): Likewise.
4901         (BUS_OBJERR): Likewise.
4902         (BUS_MCEERR_AR): Likewise.
4903         (BUS_MCEERR_AO): Likewise.
4904         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4905         (TRAP_TRACE): Likewise.
4906         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4907         __USE_XOPEN2K8].
4908         (CLD_KILLED): Likewise.
4909         (CLD_DUMPED): Likewise.
4910         (CLD_TRAPPED): Likewise.
4911         (CLD_STOPPED): Likewise.
4912         (CLD_CONTINUED): Likewise.
4913         (POLL_IN): Likewise.
4914         (POLL_OUT): Likewise.
4915         (POLL_MSG): Likewise.
4916         (POLL_ERR): Likewise.
4917         (POLL_PRI): Likewise.
4918         (POLL_HUP): Likewise.
4919         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4920         (ILL_ILLOPN): Likewise.
4921         (ILL_ILLADR): Likewise.
4922         (ILL_ILLTRP): Likewise.
4923         (ILL_PRVOPC): Likewise.
4924         (ILL_PRVREG): Likewise.
4925         (ILL_COPROC): Likewise.
4926         (ILL_BADSTK): Likewise.
4927         (FPE_INTDIV): Likewise.
4928         (FPE_INTOVF): Likewise.
4929         (FPE_FLTDIV): Likewise.
4930         (FPE_FLTOVF): Likewise.
4931         (FPE_FLTUND): Likewise.
4932         (FPE_FLTRES): Likewise.
4933         (FPE_FLTINV): Likewise.
4934         (FPE_FLTSUB): Likewise.
4935         (SEGV_MAPERR): Likewise.
4936         (SEGV_ACCERR): Likewise.
4937         (BUS_ADRALN): Likewise.
4938         (BUS_ADRERR): Likewise.
4939         (BUS_OBJERR): Likewise.
4940         (BUS_MCEERR_AR): Likewise.
4941         (BUS_MCEERR_AO): Likewise.
4942         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4943         (TRAP_TRACE): Likewise.
4944         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4945         __USE_XOPEN2K8].
4946         (CLD_KILLED): Likewise.
4947         (CLD_DUMPED): Likewise.
4948         (CLD_TRAPPED): Likewise.
4949         (CLD_STOPPED): Likewise.
4950         (CLD_CONTINUED): Likewise.
4951         (POLL_IN): Likewise.
4952         (POLL_OUT): Likewise.
4953         (POLL_MSG): Likewise.
4954         (POLL_ERR): Likewise.
4955         (POLL_PRI): Likewise.
4956         (POLL_HUP): Likewise.
4957         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4958         Likewise.
4959         (ILL_ILLOPN): Likewise.
4960         (ILL_ILLADR): Likewise.
4961         (ILL_ILLTRP): Likewise.
4962         (ILL_PRVOPC): Likewise.
4963         (ILL_PRVREG): Likewise.
4964         (ILL_COPROC): Likewise.
4965         (ILL_BADSTK): Likewise.
4966         (ILL_BADIADDR): Likewise.
4967         (ILL_BREAK): Likewise.
4968         (FPE_INTDIV): Likewise.
4969         (FPE_INTOVF): Likewise.
4970         (FPE_FLTDIV): Likewise.
4971         (FPE_FLTOVF): Likewise.
4972         (FPE_FLTUND): Likewise.
4973         (FPE_FLTRES): Likewise.
4974         (FPE_FLTINV): Likewise.
4975         (FPE_FLTSUB): Likewise.
4976         (FPE_DECOVF): Likewise.
4977         (FPE_DECDIV): Likewise.
4978         (FPE_DECERR): Likewise.
4979         (FPE_INVASC): Likewise.
4980         (FPE_INVDEC): Likewise.
4981         (SEGV_MAPERR): Likewise.
4982         (SEGV_ACCERR): Likewise.
4983         (SEGV_PSTKOVF): Likewise.
4984         (BUS_ADRALN): Likewise.
4985         (BUS_ADRERR): Likewise.
4986         (BUS_OBJERR): Likewise.
4987         (BUS_MCEERR_AR): Likewise.
4988         (BUS_MCEERR_AO): Likewise.
4989         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4990         (TRAP_TRACE): Likewise.
4991         (TRAP_BRANCH): Likewise.
4992         (TRAP_HWBKPT): Likewise.
4993         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4994         __USE_XOPEN2K8].
4995         (CLD_KILLED): Likewise.
4996         (CLD_DUMPED): Likewise.
4997         (CLD_TRAPPED): Likewise.
4998         (CLD_STOPPED): Likewise.
4999         (CLD_CONTINUED): Likewise.
5000         (POLL_IN): Likewise.
5001         (POLL_OUT): Likewise.
5002         (POLL_MSG): Likewise.
5003         (POLL_ERR): Likewise.
5004         (POLL_PRI): Likewise.
5005         (POLL_HUP): Likewise.
5006         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5007         (ILL_ILLOPN): Likewise.
5008         (ILL_ILLADR): Likewise.
5009         (ILL_ILLTRP): Likewise.
5010         (ILL_PRVOPC): Likewise.
5011         (ILL_PRVREG): Likewise.
5012         (ILL_COPROC): Likewise.
5013         (ILL_BADSTK): Likewise.
5014         (FPE_INTDIV): Likewise.
5015         (FPE_INTOVF): Likewise.
5016         (FPE_FLTDIV): Likewise.
5017         (FPE_FLTOVF): Likewise.
5018         (FPE_FLTUND): Likewise.
5019         (FPE_FLTRES): Likewise.
5020         (FPE_FLTINV): Likewise.
5021         (FPE_FLTSUB): Likewise.
5022         (SEGV_MAPERR): Likewise.
5023         (SEGV_ACCERR): Likewise.
5024         (BUS_ADRALN): Likewise.
5025         (BUS_ADRERR): Likewise.
5026         (BUS_OBJERR): Likewise.
5027         (BUS_MCEERR_AR): Likewise.
5028         (BUS_MCEERR_AO): Likewise.
5029         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5030         (TRAP_TRACE): Likewise.
5031         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5032         __USE_XOPEN2K8].
5033         (CLD_KILLED): Likewise.
5034         (CLD_DUMPED): Likewise.
5035         (CLD_TRAPPED): Likewise.
5036         (CLD_STOPPED): Likewise.
5037         (CLD_CONTINUED): Likewise.
5038         (POLL_IN): Likewise.
5039         (POLL_OUT): Likewise.
5040         (POLL_MSG): Likewise.
5041         (POLL_ERR): Likewise.
5042         (POLL_PRI): Likewise.
5043         (POLL_HUP): Likewise.
5044         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5045         (ILL_ILLOPN): Likewise.
5046         (ILL_ILLADR): Likewise.
5047         (ILL_ILLTRP): Likewise.
5048         (ILL_PRVOPC): Likewise.
5049         (ILL_PRVREG): Likewise.
5050         (ILL_COPROC): Likewise.
5051         (ILL_BADSTK): Likewise.
5052         (FPE_INTDIV): Likewise.
5053         (FPE_INTOVF): Likewise.
5054         (FPE_FLTDIV): Likewise.
5055         (FPE_FLTOVF): Likewise.
5056         (FPE_FLTUND): Likewise.
5057         (FPE_FLTRES): Likewise.
5058         (FPE_FLTINV): Likewise.
5059         (FPE_FLTSUB): Likewise.
5060         (SEGV_MAPERR): Likewise.
5061         (SEGV_ACCERR): Likewise.
5062         (BUS_ADRALN): Likewise.
5063         (BUS_ADRERR): Likewise.
5064         (BUS_OBJERR): Likewise.
5065         (BUS_MCEERR_AR): Likewise.
5066         (BUS_MCEERR_AO): Likewise.
5067         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5068         (TRAP_TRACE): Likewise.
5069         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5070         __USE_XOPEN2K8].
5071         (CLD_KILLED): Likewise.
5072         (CLD_DUMPED): Likewise.
5073         (CLD_TRAPPED): Likewise.
5074         (CLD_STOPPED): Likewise.
5075         (CLD_CONTINUED): Likewise.
5076         (POLL_IN): Likewise.
5077         (POLL_OUT): Likewise.
5078         (POLL_MSG): Likewise.
5079         (POLL_ERR): Likewise.
5080         (POLL_PRI): Likewise.
5081         (POLL_HUP): Likewise.
5082         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5083         (ILL_ILLOPN): Likewise.
5084         (ILL_ILLADR): Likewise.
5085         (ILL_ILLTRP): Likewise.
5086         (ILL_PRVOPC): Likewise.
5087         (ILL_PRVREG): Likewise.
5088         (ILL_COPROC): Likewise.
5089         (ILL_BADSTK): Likewise.
5090         (FPE_INTDIV): Likewise.
5091         (FPE_INTOVF): Likewise.
5092         (FPE_FLTDIV): Likewise.
5093         (FPE_FLTOVF): Likewise.
5094         (FPE_FLTUND): Likewise.
5095         (FPE_FLTRES): Likewise.
5096         (FPE_FLTINV): Likewise.
5097         (FPE_FLTSUB): Likewise.
5098         (SEGV_MAPERR): Likewise.
5099         (SEGV_ACCERR): Likewise.
5100         (BUS_ADRALN): Likewise.
5101         (BUS_ADRERR): Likewise.
5102         (BUS_OBJERR): Likewise.
5103         (BUS_MCEERR_AR): Likewise.
5104         (BUS_MCEERR_AO): Likewise.
5105         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5106         (TRAP_TRACE): Likewise.
5107         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5108         __USE_XOPEN2K8].
5109         (CLD_KILLED): Likewise.
5110         (CLD_DUMPED): Likewise.
5111         (CLD_TRAPPED): Likewise.
5112         (CLD_STOPPED): Likewise.
5113         (CLD_CONTINUED): Likewise.
5114         (POLL_IN): Likewise.
5115         (POLL_OUT): Likewise.
5116         (POLL_MSG): Likewise.
5117         (POLL_ERR): Likewise.
5118         (POLL_PRI): Likewise.
5119         (POLL_HUP): Likewise.
5120         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5121         (ILL_ILLOPN): Likewise.
5122         (ILL_ILLADR): Likewise.
5123         (ILL_ILLTRP): Likewise.
5124         (ILL_PRVOPC): Likewise.
5125         (ILL_PRVREG): Likewise.
5126         (ILL_COPROC): Likewise.
5127         (ILL_BADSTK): Likewise.
5128         (ILL_DBLFLT): Likewise.
5129         (ILL_HARDWALL): Likewise.
5130         (FPE_INTDIV): Likewise.
5131         (FPE_INTOVF): Likewise.
5132         (FPE_FLTDIV): Likewise.
5133         (FPE_FLTOVF): Likewise.
5134         (FPE_FLTUND): Likewise.
5135         (FPE_FLTRES): Likewise.
5136         (FPE_FLTINV): Likewise.
5137         (FPE_FLTSUB): Likewise.
5138         (SEGV_MAPERR): Likewise.
5139         (SEGV_ACCERR): Likewise.
5140         (BUS_ADRALN): Likewise.
5141         (BUS_ADRERR): Likewise.
5142         (BUS_OBJERR): Likewise.
5143         (BUS_MCEERR_AR): Likewise.
5144         (BUS_MCEERR_AO): Likewise.
5145         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5146         (TRAP_TRACE): Likewise.
5147         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5148         __USE_XOPEN2K8].
5149         (CLD_KILLED): Likewise.
5150         (CLD_DUMPED): Likewise.
5151         (CLD_TRAPPED): Likewise.
5152         (CLD_STOPPED): Likewise.
5153         (CLD_CONTINUED): Likewise.
5154         (POLL_IN): Likewise.
5155         (POLL_OUT): Likewise.
5156         (POLL_MSG): Likewise.
5157         (POLL_ERR): Likewise.
5158         (POLL_PRI): Likewise.
5159         (POLL_HUP): Likewise.
5160         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5161         (ILL_ILLOPN): Likewise.
5162         (ILL_ILLADR): Likewise.
5163         (ILL_ILLTRP): Likewise.
5164         (ILL_PRVOPC): Likewise.
5165         (ILL_PRVREG): Likewise.
5166         (ILL_COPROC): Likewise.
5167         (ILL_BADSTK): Likewise.
5168         (FPE_INTDIV): Likewise.
5169         (FPE_INTOVF): Likewise.
5170         (FPE_FLTDIV): Likewise.
5171         (FPE_FLTOVF): Likewise.
5172         (FPE_FLTUND): Likewise.
5173         (FPE_FLTRES): Likewise.
5174         (FPE_FLTINV): Likewise.
5175         (FPE_FLTSUB): Likewise.
5176         (SEGV_MAPERR): Likewise.
5177         (SEGV_ACCERR): Likewise.
5178         (BUS_ADRALN): Likewise.
5179         (BUS_ADRERR): Likewise.
5180         (BUS_OBJERR): Likewise.
5181         (BUS_MCEERR_AR): Likewise.
5182         (BUS_MCEERR_AO): Likewise.
5183         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5184         (TRAP_TRACE): Likewise.
5185         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5186         __USE_XOPEN2K8].
5187         (CLD_KILLED): Likewise.
5188         (CLD_DUMPED): Likewise.
5189         (CLD_TRAPPED): Likewise.
5190         (CLD_STOPPED): Likewise.
5191         (CLD_CONTINUED): Likewise.
5192         (POLL_IN): Likewise.
5193         (POLL_OUT): Likewise.
5194         (POLL_MSG): Likewise.
5195         (POLL_ERR): Likewise.
5196         (POLL_PRI): Likewise.
5197         (POLL_HUP): Likewise.
5198         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5199         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5201         [BZ #16670]
5202         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5203         before #include of <time.h>.
5204         [!__USE_XOPEN2K] (__need_timespec): Likewise.
5205         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5206         (test-xfail-UNIX98/sched.h/conform): Likewise.
5208 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5210         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5211         error absence of trapping exception support.
5212         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5214 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5216         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5217         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5218         * timezone/Makefile (testdata): Move definition above include of
5219         Rules.
5220         (test-zones): New variable.
5221         (tests-special): Add zone files.
5222         (build-testdata): Use $(evaluate-test).
5224         * elf/Makefile (tests-special): Rename tests to end with .out.
5225         ($(objpfx)noload-mem): Likewise.
5226         ($(objpfx)tst-leaks1-mem): Likewise.
5227         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5228         * iconv/Makefile (xtests-special): Change test-iconvconfig to
5229         $(objpfx)test-iconvconfig.out.
5230         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
5231         set -e inside subshell and redirect output to file.
5232         * iconvdata/Makefile (generated): Rename tests to end with .out.
5233         Correct type.
5234         (tests-special): Rename tests to end with .out.
5235         ($(objpfx)mtrace-tst-loading): Likewise.
5236         * intl/Makefile (generated): Likewise.
5237         (tests-special): Likewise.
5238         ($(objpfx)mtrace-tst-gettext): Likewise.
5239         * misc/Makefile (generated): Likewise.
5240         (tests-special): Likewise.
5241         ($(objpfx)tst-error1-mem): Likewise.
5242         * nptl/Makefile (tests-special): Likewise.
5243         ($(objpfx)tst-stack3-mem): Likewise.
5244         (generated): Likewise.
5245         * posix/Makefile (generated): Likewise.
5246         (tests-special): Likewise.
5247         (xtests-special): Likewise.
5248         ($(objpfx)tst-fnmatch-mem): Likewise.
5249         ($(objpfx)bug-regex2-mem): Likewise.
5250         ($(objpfx)bug-regex14-mem): Likewise.
5251         ($(objpfx)bug-regex21-mem): Likewise.
5252         ($(objpfx)bug-regex31-mem): Likewise.
5253         ($(objpfx)tst-vfork3-mem): Likewise.
5254         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5255         ($(objpfx)tst-pcre-mem): Likewise.
5256         ($(objpfx)tst-boost-mem): Likewise.
5257         ($(objpfx)bug-ga2-mem): Likewise.
5258         ($(objpfx)bug-glob2-mem): Likewise.
5259         * resolv/Makefile (generate): Likewise.
5260         (tests-special): Likewise.
5261         (xtests-special): Likewise.
5262         (generated): Likewise.
5263         ($(objpfx)mtrace-tst-leaks): Likewise.
5264         ($(objpfx)mtrace-tst-leaks2): Likewise.
5266         * scripts/merge-test-results.sh: New file.
5267         * Makefile (tests-special-notdir): New variable.
5268         (tests): Run merge-test-results.sh.
5269         (xtests): Likewise.
5270         * Rules (tests-special-notdir): New variable.
5271         (xtests-special-notdir): Likewise.
5272         (tests): Run merge-test-results.sh
5273         (xtests): Likewise.
5275         * Makeconfig (test-xfail-name): New variable.
5276         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5277         compute variable name for expected failures.
5278         * conform/Makefile (conformtest-headers-data): New variable.
5279         (conformtest-standards): Likewise.
5280         (conformtest-headers-ISO): Likewise.
5281         (conformtest-headers-ISO99): Likewise.
5282         (conformtest-headers-ISO11): Likewise.
5283         (conformtest-headers-POSIX): Likewise.
5284         (conformtest-headers-XPG3): Likewise.
5285         (conformtest-headers-XPG4): Likewise.
5286         (conformtest-headers-UNIX98): Likewise.
5287         (conformtest-headers-XOPEN2K): Likewise.
5288         (conformtest-headers-POSIX2008): Likewise.
5289         (conformtest-headers-XOPEN2K8): Likewise.
5290         (conformtest-header-list-base): Likewise.
5291         (conformtest-header-list-tests): Likewise.
5292         (conformtest-header-base): Likewise.
5293         (conformtest-header-tests): Likewise.
5294         (tests-special): Add $(conformtest-header-list-tests).  If
5295         [$(fast-check) && !$(cross-compiling)], add
5296         $(conformtest-header-tests) instead of
5297         $(objpfx)run-conformtest.out.
5298         (generated): Add $(conformtest-header-list-base).  If
5299         [$(fast-check) && !$(cross-compiling)], add
5300         $(conformtest-header-base).  Remove previous setting.
5301         ($(conformtest-header-list-tests)): New target.
5302         (test-xfail-run-conformtest): Remove variable.
5303         ($(objpfx)run-conformtest.out): Remove target.
5304         (test-xfail-ISO11/complex.h/conform): New variable.
5305         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5306         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5307         (test-xfail-XPG3/varargs.h/conform): Likewise.
5308         (test-xfail-XPG4/varargs.h/conform): Likewise.
5309         (test-xfail-UNIX98/varargs.h/conform): Likewise.
5310         (test-xfail-XPG4/ndbm.h/conform): Likewise.
5311         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5312         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5313         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5314         (test-xfail-XPG3/fcntl.h/conform): Likewise.
5315         (test-xfail-XPG3/ftw.h/conform): Likewise.
5316         (test-xfail-XPG3/grp.h/conform): Likewise.
5317         (test-xfail-XPG3/langinfo.h/conform): Likewise.
5318         (test-xfail-XPG3/limits.h/conform): Likewise.
5319         (test-xfail-XPG3/pwd.h/conform): Likewise.
5320         (test-xfail-XPG3/search.h/conform): Likewise.
5321         (test-xfail-XPG3/signal.h/conform): Likewise.
5322         (test-xfail-XPG3/stdio.h/conform): Likewise.
5323         (test-xfail-XPG3/stdlib.h/conform): Likewise.
5324         (test-xfail-XPG3/string.h/conform): Likewise.
5325         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5326         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5327         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5328         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5329         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5330         (test-xfail-XPG3/sys/types.h/conform): Likewise.
5331         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5332         (test-xfail-XPG3/termios.h/conform): Likewise.
5333         (test-xfail-XPG3/time.h/conform): Likewise.
5334         (test-xfail-XPG3/unistd.h/conform): Likewise.
5335         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5336         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5337         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5338         (test-xfail-XPG4/netdb.h/conform): Likewise.
5339         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5340         (test-xfail-XPG4/signal.h/conform): Likewise.
5341         (test-xfail-XPG4/stdio.h/conform): Likewise.
5342         (test-xfail-XPG4/stdlib.h/conform): Likewise.
5343         (test-xfail-XPG4/stropts.h/conform): Likewise.
5344         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5345         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5346         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5347         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5348         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5349         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5350         (test-xfail-XPG4/sys/time.h/conform): Likewise.
5351         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5352         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5353         (test-xfail-XPG4/termios.h/conform): Likewise.
5354         (test-xfail-XPG4/ucontext.h/conform): Likewise.
5355         (test-xfail-XPG4/unistd.h/conform): Likewise.
5356         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5357         (test-xfail-POSIX/sched.h/conform): Likewise.
5358         (test-xfail-POSIX/signal.h/conform): Likewise.
5359         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5360         (test-xfail-POSIX/tar.h/conform): Likewise.
5361         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5362         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5363         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5364         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5365         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5366         (test-xfail-UNIX98/sched.h/conform): Likewise.
5367         (test-xfail-UNIX98/signal.h/conform): Likewise.
5368         (test-xfail-UNIX98/stdio.h/conform): Likewise.
5369         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5370         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5371         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5372         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5373         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5374         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5375         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5376         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5377         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5378         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5379         (test-xfail-UNIX98/unistd.h/conform): Likewise.
5380         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5381         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5382         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5383         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5384         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5385         (test-xfail-XOPEN2K/math.h/conform): Likewise.
5386         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5387         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5388         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5389         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5390         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5391         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5392         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5393         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5394         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5395         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5396         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5397         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5398         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5399         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5400         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5401         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5402         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5403         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5404         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5405         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5406         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5407         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5408         (test-xfail-POSIX2008/signal.h/conform): Likewise.
5409         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5410         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5411         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5412         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5413         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5414         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5415         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5416         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5417         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5418         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5419         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5420         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5421         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5422         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5423         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5424         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5425         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5426         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5427         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5428         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5429         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5430         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5431         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5432         (conformtest-cc-flags): Likewise.
5433         ($(conformtest-header-tests): New target.
5434         * conform/check-header-lists.sh: New file.
5435         * conform/run-conformtest.sh: Remove.
5437         * conform/conformtest.pl: Allow ' and \ in values given for
5438         constants.
5439         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5440         inclusion.
5441         [POSIX] (sys/types.h): Likewise.
5442         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5443         inclusion.
5444         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5445         inclusion.
5446         * conform/data/signal.h-data (SIGIO): Remove expectation.
5447         [XPG3] (SIGBUS): Do not expect.
5448         [POSIX || XPG3] (SIGPOLL): Likewise.
5449         [POSIX || XPG3] (SIGPROF): Likewise.
5450         [POSIX || XPG3] (SIGSYS): Likewise.
5451         [XPG3] (SIGTRAP): Likewise.
5452         [POSIX || XPG3] (SIGURG): Likewise.
5453         [POSIX || XPG3] (SIGVTALRM): Likewise.
5454         [POSIX || XPG3] (SIGXCPU): Likewise.
5455         [POSIX || XPG3] (SIGXFSZ): Likewise.
5456         [POSIX] (SA_SIGINFO): Expect.
5457         [XPG3] (siginfo_t): Do not expect type or contents.
5458         [POSIX] (si_pid): Do not expect element.
5459         [POSIX] (si_uid): Likewise.
5460         [POSIX] (si_addr): Likewise.
5461         [POSIX] (si_status): Likewise.
5462         [POSIX] (si_band): Likewise.
5463         [XPG4] (si_value): Likewise.
5464         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5465         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5466         [POSIX || XPG3] (ILL_ILLADR): Likewise.
5467         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5468         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5469         [POSIX || XPG3] (ILL_PRVREG): Likewise.
5470         [POSIX || XPG3] (ILL_COPROC): Likewise.
5471         [POSIX || XPG3] (ILL_BADSTK): Likewise.
5472         [POSIX || XPG3] (FPE_INTDIV): Likewise.
5473         [POSIX || XPG3] (FPE_INTOVF): Likewise.
5474         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5475         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5476         [POSIX || XPG3] (FPE_FLTUND): Likewise.
5477         [POSIX || XPG3] (FPE_FLTRES): Likewise.
5478         [POSIX || XPG3] (FPE_FLTINV): Likewise.
5479         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5480         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5481         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5482         [POSIX || XPG3] (BUS_ADRALN): Likewise.
5483         [POSIX || XPG3] (BUS_ADRERR): Likewise.
5484         [POSIX || XPG3] (BUS_OBJERR): Likewise.
5485         [POSIX || XPG3] (CLD_EXITED): Likewise.
5486         [POSIX || XPG3] (CLD_KILLED): Likewise.
5487         [POSIX || XPG3] (CLD_DUMPED): Likewise.
5488         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5489         [POSIX || XPG3] (CLD_STOPPED): Likewise.
5490         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5491         [POSIX || XPG3] (POLL_IN): Likewise.
5492         [POSIX || XPG3] (POLL_OUT): Likewise.
5493         [POSIX || XPG3] (POLL_MSG): Likewise.
5494         [POSIX || XPG3] (POLL_ERR): Likewise.
5495         [POSIX || XPG3] (POLL_PRI): Likewise.
5496         [POSIX || XPG3] (POLL_HUP): Likewise.
5497         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5498         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5499         (SIG*): Do not allow.
5500         [XPG3] (si_*): Likewise.
5501         [XPG3] (SI_*): Likewise.
5502         [XPG3 || XPG4] (sigev_*): Likewise.
5503         [XPG3 || XPG4] (SIGEV_*): Likewise.
5504         [XPG3 || XPG4] (sival_*): Likewise.
5505         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5506         [POSIX || XPG3] (BUS_*): Likewise.
5507         [POSIX || XPG3] (CLD_*): Likewise.
5508         [POSIX || XPG3] (FPE_*): Likewise.
5509         [POSIX || XPG3] (ILL_*): Likewise.
5510         [POSIX || XPG3] (POLL_*): Likewise.
5511         [POSIX || XPG3] (SEGV_*): Likewise.
5512         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5513         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5514         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5515         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5516         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5517         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5518         Specify type and value.
5519         (TVERSLEN): Likewise.
5520         (REGTYPE): Likewise.
5521         (AREGTYPE): Likewise.
5522         (LNKTYPE): Likewise.
5523         (SYMTYPE): Likewise.
5524         (CHRTYPE): Likewise.
5525         (BLKTYPE): Likewise.
5526         (DIRTYPE): Likewise.
5527         (FIFOTYPE): Likewise.
5528         (CONTTYPE): Likewise.
5529         (TSUID): Likewise.
5530         (TSGID): Likewise.
5531         (TSVTX): Likewise.
5532         (TUREAD): Likewise.
5533         (TUWRITE): Likewise.
5534         (TUEXEC): Likewise.
5535         (TGREAD): Likewise.
5536         (TGWRITE): Likewise.
5537         (TGEXEC): Likewise.
5538         (TOREAD): Likewise.
5539         (TOWRITE): Likewise.
5540         (TOEXEC): Likewise.
5541         [POSIX] (TSVTX): Expect constant.
5543 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
5545         * Makefile (tests): Change dependencies to ....
5546         (tests-special): ... additions to this variable.
5547         (tests): Depend on $(tests-special).
5548         * Makerules (check-abi-list): New variable.
5549         (check-abi): Depend on $(check-abi-list).
5550         [$(subdir) = elf] (tests-special): Add
5551         $(objpfx)check-abi-libc.out.
5552         [$(build-shared) = yes && subdir] (tests-special): Add
5553         $(check-abi-list).
5554         [$(build-shared) = yes && subdir] (tests): Do not depend on
5555         check-abi.
5556         * Rules (tests): Depend on $(tests-special).
5557         (xtests): Depend on $(xtests-special).
5558         * catgets/Makefile (tests): Change dependencies to ....
5559         (tests-special): ... additions to this variable.
5560         * conform/Makefile (tests): Change dependencies to ....
5561         (tests-special): ... additions to this variable.
5562         * elf/Makefile (tests): Change dependencies to ....
5563         (tests-special): ... additions to this variable.
5564         * grp/Makefile (tests): Change dependencies to ....
5565         (tests-special): ... additions to this variable.
5566         * iconv/Makefile (xtests): Change dependencies to ....
5567         (xtests-special): ... additions to this variable.
5568         * iconvdata/Makefile (tests): Change dependencies to ....
5569         (tests-special): ... additions to this variable.
5570         * intl/Makefile (tests): Change dependencies to ....
5571         (tests-special): ... additions to this variable.  Also add
5572         $(objpfx)tst-gettext.out.
5573         * io/Makefile (tests): Change dependencies to ....
5574         (tests-special): ... additions to this variable.
5575         * libio/Makefile (tests): Change dependencies to ....
5576         (tests-special): ... additions to this variable.
5577         * malloc/Makefile (tests): Change dependencies to ....
5578         (tests-special): ... additions to this variable.
5579         * misc/Makefile (tests): Change dependencies to ....
5580         (tests-special): ... additions to this variable.
5581         * nptl/Makefile (tests): Change dependencies to ....
5582         (tests-special): ... additions to this variable.
5583         * nptl_db/Makefile (tests): Change dependencies to ....
5584         (tests-special): ... additions to this variable.
5585         * posix/Makefile (tests): Change dependencies to ....
5586         (tests-special): ... additions to this variable.
5587         (xtests): Change dependencies to ....
5588         (xtests-special): ... additions to this variable.
5589         * resolv/Makefile (tests): Change dependencies to ....
5590         (tests-special): ... additions to this variable.
5591         (xtests): Change dependencies to ....
5592         (xtests-special): ... additions to this variable.
5593         * stdio-common/Makefile (tests): Change dependencies to ....
5594         (tests-special): ... additions to this variable.
5595         (do-tst-unbputc): Remove target.
5596         (do-tst-printf): Likewise.
5597         * stdlib/Makefile (tests): Change dependencies to ....
5598         (tests-special): ... additions to this variable.
5599         * string/Makefile (tests): Change dependencies to ....
5600         (tests-special): ... additions to this variable.
5601         * sysdeps/x86/Makefile (tests): Change dependencies to ....
5602         (tests-special): ... additions to this variable.
5604         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5605         whole file.
5606         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5607         whole file.
5608         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5609         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5611         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5612         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5613         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5614         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5615         * conform/data/libgen.h-data [XPG3]: Likewise.
5616         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5617         * conform/data/ndbm.h-data [XPG3]: Likewise.
5618         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5619         * conform/data/netdb.h-data [XPG3]: Likewise.
5620         * conform/data/netinet/in.h-data [XPG3]: Likewise.
5621         * conform/data/poll.h-data [XPG3]: Likewise.
5622         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5623         * conform/data/strings.h-data [XPG3]: Likewise.
5624         * conform/data/stropts.h-data [XPG3]: Likewise.
5625         * conform/data/sys/mman.h-data [XPG3]: Likewise.
5626         * conform/data/sys/resource.h-data [XPG3]: Likewise.
5627         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5628         Likewise.
5629         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5630         * conform/data/sys/time.h-data [XPG3]: Likewise.
5631         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5632         * conform/data/sys/uio.h-data [XPG3]: Likewise.
5633         * conform/data/sys/un.h-data [XPG3]: Likewise.
5634         * conform/data/syslog.h-data [XPG3]: Likewise.
5635         * conform/data/ucontext.h-data [XPG3]: Likewise.
5636         * conform/data/utmpx.h-data [XPG3]: Likewise.
5637         * conform/data/varargs.h-data [UNIX98]: Enable file.
5639         * manual/Makefile (INSTALL_INFO): Remove variable setting.
5641         * math/libm-test.inc (struct test_f_f_data): Move expected results
5642         into structure for each rounding mode.
5643         (struct test_ff_f_data): Likewise.
5644         (struct test_ff_f_data_nexttoward): Likewise.
5645         (struct test_fi_f_data): Likewise.
5646         (struct test_fl_f_data): Likewise.
5647         (struct test_if_f_data): Likewise.
5648         (struct test_fff_f_data): Likewise.
5649         (struct test_c_f_data): Likewise.
5650         (struct test_f_f1_data): Likewise.
5651         (struct test_fF_f1_data): Likewise.
5652         (struct test_ffI_f1_data): Likewise.
5653         (struct test_c_c_data): Likewise.
5654         (struct test_cc_c_data): Likewise.
5655         (struct test_f_i_data): Likewise.
5656         (struct test_ff_i_data): Likewise.
5657         (struct test_f_l_data): Likewise.
5658         (struct test_f_L_data): Likewise.
5659         (struct test_fFF_11_data): Likewise.
5660         (RM_): New macro.
5661         (RM_FE_DOWNWARD): Likewise.
5662         (RM_FE_TONEAREST): Likewise.
5663         (RM_FE_TOWARDZERO): Likewise.
5664         (RM_FE_UPWARD): Likewise.
5665         (RUN_TEST_LOOP_f_f): Update references to expected results.
5666         (RUN_TEST_LOOP_2_f): Likewise.
5667         (RUN_TEST_LOOP_fff_f): Likewise.
5668         (RUN_TEST_LOOP_c_f): Likewise.
5669         (RUN_TEST_LOOP_f_f1): Likewise.
5670         (RUN_TEST_LOOP_fF_f1): Likewise.
5671         (RUN_TEST_LOOP_fI_f1): Likewise.
5672         (RUN_TEST_LOOP_ffI_f1): Likewise.
5673         (RUN_TEST_LOOP_c_c): Likewise.
5674         (RUN_TEST_LOOP_cc_c): Likewise.
5675         (RUN_TEST_LOOP_f_i): Likewise.
5676         (RUN_TEST_LOOP_f_i_tg): Likewise.
5677         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5678         (RUN_TEST_LOOP_f_b): Likewise.
5679         (RUN_TEST_LOOP_f_b_tg): Likewise.
5680         (RUN_TEST_LOOP_f_l): Likewise.
5681         (RUN_TEST_LOOP_f_L): Likewise.
5682         (RUN_TEST_LOOP_fFF_11): Likewise.
5683         * math/gen-libm-test.pl (parse_args): Output four copies of
5684         expected results for each test.
5686         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5687         (__ASSUME_UTIMES): Remove.
5688         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5689         (__ASSUME_UTIMES): Likewise.
5691         * math/gen-auto-libm-tests.c: Update comment on output format.
5692         (output_for_one_input_case): Generate before-rounding and
5693         after-rounding information as conditions on output flags not
5694         floating-point format.
5695         * math/auto-libm-test-out: Regenerated.
5696         * math/gen-libm-test.pl (cond_value): New function.
5697         (or_cond_value): Use cond_value.
5698         (generate_testfile): Handle conditional exceptions.
5700 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
5702         * math/libm-test.inc (max_valid_error): New variable.
5703         (init_max_error): Take new argument specifying whether function
5704         results are exactly determined.  Set max_valid_error and bound
5705         other variables for errors based on this argument.
5706         (set_max_error): Do not record results above max_valid_error.
5707         (check_float_internal): Only accept errors of up to 0.5ulps if
5708         also at most max_valid_error.
5709         (START): Take new argument EXACT and pass it to init_max_error.
5710         (acos_test): Update call to START.
5711         (acos_test_tonearest): Likewise.
5712         (acos_test_towardzero): Likewise.
5713         (acos_test_downward): Likewise.
5714         (acos_test_upward): Likewise.
5715         (acosh_test): Likewise.
5716         (asin_test): Likewise.
5717         (asin_test_tonearest): Likewise.
5718         (asin_test_towardzero): Likewise.
5719         (asin_test_downward): Likewise.
5720         (asin_test_upward): Likewise.
5721         (asinh_test): Likewise.
5722         (atan_test): Likewise.
5723         (atanh_test): Likewise.
5724         (atan2_test): Likewise.
5725         (cabs_test): Likewise.
5726         (cacos_test): Likewise.
5727         (cacosh_test): Likewise.
5728         (carg_test): Likewise.
5729         (casin_test): Likewise.
5730         (casinh_test): Likewise.
5731         (catan_test): Likewise.
5732         (catanh_test): Likewise.
5733         (cbrt_test): Likewise.
5734         (ccos_test): Likewise.
5735         (ccosh_test): Likewise.
5736         (ceil_test): Likewise.
5737         (cexp_test): Likewise.
5738         (cimag_test): Likewise.
5739         (clog_test): Likewise.
5740         (clog10_test): Likewise.
5741         (conj_test): Likewise.
5742         (copysign_test): Likewise.
5743         (cos_test): Likewise.
5744         (cos_test_tonearest): Likewise.
5745         (cos_test_towardzero): Likewise.
5746         (cos_test_downward): Likewise.
5747         (cos_test_upward): Likewise.
5748         (cosh_test): Likewise.
5749         (cosh_test_tonearest): Likewise.
5750         (cosh_test_towardzero): Likewise.
5751         (cosh_test_downward): Likewise.
5752         (cosh_test_upward): Likewise.
5753         (cpow_test): Likewise.
5754         (cproj_test): Likewise.
5755         (creal_test): Likewise.
5756         (csin_test): Likewise.
5757         (csinh_test): Likewise.
5758         (csqrt_test): Likewise.
5759         (ctan_test): Likewise.
5760         (ctan_test_tonearest): Likewise.
5761         (ctan_test_towardzero): Likewise.
5762         (ctan_test_downward): Likewise.
5763         (ctan_test_upward): Likewise.
5764         (ctanh_test): Likewise.
5765         (ctanh_test_tonearest): Likewise.
5766         (ctanh_test_towardzero): Likewise.
5767         (ctanh_test_downward): Likewise.
5768         (ctanh_test_upward): Likewise.
5769         (erf_test): Likewise.
5770         (erfc_test): Likewise.
5771         (exp_test): Likewise.
5772         (exp_test_tonearest): Likewise.
5773         (exp_test_towardzero): Likewise.
5774         (exp_test_downward): Likewise.
5775         (exp_test_upward): Likewise.
5776         (exp10_test): Likewise.
5777         (exp10_test_tonearest): Likewise.
5778         (exp10_test_towardzero): Likewise.
5779         (exp10_test_downward): Likewise.
5780         (exp10_test_upward): Likewise.
5781         (pow10_test): Likewise.
5782         (exp2_test): Likewise.
5783         (expm1_test): Likewise.
5784         (expm1_test_tonearest): Likewise.
5785         (expm1_test_towardzero): Likewise.
5786         (expm1_test_downward): Likewise.
5787         (expm1_test_upward): Likewise.
5788         (fabs_test): Likewise.
5789         (fdim_test): Likewise.
5790         (floor_test): Likewise.
5791         (fma_test): Likewise.
5792         (fma_test_towardzero): Likewise.
5793         (fma_test_downward): Likewise.
5794         (fma_test_upward): Likewise.
5795         (fmax_test): Likewise.
5796         (fmin_test): Likewise.
5797         (fmod_test): Likewise.
5798         (fpclassify_test): Likewise.
5799         (frexp_test): Likewise.
5800         (hypot_test): Likewise.
5801         (ilogb_test): Likewise.
5802         (isfinite_test): Likewise.
5803         (finite_test): Likewise.
5804         (isgreater_test): Likewise.
5805         (isgreaterequal_test): Likewise.
5806         (isinf_test): Likewise.
5807         (isless_test): Likewise.
5808         (islessequal_test): Likewise.
5809         (islessgreater_test): Likewise.
5810         (isnan_test): Likewise.
5811         (isnormal_test): Likewise.
5812         (issignaling_test): Likewise.
5813         (isunordered_test): Likewise.
5814         (j0_test): Likewise.
5815         (j1_test): Likewise.
5816         (jn_test): Likewise.
5817         (ldexp_test): Likewise.
5818         (lgamma_test): Likewise.
5819         (gamma_test): Likewise.
5820         (lrint_test): Likewise.
5821         (lrint_test_tonearest): Likewise.
5822         (lrint_test_towardzero): Likewise.
5823         (lrint_test_downward): Likewise.
5824         (lrint_test_upward): Likewise.
5825         (llrint_test): Likewise.
5826         (llrint_test_tonearest): Likewise.
5827         (llrint_test_towardzero): Likewise.
5828         (llrint_test_downward): Likewise.
5829         (llrint_test_upward): Likewise.
5830         (log_test): Likewise.
5831         (log10_test): Likewise.
5832         (log1p_test): Likewise.
5833         (log2_test): Likewise.
5834         (logb_test): Likewise.
5835         (logb_test_downward): Likewise.
5836         (lround_test): Likewise.
5837         (llround_test): Likewise.
5838         (modf_test): Likewise.
5839         (nearbyint_test): Likewise.
5840         (nextafter_test): Likewise.
5841         (nexttoward_test): Likewise.
5842         (pow_test): Likewise.
5843         (pow_test_tonearest): Likewise.
5844         (pow_test_towardzero): Likewise.
5845         (pow_test_downward): Likewise.
5846         (pow_test_upward): Likewise.
5847         (remainder_test): Likewise.
5848         (drem_test): Likewise.
5849         (remainder_test_tonearest): Likewise.
5850         (drem_test_tonearest): Likewise.
5851         (remainder_test_towardzero): Likewise.
5852         (drem_test_towardzero): Likewise.
5853         (remainder_test_downward): Likewise.
5854         (drem_test_downward): Likewise.
5855         (remainder_test_upward): Likewise.
5856         (drem_test_upward): Likewise.
5857         (remquo_test): Likewise.
5858         (rint_test): Likewise.
5859         (rint_test_tonearest): Likewise.
5860         (rint_test_towardzero): Likewise.
5861         (rint_test_downward): Likewise.
5862         (rint_test_upward): Likewise.
5863         (round_test): Likewise.
5864         (scalb_test): Likewise.
5865         (scalbn_test): Likewise.
5866         (scalbln_test): Likewise.
5867         (signbit_test): Likewise.
5868         (sin_test): Likewise.
5869         (sin_test_tonearest): Likewise.
5870         (sin_test_towardzero): Likewise.
5871         (sin_test_downward): Likewise.
5872         (sin_test_upward): Likewise.
5873         (sincos_test): Likewise.
5874         (sinh_test): Likewise.
5875         (sinh_test_tonearest): Likewise.
5876         (sinh_test_towardzero): Likewise.
5877         (sinh_test_downward): Likewise.
5878         (sinh_test_upward): Likewise.
5879         (sqrt_test): Likewise.
5880         (sqrt_test_tonearest): Likewise.
5881         (sqrt_test_towardzero): Likewise.
5882         (sqrt_test_downward): Likewise.
5883         (sqrt_test_upward): Likewise.
5884         (tan_test): Likewise.
5885         (tan_test_tonearest): Likewise.
5886         (tan_test_towardzero): Likewise.
5887         (tan_test_downward): Likewise.
5888         (tan_test_upward): Likewise.
5889         (tanh_test): Likewise.
5890         (tgamma_test): Likewise.
5891         (trunc_test): Likewise.
5892         (y0_test): Likewise.
5893         (y1_test): Likewise.
5894         (yn_test): Likewise.
5895         (significand_test): Likewise.
5897         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5898         individual tests in comment.
5899         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5900         (prev_max_error): New variable.
5901         (prev_real_max_error): Likewise.
5902         (prev_imag_max_error): Likewise.
5903         (compare_ulp_data): Don't refer to test names in comment.
5904         (find_test_ulps): Remove function.
5905         (find_function_ulps): Likewise.
5906         (find_complex_function_ulps): Likewise.
5907         (init_max_error): Take function name as argument.  Look up ulps
5908         for that function.
5909         (print_ulps): Remove function.
5910         (print_max_error): Use prev_max_error instead of calling
5911         find_function_ulps.
5912         (print_complex_max_error): Use prev_real_max_error and
5913         prev_imag_max_error instead of calling find_complex_function_ulps.
5914         (check_float_internal): Take max_ulp parameter instead of calling
5915         find_test_ulps.  Don't call print_ulps.
5916         (check_float): Update call to check_float_internal.
5917         (check_complex): Update calls to check_float_internal.
5918         (START): Pass argument to init_max_error.
5919         * math/gen-libm-test.pl (%results): Don't include "kind"
5920         information.
5921         (parse_ulps): Don't handle ulps of individual tests.
5922         (print_ulps_file): Likewise.
5923         (output_ulps): Likewise.
5924         * math/README.libm-test: Update.
5925         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5926         individual tests.
5927         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5928         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5929         * sysdeps/arm/libm-test-ulps: Likewise.
5930         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5931         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5932         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5933         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5934         * sysdeps/microblaze/libm-test-ulps: Likewise.
5935         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5936         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5937         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5938         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5939         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5940         * sysdeps/sh/libm-test-ulps: Likewise.
5941         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5942         * sysdeps/tile/libm-test-ulps: Likewise.
5943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5945 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
5947         * math/libm-test.inc (print_complex_max_error): Check separately
5948         whether real and imaginary errors are within allowed range and
5949         pass 0 to print_complex_function_ulps instead of value within
5950         allowed range.
5952 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5954         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5955         formatting.
5956         (get_handles_fopen): Likewise.
5957         (do_write_test): Likewise.
5959         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5961         * libio/fileops.c (do_ftell): Use cached offset when
5962         available.
5963         * libio/iofwide.c (do_ftell_wide): Likewise.
5964         * libio/iofdopen.c (_IO_new_fdopen): Don't use
5965         _IO_file_attach.
5966         * libio/wfileops.c (_IO_fwide): Don't cache offset.
5968         [BZ #16532]
5969         * libio/libioP.h (get_file_offset): New function.
5970         * libio/fileops.c (get_file_offset): Likewise.
5971         (do_ftell): Likewise.
5972         (_IO_new_file_seekoff): Split out ftell logic.
5973         * libio/wfileops.c (do_ftell_wide): Likewise.
5974         (_IO_wfile_seekoff): Split out ftell logic.
5975         * libio/tst-ftell-active-handler.c: New test case.
5976         * libio/Makefile (tests): Add it.
5978 2014-03-03  Roland McGrath  <roland@hack.frob.com>
5980         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5981         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5983 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5985         [BZ #16639]
5986         * nscd/connections.c (nscd_init): Call do_exit.
5987         (start_threads): Call do_exit and notify_parent.
5988         (begin_drop_privileges): Call do_exit.
5989         (finish_drop_privileges): Likewise.
5990         * nscd/selinux.c (preserve_capabilities): Likewise.
5991         (install_real_capabilities): Likewise.
5992         (nscd_selinux_enabled): Likewise.
5993         (avc_create_thread): Likewise.
5994         (avc_alloc_lock): Likewise.
5995         (nscd_avc_init): Likewise.
5996         * nscd/nscd.c (parent_fd): New static variable.
5997         (main): Create a pipe between parent and child processes.
5998         Skip closing parent_fd.
5999         (monitor_child): New function.
6000         (do_exit): Likewise.
6001         (notify_parent): Likewise.
6002         * nscd/nscd.h (notify_parent): Likewise.
6003         (do_exit): Likewise.
6005 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
6007         * malloc/malloc.c (__libc_calloc): Revert last change.
6009 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6013 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6015         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6017         implementation.
6018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6019         (__libc_ifunc_impl_list): Likewise.
6020         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6021         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6022         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6023         * string/strrchr.c: Define STRRCHR.
6025 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
6027         * benchtest/bench-strtok.c (simple_strtok): Delete.
6028         (strtok_string): Use as benchmark.
6029         * string/strtok (STRTOK): New macro.
6031 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
6033         * manual/threads.texi: Add header and standard comments to all
6034         functions.
6036         * elf/dl-lookup.c (check_match): New function.
6037         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6038         (do_lookup_x): Remove nested function check_match. Use non-nested
6039         function check_match.
6041 2014-02-28  Roland McGrath  <roland@hack.frob.com>
6043         * csu/Makefile (generated, before-compile): Use += rather than =.
6044         * catgets/Makefile (generated, generated-dirs): Likewise.
6045         * debug/Makefile (generated): Likewise.
6046         * dlfcn/Makefile (generated): Likewise.
6047         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6048         * iconvdata/Makefile (before-compile, generated): Likewise.
6049         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6050         * libio/Makefile (generated): Likewise.
6051         * malloc/Makefile (generated): Likewise.
6052         * manual/Makefile (generated, generated-dirs): Likewise.
6053         * misc/Makefile (generated): Likewise.
6054         * posix/Makefile (generated): Likewise.
6055         * resolv/Makefile (generated): Likewise.
6056         * sunrpc/Makefile (generated, generated-dirs): Likewise.
6057         * timezone/Makefile (generated, generated-dirs): Likewise.
6059         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6061 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6063         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6064         power8 implementation.
6065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6066         file: POWER8 llround ifunc implementation.
6067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6068         (__lllround): Add POWER8 implementation.
6069         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6070         POWER8 llround implementation.
6072         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6073         power8 implementation.
6074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6075         file: POWER8 llrint ifunc implementation.
6076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6077         Add POWER8 implementation.
6078         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6079         POWER8 llrint implementation.
6081         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6082         power8 implementation.
6083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6084         file: POWER8 finite ifunc implementation.
6085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6086         Add POWER8 implementation.
6087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6088         Likewise.
6089         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6090         POWER8 finite implementation.
6091         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6093         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6094         power8 implementation.
6095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6096         file: POWER8 isinf ifunc implementation.
6097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6098         POWER8 implementation.
6099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6100         Likewise.
6101         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6102         isinf implementation.
6103         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6105         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6106         (INIT_ARCH): Add hwcap2 initialization.
6107         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6108         power8 implementation.
6109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6110         file: POWER8 isnan ifunc implementation.
6111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6112         POWER8 implementation.
6113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6114         Likewise.
6115         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6116         isnan implementation.
6117         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6119 2014-02-27  Joey Ye  <joey.ye@arm.com>
6121         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6122         (_FP_NANFRAC_Q): Set to zero.
6124 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6126         [BZ #16623]
6127         * math/auto-libm-test-in: New test inputs.
6128         * math/auto-libm-test-out: Regenerate.
6129         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6130         and DA.
6131         (__cos): Likewise.
6132         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6134 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
6136         * scripts/evaluate-test.sh: Take new argument indicating whether
6137         failure is expected.
6138         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6139         indicating whether failure is expected.
6140         * conform/Makefile (test-xfail-run-conformtest): New variable.
6141         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6142         level.
6143         * posix/Makefile (test-xfail-annexc): New variable.
6144         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6146 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
6148         * argp/Makefile: Include Makeconfig immediately after defining
6149         subdir.
6150         * assert/Makefile: Likewise.
6151         * benchtests/Makefile: Likewise.
6152         * catgets/Makefile: Likewise.
6153         * conform/Makefile: Likewise.
6154         * crypt/Makefile: Likewise.
6155         * csu/Makefile: Likewise.
6156         (all): Remove target.
6157         * ctype/Makefile: Include Makeconfig immediately after defining
6158         subdir.
6159         * debug/Makefile: Likewise.
6160         * dirent/Makefile: Likewise.
6161         * dlfcn/Makefile: Likewise.
6162         * gmon/Makefile: Likewise.
6163         * gnulib/Makefile: Likewise.
6164         * grp/Makefile: Likewise.
6165         * gshadow/Makefile: Likewise.
6166         * hesiod/Makefile: Likewise.
6167         * hurd/Makefile: Likewise.
6168         (all): Remove target.
6169         * iconvdata/Makefile: Include Makeconfig immediately after
6170         defining subdir.
6171         * inet/Makefile: Likewise.
6172         * intl/Makefile: Likewise.
6173         * io/Makefile: Likewise.
6174         * libio/Makefile: Likewise.
6175         (all): Remove target.
6176         * locale/Makefile: Include Makeconfig immediately after defining
6177         subdir.
6178         * login/Makefile: Likewise.
6179         * mach/Makefile: Likewise.
6180         (all): Remove target.
6181         * malloc/Makefile: Include Makeconfig immediately after defining
6182         subdir.
6183         (all): Remove target.
6184         * manual/Makefile: Include Makeconfig immediately after defining
6185         subdir.
6186         * math/Makefile: Likewise.
6187         * misc/Makefile: Likewise.
6188         * nis/Makefile: Likewise.
6189         * nss/Makefile: Likewise.
6190         * po/Makefile: Likewise.
6191         (all): Remove target.
6192         * posix/Makefile: Include Makeconfig immediately after defining
6193         subdir.
6194         * pwd/Makefile: Likewise.
6195         * resolv/Makefile: Likewise.
6196         * resource/Makefile: Likewise.
6197         * rt/Makefile: Likewise.
6198         * setjmp/Makefile: Likewise.
6199         * shadow/Makefile: Likewise.
6200         * signal/Makefile: Likewise.
6201         * socket/Makefile: Likewise.
6202         * soft-fp/Makefile: Likewise.
6203         * stdio-common/Makefile: Likewise.
6204         * stdlib/Makefile: Likewise.
6205         * streams/Makefile: Likewise.
6206         * string/Makefile: Likewise.
6207         * sunrpc/Makefile: Likewise.
6208         (all): Remove target.
6209         * sysvipc/Makefile: Include Makeconfig immediately after defining
6210         subdir.
6211         * termios/Makefile: Likewise.
6212         * time/Makefile: Likewise.
6213         * timezone/Makefile: Likewise.
6214         (all): Remove target.
6215         * wcsmbs/Makefile: Include Makeconfig immediately after defining
6216         subdir.
6217         * wctype/Makefile: Likewise.
6219 2014-02-26  Steve Ellcey  <sellcey@mips.com>
6221         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6222         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6223         (libc_feholdexcept_setround_mips): Ditto.
6224         (libc_feholdsetround): New.
6225         (libc_feholdsetroundf): New.
6226         (libc_feholdsetroundl): New.
6227         (libc_feupdateenv_test_mips): New.
6228         (libc_feupdateenv_test): New.
6229         (libc_feupdateenv_testf): New.
6230         (libc_feupdateenv_testl): New.
6231         (libc_feresetround): New.
6232         (libc_feresetroundf): New.
6233         (libc_feresetroundl): New.
6234         (libc_fetestexcept_mips): New.
6235         (libc_fetestexcept): New.
6236         (libc_fetestexceptf): New.
6237         (libc_fetestexceptl): New.
6238         (HAVE_RM_CTX): New.
6239         (libc_feholdexcept_setround_mips_ctx): New.
6240         (libc_feholdexcept_setround_ctx): New.
6241         (libc_feholdexcept_setroundf_ctx): New.
6242         (libc_feholdexcept_setroundl_ctx): New.
6243         (libc_fesetenv_mips_ctx): New.
6244         (libc_fesetenv_ctx): New.
6245         (libc_fesetenv_ctxf): New.
6246         (libc_fesetenv_ctxl): New.
6247         (libc_feupdateenv_mips_ctx): New.
6248         (libc_feupdateenv_ctx): New.
6249         (libc_feupdateenvf_ctx): New.
6250         (libc_feupdateenvl_ctx): New.
6251         (libc_feholdsetround_mips_ctx): New.
6252         (libc_feholdsetround_ctx): New.
6253         (libc_feholdsetroundf_ctx): New.
6254         (libc_feholdsetroundl_ctx): New.
6255         (libc_feresetround_mips_ctx): New.
6256         (libc_feresetround_ctx): New.
6257         (libc_feresetroundf_ctx): New.
6258         (libc_feresetroundl_ctx): New.
6260 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
6262         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6264         * manual/ipc.texi: New file.
6265         * manual/Makefile (chapters): Add ipc.
6266         * manual/job.texi: Add "Inter-Process Communication" to next.
6267         * manual/process.texi: Add "Inter-Process Communication" to prev.
6269 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6273 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
6275         * malloc/malloc.c (__libc_calloc): Simplify implementation.
6277         * manual/arith.texi: Fix spaces after sentences.
6278         * manual/charset.texi: Likewise.
6279         * manual/errno.texi: Likewise.
6280         * manual/install.texi: Likewise.
6281         * manual/llio.texi: Likewise.
6282         * manual/locale.texi: Likewise.
6283         * manual/maint.texi: Likewise.
6284         * manual/math.texi: Likewise.
6285         * manual/memory.texi: Likewise.
6286         * manual/message.texi: Likewise.
6287         * manual/probes.texi: Likewise.
6288         * manual/resource.texi: Likewise.
6289         * manual/signal.texi: Likewise.
6290         * manual/socket.texi: Likewise.
6291         * manual/stdio.texi: Likewise.
6292         * manual/string.texi: Likewise.
6293         * manual/time.texi: Likewise.
6294         * manual/users.texi: Likewise.
6296 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
6298         [BZ #16632]
6299         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6300         _DEFAULT_SOURCE is defined.
6302 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
6303             Carlos O'Donell  <carlos@redhat.com>
6305         [BZ #16613]
6306         * elf/dl-tls.c (_dl_count_modids): New function.
6307         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6308         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6309         audit library and increment generation counter.
6310         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6311         * elf/tst-audit9.c: New file.
6312         * elf/tst-auditmod9a.c: New file.
6313         * elf/tst-auditmod9b.c: New file.
6314         * elf/Makefile: Add rules to build and run tst-audit9.
6316 2014-02-25  Florian Weimer  <fweimer@redhat.com>
6318         [BZ #15347]
6319         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6321 2014-02-25  Will Newton  <will.newton@linaro.org>
6323         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6324         (__longjmp): Restore sp and lr before restoring callee
6325         saved registers.  Add longjmp and longjmp_target
6326         SystemTap probe point.
6327         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6328         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6329         Define to zero to match jmpbuf layout.
6330         * sysdeps/arm/setjmp.S: Include stap-probe.h.
6331         (__sigsetjmp): Save sp and lr before saving callee
6332         saved registers.  Add setjmp SystemTap probe point.
6334 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6336         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6338 2014-02-24  Andreas Schwab  <schwab@suse.de>
6340         [BZ #15804]
6341         * elf/pldd.c (wait_for_ptrace_stop): New function.
6342         (main): Call it after attaching.
6344 2014-02-22  Roland McGrath  <roland@hack.frob.com>
6346         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6347         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6348         Versions files is now verboten.
6349         * hurd/Versions (libc: GLIBC_2.0):
6350         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6351         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6352         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6353         * mach/Versions: Likewise.
6355         * csu/Versions: Remove unused %include.
6356         * resolv/Versions: Likewise.
6358 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
6360         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6361         ($(objpfx)check-local-headers.out): Likewise.
6362         ($(objpfx)begin-end-check.out): Likewise.
6363         * Makerules (check-abi-%.out): Likewise.
6364         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6365         ($(objpfx)test2.cat): Likewise.
6366         ($(objpfx)de/libc.cat): Likewise.
6367         ($(objpfx)test-gencat.out): Likewise.
6368         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6369         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6370         ($(objpfx)noload-mem): Likewise.
6371         ($(objpfx)tst-pathopt.out): Likewise.
6372         ($(objpfx)tst-rtld-load-self.out): Likewise.
6373         ($(objpfx)tst-array1-cmp.out): Likewise.
6374         ($(objpfx)tst-array1-static-cmp.out): Likewise.
6375         ($(objpfx)tst-array2-cmp.out): Likewise.
6376         ($(objpfx)tst-array3-cmp.out): Likewise.
6377         ($(objpfx)tst-array4-cmp.out): Likewise.
6378         ($(objpfx)tst-array5-cmp.out): Likewise.
6379         ($(objpfx)tst-array5-static-cmp.out): Likewise.
6380         ($(objpfx)check-textrel.out): Likewise.
6381         ($(objpfx)check-execstack.out): Likewise.
6382         ($(objpfx)check-localplt.out): Likewise.
6383         ($(objpfx)order2-cmp.out): Likewise.
6384         ($(objpfx)tst-leaks1-mem): Likewise.
6385         ($(objpfx)tst-leaks1-static-mem): Likewise.
6386         ($(objpfx)tst-initorder-cmp.out): Likewise.
6387         ($(objpfx)tst-initorder2-cmp.out): Likewise.
6388         ($(objpfx)tst-unused-dep.out): Likewise.
6389         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6390         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6391         * iconv/Makefile (test-iconvconfig): Likewise.
6392         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6393         ($(objpfx)iconv-test.out): Likewise.
6394         ($(objpfx)tst-tables.out): Likewise.
6395         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6396         ($(objpfx)tst-gettext.out): Likewise.
6397         ($(objpfx)tst-translit.out): Likewise.
6398         ($(objpfx)tst-gettext2.out): Likewise.
6399         ($(objpfx)tst-gettext4.out): Likewise.
6400         ($(objpfx)tst-gettext6.out): Likewise.
6401         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6402         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6403         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6404         ($(objpfx)tst-fopenloc-mem.out): Likewise.
6405         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6406         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6407         * posix/Makefile ($(objpfx)globtest.out): Likewise.
6408         ($(objpfx)wordexp-tst.out): Likewise.
6409         ($(objpfx)annexc.out): Likewise.
6410         ($(objpfx)tst-fnmatch-mem): Likewise.
6411         ($(objpfx)bug-regex2-mem): Likewise.
6412         ($(objpfx)bug-regex14-mem): Likewise.
6413         ($(objpfx)bug-regex21-mem): Likewise.
6414         ($(objpfx)bug-regex31-mem): Likewise.
6415         ($(objpfx)tst-vfork3-mem): Likewise.
6416         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6417         ($(objpfx)tst-pcre-mem): Likewise.
6418         ($(objpfx)tst-boost-mem): Likewise.
6419         ($(objpfx)tst-getconf.out): Likewise.
6420         ($(objpfx)bug-ga2-mem): Likewise.
6421         ($(objpfx)bug-glob2-mem): Likewise.
6422         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6423         ($(objpfx)mtrace-tst-leaks2): Likewise.
6424         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6425         ($(objpfx)tst-printf.out): Likewise.
6426         ($(objpfx)tst-setvbuf1.out): Likewise.
6427         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6428         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6429         ($(objpfx)tst-fmtmsg.out): Likewise.
6430         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6431         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6433         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6434         * bits/sigaction.h [__USE_MISC]: Likewise.
6435         * bits/waitstatus.h: Update #endif comments.
6436         * ctype/ctype.h: Likewise.
6437         * dirent/dirent.h: Likewise.
6438         [__USE_MISC]: Remove redundant conditionals.
6439         * grp/grp.h: Update #endif comments.
6440         [__USE_GNU]: Remove redundant conditionals.
6441         [__USE_MISC]: Likewise.
6442         * inet/netinet/in.h [__USE_GNU]: Likewise.
6443         * io/sys/stat.h [__USE_MISC]: Likewise.
6444         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6445         * libio/bits/stdio.h: Update #endif comments.
6446         [__USE_MISC]: Remove redundant conditionals.
6447         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6448         * libio/stdio.h: Update #endif comments.
6449         [__USE_MISC]: Remove redundant conditionals.
6450         * math/bits/math-finite.h [__USE_MISC]: Likewise.
6451         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6452         * math/math.h: Update #else and #endif comments.
6453         [__USE_MISC]: Remove redundant conditionals.
6454         * misc/sys/uio.h: Update #endif comments.
6455         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6456         * posix/glob.h [__USE_MISC]: Likewise.
6457         * posix/sys/types.h: Update #endif comments.
6458         [__USE_MISC]: Remove redundant conditionals.
6459         * posix/sys/wait.h: Update #endif comments.
6460         [__USE_MISC]: Remove redundant conditionals.
6461         * posix/unistd.h: Update #endif comments.
6462         [__USE_MISC]: Remove redundant conditionals.
6463         * pwd/pwd.h [__USE_GNU]: Likewise.
6464         [__USE_MISC]: Likewise.
6465         * resolv/netdb.h [__USE_GNU]: Likewise.
6466         * signal/signal.h: Update #endif comments.
6467         [__USE_MISC]: Remove redundant conditionals.
6468         * stdlib/stdlib.h: Update #else and #endif comments.
6469         [__USE_MISC]: Remove redundant conditionals.
6470         [__USE_GNU]: Likewise.
6471         * string/bits/string2.h [__USE_MISC]: Likewise.
6472         * string/string.h: Update #endif comments.
6473         [__USE_MISC]: Remove redundant conditionals.
6474         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6475         Likewise.
6476         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6477         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6478         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6479         Likewise.
6480         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6481         Likewise.
6482         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6483         comments.
6484         [__USE_MISC]: Remove redundant conditionals.
6485         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6486         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6487         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6488         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6489         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6490         Likewise.
6491         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6492         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6493         Likewise.
6494         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6495         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6496         Likewise.
6497         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6498         Likewise.
6499         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6500         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6501         Likewise.
6502         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6503         Likewise.
6504         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6505         * sysdeps/x86/bits/string.h: Update #endif comments.
6506         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6507         conditionals.
6508         * time/sys/time.h: Update #endif comments.
6509         * time/time.h: Likewise.
6510         [__USE_MISC]: Remove redundant conditionals.
6512 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
6514         [BZ #16600]
6515         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6517 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
6519         * Versions.def (librt): Add GLIBC_2.17.
6521 2014-02-21  Adam Conrad  <adconrad@0c3.net>
6523         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6524         synonym for _SYS_AUXV_H to allow direct inclusion.
6525         * sysdeps/sparc/bits/hwcap.h: Likewise.
6526         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6527         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6528         * sysdeps/sparc/sysdep.h: Likewise.
6530 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6532         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6534 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6536         * benchtests/bench-strrchr.c: Print length instead of position.
6538 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
6540         [BZ #16611]
6541         * sysdeps/unix/sysv/linux/kernel-features.h
6542         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6543         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6544         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6545         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6546         Likewise.
6547         [__i386__ || __powerpc__ || __sh__ || __sparc__]
6548         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6549         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6550         (__ASSUME_SENDMMSG): Define instead of using previous
6551         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6552         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6553         (__ASSUME_SENDMMSG_SYSCALL): Define.
6554         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6555         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6556         Likewise.
6557         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6558         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6559         Likewise.
6560         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6561         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6562         Likewise.
6563         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6564         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6565         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6566         [__ASSUME_SENDMMSG]: Change conditionals to
6567         [__ASSUME_SENDMMSG_SOCKETCALL].
6568         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6569         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6570         Define.
6571         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6572         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6573         Likewise.
6574         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6575         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6576         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6577         [!__ASSUME_SENDMMSG]: Change conditional to
6578         [!__ASSUME_SENDMMSG_SOCKETCALL].
6579         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6580         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6581         Define.
6583         [BZ #16610]
6584         * sysdeps/unix/sysv/linux/kernel-features.h
6585         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6586         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6587         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6588         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6589         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6590         [__i386__ || __sparc__]
6591         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6592         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6593         (__ASSUME_RECVMMSG): Define instead of using previous
6594         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6595         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6596         (__ASSUME_RECVMMSG_SYSCALL): Define.
6597         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6598         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6599         Likewise.
6600         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6601         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6602         Likewise.
6603         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6604         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6605         Likewise.
6606         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6607         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6608         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6609         [__ASSUME_RECVMMSG]: Change condition to
6610         [__ASSUME_RECVMMSG_SOCKETCALL].
6611         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6612         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6613         Define.
6614         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6615         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6616         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6617         Likewise.
6618         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6619         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6620         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6621         [!__ASSUME_RECVMMSG]: Change condition to
6622         [!__ASSUME_RECVMMSG_SOCKETCALL].
6623         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6624         (__ASSUME_RECVMMSG_SYSCALL): Define.
6626         [BZ #16609]
6627         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6628         __powerpc__ || __s390__ || __sh__ || __sparc__]
6629         (__ASSUME_SOCKETCALL): Define.
6630         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6631         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6632         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6633         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6634         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6635         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6636         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6637         (__ASSUME_ACCEPT4): Define instead of using previous
6638         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6639         __powerpc__ || __sparc__ || __s390__)] condition.
6640         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6641         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6642         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6643         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6644         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6645         [!__ASSUME_ACCEPT4]: Change condition to
6646         [!__ASSUME_ACCEPT4_SOCKETCALL].
6647         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6648         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
6649         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6650         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6651         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6652         __ASSUME_ACCEPT4_SYSCALL.
6653         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6654         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6655         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6656         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6657         __ASSUME_ACCEPT4_SYSCALL.
6658         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6659         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6660         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6661         [__ASSUME_ACCEPT4]: Change condition to
6662         [__ASSUME_ACCEPT4_SOCKETCALL].
6663         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6664         (__ASSUME_SOCKETCALL): Define.
6665         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6666         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6667         (__ASSUME_SOCKETCALL): Define.
6668         (__ASSUME_ACCEPT4): Remove.
6669         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6670         Define.
6671         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6672         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6673         Likewise.
6674         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6675         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6677         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6678         macro.
6679         (HWCAP_ARM_LPAE): Likewise.
6680         (HWCAP_ARM_EVTSTRM): Likewise.
6681         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6682         Add vpfd32, lpae and evtstrm.
6683         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6684         Increase to 22.
6686 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
6688         * math/auto-libm-test-in: Add tests of clog10.
6689         * math/auto-libm-test-out: Regenerated.
6690         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6691         * sysdeps/i386/fpu/libm-test-ulps: Update.
6692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6694 2014-02-18  Andreas Schwab  <schwab@suse.de>
6696         [BZ #16574]
6697         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6698         Store non-zero if the second buffer was newly allocated.
6699         (send_dg): Likewise.
6700         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6701         to send_vc and send_dg.
6702         (res_nsend): Pass NULL for ansp2_malloced.
6703         * resolv/res_query.c (__libc_res_nquery): Add parameter
6704         answerp2_malloced and pass it down to __libc_res_nsend.
6705         (res_nquery): Pass additional NULL to __libc_res_nquery.
6706         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6707         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
6708         second answer buffer if answerp2_malloced was set.
6709         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6710         (__libc_res_nquerydomain): Add parameter
6711         answerp2_malloced and pass it down to __libc_res_nquery.
6712         (res_nquerydomain): Pass additional NULL to
6713         __libc_res_nquerydomain.
6714         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6715         additional NULL to __libc_res_nsend and __libc_res_nquery.
6716         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6717         additional NULL to __libc_res_nsearch.
6718         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
6719         parameter of __libc_res_nsearch to check for separately allocated
6720         second buffer.
6721         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6722         __libc_res_nquery.
6723         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6724         additional NULL to __libc_res_nquery.
6725         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6726         __libc_res_nsearch.
6727         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6728         * include/resolv.h: Update prototypes of __libc_res_nquery,
6729         __libc_res_nsearch, __libc_res_nsend.
6731 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
6733         * math/auto-libm-test-in: Add tests of fma.
6734         * math/auto-libm-test-out: Regenerated.
6735         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6736         (fma_towardzero_test_data): Likewise.
6737         (fma_downward_test_data): Likewise.
6738         (fma_upward_test_data): Likewise.
6739         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6740         mpc_mode.
6741         (rounding_modes): Add values for new field.
6742         (func_calc_method): Add value mpfr_fff_f.
6743         (func_calc_desc): Add mpfr_fff_f union field.
6744         (test_function): Add field exact_args.
6745         (FUNC): Add macro argument EXACT_ARGS.
6746         (FUNC_mpfr_f_f): Update call to FUNC.
6747         (FUNC_mpfr_f_f): Likewise.
6748         (FUNC_mpfr_ff_f): Likewise.
6749         (FUNC_mpfr_if_f): Likewise.
6750         (FUNC_mpc_c_f): Likewise.
6751         (FUNC_mpc_c_c): Likewise.
6752         (test_functions): Add fma.  Update calls to FUNC.
6753         (handle_input_arg): Add argument exact_args.
6754         (add_test): Update call to handle_input_arg.
6755         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
6756         (output_for_one_input_case): Update call to calc_generic_results.
6757         Recalculate exact zero results in each rounding mode.
6759         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6760         non-negative before setting low bit.
6761         * math/auto-libm-test-in: Mark one asin test possibly having
6762         spurious underflow.
6763         * math/auto-libm-test-out: Regenerated.
6764         * sysdeps/i386/fpu/libm-test-ulps: Update.
6765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6767 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
6769         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6770         * sysdeps/unix/sysv/linux/microblaze: Move directory from
6771         ports/sysdeps/unix/sysv/linux/microblaze.
6772         * README: Add missing listing for microblaze*-*-linux-gnu.
6774 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
6776         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6777         * sysdeps/unix/sysv/linux/ia64: Move directory from
6778         ports/sysdeps/unix/sysv/linux/ia64.
6779         * README: Update listing for ia64-*-linux-gnu.
6781 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
6782             Joseph Myers  <joseph@codesourcery.com>
6784         * Makeconfig (test-name): New variable.
6785         (evaluate-test): Likewise.
6786         * Makerules (do-test-clean): Remove .test-result files.
6787         (common-mostlyclean): Likewise.
6788         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6789         * scripts/evaluate-test.sh: New file.
6791 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
6793         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6794         separate $(objpfx)tst-fopenloc-cmp.out and
6795         $(objpfx)tst-fopenloc-mem.out targets.
6796         (tests): Update dependencies.
6797         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6798         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6799         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6800         (tst-rxspencer-no-utf8-ARGS): New variable.
6801         (tst-rxspencer-no-utf8-ENV): Likewise.
6802         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6803         instead of $(objpfx)tst-rxspencer-mem.
6804         ($(objpfx)tst-rxspencer-mem): Change target to
6805         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
6806         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6807         * posix/tst-rxspencer-no-utf8.c: New file.
6809         * elf/Makefile ($(objpfx)order.out): Remove rule.
6810         [$(run-built-tests) = yes] (tests): Depend on
6811         $(objpfx)order-cmp.out.
6812         ($(objpfx)order-cmp.out): New rule.
6813         [$(run-built-tests) = yes] (tests): Depend on
6814         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6815         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6816         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6817         $(objpfx)tst-array5-static-cmp.out.
6818         ($(objpfx)tst-array1.out): Remove rule.
6819         ($(objpfx)tst-array1-cmp.out): New rule.
6820         ($(objpfx)tst-array1-static.out): Remove rule.
6821         ($(objpfx)tst-array1-static-cmp.out): New rule.
6822         ($(objpfx)tst-array2.out): Remove rule.
6823         ($(objpfx)tst-array2-cmp.out): New rule.
6824         ($(objpfx)tst-array3.out): Remove rule.
6825         ($(objpfx)tst-array3-cmp.out): New rule.
6826         ($(objpfx)tst-array4.out): Remove rule.
6827         ($(objpfx)tst-array4-cmp.out): New rule.
6828         ($(objpfx)tst-array5.out): Remove rule.
6829         ($(objpfx)tst-array5-cmp.out): New rule.
6830         ($(objpfx)tst-array5-static.out): Remove rule.
6831         ($(objpfx)tst-array5-static-cmp.out): New rule.
6832         [$(run-built-tests) = yes] (tests): Depend on
6833         $(objpfx)order2-cmp.out.
6834         ($(objpfx)order2.out): Remove rule.
6835         ($(objpfx)order2-cmp.out): New rule.
6836         ($(objpfx)tst-initorder.out): Remove rule.
6837         [$(run-built-tests) = yes] (tests): Depend on
6838         $(objpfx)tst-initorder-cmp.out.
6839         ($(objpfx)tst-initorder-cmp.out): New rule.
6840         ($(objpfx)tst-initorder2.out): Remove rule.
6841         [$(run-built-tests) = yes] (tests): Depend on
6842         $(objpfx)tst-initorder2-cmp.out.
6843         ($(objpfx)tst-initorder2-cmp.out): New rule.
6844         [$(run-built-tests) = yes] (tests): Depend on
6845         $(objpfx)tst-unused-dep-cmp.out.
6846         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6847         ($(objpfx)tst-unused-dep-cmp.out): New rule.
6848         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6849         on $(objpfx)tst-setvbuf1-cmp.out.
6850         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6851         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6852         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6853         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6854         ($(objpfx)tst-svc.out): Remove rule.
6855         ($(objpfx)tst-svc-cmp.out): New rule.
6857 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
6859         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6860         * ctype/ctype.h [__USE_MISC]: Likewise.
6861         * dirent/dirent.h [__USE_MISC]: Likewise.
6862         * grp/grp.h [__USE_MISC]: Likewise.
6863         * io/fcntl.h [__USE_MISC]: Likewise.
6864         * io/sys/stat.h [__USE_MISC]: Likewise.
6865         * libio/stdio.h [__USE_MISC]: Likewise.
6866         * posix/unistd.h [__USE_MISC]: Likewise.
6867         * pwd/pwd.h [__USE_MISC]: Likewise.
6868         * stdlib.h [__USE_MISC]: Likewise.
6869         * string/bits/string2.h [__USE_MISC]: Likewise.
6870         * string/string.h [__USE_MISC]: Likewise.
6871         * time/time.h [__USE_MISC]: Likewise.
6873 2014-02-13  Andreas Schwab  <schwab@suse.de>
6875         [BZ #16574]
6876         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6877         second answer buffer if it was separately allocated.
6879 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6881         * sysdeps/mips/math-tests.h: Include <features.h>.
6882         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6883         (ROUNDING_TESTS_long_double): Do not define.
6884         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6885         (EXCEPTION_TESTS_long_double): Likewise.
6886         * sysdeps/mips/mips64/libm-test-ulps: Update.
6888         * include/features.h (__USE_BSD): Remove macro definitions.
6889         (__USE_SVID): Likewise.
6890         (_BSD_SOURCE): Likewise.
6891         (_SVID_SOURCE): Likewise.
6892         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6893         from definition of _DEFAULT_SOURCE.
6894         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6895         [_DEFAULT_SOURCE].
6896         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6897         * bits/mman.h [__USE_BSD]: Likewise.
6898         * bits/termios.h [__USE_BSD]: Likewise.
6899         * bits/waitstatus.h [__USE_BSD]: Likewise.
6900         * ctype/ctype.h [__USE_SVID]: Likewise.
6901         * dirent/dirent.h [__USE_BSD]: Likewise.
6902         * grp/grp.h [__USE_SVID]: Likewise.
6903         [__USE_BSD]: Likewise.
6904         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6905         * io/fcntl.h [__USE_BSD]: Likewise.
6906         * io/ftw.h [__USE_BSD]: Likewise.
6907         * io/sys/stat.h [__USE_BSD]: Likewise.
6908         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6909         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6910         * libio/stdio.h [__USE_SVID]: Likewise.
6911         [__USE_BSD]: Likewise.
6912         * math/math.h [__USE_SVID]: Likewise.
6913         [__USE_BSD]: Likewise.
6914         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6915         * misc/bits/syslog.h [__USE_BSD]: Likewise.
6916         * misc/search.h [__USE_SVID]: Likewise.
6917         * misc/sys/mman.h [__USE_BSD]: Likewise.
6918         * misc/sys/syslog.h [__USE_BSD]: Likewise.
6919         * misc/sys/uio.h [__USE_BSD]: Likewise.
6920         * posix/bits/unistd.h [__USE_BSD]: Likewise.
6921         * posix/glob.h [__USE_BSD]: Likewise.
6922         * posix/regex.h [__USE_BSD]: Likewise.
6923         * posix/sys/types.h [__USE_BSD]: Likewise.
6924         [__USE_SVID]: Likewise.
6925         * posix/sys/utsname.h [__USE_SVID]: Likewise.
6926         * posix/sys/wait.h [__USE_BSD]: Likewise.
6927         [__USE_SVID]: Likewise.
6928         * posix/unistd.h [__USE_BSD]: Likewise.
6929         [__USE_SVID]: Likewise.
6930         * pwd/pwd.h [__USE_SVID]: Likewise.
6931         * resolv/netdb.h [__USE_BSD]: Likewise.
6932         * setjmp/setjmp.h [__USE_BSD]: Likewise.
6933         * signal/signal.h [__USE_BSD]: Likewise.
6934         [__USE_SVID]: Likewise.
6935         * socket/sys/socket.h [__USE_BSD]: Likewise.
6936         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6937         * stdlib/stdlib.h [__USE_BSD]: Likewise.
6938         [__USE_SVID]: Likewise.
6939         * string/bits/string2.h [__USE_BSD]: Likewise.
6940         [__USE_SVID]: Likewise.
6941         * string/bits/string3.h [__USE_BSD]: Likewise.
6942         * string/endian.h [__USE_BSD]: Likewise.
6943         * string/string.h [__USE_SVID]: Likewise.
6944         [__USE_BSD]: Likewise.
6945         * string/strings.h [__USE_BSD]: Likewise.
6946         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6947         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6948         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6949         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6950         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6951         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6952         Likewise.
6953         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6954         Likewise.
6955         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6956         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6957         Likewise.
6958         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6959         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6960         Likewise.
6961         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6962         Likewise.
6963         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6964         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6965         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6966         Likewise.
6967         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6968         Likewise.
6969         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6970         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6971         * termios/termios.h [__USE_BSD]: Likewise.
6972         * time/sys/time.h [__USE_BSD]: Likewise.
6973         * time/time.h [__USE_BSD]: Likewise.
6974         [__USE_SVID]: Likewise.
6976         * Makefile (subdir_targets): Remove subdir_lint.out.
6978         * stdio-common/Makefile (do-tst-unbputc): Remove target.
6979         (do-tst-printf): Likewise.
6980         (tests): Depend directly on $(objpfx)tst-unbputc.out and
6981         $(objpfx)tst-printf.out.
6983         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6985         * Makerules (check-abi-%): Change target to
6986         $(objpfx)check-abi-%.out.
6987         (check-abi target): Update dependencies.
6988         (check-abi-pattern variable): Redirect output of diff to $@.
6989         (check-abi variable): Likewise.
6990         * elf/Makefile (check-abi): Update dependencies.
6992         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6993         unused.
6994         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6995         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6996         subnormal range.
6997         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6998         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6999         value has largest subnormal exponent.
7000         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7001         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7002         * sysdeps/aarch64/soft-fp/sfp-machine.h
7003         (_FP_TININESS_AFTER_ROUNDING): New macro.
7004         * sysdeps/alpha/soft-fp/sfp-machine.h
7005         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7006         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7007         Likewise.
7008         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7009         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7010         * sysdeps/mips/soft-fp/sfp-machine.h
7011         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7012         * sysdeps/powerpc/soft-fp/sfp-machine.h
7013         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7014         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7015         Likewise.
7016         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7017         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7018         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7019         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7020         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7021         Likewise.
7023 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
7025         [BZ #16545]
7026         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7027         model 1.
7029 2014-02-12  Richard Henderson  <rth@redhat.com>
7031         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7032         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7033         * sysdeps/unix/sysv/linux/alpha: Move directory from
7034         ports/sysdeps/unix/sysv/linux/alpha.
7035         * README: Update listing for alpha-*-linux-gnu.
7037 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
7039         * include/features.h: Update comment documenting feature test
7040         macros.
7041         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
7042         _DEFAULT_SOURCE.
7043         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7044         (_SVID_SOURCE): Likewise.
7045         (_DEFAULT_SOURCE): Update description of default features.
7046         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7047         with _GNU_SOURCE.
7048         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7049         (S_ISVTX): Likewise.
7050         * manual/math.texi (Mathematical Constants): Likewise.
7051         * manual/signal.texi (Interrupted Primitives): Likewise.
7052         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7053         * math/test-matherr.c (_SVID_SOURCE): Do not define.
7054         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7055         Don't refer to _SVID_SOURCE in warning text.
7057         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7059         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7060         already defined.
7061         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7062         * sysdeps/mips/dl-lookup.c: Remove.
7063         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7065 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7067         [BZ #16447]
7068         * math/auto-libm-test-in: Add testcase for expl.
7069         * math/auto-libm-test-out: Regenerate.
7070         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7071         calculation of unsafe.
7072         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7074 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7076         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7077         * sysdeps/unix/sysv/linux/aarch64: Move directory from
7078         ports/sysdeps/unix/sysv/linux/aarch64.
7079         * README: Update listing for aarch64*-*-linux-gnu.
7081 2014-02-11  Will Newton  <will.newton@linaro.org>
7083         * manual/probes.texi (Mathematical Function Probes): Use
7084         "triggered" instead of "hit".
7086         * manual/probes.texi (Internal Probes): Add documentation
7087         of setjmp, longjmp and longjmp_target probes.
7089         * include/stap-probe.h: Add comment about probe argument
7090         format.
7092         * malloc/mtrace.c (attribute_hidden): Remove unused macro
7093         definition.  (tr_where, tr_freehook, tr_mallochook,
7094         tr_reallochook, tr_memalignhook): Use ANSI protoype.
7096 2014-02-11  David S. Miller  <davem@davemloft.net>
7098         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7099         processing int_tests.
7101 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
7103         * sysdeps/mips: Move directory from ports/sysdeps/mips.
7104         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7105         * sysdeps/unix/sysv/linux/mips: Move directory from
7106         ports/sysdeps/unix/sysv/linux/mips.
7107         * README: Update listing for mips-*-linux-gnu and
7108         mips64-*-linux-gnu.
7110 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
7112         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7113         * sysdeps/unix/sysv/linux/m68k: Move directory from
7114         ports/sysdeps/unix/sysv/linux/m68k.
7115         * README: Update listing for m68k-*-linux-gnu.
7117 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
7119         * sysdeps/tile: Move directory from ports/sysdeps/tile.
7120         * sysdeps/unix/sysv/linux/generic: Move directory from
7121         ports/sysdeps/unix/sysv/linux/generic.
7122         * sysdeps/unix/sysv/linux/tile: Move directory from
7123         ports/sysdeps/unix/sysv/linux/tile.
7124         * README: Update listing for tile*-*-linux-gnu.
7126 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
7128         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7129         __builtin_expect.
7130         * benchtests/bench-memmem.c (simple_memmem): Likewise.
7131         * catgets/open_catalog.c (__open_catalog): Likewise.
7132         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7133         * debug/confstr_chk.c: Likewise.
7134         * debug/fread_chk.c (__fread_chk): Likewise.
7135         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7136         * debug/getgroups_chk.c: Likewise.
7137         * debug/mbsnrtowcs_chk.c: Likewise.
7138         * debug/mbsrtowcs_chk.c: Likewise.
7139         * debug/mbstowcs_chk.c: Likewise.
7140         * debug/memcpy_chk.c: Likewise.
7141         * debug/memmove_chk.c: Likewise.
7142         * debug/mempcpy_chk.c: Likewise.
7143         * debug/memset_chk.c: Likewise.
7144         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7145         * debug/strcat_chk.c (__strcat_chk): Likewise.
7146         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7147         * debug/strncat_chk.c (__strncat_chk): Likewise.
7148         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7149         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7150         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7151         * debug/wcpncpy_chk.c: Likewise.
7152         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7153         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7154         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7155         * debug/wcsncpy_chk.c: Likewise.
7156         * debug/wcsnrtombs_chk.c: Likewise.
7157         * debug/wcsrtombs_chk.c: Likewise.
7158         * debug/wcstombs_chk.c: Likewise.
7159         * debug/wmemcpy_chk.c: Likewise.
7160         * debug/wmemmove_chk.c: Likewise.
7161         * debug/wmempcpy_chk.c: Likewise.
7162         * debug/wmemset_chk.c: Likewise.
7163         * dirent/scandirat.c (SCANDIRAT): Likewise.
7164         * dlfcn/dladdr1.c (dladdr1): Likewise.
7165         * dlfcn/dladdr.c (dladdr): Likewise.
7166         * dlfcn/dlclose.c (dlclose_doit): Likewise.
7167         * dlfcn/dlerror.c (__dlerror): Likewise.
7168         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7169         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7170         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7171         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7172         * dlfcn/dlsym.c (dlsym_doit): Likewise.
7173         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7174         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7175         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7176         Likewise.
7177         * elf/dl-conflict.c: Likewise.
7178         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7179         * elf/dl-dst.h: Likewise.
7180         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7181         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7182         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7183         * elf/dl-init.c (call_init, _dl_init): Likewise.
7184         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7185         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7186         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7187         Likewise.
7188         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7189         Likewise.
7190         * elf/dl-minimal.c (__libc_memalign): Likewise.
7191         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7192         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7193         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7194         * elf/dl-sym.c (do_sym): Likewise.
7195         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7196         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7197         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7198         * elf/dl-writev.h (_dl_writev): Likewise.
7199         * elf/ldconfig.c (search_dir): Likewise.
7200         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7201         (dl_main): Likewise.
7202         * elf/setup-vdso.h (setup_vdso): Likewise.
7203         * grp/compat-initgroups.c (compat_call): Likewise.
7204         * grp/fgetgrent.c (fgetgrent): Likewise.
7205         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7206         * grp/putgrent.c (putgrent): Likewise.
7207         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7208         Likewise.
7209         * hurd/hurdinit.c: Likewise.
7210         * iconvdata/8bit-gap.c (struct): Likewise.
7211         * iconvdata/ansi_x3.110.c : Likewise.
7212         * iconvdata/big5.c : Likewise.
7213         * iconvdata/big5hkscs.c : Likewise.
7214         * iconvdata/cp1255.c: Likewise.
7215         * iconvdata/cp1258.c : Likewise.
7216         * iconvdata/cp932.c : Likewise.
7217         * iconvdata/euc-cn.c: Likewise.
7218         * iconvdata/euc-jisx0213.c : Likewise.
7219         * iconvdata/euc-jp.c: Likewise.
7220         * iconvdata/euc-jp-ms.c : Likewise.
7221         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7222         * iconvdata/gb18030.c : Likewise.
7223         * iconvdata/gbbig5.c (const): Likewise.
7224         * iconvdata/gbgbk.c: Likewise.
7225         * iconvdata/gbk.c : Likewise.
7226         * iconvdata/ibm1364.c : Likewise.
7227         * iconvdata/ibm930.c : Likewise.
7228         * iconvdata/ibm932.c: Likewise.
7229         * iconvdata/ibm933.c : Likewise.
7230         * iconvdata/ibm935.c : Likewise.
7231         * iconvdata/ibm937.c : Likewise.
7232         * iconvdata/ibm939.c : Likewise.
7233         * iconvdata/ibm943.c: Likewise.
7234         * iconvdata/iso_11548-1.c: Likewise.
7235         * iconvdata/iso-2022-cn.c : Likewise.
7236         * iconvdata/iso-2022-cn-ext.c : Likewise.
7237         * iconvdata/iso-2022-jp-3.c: Likewise.
7238         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7239         * iconvdata/iso-2022-kr.c : Likewise.
7240         * iconvdata/iso646.c (gconv_end): Likewise.
7241         * iconvdata/iso_6937-2.c : Likewise.
7242         * iconvdata/iso_6937.c : Likewise.
7243         * iconvdata/iso8859-1.c: Likewise.
7244         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7245         * iconvdata/shift_jisx0213.c : Likewise.
7246         * iconvdata/sjis.c : Likewise.
7247         * iconvdata/t.61.c : Likewise.
7248         * iconvdata/tcvn5712-1.c : Likewise.
7249         * iconvdata/tscii.c: Likewise.
7250         * iconvdata/uhc.c : Likewise.
7251         * iconvdata/unicode.c (gconv_end): Likewise.
7252         * iconvdata/utf-16.c (gconv_end): Likewise.
7253         * iconvdata/utf-32.c (gconv_end): Likewise.
7254         * iconvdata/utf-7.c (base64): Likewise.
7255         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7256         * iconv/gconv_close.c (__gconv_close): Likewise.
7257         * iconv/gconv_open.c (__gconv_open): Likewise.
7258         * iconv/gconv_simple.c (internal_ucs4_loop_single)
7259         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7260         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7261         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7262         (ucs4le_internal_loop_single): Likewise.
7263         * iconv/iconv.c (iconv): Likewise.
7264         * iconv/iconv_close.c: Likewise.
7265         * iconv/loop.c (SINGLE): Likewise.
7266         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7267         * include/atomic.h: Likewise.
7268         * inet/inet6_option.c (option_alloc): Likewise.
7269         * intl/bindtextdom.c (set_binding_values): Likewise.
7270         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7271         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7272         * intl/localealias.c (read_alias_file): Likewise.
7273         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7274         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7275         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7276         * libio/fmemopen.c (fmemopen): Likewise.
7277         * libio/iofgets.c (_IO_fgets): Likewise.
7278         * libio/iofgets_u.c (fgets_unlocked): Likewise.
7279         * libio/iofgetws.c (fgetws): Likewise.
7280         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7281         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7282         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7283         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7284         * locale/findlocale.c (_nl_find_locale): Likewise.
7285         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7286         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7287         Likewise.
7288         * locale/setlocale.c (setlocale): Likewise.
7289         * login/programs/pt_chown.c (main): Likewise.
7290         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7291         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7292         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7293         (mmap, mmap64, mremap, munmap): Likewise.
7294         * math/e_exp2l.c: Likewise.
7295         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7296         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7297         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7298         * math/s_catan.c (__catan): Likewise.
7299         * math/s_catanf.c (__catanf): Likewise.
7300         * math/s_catanh.c (__catanh): Likewise.
7301         * math/s_catanhf.c (__catanhf): Likewise.
7302         * math/s_catanhl.c (__catanhl): Likewise.
7303         * math/s_catanl.c (__catanl): Likewise.
7304         * math/s_ccosh.c (__ccosh): Likewise.
7305         * math/s_ccoshf.c (__ccoshf): Likewise.
7306         * math/s_ccoshl.c (__ccoshl): Likewise.
7307         * math/s_cexp.c (__cexp): Likewise.
7308         * math/s_cexpf.c (__cexpf): Likewise.
7309         * math/s_cexpl.c (__cexpl): Likewise.
7310         * math/s_clog10.c (__clog10): Likewise.
7311         * math/s_clog10f.c (__clog10f): Likewise.
7312         * math/s_clog10l.c (__clog10l): Likewise.
7313         * math/s_clog.c (__clog): Likewise.
7314         * math/s_clogf.c (__clogf): Likewise.
7315         * math/s_clogl.c (__clogl): Likewise.
7316         * math/s_csin.c (__csin): Likewise.
7317         * math/s_csinf.c (__csinf): Likewise.
7318         * math/s_csinh.c (__csinh): Likewise.
7319         * math/s_csinhf.c (__csinhf): Likewise.
7320         * math/s_csinhl.c (__csinhl): Likewise.
7321         * math/s_csinl.c (__csinl): Likewise.
7322         * math/s_csqrt.c (__csqrt): Likewise.
7323         * math/s_csqrtf.c (__csqrtf): Likewise.
7324         * math/s_csqrtl.c (__csqrtl): Likewise.
7325         * math/s_ctan.c (__ctan): Likewise.
7326         * math/s_ctanf.c (__ctanf): Likewise.
7327         * math/s_ctanh.c (__ctanh): Likewise.
7328         * math/s_ctanhf.c (__ctanhf): Likewise.
7329         * math/s_ctanhl.c (__ctanhl): Likewise.
7330         * math/s_ctanl.c (__ctanl): Likewise.
7331         * math/w_pow.c: Likewise.
7332         * math/w_powf.c: Likewise.
7333         * math/w_powl.c: Likewise.
7334         * math/w_scalb.c (sysv_scalb): Likewise.
7335         * math/w_scalbf.c (sysv_scalbf): Likewise.
7336         * math/w_scalbl.c (sysv_scalbl): Likewise.
7337         * misc/error.c (error_tail): Likewise.
7338         * misc/pselect.c (__pselect): Likewise.
7339         * nis/nis_callback.c (__nis_create_callback): Likewise.
7340         * nis/nis_call.c (__nisfind_server): Likewise.
7341         * nis/nis_creategroup.c (nis_creategroup): Likewise.
7342         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7343         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7344         * nis/nis_getservlist.c (nis_getservlist): Likewise.
7345         * nis/nis_lookup.c (nis_lookup): Likewise.
7346         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7347         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7348         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7349         * nis/nis_xdr.c (xdr_endpoint): Likewise.
7350         * nis/nss_compat/compat-grp.c (getgrent_next_file)
7351         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7352         * nis/nss_compat/compat-initgroups.c (add_group)
7353         (internal_getgrent_r): Likewise.
7354         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7355         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7356         * nis/nss_compat/compat-spwd.c (getspent_next_file)
7357         (internal_getspnam_r): Likewise.
7358         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7359         (_nss_nis_getaliasbyname_r): Likewise.
7360         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7361         (_nss_nis_getntohost_r): Likewise.
7362         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7363         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7364         (_nss_nis_getgrgid_r): Likewise.
7365         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7366         (internal_nis_gethostent_r, internal_gethostbyname2_r)
7367         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7368         (_nss_nis_gethostbyname4_r): Likewise.
7369         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7370         (initgroups_netid): Likewise.
7371         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7372         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7373         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7374         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7375         (_nss_nis_getprotobynumber_r): Likewise.
7376         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7377         (_nss_nis_getsecretkey): Likewise.
7378         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7379         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7380         (_nss_nis_getpwuid_r): Likewise.
7381         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7382         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7383         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7384         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7385         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7386         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7387         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7388         Likewise.
7389         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7390         (_nss_nisplus_getntohost_r): Likewise.
7391         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7392         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7393         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7394         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7395         Likewise.
7396         * nis/nss_nisplus/nisplus-initgroups.c
7397         (_nss_nisplus_initgroups_dyn): Likewise.
7398         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7399         (_nss_nisplus_getnetbyaddr_r): Likewise.
7400         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7401         (_nss_nisplus_getprotobynumber_r): Likewise.
7402         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7403         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7404         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7405         Likewise.
7406         * nis/nss_nisplus/nisplus-service.c
7407         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7408         (_nss_nisplus_getservbyport_r): Likewise.
7409         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7410         (_nss_nisplus_getspnam_r): Likewise.
7411         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7412         Likewise.
7413         * nscd/aicache.c (addhstaiX): Likewise.
7414         * nscd/cache.c (cache_search, prune_cache): Likewise.
7415         * nscd/connections.c (register_traced_file, send_ro_fd)
7416         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7417         (main_loop_epoll): Likewise.
7418         * nscd/grpcache.c (addgrbyX): Likewise.
7419         * nscd/hstcache.c (addhstbyX): Likewise.
7420         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7421         * nscd/mem.c (gc, mempool_alloc): Likewise.
7422         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7423         (addinnetgrX): Likewise.
7424         * nscd/nscd-client.h (__nscd_acquire_maplock)
7425         (__nscd_drop_map_ref): Likewise.
7426         * nscd/nscd_getai.c (__nscd_getai): Likewise.
7427         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7428         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7429         Likewise.
7430         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7431         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7432         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7433         (__nscd_get_map_ref): Likewise.
7434         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7435         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7436         Likewise.
7437         * nscd/pwdcache.c (addpwbyX): Likewise.
7438         * nscd/selinux.c (preserve_capabilities): Likewise.
7439         * nscd/servicescache.c (addservbyX): Likewise.
7440         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7441         * posix/fnmatch.c (fnmatch): Likewise.
7442         * posix/getopt.c (_getopt_internal_r): Likewise.
7443         * posix/glob.c (glob, glob_in_dir): Likewise.
7444         * posix/wordexp.c (exec_comm_child): Likewise.
7445         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7446         (getanswer_r, gaih_getanswer_slice): Likewise.
7447         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7448         * resolv/res_init.c: Likewise.
7449         * resolv/res_mkquery.c (res_nmkquery): Likewise.
7450         * resolv/res_query.c (__libc_res_nquery): Likewise.
7451         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7452         Likewise.
7453         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7454         * stdio-common/perror.c (perror): Likewise.
7455         * stdio-common/printf_fp.c (___printf_fp): Likewise.
7456         * stdio-common/tmpnam.c (tmpnam): Likewise.
7457         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7458         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7459         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7460         Likewise.
7461         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7462         * stdlib/putenv.c (putenv): Likewise.
7463         * stdlib/setenv.c (__add_to_environ): Likewise.
7464         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7465         * stdlib/strtol_l.c (INTERNAL): Likewise.
7466         * string/memmem.c (memmem): Likewise.
7467         * string/strerror.c (strerror): Likewise.
7468         * string/strnlen.c (__strnlen): Likewise.
7469         * string/test-memmem.c (simple_memmem): Likewise.
7470         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7471         * sunrpc/pm_getport.c (__get_socket): Likewise.
7472         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7473         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7474         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7475         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7476         Likewise.
7477         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7478         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7479         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7480         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7481         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7482         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7483         Likewise.
7484         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7485         Likewise.
7486         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7487         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7488         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7489         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7490         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7491         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7492         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7493         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7494         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7495         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7496         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7497         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7498         Likewise.
7499         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7500         Likewise.
7501         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7502         Likewise.
7503         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7504         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7505         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7506         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7507         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7508         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7509         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7510         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7511         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7512         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7513         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7514         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7515         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7516         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7517         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7518         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7519         Likewise.
7520         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7521         Likewise.
7522         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7523         Likewise.
7524         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7525         Likewise.
7526         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7527         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7528         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7529         Likewise.
7530         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7531         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7532         * sysdeps/posix/opendir.c (__opendirat): Likewise.
7533         * sysdeps/posix/sleep.c: Likewise.
7534         * sysdeps/posix/tempname.c: Likewise.
7535         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7536         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7537         Likewise.
7538         * sysdeps/powerpc/powerpc32/dl-machine.h
7539         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7540         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7541         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7542         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7543         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7544         Likewise.
7545         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7546         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7547         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7548         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7549         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7550         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7551         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7552         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7553         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7554         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7555         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7556         (elf_machine_lazy_rel): Likewise.
7557         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7558         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7559         (elf_machine_lazy_rel): Likewise.
7560         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7561         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7562         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7563         * sysdeps/unix/grantpt.c (grantpt): Likewise.
7564         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7565         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7566         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7567         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7568         Likewise.
7569         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7570         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7571         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7572         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7573         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7574         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7575         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7576         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7577         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7578         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7579         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7580         Likewise.
7581         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7582         (__posix_fallocate64_l64): Likewise.
7583         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7584         (posix_fallocate): Likewise.
7585         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7586         Likewise.
7587         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7588         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7589         (getifaddrs_internal): Likewise.
7590         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7591         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7592         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7593         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7594         * sysdeps/unix/sysv/linux/posix_fallocate64.c
7595         (__posix_fallocate64_l64): Likewise.
7596         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7597         Likewise.
7598         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7599         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7600         (__get_clockfreq): Likewise.
7601         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7602         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7603         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7604         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7605         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7606         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7607         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7608         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7609         Likewise.
7610         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7611         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7612         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7613         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7614         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7615         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7616         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7617         Likewise.
7618         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7619         (posix_fallocate): Likewise.
7620         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7621         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7622         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7623         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7624         (elf_machine_rela, elf_machine_rela_relative)
7625         (elf_machine_lazy_rel): Likewise.
7626         * time/asctime.c (asctime_internal): Likewise.
7627         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7628         * time/tzset.c (__tzset_parse_tz): Likewise.
7629         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7630         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7631         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7632         * wcsmbs/wcsmbsload.h: Likewise.
7634         [BZ #15894]
7635         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7637         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7638         (arena_get2): Remove THREAD_STATS conditionals.
7639         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7640         (__malloc_stats, int): Likewise.
7642 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
7644         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7645         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
7647         * manual/setjmp.texi: Fix typos/grammar errors.
7649         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7650         Only return early when n is <= 0.  Delete unused return statement.
7652         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7653         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7654         * debug/tst-longjmp_chk3.c: New file.
7656         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7657         (test_main): Replace code with set_fortify_handler call.
7658         * debug/test-strcpy_chk.c: Likewise.
7659         * debug/tst-chk1.c: Likewise.
7660         * debug/tst-longjmp_chk.c: Likewise.
7661         * test-skeleton.c: Include fcntl.h & paths.h
7662         (set_fortify_handler): Define.
7664         * debug/tst-longjmp_chk.c: Add header comment and include
7665         ../test-skeleton.c.
7666         (do_test): Mark static.
7667         (TEST_FUNCTION): Define.
7669         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7670         (IP_PMTUDISC_INTERFACE): Likewise.
7671         (IP_MULTICAST_IF): Likewise.
7672         (IP_MULTICAST_TTL): Likewise.
7673         (IP_MULTICAST_LOOP): Likewise.
7674         (IP_ADD_MEMBERSHIP): Likewise.
7675         (IP_DROP_MEMBERSHIP): Likewise.
7676         (IP_UNBLOCK_SOURCE): Likewise.
7677         (IP_BLOCK_SOURCE): Likewise.
7678         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7679         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7680         (IP_MSFILTER): Likewise.
7681         (MCAST_JOIN_GROUP): Likewise.
7682         (MCAST_BLOCK_SOURCE): Likewise.
7683         (MCAST_UNBLOCK_SOURCE): Likewise.
7684         (MCAST_LEAVE_GROUP): Likewise.
7685         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7686         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7687         (MCAST_MSFILTER): Likewise.
7688         (IP_MULTICAST_ALL): Likewise.
7689         (IP_UNICAST_IF): Likewise.
7691         * timezone/Makefile: Delete $(have-ksh) check.
7692         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7693         * timezone/tzselect.ksh: Add +x mode bits.
7695         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7696         (ANON_INODE_FS_MAGIC): Likewise.
7697         (BDEVFS_MAGIC): Likewise.
7698         (BINFMTFS_MAGIC): Likewise.
7699         (BTRFS_TEST_MAGIC): Likewise.
7700         (CRAMFS_MAGIC_WEND): Likewise.
7701         (DEBUGFS_MAGIC): Likewise.
7702         (ECRYPTFS_SUPER_MAGIC): Likewise.
7703         (EXT3_SUPER_MAGIC): Likewise.
7704         (EXT4_SUPER_MAGIC): Likewise.
7705         (FUTEXFS_SUPER_MAGIC): Likewise.
7706         (HOSTFS_SUPER_MAGIC): Likewise.
7707         (HUGETLBFS_MAGIC): Likewise.
7708         (MINIX3_SUPER_MAGIC): Likewise.
7709         (MTD_INODE_FS_MAGIC): Likewise.
7710         (NILFS_SUPER_MAGIC): Likewise.
7711         (OPENPROM_SUPER_MAGIC): Likewise.
7712         (PIPEFS_MAGIC): Likewise.
7713         (PSTOREFS_MAGIC): Likewise.
7714         (QNX6_SUPER_MAGIC): Likewise.
7715         (RAMFS_MAGIC): Likewise.
7716         (REISERFS_SUPER_MAGIC_STRING): Likewise.
7717         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7718         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7719         (SECURITYFS_MAGIC): Likewise.
7720         (SELINUX_MAGIC): Likewise.
7721         (SMACK_MAGIC): Likewise.
7722         (SOCKFS_MAGIC): Likewise.
7723         (SQUASHFS_MAGIC): Likewise.
7724         (STACK_END_MAGIC): Likewise.
7725         (TMPFS_MAGIC): Likewise.
7726         (USBDEVICE_SUPER_MAGIC): Likewise.
7727         (V9FS_MAGIC): Likewise.
7728         (XENFS_SUPER_MAGIC): Likewise.
7729         (CRAMFS_MAGIC): Fix typo in comment.
7730         (EXT2_SUPER_MAGIC): Update comment.
7731         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7733 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
7735         * sysdeps/arm: Move directory from ports/sysdeps/arm.
7736         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7737         * sysdeps/unix/sysv/linux/arm: Move directory from
7738         ports/sysdeps/unix/sysv/linux/arm.
7739         * README: Update listing for arm-*-linux-gnueabi.
7741         * README: Remove mention of am33.
7743 2014-02-07  Roland McGrath  <roland@hack.frob.com>
7745         * bits/sigset.h (__sigemptyset): Use a statement expression rather
7746         than the comma operator, to avoid "rhs of comma has no effect"
7747         compiler warnings.
7748         (__sigfillset, __sigandset, __sigorset): Likewise.
7749         * include/signal.h (__sigemptyset): Likewise.
7750         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7752 2014-02-07  Allan McRae  <allan@archlinux.org>
7754         * version.h (RELEASE): Set to "development".
7755         (VERSION): Set to "2.19.90"
7756         * NEWS: Add 2.20 section.
7758 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
7760         [BZ #16529]
7761         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7763 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7765         * manual/contrib.texi: Update entry for Carlos O'Donell,
7766         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7768 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
7770         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7772         * sysdeps/unix/sysv/linux/kernel-features.h
7773         [__LINUX_KERNEL_VERSION >= 0x020621]
7774         (__ASSUME_PROC_PID_TASK_COMM): Define.
7776 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7778         [BZ #16398]
7779         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7780         conversion when destination buffer does not have enough space.
7781         * libio/tst-ftell-partial-wide.c: New test case.
7782         * libio/Makefile (tests): Add tst-ftell-partial-wide.
7784         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7785         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
7786         Leonard and Allan McRae.
7788 2014-02-04  David S. Miller  <davem@davemloft.net>
7790         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7791         32-bit.
7793 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7796         New file
7797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7798         New file
7799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7800         New file.
7801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7802         New file.
7803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7804         New file.
7805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7806         New file.
7807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7808         New file.
7809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7810         New file.
7811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7812         New file.
7813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7814         New file.
7815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7816         New file.
7817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7818         New file.
7819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7820         New file.
7822 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7824         * nptl/shlib-versions: Change powerpc*le start to 2.17.
7825         * shlib-versions: Likewise.
7827 2014-02-04  Roland McGrath  <roland@hack.frob.com>
7828             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7830         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7831         (abilist-pattern): New variable, set to %-le.abilist.
7833         * Makerules (abilist-pattern): New variable.
7834         (vpath): Use $(abilist-pattern) in place of %.abilist.
7835         (check-abi-% pattern rule): Likewise.
7836         (check-abi, update-abi): Likewise.
7838 2014-02-04  Eric Wong  <normalperson@yhbt.net>
7840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7842 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
7844         * manual/startup.texi: Add next, previous, and top entries for
7845         the `Program Arguments' and `Environment Variables' nodes.
7847 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
7849         * manual/macros.texi: Add comments before MTASC-safety macros.
7851         * manual/users.texi: Document MTASC-safety properties.
7853         * manual/threads.texi (pthread_key_create, pthread_key_delete)
7854         (pthread_getspecific, pthread_setspecific): Format with
7855         @deftypefun, and add @safety note.
7856         * manual/signal.texi: Move comments that analyze the above
7857         functions to their home place.
7859 2014-02-03  Allan McRae  <allan@archlinux.org>
7861         * po/sl.po: Update Slovenian translation from translation project.
7863 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
7865         * manual/time.texi (timegm): Add missing blank after @c.
7866         Reported by Joseph Myers <joseph@codesourcery.com>.
7868 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
7870         * manual/check-safety.sh: New.
7871         * manual/Makefile ($(objpfx)stamp-summary): Run it.
7873         * manual/terminal.texi: Document MTASC-safety properties.
7875         * manual/filesys.texi: Document MTASC-safety properties.
7877         * manual/errno.texi: Document MTASC-safety properties.
7879         * manual/intro.texi: Document safety identifiers and
7880         conditionals.
7882         * manual/string.texi (wcstok): Fix prototype.
7883         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7885         * manual/time.texi: Document MTASC-safety properties.
7887         * manual/string.texi: Document MTASC-safety properties.
7889         * manual/threads.texi: Document MTASC-safety properties.
7891         * manual/stdio.texi: Document MTASC-safety properties.
7893         * manual/syslog.texi: Document MTASC-safety properties.
7895         * manual/sysinfo.texi: Document MTASC-safety properties.
7897         * manual/startup.texi: Document MTASC-safety properties.
7899         * manual/socket.texi: Document MTASC-safety properties.
7901         * manual/signal.texi: Document MTASC-safety properties.
7903 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
7905         * manual/setjmp.texi: Document MTASC-safety properties.
7907         * manual/search.texi: Document MTASC-safety properties.
7909         * manual/resource.texi: Document MTASC-safety properties.
7911         * manual/process.texi: Document MTASC-safety properties.
7913         * manual/platform.texi: Document MTASC-safety properties.
7915         * manual/pipe.texi: Document MTASC-safety properties.
7917         * manual/pattern.texi: Document MTASC-safety properties.
7919         * manual/message.texi: Document MTASC-safety properties.
7921         [BZ #12751]
7922         * manual/memory.texi: Document MTASC-safety properties.
7924         * manual/math.texi: Document MTASC-safety properties.
7926         * manual/locale.texi: Document MTASC-safety properties.
7928         * manual/llio.texi: Document MTASC-safety properties.
7930         * manual/libdl.texi: New.
7932         * manual/lang.texi: Document MTASC-safety properties.
7934         * manual/job.texi: Document MTASC-safety properties.
7936         * manual/getopt.texi: Document MTASC-safety properties.
7938         * manual/ctype.texi: Document MTASC-safety properties.
7940 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
7942         [BZ #16046]
7943         * csu/libc-tls.c (static_map): Remove variable.
7944         (__libc_setup_tls): Use main executable's link map for TLS data.
7945         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7946         casing for LM_ID_BASE and GL(dl_nns).
7947         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7948         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
7949         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7950         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7951         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7952         member.
7953         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7954         l_phnum members.
7956 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
7958         * manual/debug.texi: Document MTASC-safety properties.
7960 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
7962         [BZ #16510]
7963         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7964         of __x86_64__ when disabling x87 inline functions.
7966 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
7968         * manual/charset.texi: Document MTASC-safety properties.
7970         * manual/crypt.texi: Document MTASC-safety properties.
7972         * manual/conf.texi: Document MTASC-safety properties.
7974         * manual/arith.texi: Document MTASC-safety properties.
7976         * manual/argp.texi: Document MTASC-safety properties.
7978         * manual/macros.texi: Introduce macros to document multi
7979         thread, asynchronous signal and asynchronous cancellation
7980         safety properties.
7981         * manual/intro.texi: Introduce the properties themselves.
7983 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7985         * sysdeps/sh/sh4/Makefile: New file.
7987 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
7989         * math/gen-libm-test.pl ($srcdir): New variable.
7990         ($auto_input): Use it.
7992 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7994         [BZ #16506]
7995         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7996         access beyond array bounds when parsing netgroups file.
7998         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7999         the old buffer before realloc.
8001 2014-01-27  Allan McRae  <allan@archlinux.org>
8003         * po/fr.po: Update French translation from translation project.
8005 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8007         * sysdeps/sh/libm-test-ulps: Regenerate.
8009 2014-01-24  David S. Miller  <davem@davemloft.net>
8011         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8013 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8015         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8016         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8018 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8020         [BZ #16474]
8021         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8022         string pointers after reallocation.
8024 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8026         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8027         __SH4A__ instead of __SH_FPU_ANY__.
8029 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8031         * sysdeps/sh/fpu_control.h: New file.
8032         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8033         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8034         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8035         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8036         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8037         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8038         * sysdeps/sh/sys/ucontext.h: Remove.
8039         * sysdeps/sh/sys: Remove directory.
8041 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8043         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8044         s390/sys/ucontext.h.
8045         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8046         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8048 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
8050         [BZ #15605]
8051         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8053 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8055         [BZ#16431]
8056         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8057         Adjust the vDSO correctly for internal calls.
8058         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8060 2014-01-20  Allan McRae  <allan@archlinux.org>
8062         * po/ca.po: Update Catalan translation from translation project.
8064 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
8066         * sysdeps/s390/sotruss-lib.c: New file.
8068 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8070         [BZ#16430]
8071         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8072         (__GI___gettimeofday): Alias for a different internal symbol to avoid
8073         local calls issues by not having a PLT stub required for IFUNC calls.
8074         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8076 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
8078         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8079         * math/test-fpucw-static.c: Likewise.
8081 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8083         [BZ #16453]
8084         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8086 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8088         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8089         implementation for powerpc.
8091 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
8093         [BZ #14782]
8094         * sysdeps/posix/system.c (__libc_system): Do not enable
8095         asynchronous cancellation.
8097 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8099         [BZ #16427]
8100         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8101         handling only for numbers special also in the IEEE case.
8103 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8105         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8107 2014-01-11  Allan McRae  <allan@archlinux.org>
8109         * po/bg.po: Update Bulgarian translation from translation project.
8111         * po/de.po: Update German translation from translation project.
8113 2014-01-10  Roland McGrath  <roland@hack.frob.com>
8115         * sysdeps/generic/gcc-compat.h: New file.
8117 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8119         * benchtests/asin-inputs: Correct slow inputs.
8120         * benchtests/acos-inputs: Likewise.
8122 2014-01-10  Allan McRae  <allan@archlinux.org>
8124         * po:sv.po: Update Swedish translation from translation project.
8126         * po/vi.po: Update Vietnamese translation from translation project.
8128         * po/eo.po: Update Esperanto translation from translation project.
8130         * po/cs.po: Update Czech translation from translation project.
8132         * po/nl.po: Update Dutch translation from translation project.
8134         * po/pl.po: Update Polish translation from translation project.
8136         * po/ru.po: Update Russian translation from translation project.
8138         * po/uk.po: Update Ukrainian translation from translation project.
8140 2014-01-08  Brooks Moses  <bmoses@google.com>
8142         * elf/dl-load.c: Fix comment typo.
8144 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
8146         * po/header.pot: Rename to...
8147         * po/pot.header: ... this.
8148         * po/Makefile: Use pot.header.
8150 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
8151             Maxim Kuvyrkov  <maxim@kugelworks.com>
8153         [BZ #16394]
8154         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8155         SRC and DEST against LEN.
8157 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8159         [BZ #16414]
8160         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8161         implementation.
8162         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8164 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8168 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
8170         [BZ #16408]
8171         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8172         for large positive arguments.
8174 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
8176         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8178         * math/auto-libm-test-in: Mark various tests with
8179         xfail-rounding:ldbl-128ibm.
8180         * math/auto-libm-test-out: Regenerated.
8182         [BZ #16407]
8183         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8184         Increase overflow threshold.
8186 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
8188         [BZ #14286]
8189         * stdio-common/vfprintf.c: Check for integer overflow.
8191 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8193         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8194         the first argument and return value of __tls_get_addr_internal.
8196 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8198         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8199         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8201 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8203         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8204         * sysdeps/s390/rtld-global-offsets.sym: New file.
8205         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8206         GLIBC_2.19 symbol.
8207         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8208         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8209         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8210         ... this.
8211         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8212         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8213         ... this.
8214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8215         Regenerate.
8216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8217         Regenerate.
8218         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8219         halfs of GPRs for high_gprs contexts.
8220         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8221         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
8222         field.
8223         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8224         uc_flags field.
8225         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8226         64 bit versions:
8227         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8228         for high GPRs (uc_high_gprs) and for future extensions
8229         (__reserved).
8230         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8231         for future extensions (__reserved).
8232         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8233         64 bit versions:
8234         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8235         SC_HIGHGPRS offset definition.
8236         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8237         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8239         * Versions.def: Add GLIBC_2.19 for libpthread.
8240         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8241         siglongjmp for libpthread with GLIBC_2.19 symver.
8242         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8243         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8244         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8245         * sysdeps/s390/__longjmp.c: New file.
8246         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8247         * sysdeps/s390/longjmp.c: New file.
8248         * sysdeps/s390/setjmp.S: New file.
8249         * sysdeps/s390/sigjmp.S: New file.
8250         * sysdeps/s390/v1-longjmp.c: New file.
8251         * sysdeps/s390/v1-setjmp.h: New file.
8252         * sysdeps/s390/v1-sigjmp.c: New file.
8253         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8254         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8255         GLIBC_2.19 version.
8256         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8257         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8258         versioned symbols for ____longjmp_chk.
8259         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8260         Likewise.
8261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8262         Regenerate.
8263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8264         Regenerate.
8265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8266         Regenerate.
8267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8268         Regenerate.
8269         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8270         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8271         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8272         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8273         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8274         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8275         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8276         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8277         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8278         * sysdeps/s390/rtld-__longjmp.c: New file.
8279         * sysdeps/s390/rtld-setjmp.S: New file.
8281 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
8283         [BZ #16400]
8284         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8285         Return -__logl (x) for small positive arguments without evaluating
8286         a polynomial.
8288 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
8290         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8291         Rename to ...
8292         (__ptrace_peeksiginfo_args): ... this.
8293         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8294         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8295         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8297 2014-01-06  Allan McRae  <allan@archlinux.org>
8299         * inet/netinet/in.h: Fix typo in comment.
8301 2014-01-05  Andreas Jaeger  <aj@suse.de>
8303         * sysdeps/i386/fpu/libm-test-ulps: Update.
8305 2014-01-05  Allan McRae  <allan@archlinux.org>
8307         * po/libc.pot: Regenerated.
8309         * malloc/memusagestat.c: Fix gettext call formatting.
8311 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
8313         * nscd/nscd.c: Improve usage() output.
8315 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
8317         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8318         * sysdeps/unix/sysv/linux/configure: Regenerated.
8319         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8320         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8322 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8324         [BZ #16390]
8325         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8326         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8328 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8330         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8331         extra tokens at end of #undef directive.
8332         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8333         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8334         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8336 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8338         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8340         * math/auto-libm-test-in: Mark various tests with
8341         xfail-rounding:ldbl-128ibm.
8342         * math/auto-libm-test-out: Regenerated.
8344 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8346         [BZ #16386]
8347         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8348         numbers with subnormal high part when calculating exponent.
8350         [BZ #16385]
8351         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8352         fabs.
8354         [BZ #16384]
8355         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8356         M_LN2l.
8357         (__ieee754_acoshl): Use __log1pl not __log1p.
8359 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
8361         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8362         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8363         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8364         (grow_heap, heap_trim, _int_new_arena, get_free_list)
8365         (reused_arena, arena_get2): Convert to GNU style.
8366         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8367         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8368         (memalign_check, __malloc_set_state): Likewise.
8369         * malloc/mallocbug.c (main): Likewise.
8370         * malloc/malloc.c (__malloc_assert, malloc_init_state)
8371         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8372         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8373         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8374         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8375         (__posix_memalign, malloc_info): Likewise.
8376         * malloc/malloc.h: Likewise.
8377         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8378         (mallochook, memalignhook, reallochook, mabort): Likewise.
8379         * malloc/mcheck.h: Likewise.
8380         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8381         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8382         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8383         * malloc/morecore.c (__default_morecore): Likewise.
8384         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8385         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8386         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8387         (print_and_abort): Likewise.
8388         * malloc/obstack.h: Likewise.
8389         * malloc/set-freeres.c (__libc_freeres): Likewise.
8390         * malloc/tst-mallocstate.c (main): Likewise.
8391         * malloc/tst-mtrace.c (main): Likewise.
8392         * malloc/tst-realloc.c (do_test): Likewise.
8394 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8396         [BZ #16366]
8397         * nscd/netgroupcache.c (do_notfound): New function.
8398         (addgetnetgrentX): Use it.
8400         [BZ # 16365]
8401         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8402         NSS_STATUS_NOTFOUND.
8404 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
8406         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8409 2014-01-01  Allan McRae  <allan@archlinux.org>
8411         * scripts/update-copyrights: Update configure input file suffix.
8413         * NEWS: Update copyright year.
8414         * catgets/gencat.c: Likewise.
8415         * csu/version.c: Likewise.
8416         * debug/catchsegv.sh: Likewise.
8417         * debug/pcprofiledump.c: Likewise.
8418         * debug/xtrace.sh: Likewise.
8419         * elf/ldconfig.c: Likewise.
8420         * elf/ldd.bash.in: Likewise.
8421         * elf/pldd.c: Likewise.
8422         * elf/sotruss.ksh: Likewise.
8423         * elf/sprof.c: Likewise.
8424         * iconv/iconv_prog.c: Likewise.
8425         * iconv/iconvconfig.c: Likewise.
8426         * locale/programs/locale.c: Likewise.
8427         * locale/programs/localedef.c: Likewise.
8428         * login/programs/pt_chown.c: Likewise.
8429         * malloc/memusage.sh: Likewise.
8430         * malloc/memusagestat.c: Likewise.
8431         * malloc/mtrace.pl: Likewise.
8432         * manual/libc.texinfo: Likewise.
8433         * nscd/nscd.c: Likewise.
8434         * nss/getent.c: Likewise.
8435         * nss/makedb.c: Likewise.
8436         * posix/getconf.c: Likewise.
8437         * scripts/test-installation.pl: Likewise.
8439         * All files with FSF copyright notices: Update copyright dates
8440         using scripts/update-copyrights.
8441         * intl/plural.c: Regenerated.
8442         * locale/programs/charmap-kw.h: Likewise.
8443         * locale/programs/locfile-kw.h: Likewise.
8445 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
8447         * sysdeps/unix/sysv/linux/configure: Regenerated.
8448         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8449         the linux/fanotify.h header.
8450         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8451         HAVE_LINUX_FANOTIFY_H is defined.
8453 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8455         * benchtests/cos-inputs: New inputs.
8456         * benchtests/sin-inputs: Likewise.
8458         * benchtests/atan-inputs: New inputs. Fix name of multiple
8459         precision fallback inputs.
8461         * benchtests/atanh-inputs: New inputs.
8462         * benchtests/tanh-inputs: Likewise.
8464         * benchtests/acosh-inputs: New inputs.
8465         * benchtests/asinh-inputs: Likewise.
8467         * benchtests/cosh-inputs: New inputs.
8468         * benchtests/sinh-inputs: Likewise.
8470         * benchtests/acos-inputs: Add more inputs.
8471         * benchtests/asin-inputs: Likewise.
8473 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
8475         [BZ #16375]
8476         * manual/arith.texi: Fix spelling.
8477         * manual/charset.texi: Likewise.
8478         * manual/errno.texi: Likewise.
8479         * manual/filesys.texi: Likewise.
8480         * manual/lang.texi: Likewise.
8481         * manual/llio.texi: Likewise.
8482         * manual/locale.texi: Likewise.
8483         * manual/message.texi: Likewise.
8484         * manual/resource.texi: Likewise.
8485         * manual/search.texi: Likewise.
8486         * manual/setjmp.texi: Likewise.
8487         * manual/stdio.texi: Likewise.
8488         * manual/string.texi: Likewise.
8489         * manual/sysinfo.texi: Likewise.
8490         * manual/time.texi: Likewise.
8492 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
8494         * po/sl.po: New file.
8496 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
8498         * .gitignore: Add core/.gdbinit/.gdb_history.
8500 2013-12-27  Allan McRae  <allan@archlinux.org>
8502         [BZ #16369]
8503         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8504         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8506 2013-12-24  Brooks Moses  <bmoses@google.com>
8508         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8509         all compilers that claim C++98 compliance, not just GCC.
8510         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8511         Likewise.
8513 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8515         * NEWS: Restore accidentally deleted bug-fix entries.
8517 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8518             Ondřej Bílka  <neleai@seznam.cz>
8520         [BZ #15073]
8521         * malloc/malloc.c (_int_free): Perform sanity check only if we
8522         have_lock.
8524 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
8526         [BZ #12986]
8527         * manual/stdio.texi (String Input Conversions): Clarify that character
8528         classes are not supported.
8530 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8534 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
8536         [BZ #16337]
8537         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8538         Calculate results for small negative arguments directly rather
8539         than using reflection formula with special underflow handling.
8541         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8542         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8543         sysdeps/unix/bsd/bsd4.4/syscalls.list.
8544         (fchflags): Likewise.
8545         (revoke): Likewise.
8546         (setlogin): Likewise.
8547         (sigaltstack): Likewise.
8548         (wait4): Likewise.
8549         (sigblock): Remove.
8550         (sigsetmask): Likewise.
8551         (wait3): Likewise.
8552         (waitpid): Likewise.
8553         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8554         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8555         file.
8556         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8557         * sysdeps/unix/bsd/Makefile: ... here.
8558         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8559         * sysdeps/unix/bsd/Versions: ... here.
8560         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8561         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8562         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8563         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8564         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8565         * sysdeps/unix/bsd/sigblock.c: ... here.
8566         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8567         * sysdeps/unix/bsd/sigsetmask.c: ... here.
8568         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8569         * sysdeps/unix/bsd/sigvec.c: ... here.
8570         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8571         * sysdeps/unix/bsd/tcdrain.c: ... here.
8572         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8573         * sysdeps/unix/bsd/tcgetattr.c: ... here.
8574         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8575         * sysdeps/unix/bsd/tcsetattr.c: ... here.
8576         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8577         * sysdeps/unix/bsd/wait.c: ... here.
8578         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8579         * sysdeps/unix/bsd/wait3.c: ... here.
8580         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8581         * sysdeps/unix/bsd/waitpid.c: ... here.
8583 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
8585         [BZ #16356]
8586         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8587         round-to-nearest for [!USE_AS_EXPM1L].
8588         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8589         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
8590         more tests of exp and exp10.  Expect some exp10 tests to miss
8591         exceptions or fail in directed rounding modes.
8592         * math/auto-libm-test-out: Regenerated.
8593         * math/libm-test.inc (exp10_tonearest_test_data): New array.
8594         (exp10_test_tonearest): New function.
8595         (exp10_towardzero_test_data): New array.
8596         (exp10_test_towardzero): New function.
8597         (exp10_downward_test_data): New array.
8598         (exp10_test_downward): New function.
8599         (exp10_upward_test_data): New array.
8600         (exp10_test_upward): New function.
8601         (main): Call the new functions.
8602         * sysdeps/i386/fpu/libm-test-ulps: Update.
8603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8605 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
8607         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8608         asinh, atan, atan2, atanh, cbrt, cos and cosh.
8609         * math/auto-libm-test-out: Regenerated.
8610         * math/libm-test.inc (acosh_test_data): Add more tests.
8611         (atanh_test_data): Likewise.
8612         (ceil_test_data): Likewise.
8613         (copysign_test_data): Likewise.
8614         * sysdeps/i386/fpu/libm-test-ulps: Update.
8615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8617         * timezone/checktab.awk: Update from tzcode 2013i.
8618         * timezone/private.h: Likewise.
8619         * timezone/scheck.c: Likewise.
8620         * timezone/tzfile.h: Likewise.
8621         * timezone/tzselect.ksh: Likewise.
8622         * timezone/zdump.c: Likewise.
8623         * timezone/zic.c: Likewise.
8625         * math/auto-libm-test-in: Add tests of cpow.
8626         * math/auto-libm-test-out: Regenerated.
8627         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8628         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8629         mpc_cc_c.
8630         (func_calc_desc): Add mpc_cc_c union field.
8631         (test_functions): Add cpow.
8632         (special_fill_2pi): New function.
8633         (special_real_inputs): Add 2pi.
8634         (calc_generic_results): Handle mpc_cc_c.
8635         * sysdeps/i386/fpu/libm-test-ulps: Update.
8636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8638         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8639         csqrt, ctan and ctanh.
8640         * math/auto-libm-test-out: Regenerated.
8641         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8642         (TEST_COND_x86): Likewise.
8643         (ccos_test_data): Use AUTO_TESTS_c_c.
8644         (ccosh_test_data): Likewise.
8645         (cexp_test_data): Likewise.
8646         (clog_test_data): Likewise.
8647         (csqrt_test_data): Likewise.
8648         (ctan_test_data): Likewise.
8649         (ctan_tonearest_test_data): Likewise.
8650         (ctan_towardzero_test_data): Likewise.
8651         (ctan_downward_test_data): Likewise.
8652         (ctan_upward_test_data): Likewise.
8653         (ctanh_test_data): Likewise.
8654         (ctanh_tonearest_test_data): Likewise.
8655         (ctanh_towardzero_test_data): Likewise.
8656         (ctanh_downward_test_data): Likewise.
8657         (ctanh_upward_test_data): Likewise.
8658         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8659         mpc_c_c.
8660         (func_calc_desc): Add mpc_c_c union field.
8661         (FUNC_mpc_c_c): New macro.
8662         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8663         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8664         ctanh.
8665         (special_fill_min_subnorm_p120): New function.
8666         (special_real_inputs): Add min_subnorm_p120.
8667         (calc_generic_results): Handle mpc_c_c.
8668         * sysdeps/i386/fpu/libm-test-ulps: Update.
8669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8671 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8673         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8674         (do_sin_slow): New functions.
8675         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8676         (cslow2, csloww1, csloww2): Use the new functions.
8678         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8679         Use M to change sign of result instead of X.  Assume X is
8680         positive.
8681         (csloww1): Likewise.
8682         (__sin): Adjust.
8683         (__cos): Adjust.
8685         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8686         arguments A and DA.
8687         (__sin): Adjust.
8688         (__cos): Likewise.
8690         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8691         (__cos): Likewise.
8692         (sloww1): Don't adjust sign of DX.
8693         (csloww1): Likewise.
8694         (sloww2): Use X directly and don't adjust sign of DX.
8695         (csloww2): Likewise.
8697 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8699         * math/auto-libm-test-in: Add tests of cabs and carg.
8700         * math/auto-libm-test-out: Regenerated.
8701         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8702         (carg_test_data): Likewise.
8703         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8704         mpc_c_f.
8705         (func_calc_desc): Add mpc_c_f union field.
8706         (test_functions): Add cabs and carg.
8707         (calc_generic_results): Handle mpc_c_f.
8709         * sysdeps/powerpc/powerpc32/libgcc-compat.S
8710         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8711         as a macro and a compat symbol.
8712         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8713         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8714         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8715         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8716         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8717         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8718         not use .hidden.
8719         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8720         Likewise.
8721         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8722         Likewise.
8723         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8724         Likewise.
8725         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8726         Likewise.
8727         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8728         Likewise.
8729         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8730         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8731         from GLIBC_2.3.2.
8733 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8737 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8739         * manual/texinfo.tex: Update to version 2013-11-26.10 with
8740         trailing whitespace removed.
8741         * scripts/config.guess: Update to version 2013-11-29.
8742         * scripts/config.sub: Update to version 2013-10-01.
8744         * math/auto-libm-test-in: Add tests of sincos.
8745         * math/auto-libm-test-out: Regenerated.
8746         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8747         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8748         mpfr_f_11.
8749         (func_calc_desc): Add mpfr_f_11 union field.
8750         (test_functions): Add sincos.
8751         (calc_generic_results): Handle mpfr_f_11.
8752         * sysdeps/i386/fpu/libm-test-ulps: Update.
8753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8755 2013-12-19  Andreas Schwab  <schwab@suse.de>
8757         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8758         CALL_MCOUNT.
8759         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8760         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8761         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8763 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8765         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8766         * sysdeps/i386/fpu/libm-test-ulps: Update.
8767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8769         [BZ #16293]
8770         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8771         round-to-nearest mode when using frndint.
8772         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8773         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8774         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8775         Likewise.
8776         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
8777         sinh test to fail.
8778         * math/auto-libm-test-out: Regenerated.
8779         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8780         (TEST_COND_x86): Likewise.
8781         (expm1_tonearest_test_data): New array.
8782         (expm1_test_tonearest): New function.
8783         (expm1_towardzero_test_data): New array.
8784         (expm1_test_towardzero): New function.
8785         (expm1_downward_test_data): New array.
8786         (expm1_test_downward): New function.
8787         (expm1_upward_test_data): New array.
8788         (expm1_test_upward): New function.
8789         (main): Run the new test functions.
8790         * sysdeps/i386/fpu/libm-test-ulps: Update.
8791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8793         * include/features.h: Update comment documenting feature test
8794         macros.  Mention _DEFAULT_SOURCE in comment.
8795         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8796         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8797         _BSD_SOURCE and _SVID_SOURCE.
8798         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8799         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8800         !_SVID_SOURCE]: Likewise.
8801         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8802         (__USE_POSIX_IMPLICITLY): Define.
8803         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8804         (_POSIX_SOURCE): Undefine and redefine.
8805         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8806         (_POSIX_C_SOURCE): Likewise.
8807         * manual/creature.texi (_DEFAULT_SOURCE): Document.
8808         (Feature Test Macros): Update documentation of default features.
8810 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8812         * benchtests/Makefile: Add bench-strtok.
8813         * benchtests/bench-strtok.c: New file: strtok benchtest.
8815 2013-12-19  Allan McRae  <allan@archlinux.org>
8817         * manual/install.texi: Suppress menu for plain text output.
8818         * INSTALL: Regenerated.
8820 2013-12-18  Brooks Moses  <bmoses@google.com>
8822         [BZ #15846]
8823         * misc/getauxval.c: Include errno.h.
8824         (__getauxval): Set errno to ENOENT if the requested type is not
8825         found.
8826         * misc/sys/auxv.h (getauxval): Document that it may set errno;
8827         don't declare with __attribute_const__.
8828         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8829         * manual/startup.texi: Document that getauxval sets errno.
8831 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8833         * math/auto-libm-test-in: Add tests of jn and yn.
8834         * math/auto-libm-test-out: Regenerated.
8835         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8836         (yn_test_data): Likewise.
8837         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8838         mpfr_if_f.
8839         (func_calc_desc): Add mpfr_if_f union field.
8840         (FUNC_mpfr_if_f): New macro.
8841         (test_functions): Add jn and yn.
8842         (calc_generic_results): Assert type of second input for
8843         mpfr_ff_f.  Handle mpfr_if_f.
8844         (output_for_one_input_case): Disable all checking for arguments
8845         fitting floating-point types in case of an integer argument.
8846         * sysdeps/i386/fpu/libm-test-ulps: Update.
8847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8850         Don't expect fegetround reference in libm.so.
8852 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8854         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8855         $(config-cflags-nofma).
8857 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8859         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8860         * math/auto-libm-test-out: Regenerated.
8862         [BZ #16338]
8863         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8864         to determine exponent and adjust argument to have exponent of -1.
8865         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8866         log2.
8867         * math/auto-libm-test-out: Regenerated.
8868         * sysdeps/i386/fpu/libm-test-ulps: Update.
8869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8871 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
8873         * manual/probes.texi: Remove cases when per-thread arenas are
8874         disabled.
8876 2013-12-18  Andreas Schwab  <schwab@suse.de>
8878         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8879         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8880         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8881         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8882         * sysdeps/i386/i686/multiarch/Makefile: Update.
8883         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8885 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8887         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8888         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8890 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
8892         [BZ #15968]
8893         Support TZ transition times < 00:00:00.
8894         This is needed for version-3 tz-format files; it supports time
8895         stamps past 2037 for America/Godthab (the only entry in the tz
8896         database for which this change is relevant).
8897         * manual/time.texi (TZ Variable): Document transition times
8898         from -167:59:59 through -00:00:01.
8899         * time/tzset.c (tz_rule): Time of day is now signed.
8900         (__tzset_parse_tz): Parse negative time of day.
8902         Document TZ transition times >= 25:00:00.
8903         * manual/time.texi (TZ Variable): Document transition times from
8904         25:00:00 through 167:59:59.  These are already supported, and this
8905         support will help with version-3 tz-format files.
8907         * manual/time.texi (TZ Variable): Modernize North America example
8908         to reflect current (i.e., 2007-and-later) daylight saving rules.
8910         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8912 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8914         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8915         * sysdeps/unix/bsd/bits/stat.h: Likewise.
8916         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8917         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8918         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8919         * sysdeps/unix/bsd/bsdstat.h: Likewise.
8920         * sysdeps/unix/bsd/clock.c: Likewise.
8921         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8922         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8923         * sysdeps/unix/bsd/init-posix.c: Likewise.
8924         * sysdeps/unix/bsd/poll.c: Likewise.
8925         * sysdeps/unix/bsd/ptsname.c: Likewise.
8926         * sysdeps/unix/bsd/seekdir.c: Likewise.
8927         * sysdeps/unix/bsd/setegid.c: Likewise.
8928         * sysdeps/unix/bsd/seteuid.c: Likewise.
8929         * sysdeps/unix/bsd/setgid.c: Likewise.
8930         * sysdeps/unix/bsd/setrgid.c: Likewise.
8931         * sysdeps/unix/bsd/setruid.c: Likewise.
8932         * sysdeps/unix/bsd/setsid.c: Likewise.
8933         * sysdeps/unix/bsd/setuid.c: Likewise.
8934         * sysdeps/unix/bsd/sigaction.c: Likewise.
8935         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8936         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8937         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8938         * sysdeps/unix/bsd/telldir.c: Likewise.
8939         * sysdeps/unix/bsd/times.c: Likewise.
8940         * sysdeps/unix/bsd/usleep.c: Likewise.
8942         * misc/Makefile (install-lib): Remove libbsd-compat.a.
8943         ($(objpfx)libbsd-compat.a): Remove rule.
8945         * include/features.h (__FAVOR_BSD): Do not define.
8946         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8947         features conflicting with POSIX.
8948         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8949         (_BSD_SOURCE): Remove description of not being a subset of other
8950         feature test macros.
8951         * manual/job.texi (getpgrp): Do not document BSD version.
8952         (getpgid): Do not document by reference to BSD getpgrp.
8953         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8954         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8955         * signal/signal.h [__FAVOR_BSD]: Likewise.
8956         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8957         instead of making contents conditional on [__FAVOR_BSD].
8958         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8960 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8964 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8966         [BZ #16314]
8967         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8968         values below 2**-450, not 2**-500.
8969         * math/auto-libm-test-in: Don't allow spurious underflow from
8970         hypot.
8971         * math/auto-libm-test-out: Regenerated.
8973         [BZ #16316]
8974         [BZ #16330]
8975         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8976         values of ha and hb and sort them after adjusting subnormal
8977         arguments.
8978         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8979         Likewise.
8980         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8981         values of ea and eb and sort them after adjusting subnormal
8982         arguments.
8983         * math/auto-libm-test-in: Do not expect some hypot tests of
8984         subnormals to fail.  Add more hypot tests.
8985         * math/auto-libm-test-out: Regenerated.
8987 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8989         [BZ #13304]
8990         * sysdeps/sh/s_fma.c: New file.
8991         * sysdeps/sh/s_fmaf.c: New file.
8992         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
8993         version.
8994         * sysdeps/sh/Implies: Add sh/soft-fp.
8996 2013-12-16  Roland McGrath  <roland@hack.frob.com>
8998         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
8999         level of indirection to members `objname', `errstring', `malloced'.
9000         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9001         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
9002         it as the __longjmp argument (just pass 1 instead).
9003         (_dl_catch_error): Initialize C with argument pointers and address of
9004         volatile local ERRCODE rather than copying values out of C at return.
9006 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
9008         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9009         * math/auto-libm-test-out: Regenerated.
9010         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9011         (hypot_test_data): Likewise.
9012         (pow_test_data): Likewise.
9013         (pow_tonearest_test_data): Likewise.
9014         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9015         mpfr_ff_f.
9016         (func_calc_desc): Add mpfr_ff_f union field.
9017         (FUNC_mpfr_ff_f): New macro.
9018         (test_functions): Add atan2, hypot and pow.
9019         (special_fill_min): New function.
9020         (special_fill_minus_min): Likewise.
9021         (special_fill_min_subnorm): Likewise.
9022         (special_fill_minus_min_subnorm): Likewise.
9023         (special_real_inputs): Add min, -min, min_subnorm and
9024         -min_subnorm.
9025         (calc_generic_results): Handle mpfr_ff_f.
9026         * sysdeps/i386/fpu/libm-test-ulps: Update.
9027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9029 2013-12-16  Will Newton  <will.newton@linaro.org>
9031         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9032         (Aligned Memory Blocks): Add documentation for aligned_alloc
9033         and suggest it as an alternative to posix_memalign.
9034         (Hooks for Malloc): Document __memalign_hook is also called
9035         for aligned_alloc.  (Summary of Malloc): Add summary for
9036         aligned alloc.  Document __memalign_hook is also called
9037         for aligned_alloc.
9039 2013-12-16  Will Newton  <will.newton@linaro.org>
9041         * manual/memory.texi (Malloc Examples): Clarify default
9042         alignment documentation.  Suggest posix_memalign rather
9043         than memalign or valloc.
9044         (Aligned Memory Blocks): Remove suggestion to use memalign
9045         or valloc.  Remove obsolete comment about BSD.
9046         Document memalign errno values and mark the function obsolete.
9047         Document posix_memalign returned error codes.  Mark valloc
9048         as obsolete.  (Hooks for Malloc): __memalign_hook is also
9049         called for posix_memalign and valloc.
9050         (Summary of Malloc): Add posix_memalign to function summary.
9051         __memalign_hook is also called for posix_memalign and valloc.
9053 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9055         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9056         TAYLOR_SIN.
9057         (__sin): Adjust.
9058         (__cos): Likewise.
9059         (sloww): Use mynumber union.  Expand ternary operator into
9060         if-else statements.
9061         (cslow): use mynumber union.
9063 2013-12-16  Allan McRae  <allan@archlinux.org>
9065         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9066         * configure: Regenerated.
9068         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9070         [BZ #14120]
9071         * configure.ac: Added --enable-maintainer-mode. Check for
9072         autoconf when enabled.
9073         * configure: Regenerated.
9075         * nscd/nscd.service: New file.
9076         * nscd/nscd.tmpfiles: New file.
9078 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
9080         [BZ #12100]
9081         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9082         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9083         * sysdeps/x86_64/multiarch/strstr.c: ... here.
9084         (strstr): Add __strstr_sse2_unaligned ifunc.
9085         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9086         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9087         (strcasestr): Remove __strcasestr_sse42 ifunc.
9088         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9089         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9090         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9092 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9094         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9095         * sysdeps/sh/bits/fenv.h: ... here.
9096         * sysdeps/sh/sh4/fpu/bits: Remove directory.
9098 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9100         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9102         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9103         hypotf multiarch implementations.
9104         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9105         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9106         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9107         multiarch hypot for PPC64.
9108         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9109         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9110         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9111         multiarch hypotf for PPC64.
9113         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9114         modff multiarch implementations.
9115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9118         multiarch modf for PPC64.
9119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9122         multiarch modff for PPC64.
9124         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9125         and logl multiarch implementations.
9126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9129         multiarch logb for PPC64.
9130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9133         multiarch logb for PPC64.
9134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9137         multiarch logb for PPC64.
9139         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9140         isinff multiarch implementation.
9141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9142         file.
9143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9145         multiarch isinf for PPC64.
9146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9147         file.
9148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9149         multiarch isinff for PPC64.
9151         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9152         finitef multiarch implementation.
9153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9154         file.
9155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9157         multiarch finite for PPC64.
9158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9159         file.
9160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9161         multiarch finitef for PPC64.
9163         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9164         lrint multiarch implementation.
9165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9166         file.
9167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9169         multiarch llrint for PPC64.
9170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9171         multiarch lrint for PPC64.
9173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9174         copysignf multiarch implementation.
9175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9176         file.
9177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9178         file.
9179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9180         multiarch copysign for PPC64.
9181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9182         multiarch copysignf for PPC64.
9184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9185         multiarch implementation.
9186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9187         file.
9188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9189         file.
9190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9191         file.
9192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9193         file.
9194         multiarch llround for PPC64.
9195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9196         multiarch trunc for PPC64.
9197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9198         multiarch truncf for PPC64.
9200         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9201         multiarch implementation.
9202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9203         file.
9204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9205         file.
9206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9207         file.
9208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9209         file.
9210         multiarch llround for PPC64.
9211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9212         multiarch round for PPC64.
9213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9214         multiarch roundf for PPC64.
9216         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9217         multiarch implementation.
9218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9219         file.
9220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9221         file.
9222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9223         file.
9224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9225         file.
9226         multiarch llround for PPC64.
9227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9228         multiarch floor for PPC64.
9229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9230         multiarch floorf for PPC64.
9232         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9233         multiarch implementation.
9234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9235         file.
9236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9237         file.
9238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9239         file.
9240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9241         file.
9242         multiarch llround for PPC64.
9243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9244         multiarch ceil for PPC64.
9245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9246         multiarch ceilf for PPC64.
9248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9249         multiarch implementation.
9250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9251         file.
9252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9253         file.
9254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9255         file.
9256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9257         multiarch llround for PPC64.
9258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9259         multiarch lround for PPC64.
9261         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9262         multiarch implementation.
9263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9266         file.
9267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9270         multiarch isnan for PPC64.
9271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9272         multiarch isnanf for PPC64.
9274         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9275         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9276         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9277         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9278         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9281         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9282         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9283         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9284         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9286         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9287         multiarch implementations.
9288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9289         (__libc_ifunc_impl_list): Likewise.
9290         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9291         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9292         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9293         multiarch stpcpy for PPC64.
9295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9296         multiarch implementations.
9297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9298         (__libc_ifunc_impl_list): Likewise.
9299         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9300         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9301         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9302         multiarch strcpy for PPC64.
9304         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9305         redefine function name.
9306         (_wordcopy_fwd_dest_aligned): Likewise.
9307         (_wordcopy_bwd_aligned): Likewise.
9308         (_wordcopy_bwd_dest_aligned): Likewise.
9309         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9310         multiarch implementations.
9311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9312         (__libc_ifunc_impl_list): Likewise.
9313         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9314         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9315         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9316         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9317         multiarch wcscpy for PPC64.
9319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9320         multiarch implementations.
9321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9322         (__libc_ifunc_impl_list): Likewise.
9323         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9324         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9325         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9326         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9327         multiarch wcscpy for PPC64.
9329         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9330         multiarch implementations.
9331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9332         (__libc_ifunc_impl_list): Likewise.
9333         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9334         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9335         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9336         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9337         multiarch wcsrchr for PPC64.
9339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9340         multiarch implementations.
9341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9342         (__libc_ifunc_impl_list): Likewise.
9343         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9344         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9345         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9346         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9347         multiarch wcschr for PPC64.
9349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9350         multiarch implementations.
9351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9352         (__libc_ifunc_impl_list): Likewise.
9353         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9354         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9355         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9356         multiarch strchrnul for PPC64.
9358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9359         implementations.
9360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9361         (__libc_ifunc_impl_list): Likewise.
9362         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9363         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9364         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9365         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9366         strchr for PPC64.
9368         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9369         implementations.
9370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9371         (__libc_ifunc_impl_list): Likewise.
9372         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9373         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9374         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9375         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9376         strncmp for PPC64.
9378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9379         multiarch implementations.
9380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9381         (__libc_ifunc_impl_list): Likewise.
9382         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9383         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9384         strncasecmp for PPC64.
9385         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9386         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9387         multiarch strncasecmp_l for PPC64.
9389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9390         multiarch implementations.
9391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9392         (__libc_ifunc_impl_list): Likewise.
9393         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9394         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9395         multiarch strcasecmp for PPC64.
9396         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9397         file.
9398         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9399         multiarch strcasecmp_l for PPC64.
9401         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9402         implementations.
9403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9404         (__libc_ifunc_impl_list): Likewise.
9405         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9406         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9407         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9408         strnlen for PPC64.
9410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9411         implementations.
9412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9413         (__libc_ifunc_impl_list): Likewise.
9414         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9415         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9416         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9417         strlen for PPC64.
9419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9420         implementations.
9421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9422         (__libc_ifunc_impl_list): Likewise.
9423         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9424         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9425         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9426         rawmemrchr for PPC64.
9428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9429         implementation.
9430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9431         (__libc_ifunc_impl_list): Likewise.
9432         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9433         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9434         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9435         memrchr for PPC64.
9437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9438         implementation.
9439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9440         (__libc_ifunc_impl_list): Likewise.
9441         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9442         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9443         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9444         memchr for PPC64.
9446         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9447         implementation.
9448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9449         (__libc_ifunc_impl_list): Likewise.
9450         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9451         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9452         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9453         mempcpy for PPC64.
9455         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9456         avoid cretion of __bzero symbol.
9457         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9458         Likewise.
9459         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9460         Likewise.
9461         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9462         Likewise.
9463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9464         multiarch implementations.
9465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9466         (__libc_ifunc_impl_list): Likewise.
9467         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9468         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9469         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9470         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9471         bzero for PPC32.
9472         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9473         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9474         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9475         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9476         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9477         memset for PPC64.
9478         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9480         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9482         implementations.
9483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9484         (__libc_ifunc_impl_list): Likewise.
9485         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9486         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9487         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9488         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9489         memcmp for PPC64.
9491         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9492         multiarch for POWER/PPC64.
9493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9494         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9495         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9496         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9497         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9498         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9499         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9500         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9501         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9502         memcpy for PPC64.
9504         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9505         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9506         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9507         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9508         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9509         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9510         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9511         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9512         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9513         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9514         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9515         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9516         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9517         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9518         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9527 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9529         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9531 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9533         * benchtests/Makefile (bench): Add exp2 and log2.
9534         (LDLIBS-bench-exp2): Add -lm.
9535         (LDLIBS-bench-log2): Likewise.
9536         * benchtests/exp2-inputs: New inputs file.
9537         * benchtests/log2-inputs: New inputs file.
9538         * benchtests/log-inputs: Add new inputs.
9539         * benchtests/tan-inputs: Likewise.
9541 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9543         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9544         definition...
9545         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9546         (csloww2): ... from here.
9548         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9549         instead of structures.
9550         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9551         (POLYNOMIAL): Likewise.
9552         (TAYLOR_SLOW): Likewise.
9553         (__sin): Likewise.
9554         (__cos): Likewise.
9555         (slow1): Likewise.
9556         (slow2): Likewise.
9557         (sloww): Likewise.
9558         (sloww1); Likewise.
9559         (sloww2): Likewise.
9560         (bsloww1): Likewise.
9561         (bsloww2): Likewise.
9562         (cslow2): Likewise.
9563         (csloww): Likewise.
9564         (csloww1): Likewise.
9565         (csloww2): Likewise.
9567 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
9569         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9570         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9571         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9572         * malloc/hooks.c (realloc_check): Likewise.
9574         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9575         * malloc/arena.c: Remove PER_THREAD conditional.
9576         [!PER_THREAD]: Remove code.
9577         (ptmalloc_unlock_all2): Likewise.
9578         (ptmalloc_init): Likewise.
9579         (_int_new_arena): Likewise.
9580         (arena_get2): Likewise.
9581         * malloc/hooks.c (__malloc_get_state): Likewise.
9582         (__malloc_set_state): Likewise.
9583         * malloc/malloc.c: Likewise.
9584         (struct malloc_state): Likewise.
9585         (struct malloc_par): Likewise.
9586         (__libc_realloc): Likewise.
9587         (__libc_mallopt): Likewise.
9589 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9591         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9593 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
9595         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9596         macro to a function.  Check for zero perturb_byte.
9597         (_int_malloc, _int_free): Remove zero perturb_byte checks.
9599         * malloc/malloc.c: (force_reg): Remove.
9600         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9601         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9602         force_reg by atomic_forced_read.
9603         * malloc/arena.c (ptmalloc_init): Likewise.
9604         * malloc/hooks.c (top_check): Likewise.
9606 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9610 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
9612         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9614 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
9616         * math/auto-libm-test-in: Add tests of lgamma.
9617         * math/auto-libm-test-out: Regenerated.
9618         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9619         (M_LOG_2_SQRT_PIl): Likewise.
9620         (lgamma_test_data): Use AUTO_TESTS_f_f1.
9621         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9622         mpfr_f_f1.
9623         (func_calc_desc): Add mpfr_f_f1 union field.
9624         (ARGS1): New macro.
9625         (ARGS2): Likewise.
9626         (ARGS3): Likewise.
9627         (ARGS4): Likewise.
9628         (RET1): Likewise.
9629         (RET2): Likewise.
9630         (CALC): Likewise.
9631         (FUNC): Likewise.
9632         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9633         (test_functions): Add lgamma.
9634         (calc_generic_results): Handle mpfr_f_f1.
9635         * sysdeps/i386/fpu/libm-test-ulps: Update.
9636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9638 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9640         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9641         __mpn_add_n for PowerPC64/POWER7.
9642         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9643         __mpn_sub_n for PowerPC64/POWER7.
9645         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9646         __mpn_addmul_1 for PowerPC64.
9647         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9648         __mpn_submul_1 for PowerPC64.
9649         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9650         for PowerPC64.
9651         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9652         for PowerPC64.
9654 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
9656         [BZ #15089]
9657         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9659 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9661         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9663         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9664         add multiarch folders.
9665         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9666         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9667         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9668         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9669         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9670         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9671         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9672         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9673         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9674         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9675         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9684         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9686         New file.
9687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9688         New file.
9689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9690         multiarch __ieee754_hypot for PowerPC32.
9691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9692         New file.
9693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9694         New file.
9695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9696         multiarch __ieee754_hypotf for PowerPC32.
9698         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9699         long_double_symbol only if __logbl is defined.
9700         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9701         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9702         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9703         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9704         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9705         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9706         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9707         path for implementation.
9708         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9709         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9711         logb, and logbl multiarch implementations for PowerPC32.
9712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9713         file.
9714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9715         file.
9716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9717         multiarch logb for PowerPC32.
9718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9719         file.
9720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9721         file.
9722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9723         multiarch logbf for PowerPC32.
9724         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9726         file.
9727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9728         multiarch logbl implementation for PowerPC32.
9730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9731         and modff multiarch implementations.
9732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9733         New file.
9734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9735         New file.
9736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9737         multiarch modf for PowerPC32.
9738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9739         New file.
9740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9741         New file.
9742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9743         multiarch modff for PowerPC32.
9745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9746         and lrintf multiarch implementations.
9747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9748         New file.
9749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9750         New file.
9751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9752         multiarch lrint for PowerPC32.
9753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9754         file: multiarch lrintf for PowerPC32.
9756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9757         and lroundf multiarch implementations.
9758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9759         New file.
9760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9761         New file.
9762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9763         New file.
9764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9765         multiarch lround for PowerPC32.
9766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9767         file: multiarch lroundf for PowerPC32.
9769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9770         copysign and copysignf multiarch implementations.
9771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9772         New file.
9773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9774         New file.
9775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9776         file: multiarch copysign for PowerPC32.
9777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9778         file: multiarch copysignf for PowerPC32.
9780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9781         and truncf multiarch implementations.
9782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9783         New file.
9784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9785         file.
9786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9787         multiarch trunc for PowerPC32.
9788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9789         New file.
9790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9791         New file.
9792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9793         multiarch truncf for PowerPC32.
9795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9796         and roundf multiarch implementations.
9797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9798         New file.
9799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9800         file.
9801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9802         multiarch round for PowerPC32.
9803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9804         New file.
9805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9806         New file.
9807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9808         multiarch roundf for PowerPC32.
9810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9811         and floorf multiarch implementations.
9812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9813         New file.
9814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9815         file.
9816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9817         multiarch floor for PowerPC32.
9818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9819         New file.
9820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9821         New file.
9822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9823         multiarch floorf for PowerPC32.
9825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9826         and ceilf multiarch implementations.
9827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9828         New file.
9829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9830         file.
9831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9832         multiarch ceil for PowerPC32.
9833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9834         New file.
9835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9836         file.
9837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9838         multiarch ceilf for PowerPC32.
9840         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9841         is defined.
9842         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9843         FINITEF is defined.
9844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9845         and finitef multiarch implementations.
9846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9847         New file.
9848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9849         file.
9850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9851         multiarch finite for PowerPC32.
9852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9853         New file.
9854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9855         file: multiarch finitef for PowerPC32.
9857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9858         and isinff multiarch implementations.
9859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9860         file.
9861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9862         file.
9863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9864         multiarch isinf for PowerPC32.
9865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9866         New file.
9867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9868         multiarch isinff for PowerPC32.
9870         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9871         alias when __isnan is defined.
9872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9873         and isnanf multiarch implementations.
9874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9875         file.
9876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9877         file.
9878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9879         file.
9880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9881         file.
9882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9883         multiarch isnan for PowerPC32.
9884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9885         New file.
9886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9887         New file.
9888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9889         multiarch isnanf for PowerPC32.
9891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9892         and sqrtf multiarch implementations.
9893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9894         file.
9895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9896         file.
9897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9898         multiarch sqrt for PowerPC32.
9899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9900         file.
9901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9902         file.
9903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9904         multiarch sqrtf for PowerPC32.
9906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9907         and llroundf multiarch implementations.
9908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9909         New file.
9910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9911         New file.
9912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9913         New file.
9914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9915         file: multiarch llround for PowerPC32.
9916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9917         file: multiarch llroundf for PowerPC32.
9919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9920         multiarch PowerPC32 fpu implementations.
9921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9922         New file.
9923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9924         New file.
9925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9926         multiarch llrint for PowerPC32.
9927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9928         New file.
9929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9930         New file.
9931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9932         file.
9934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9936         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9937         file.
9938         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9939         file.
9940         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9941         file.
9942         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9943         multiarch wordcopy for PPC32.
9944         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9945         wordcopy objects.
9946         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9947         (__libc_ifunc_impl_list): Likewise.
9948         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9949         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9950         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9951         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9952         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9953         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9955         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9957         file.
9958         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9959         file.
9960         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9961         file.
9962         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9963         multiarch wcscpy for PPC32.
9964         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9965         multiarch objects.
9966         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9967         (__libc_ifunc_impl_list): Likewise.
9968         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9969         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9970         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9971         sysdeps/powerpc/power6/wcscpy.c.
9973         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9974         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9975         file.
9976         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9977         file.
9978         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9979         file.
9980         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9981         multiarch wcsrchr for PPC32.
9982         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9983         multiarch objects.
9984         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9985         (__libc_ifunc_impl_list): Likewise.
9986         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9987         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9988         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9989         sysdeps/powerpc/power6/wcsrchr.c.
9991         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9992         file.
9993         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9994         file.
9995         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9996         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9997         multiarch wcschr for PPc32.
9998         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9999         multiarch objects.
10000         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10001         (__libc_ifunc_impl_list): Likewise.
10002         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10003         * sysdeps/powerpc/power6/wcschr.c: ... to here.
10004         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10005         sysdeps/powerpc/power6/wcschr.c.
10007         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10008         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10009         file.
10010         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10011         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10012         file: multiarch strchr for PPC32.
10013         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10014         multiarch objects.
10015         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10016         (__libc_ifunc_impl_list): Likewise.
10018         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10019         name.
10020         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10021         file.
10022         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10023         file.
10024         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10025         multiarch strchrnul for PPC32.
10026         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10027         multiarch objects.
10028         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10029         (__libc_ifunc_impl_list): Likewise.
10031         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10032         file.
10033         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10034         multiarch strncasecmp for PPC32.
10035         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10036         file.
10037         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10038         multiarch strncasecmp_l for PPC32.
10039         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10040         strncasecmp multiarch objects.
10041         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10042         (__libc_ifunc_impl_list): Likewise.
10044         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10045         file.
10046         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10047         multiarch strncasecmp for PPC32.
10048         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10049         New file.
10050         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10051         multiarch strcasecmp_l for PPC32.
10052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10053         multiarch objects.
10054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10055         (__libc_ifunc_impl_list): Likewise.
10057         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10058         file.
10059         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10060         file.
10061         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10062         multiarch strncmp for PPC32.
10063         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10064         multiarch objects.
10065         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10066         (__libc_ifunc_impl_list): Likewise.
10068         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10069         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10070         file.
10071         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10072         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10073         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10074         multiarch objects.
10075         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10076         (__libc_ifunc_impl_list): Likewise.
10078         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10079         file.
10080         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10081         file.
10082         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10083         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10084         multiarch objects.
10085         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10086         (__libc_ifunc_impl_list): Likewise.
10088         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10089         file.
10090         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10091         file.
10092         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10093         multiarch rawmemchr for PPC32.
10094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10095         multiarch objects.
10096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10097         (__libc_ifunc_impl_list): Likewise.
10099         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10100         file.
10101         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10102         file.
10103         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10104         file: memrchr multiarch for PPC32.
10105         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10106         multiarch objects.
10107         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10108         (__libc_ifunc_impl_list): Likewise.
10110         * string/memchr.c (__memchr): Using macro to redefine symbol name.
10111         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10112         file.
10113         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10114         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10115         multiarch memchr for PPC32.
10116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10117         multiarch objects.
10118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10119         (__libc_ifunc_impl_list): Likewise.
10121         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10122         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10123         file.
10124         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10125         file.
10126         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10127         file: multiarch mempcpy for PPC32.
10128         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10129         multiarch objects.
10130         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10131         (__libc_ifunc_impl_list): Likewise.
10133         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10134         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10135         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10136         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10137         multiarch bzero for PPC32.
10138         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10139         file.
10140         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10141         file.
10142         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10143         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10144         file: multiarch memset for PPC32.
10145         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10146         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10147         memset multiarch objects.
10148         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10149         (__libc_ifunc_impl_list): Likewise.
10151         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10152         file.
10153         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10154         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10155         memcmp for PPC32.
10156         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10157         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10158         multiarch objects.
10159         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10160         (__libc_ifunc_impl_list): Likewise.
10162         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10163         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10164         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10165         file.
10166         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10167         file.
10168         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10169         file.
10170         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10171         multiarch memcpy for PPC32.
10172         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10173         multiarch objects.
10174         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10175         (__libc_ifunc_impl_list): Likewise.
10177         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10178         support multiarch for POWER/PPC32.
10179         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10180         Likewise.
10181         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10183         Implies file to make multiarch folder appers before the fpu and
10184         default folder for power4 configuration.
10186 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10188         * scripts/bench.pl: Append volatile keyword to type.
10190 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10192         * sysdeps/sh/sotruss-lib.c: New file.
10193         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10195 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10199 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
10201         [BZ #6810]
10202         * math/w_tgamma.c: Include <errno.h>.
10203         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
10204         * math/w_tgammaf.c: Include <errno.h>.
10205         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
10206         * math/w_tgammal.c: Include <errno.h>.
10207         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
10208         * math/auto-libm-test-in: Do not allow missing errno on tgamma
10209         underflow.  Add more tgamma tests.
10210         * math/auto-libm-test-out: Regenerated.
10211         * sysdeps/i386/fpu/libm-test-ulps: Update.
10212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10214         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10215         sin, sinh, tan, tanh, tgamma, y0 and y1.
10216         * math/auto-libm-test-out: Regenerated.
10217         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10218         (TEST_COND_x86): Likewise.
10219         (M_E2l): Remove macro.
10220         (M_E3l): Likewise.
10221         (M_2_SQRT_PIl): Likewise.
10222         (M_SQRT_PIl): Likewise.
10223         (M_1_DIV_El): Likewise.
10224         (log_test_data): Use AUTO_TESTS_f_f.
10225         (log10_test_data): Likewise.
10226         (log1p_test_data): Likewise.
10227         (log2_test_data): Likewise.
10228         (sin_test_data): Likewise.
10229         (sin_tonearest_test_data): Likewise.
10230         (sin_towardzero_test_data): Likewise.
10231         (sin_downward_test_data): Likewise.
10232         (sin_upward_test_data): Likewise.
10233         (sinh_test_data): Likewise.
10234         (sinh_tonearest_test_data): Likewise.
10235         (sinh_towardzero_test_data): Likewise.
10236         (sinh_downward_test_data): Likewise.
10237         (sinh_upward_test_data): Likewise.
10238         (tan_test_data): Likewise.
10239         (tan_tonearest_test_data): Likewise.
10240         (tan_towardzero_test_data): Likewise.
10241         (tan_downward_test_data): Likewise.
10242         (tan_upward_test_data): Likewise.
10243         (tanh_test_data): Likewise.
10244         (tgamma_test_data): Likewise.
10245         (y0_test_data): Likewise.
10246         (y1_test_data): Likewise.
10247         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10248         (special_real_inputs): Add pi/4.
10249         * sysdeps/i386/fpu/libm-test-ulps: Update.
10250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10252 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10254         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10255         "longjmp_target" static probes.
10256         (__longjmp): Rename to __longjmp_symbol.
10257         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10258         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10259         on which longjmp to generate.
10260         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10261         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10262         probe.
10263         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10264         (__sigjmp_save): Rename to __sigjmp_save_symbol.
10265         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10266         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10267         and __sigjmp_save_symbol based on which sigsetjmp to generated.
10268         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10270         __longjmp_symbol based on which __longjmp to generate.
10271         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10272         probe.
10273         (setjmp): Rename to setjmp_symbol.
10274         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10275         (_setjmp): Rename to _setjmp_symbol.
10276         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10277         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10278         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10279         which setjmp to generate.
10280         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10281         "longjmp_target" static probes.
10283 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10285         * benchtests/README: Add note about output arguments.
10286         * benchtests/bench-sincos.c: Remove file.
10287         * benchtests/sincos-inputs: New file.
10288         * scripts/bench.pl: Identify output arguments and define
10289         static variables for them.
10291         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10293         [BZ #15941]
10294         * Makefile (INSTALL): Add install-plain.texi as the primary
10295         dependency.
10296         * manual/install-plain.texi: New file.
10297         * manual/install.texi: Include node directive only for
10298         non-plaintext output.
10300 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
10302         * stdlib/longlong.h: Update from GCC.
10304         [BZ #6807]
10305         [BZ #15901]
10306         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10307         * math/w_j0f.c (y0f): Likewise.
10308         * math/w_j0l.c (__y0l): Likewise.
10309         * math/w_j1.c (y1): Likewise.
10310         * math/w_j1f.c (y1f): Likewise.
10311         * math/w_j1l.c (__y1l): Likewise
10312         * math/w_jn.c (yn): Likewise.
10313         * math/w_jnf.c (ynf): Likewise.
10314         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10315         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
10316         value for Bessel function domain errors outside _SVID_ mode.
10317         Adjust sign of return value for yn (negative integer, 0).
10318         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10319         by zero in return for negative x and set sign appropriately for
10320         negative n.
10321         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10322         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10323         * math/libm-test.inc (y0_test_data): Add more tests and adjust
10324         expectations in error cases.
10325         (y1_test_data): Likewise.
10326         (yn_test_data): Likewise.
10327         * sysdeps/i386/fpu/libm-test-ulps: Update.
10328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10330 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10332         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10333         "64" to "64-v1".  Add "64-v2".
10334         (abi-64-options): Rename to ...
10335         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
10336         (abi-64-condition): Rename to ...
10337         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
10338         (abi-64-ld-soname): Rename to ...
10339         (abi-64-v1-ld-soname): ... this.
10340         (abi-64-v2-options): Define.
10341         (abi-64-v2-condition): Likewise.
10342         (abi-64-v2-ld-soname): Likewise.
10343         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10344         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10349 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10350             Alan Modra  <amodra@gmail.com>
10352         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10353         New versions for use with the ELFv2 ABI.
10354         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10355         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10356         declaration.
10357         (struct La_ppc64v2_retval): Likewise.
10358         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10359         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10360         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10361         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10362         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10363         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10364         Do not save or restore CR.
10365         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10366         (_dl_profile_resolve): Do no save or restore CR.  Support extended
10367         return values for ELFv2 ABI.  Fix location of FPR return registers.
10368         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10369         updated values for _CALL_ELF == 2.
10370         (La_regs, La_retval, int_retval): Likewise.
10372 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10374         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10375         (FRAME_MIN_SIZE_PARM): Likewise.
10376         (FRAME_BACKCHAIN): Likewise.
10377         (FRAME_CR_SAVE): Likewise.
10378         (FRAME_LR_SAVE): Likewise.
10379         (FRAME_TOC_SAVE): Likewise.
10380         (FRAME_PARM_SAVE): Likewise.
10381         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10382         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10383         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10384         (call_mcount_parm_offset): New macro.
10385         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10386         (PROF): Use symbolic stack frame offsets.
10387         (TAIL_CALL_SYSCALL_ERROR): Likewise.
10388         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10389         Redefine in terms of FRAME_MIN_SIZE.
10390         (_dl_runtime_resolve): Use symbolic stack frame offsets.
10391         (_dl_profile_resolve): Likewise.  Update comment.
10392         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10393         symbols stack frame offsets.
10394         (__sigsetjmp): Likewise.
10395         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10396         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10397         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10398         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10401         (FRAME_BACKCHAIN): Remove.
10402         (FRAME_CR_SAVE): Likewise.
10403         (FRAME_LR_SAVE): Likewise.
10404         (FRAME_COMPILER_DW): Likewise.
10405         (FRAME_LINKER_DW): Likewise.
10406         (FRAME_TOC_SAVE): Likewise.
10407         (FRAME_PARM_SAVE): Likewise.
10408         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10409         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10410         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10412         (CHECK_SP): Use symbolic stack frame offsets.
10413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10414         zone" instead of caller's parameter save area for temp storage.
10415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10416         Likewise.  Also, use symbolic stack frame offsets.
10417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10418         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10419         our own stack frame instead of the caller's.
10420         (__socket): Use symbolic stack frame offsets.
10422 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10423             Alan Modra  <amodra@gmail.com>
10425         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10426         Define.
10427         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10428         (PPC64_LOCAL_ENTRY_OFFSET): Define.
10429         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10430         New function.
10431         (elf_machine_fixup_plt): Call it.
10432         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
10433         reloc arguments.
10434         (elf_machine_rela): Update call to elf_machine_plt_conflict.
10435         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10436         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10437         r2 before calling target.
10439 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10440             Alan Modra  <amodra@gmail.com>
10442         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10443         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10444         versions of macros to support ELFv2 ABI.
10445         (LOCALENTRY): New macro.
10446         (ENTRY, EALIGN): Use it.
10447         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10448         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10449         fall through into ENTRY entry point.
10450         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10451         Only define if _CALL_ELF != 2.
10453         (elf_machine_matches_host): Verify ABI version matches.
10454         (RTLD_START): Use LOCALENTRY.
10455         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10456         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10457         (PLT_ENTRY_WORDS): New macro.
10458         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10459         (elf_machine_runtime_setup): Support ELFv2 ABI.
10460         (elf_machine_fixup_plt): Likewise.
10461         (elf_machine_plt_conflict): Likewise.
10462         (resolve_ifunc): Likewise.
10463         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10464         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10465         Likewise.
10466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10467         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10469         (makecontext): Support ELFv2 ABI.
10470         * elf/elf.h (EF_PPC64_ABI): Define.
10472 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10474         * sysdeps/powerpc/powerpc64/sysdep.h
10475         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10476         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10477         (ENTRY) [ASSEMBLER]: ... but instead here ...
10478         (EALIGN) [ASSEMBLER]: ... and here.
10479         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10480         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10481         (ENTRY_2) [!ASSEMBLER]: Use it.
10482         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10483         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
10484         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10485         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10486         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10488         Use PPC64_LOAD_FUNCPTR.
10490         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10492 2013-12-04  Alan Modra  <amodra@gmail.com>
10494         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10495         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10496         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10497         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10499         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10500         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10501         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10502         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10503         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10504         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10506 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10509         (__makecontext): Fix incorrect CFI when backtracing out of
10510         context created via makecontext.
10511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10512         (__setcontext): Fix incorrect CFI during switch to new context.
10513         (__novec_setcontext): Likewise.
10515 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10517         [BZ #4772]
10518         * time/strptime_l.c (__strptime_internal): Allow modifiers
10519         in strptime.
10520         * time/tst-strptime.c (day_tests): Add testcase.
10522 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10524         * scripts/bench.pl: Skip over blank lines.
10526 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10528         [BZ #926]
10529         * manual/time.texi (Calendar Time): Clarify what timezone functions
10530         use.
10532 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10536 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10538         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10539         implementation.
10540         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10541         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10542         * debug/memset_chk.c (__memset_chk): Likewise.
10543         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10544         * debug/strncpy_chk.c: Likewise.
10546 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10548         [BZ #15268]
10549         [BZ #15425]
10550         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10551         (__ieee754_exp): For possibly underflowing results, check size of
10552         result and force underflow exception if required.
10553         * math/auto-libm-test-in: Add more tests of exp.
10554         * math/auto-libm-test-out: Regenerated.
10555         * sysdeps/i386/fpu/libm-test-ulps: Update.
10556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10558         [BZ #16283]
10559         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10560         * math/w_exp2f.c (__exp2f): Likewise.
10561         * math/w_exp2l.c (__exp2l): Likewise.
10562         * math/auto-libm-test-in: Do not allow missing errno on exp2
10563         underflow.
10564         * math/auto-libm-test-out: Regenerated.
10566 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
10568         [BZ #16274]
10569         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10570         handle filename validation.
10571         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10572         (do_open): Delete.
10574 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10576         [BZ #6786]
10577         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10578         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10579         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10580         <float.h>.
10581         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10582         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10583         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10584         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10585         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10586         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10587         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10588         * math/auto-libm-test-in: Don't allow missing errno from erfc.
10589         Add more erfc tests.
10590         * math/auto-libm-test-out: Regenerated.
10591         * sysdeps/i386/fpu/libm-test-ulps: Update.
10592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10594         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10595         exp2, expm1, j0 and j1.
10596         * math/auto-libm-test-out: Regenerated.
10597         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10598         (erfc_test_data): Likewise.
10599         (exp_test_data): Likewise.
10600         (exp_tonearest_test_data): Likewise.
10601         (exp_towardzero_test_data): Likewise.
10602         (exp_downward_test_data): Likewise.
10603         (exp_upward_test_data): Likewise.
10604         (exp10_test_data): Likewise.
10605         (exp2_test_data): Likewise.
10606         (expm1_test_data): Likewise.
10607         (j0_test_data): Likewise.
10608         (j1_test_data): Likewise.
10609         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10610         (input_flag_type): Add flag_xfail_rounding.
10611         (input_flags): Add xfail-rounding.
10612         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10613         (output_for_one_input_case): Handle flag_xfail_rounding.
10614         * sysdeps/i386/fpu/libm-test-ulps: Update.
10615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10617 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
10619         [BZ #16289]
10620         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10621         division by 0.
10623 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10625         [BZ #16195]
10626         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10627         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10628         (STAP_PROBE0): New macro.
10629         (STAP_PROBE1): Likewise.
10630         (STAP_PROBE2): Likewise.
10631         (STAP_PROBE3): Likewise.
10632         (STAP_PROBE4): Likewise.
10634 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
10636         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10638 2013-12-02  Steve Ellcey  <sellcey@mips.com>
10640         * benchtests/Makefile (bench): Add sqrt.
10641         (LDLIBS-bench-sqrt): New.
10642         * benchtests/sqrt-input: New.
10644 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
10646         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10647         (GAIH_EAI): Likewise.
10648         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10649         (gaih_inet): Likewise.
10650         (getaddrinfo): Don't use GAIH_EAI.
10652         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10653         (struct gaih): Remove definition.
10655 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10657         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10658         Use HERRNOP directly.
10660 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10664 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
10666         * math/gen-auto-libm-tests.c (test_functions): Add more
10667         single-argument functions.
10668         (special_fill_pi_2): New function.
10669         (special_fill_minus_pi_2): Likewise.
10670         (special_fill_pi_6): Likewise.
10671         (special_fill_minus_pi_6): Likewise.
10672         (special_fill_pi_3): Likewise.
10673         (special_fill_2pi_3): Likewise.
10674         (special_fill_e): Likewise.
10675         (special_fill_1_e): Likewise.
10676         (special_fill_e_minus_1): Likewise.
10677         (special_real_inputs): Add more special inputs.
10678         (output_for_one_input_case): Do not require ERANGE on underflow to
10679         zero if round-to-nearest result does not underflow to zero, unless
10680         exact results required.
10681         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10682         atan, atanh, cbrt, cos and cosh.
10683         * math/auto-libm-test-out: Regenerated.
10684         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10685         (acos_tonearest_test_data): Likewise.
10686         (acos_towardzero_test_data): Likewise.
10687         (acos_downward_test_data): Likewise.
10688         (acos_upward_test_data): Likewise.
10689         (acosh_test_data): Likewise.
10690         (asin_test_data): Likewise.
10691         (asin_tonearest_test_data): Likewise.
10692         (asin_towardzero_test_data): Likewise.
10693         (asin_upward_test_data): Likewise.
10694         (asinh_test_data): Likewise.
10695         (atan_test_data): Likewise.
10696         (atanh_test_data): Likewise.
10697         (cbrt_test_data): Likewise.
10698         (cos_test_data): Likewise.
10699         (cos_tonearest_test_data): Likewise.
10700         (cos_towardzero_test_data): Likewise.
10701         (cos_downward_test_data): Likewise.
10702         (cos_upward_test_data): Likewise.
10703         (cosh_test_data): Likewise.
10704         (cosh_tonearest_test_data): Likewise.
10705         (cosh_towardzero_test_data): Likewise.
10706         (cosh_downward_test_data): Likewise.
10707         (cosh_upward_test_data): Likewise.
10708         * sysdeps/i386/fpu/libm-test-ulps: Update.
10709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10711 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
10713         [BZ #6787]
10714         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10715         * math/w_exp10f.c (__exp10f): Likewise.
10716         * math/w_exp10l.c (__exp10l): Likewise.
10717         * math/libm-test.inc (exp10_test_data): Add more tests and expect
10718         errno settings in existing tests.
10720         [BZ #14032]
10721         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10722         precision control set to double precision.
10723         * sysdeps/i386/fpu/w_sqrt.c: New file.
10724         * math/auto-libm-test-in: Add more tests.
10725         * math/auto-libm-test-out: Update.
10727         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10728         (sqrt_test_tonearest): New function.
10729         (sqrt_towardzero_test_data): New variable.
10730         (sqrt_test_towardzero): New function.
10731         (sqrt_downward_test_data): New variable.
10732         (sqrt_test_downward): New function.
10733         (sqrt_upward_test_data): New variable.
10734         (sqrt_test_upward): New function.
10735         (main): Call the new functions.
10737         * math/gen-auto-libm-tests.c: New file.
10738         * math/auto-libm-test-in: Likewise.
10739         * math/auto-libm-test-out: New generated file.
10740         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10741         variables.
10742         (%beautify): Add generated representations of zero.
10743         (top level): Set $auto_input and call parse_auto_input.
10744         (beautify): Remove trailing "f" from hex float constants.
10745         (parse_args): Handle XFAIL_TEST.
10746         (convert_condition): New function.
10747         (or_value): Likewise.
10748         (or_cond_value): Likewise.
10749         (generate_testfile): Handle AUTO_TESTS_* lines.
10750         (parse_auto_input): New function.
10751         * math/libm-test.inc (XFAIL_TEST): New macro.
10752         (ERRNO_UNCHANGED): Update value.
10753         (ERRNO_EDOM): Likewise.
10754         (ERRNO_ERANGE): Likewise.
10755         (IGNORE_RESULT): Likewise.
10756         (TEST_COND_flt_32): New macro.
10757         (TEST_COND_dbl_64): Likewise.
10758         (TEST_COND_ldbl_96_intel): Likewise.
10759         (TEST_COND_ldbl_96_m68k): Likewise.
10760         (TEST_COND_ldbl_128): Likewise.
10761         (TEST_COND_ldbl_128ibm): Likewise.
10762         (TEST_COND_long32): Likewise.
10763         (TEST_COND_long64): Likewise.
10764         (TEST_COND_before_rounding): Likewise.
10765         (TEST_COND_after_rounding): Likewise.
10766         (enable_test): Handle XFAIL_TEST flag.
10767         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10768         with finite results.
10769         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10770         auto-libm-test-out.
10772 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10773             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10775         [BZ #16214]
10776         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10777         __tls_get_addr_internal instead of __tls_get_offset in order to
10778         avoid GOT pointer dependency.  Make rtld export
10779         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10780         __tls_get_addr since we are a __tls_get_offset platform.
10781         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10782         GOT pointer being set up before.
10783         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10785 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
10787         * manual/math.texi (Errors in Math Functions): Document accuracy
10788         goals.
10790         [BZ #15004]
10791         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10792         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10793         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10794         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10795         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10796         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10797         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10798         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10799         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10800         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10801         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10802         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10803         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10804         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10805         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10806         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10808         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10809         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10810         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10811         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10812         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10813         Likewise.
10814         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10815         Likewise.
10816         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10817         Likewise.
10818         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10819         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10820         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10821         atomic-feupdateenv and flt-rounds.
10822         * sysdeps/powerpc/nofpu/Versions (libc): Add
10823         __atomic_feholdexcept, __atomic_feclearexcept,
10824         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10825         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10826         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10827         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10828         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10829         here.
10830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10831         Update.
10833         * manual/arith.texi (FP Exceptions): Document that exceptions may
10834         not be raised when matherr is used.
10835         (Math Error Reporting): Document overflow in directed rounding
10836         modes.  Document that errno may not be set when finite values are
10837         returned on overflow.  Document intent to set errno on underflow
10838         only for underflow to zero.
10840         [BZ #16271]
10841         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10842         round-to-nearest then adjust result for other rounding modes.
10843         * include/fenv.h (fegetround): Use libm_hidden_proto.
10844         * math/fegetround.c (fegetround): Use libm_hidden_def.
10845         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10846         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10847         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10848         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10849         Likewise.
10850         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10851         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10852         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10853         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10855 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10857         [BZ #16077]
10858         * nss/Versions (libnss_files): Add
10859         _nss_files_gethostbyname3_r.
10860         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10861         New function.
10862         (HOST_DB_LOOKUP): Remove macro.
10863         (_nss_files_gethostbyname_r): Implement function without the
10864         HOST_DB_LOOKUP macro.
10865         (_nss_files_gethostbyname2_r): Likewise.
10867 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
10869         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10871 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
10873         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10874         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10875         warning.
10877 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10879         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10880         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10881         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10882         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10883         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10884         __fe_nomask_env_priv and attribute_hidden.
10885         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10886         (libc_feupdateenv_test_ppc): Likewise.
10887         (libc_feresetround_ppc): Likewise.
10888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10889         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10890         compat_symbol macro.
10891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10892         (__fe_nomask_env): Likewise.
10893         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10895 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10897         * string/Makefile: Remove ifunc tests.
10898         * string/test-string.h: Define TEST_IFUNC.
10899         * string/test-bcopy-ifunc.c: Remove.
10900         * string/test-bzero-ifunc.c: Likewise.
10901         * string/test-memccpy-ifunc.c: Likewise.
10902         * string/test-memchr-ifunc.c: Likewise.
10903         * string/test-memcmp-ifunc.c: Likewise.
10904         * string/test-memcpy-ifunc.c: Likewise.
10905         * string/test-memmem-ifunc.c: Likewise.
10906         * string/test-memmove-ifunc.c: Likewise.
10907         * string/test-mempcpy-ifunc.c: Likewise.
10908         * string/test-memrchr-ifunc.c: Likewise.
10909         * string/test-memset-ifunc.c: Likewise.
10910         * string/test-rawmemchr-ifunc.c: Likewise.
10911         * string/test-stpcpy-ifunc.c: Likewise.
10912         * string/test-stpncpy-ifunc.c: Likewise.
10913         * string/test-strcasecmp-ifunc.c: Likewise.
10914         * string/test-strcasestr-ifunc.c: Likewise.
10915         * string/test-strcat-ifunc.c: Likewise.
10916         * string/test-strchr-ifunc.c: Likewise.
10917         * string/test-strchrnul-ifunc.c: Likewise.
10918         * string/test-strcmp-ifunc.c: Likewise.
10919         * string/test-strcpy-ifunc.c: Likewise.
10920         * string/test-strcspn-ifunc.c: Likewise.
10921         * string/test-strlen-ifunc.c: Likewise.
10922         * string/test-strncasecmp-ifunc.c: Likewise.
10923         * string/test-strncat-ifunc.c: Likewise.
10924         * string/test-strncmp-ifunc.c: Likewise.
10925         * string/test-strncpy-ifunc.c: Likewise.
10926         * string/test-strnlen-ifunc.c: Likewise.
10927         * string/test-strpbrk-ifunc.c: Likewise.
10928         * string/test-strrchr-ifunc.c: Likewise.
10929         * string/test-strspn-ifunc.c: Likewise.
10930         * string/test-strstr-ifunc.c: Likewise.
10932 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10934         * benchtests/Makefile: Remove ifunc tests.
10935         * benchtests/bench-string.h: Define TEST_IFUNC.
10936         * benchtests/bench-bcopy-ifunc.c: Remove.
10937         * benchtests/bench-bzero-ifunc.c: Likewise.
10938         * benchtests/bench-memccpy-ifunc.c: Likewise.
10939         * benchtests/bench-memchr-ifunc.c: Likewise.
10940         * benchtests/bench-memcmp-ifunc.c: Likewise.
10941         * benchtests/bench-memcpy-ifunc.c: Likewise.
10942         * benchtests/bench-memmem-ifunc.c: Likewise.
10943         * benchtests/bench-memmove-ifunc.c: Likewise.
10944         * benchtests/bench-mempcpy-ifunc.c: Likewise.
10945         * benchtests/bench-memrchr-ifunc.c: Likewise.
10946         * benchtests/bench-memset-ifunc.c: Likewise.
10947         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10948         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10949         * benchtests/bench-stpcpy-ifunc.c: Likewise.
10950         * benchtests/bench-stpncpy-ifunc.c: Likewise.
10951         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10952         * benchtests/bench-strcasestr-ifunc.c: Likewise.
10953         * benchtests/bench-strcat-ifunc.c: Likewise.
10954         * benchtests/bench-strchr-ifunc.c: Likewise.
10955         * benchtests/bench-strchrnul-ifunc.c: Likewise.
10956         * benchtests/bench-strcmp-ifunc.c: Likewise.
10957         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10958         * benchtests/bench-strcpy-ifunc.c: Likewise.
10959         * benchtests/bench-strcspn-ifunc.c: Likewise.
10960         * benchtests/bench-strlen-ifunc.c: Likewise.
10961         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10962         * benchtests/bench-strncat-ifunc.c: Likewise.
10963         * benchtests/bench-strncmp-ifunc.c: Likewise.
10964         * benchtests/bench-strncpy-ifunc.c: Likewise.
10965         * benchtests/bench-strnlen-ifunc.c: Likewise.
10966         * benchtests/bench-strpbrk-ifunc.c: Likewise.
10967         * benchtests/bench-strrchr-ifunc.c: Likewise.
10968         * benchtests/bench-strsep-ifunc.c: Likewise.
10969         * benchtests/bench-strspn-ifunc.c: Likewise.
10970         * benchtests/bench-strstr-ifunc.c: Likewise.
10972 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10974         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10976 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10978         * resolv/netdb.h: Use __glibc_reserved instead __unused.
10979         * rt/aio.h: Likewise.
10980         * sysdeps/gnu/bits/utmp.h: Likewise.
10981         * sysdeps/gnu/bits/utmpx.h: Likewise.
10982         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10983         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10984         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10985         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10986         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10987         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10988         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10989         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10990         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10991         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10992         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10993         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10994         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10996         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10997         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10998         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10999         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11000         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11001         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11002         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11003         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11004         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11005         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11006         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11007         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11008         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11009         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11010         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11011         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11012         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11013         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11014         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11015         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11016         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11017         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11018         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11019         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11020         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11021         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11022         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11023         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11025 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
11027         [BZ #16245]
11028         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11029         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11031 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
11033         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11034         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11035         Likewise.
11037 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11039         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11040         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11041         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11042         (__fesetround): Remove define.
11043         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11044         rounding and exceptions handling.
11045         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11046         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11047         (__fe_nomask_env): Likewise.
11048         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11049         __fegetround instead of fegetround.
11050         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11051         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11053 2013-11-21  Roland McGrath  <roland@hack.frob.com>
11055         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11056         it's there.
11058         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11060 2013-11-21  Meador Inge  <meadori@codesourcery.com>
11062         [BZ #11157]
11063         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11064         (encrypt_r): Likewise.
11065         * malloc/obstack.h (obstack_free): Likewise.
11066         * posix/unistd.h (encrypt): Likewise.
11068 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
11070         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11071         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11072         DL_CALL_DT_FINI() that call the functions directly.
11073         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11074         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11075         * elf/dl-fini.c: Likewise.
11077 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
11079         * malloc/hooks.c (memalign_check): Add alignment rounding.
11080         * malloc/malloc.c (_mid_memalign): New function.
11081         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11082         Implement by calling _mid_memalign.
11083         * manual/probes.texi (Memory Allocation Probes): Remove
11084         memory_valloc_retry and memory_pvalloc_retry.
11086 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11088         * locale/programs/locarchive.c (open_archive): Add const
11089         qualifier to ARCHIVEFNAME and copy default fname to
11090         DEFAULT_FNAME.
11092         [BZ #15601]
11093         * libio/tst-widetext.input: Rename Oriya to Odia.
11094         * locale/iso-639.def: Likewise.
11096         * manual/probes.texi (Mathematical Function Probes): Add
11097         documentation for sin, cos, asin and acos probes.
11098         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11099         (__sin32): Add slowasin probe.
11100         (__cos32): Add slowacos probe.
11101         (__mpsin): Add slowsin probe.
11102         (__mpcos): Add slowcos probe.
11104 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
11106         [BZ #15483]
11107         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11108         thread-local __sim_exceptions_thread and global
11109         __sim_exceptions_global.
11110         (__sim_disabled_exceptions): Change to thread-local
11111         __sim_disabled_exceptions_thread and global
11112         __sim_disabled_exceptions_global.
11113         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11114         and global __sim_round_mode_global.
11115         (__simulate_exceptions): Use thread-local floating-point state and
11116         set global state from it as needed.
11117         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11118         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11119         __sim_round_mode_thread.
11120         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11121         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11122         and global __sim_exceptions_global.
11123         (__sim_disabled_exceptions): Change to thread-local
11124         __sim_disabled_exceptions_thread and global
11125         __sim_disabled_exceptions_global.
11126         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11127         and global __sim_round_mode_global.
11128         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11129         (SIM_SET_GLOBAL): Likewise.
11130         * sysdeps/powerpc/soft-fp/sfp-machine.h
11131         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11132         __sim_round_mode_thread.
11133         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11134         __sim_disabled_exceptions_thread.
11135         (__sim_exceptions): Change to __sim_exceptions_thread.
11136         (__sim_disabled_exceptions): Change to
11137         __sim_disabled_exceptions_thread.
11138         (__sim_round_mode): Change to __sim_round_mode_thread.
11139         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11140         thread-local floating-point state and set global state from it as
11141         needed.
11142         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11143         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11144         (__sim_disabled_exceptions): Remove extern declaration.
11145         (feenableexcept): Use thread-local floating-point state and set
11146         global state from it as needed.
11147         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11148         extern declaration.
11149         (__sim_disabled_exceptions): Likewise.
11150         (__sim_round_mode): Likewise.
11151         (__fegetenv): Use thread-local floating-point state.
11152         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11153         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11154         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11155         floating-point state and set global state from it as needed.
11156         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11157         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11158         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11159         Likewise.
11160         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11161         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11162         Likewise.
11163         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11164         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11165         Use __sim_round_mode_thread.
11166         * math/test-fenv-tls.c: New file.
11167         * math/Makefile (tests): Add test-fenv-tls.
11168         ($(objpfx)test-fenv-tls): Depend on
11169         $(common-objpfx)nptl/libpthread.so.
11171 2013-11-19  Andreas Schwab  <schwab@suse.de>
11173         * locale/programs/locale.c (show_info): Decode wordarray elements.
11174         * locale/categories.def (LC_MONETARY): Add element for
11175         _NL_MONETARY_CRNCYSTR.
11176         * locale/C-monetary.c (conversion_rate): New variable.
11177         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11178         element.
11180 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
11182         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11183         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11185 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11187         * elf/Makefile (tst-auxv): New test.
11188         * elf/tst-auxv.c: New
11189         * elf/rtld.c (dl_main): Adjust AT_EXECFN
11191 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
11193         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11194         (hidden_proto): Caller changed.
11195         (hidden_tls_proto): New macro.
11196         (libc_hidden_tls_proto): Likewise.
11197         (rtld_hidden_tls_proto): Likewise.
11198         (libm_hidden_tls_proto): Likewise.
11199         (libresolv_hidden_tls_proto): Likewise.
11200         (librt_hidden_tls_proto): Likewise.
11201         (libdl_hidden_tls_proto): Likewise.
11202         (libnss_files_hidden_tls_proto): Likewise.
11203         (libnsl_hidden_tls_proto): Likewise.
11204         (libnss_nisplus_hidden_tls_proto): Likewise.
11205         (libutil_hidden_tls_proto): Likewise.
11207 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
11209         [BZ #10253]
11210         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11211         (decompose_rpath): Defer expansion to fillin_rpath.
11212         (_dl_init_paths): Pass linkmap to fillin_rpath.
11214 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11216         * benchtests/Makefile: Add strsep.
11217         * benchtests/bench-strsep.c: New file: strsep benchtest.
11218         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11220 2013-11-18  Andreas Schwab  <schwab@suse.de>
11222         * locale/programs/locale.c (show_info) [case byte]: Check for
11223         '\377' instead of '\177'.
11224         * locale/C-monetary.c (not_available): Always use "\377".
11225         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11226         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
11227         detect unavailable sign_posn locale elements.
11228         * locale/localeconv.c (__localeconv): For grouping and
11229         mon_grouping handle "\177" and "\377" like no grouping.
11230         (INT_ELEM): New macro.  Use it to set all numeric members.
11231         * locale/programs/ld-monetary.c (monetary_read)
11232         <tok_mon_grouping>: Normalize single -1 to the empty string.
11233         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11234         Likewise.
11236 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11238         [BZ #16055]
11239         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11240         when we match (nil).
11241         * stdio-common/tst-sscanf.c (struct test): Add testcase.
11243 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
11245         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11246         (NO_TEST_INLINE): Update value.
11247         (ERRNO_UNCHANGED): Likewise.
11248         (ERRNO_EDOM): Likewise.
11249         (ERRNO_ERANGE): Likewise.
11250         (IGNORE_RESULT): Likewise.
11251         (check_float_internal): Check signs of NaN results if
11252         TEST_NAN_SIGN used.
11253         (check_complex): Pass TEST_NAN_SIGN flag through to second
11254         check_float_internal call.
11255         (copysign_test_data): Add tests with quiet NaNs as second
11256         argument.  Use TEST_NAN_SIGN.
11257         (fabs_test_data): Add test of negative quiet NaN argument.  Use
11258         TEST_NAN_SIGN.
11259         (signbit_test_data): Add tests of quiet NaN argument.
11260         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11262         * math/gen-libm-test.pl (show_exceptions): Take extra argument
11263         $ignore_result.
11264         (parse_args): Handle function results specified as IGNORE.
11265         * math/libm-test.inc (IGNORE_RESULT): New macro.
11266         (check_float_internal): Do not check numerical result if flag
11267         IGNORE_RESULT set.
11268         (check_complex): Pass through IGNORE_RESULT to second
11269         check_float_internal call.
11270         (check_int): Do not check numerical result if flag IGNORE_RESULT
11271         set.
11272         (check_long): Likewise.
11273         (check_bool): Likewise.
11274         (check_longlong): Likewise.
11275         (lrint_test_data): Add tests of infinite and NaN arguments.
11276         (lrint_tonearest_test_data): Likewise.
11277         (lrint_towardzero_test_data): Likewise.
11278         (lrint_downward_test_data): Likewise.
11279         (lrint_upward_test_data): Likewise.
11280         (llrint_test_data): Likewise.
11281         (llrint_tonearest_test_data): Likewise.
11282         (llrint_towardzero_test_data): Likewise.
11283         (llrint_downward_test_data): Likewise.
11284         (llrint_upward_test_data): Likewise.
11285         (lround_test_data): Likewise.
11286         (llround_test_data): Likewise.
11288         * math/libm-test.inc (NO_TEST_INLINE): New macro.
11289         (ERRNO_UNCHANGED): Update value.
11290         (ERRNO_EDOM): Likewise.
11291         (ERRNO_ERANGE): Likewise.
11292         (NO_TEST_INLINE_FLOAT): New macro.
11293         (NO_TEST_INLINE_DOUBLE): Likewise.
11294         (enable_test): New function.
11295         (RUN_TEST_f_f): Check enable_test before running test.
11296         (RUN_TEST_2_f): Likewise.
11297         (RUN_TEST_fff_f): Likewise.
11298         (RUN_TEST_c_f): Likewise.
11299         (RUN_TEST_f_f1): Likewise.
11300         (RUN_TEST_fF_f1): Likewise.
11301         (RUN_TEST_fI_f1): Likewise.
11302         (RUN_TEST_ffI_f1): Likewise.
11303         (RUN_TEST_c_c): Likewise.
11304         (RUN_TEST_cc_c): Likewise.
11305         (RUN_TEST_f_i): Likewise.
11306         (RUN_TEST_f_i_tg): Likewise.
11307         (RUN_TEST_ff_i_tg): Likewise.
11308         (RUN_TEST_f_b): Likewise.
11309         (RUN_TEST_f_b_tg): Likewise.
11310         (RUN_TEST_f_l): Likewise.
11311         (RUN_TEST_f_L): Likewise.
11312         (RUN_TEST_fFF_11): Likewise.
11313         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11314         conditionals.
11315         (cosh_test_data): Likewise.
11316         (exp_test_data): Likewise.
11317         (expm1_test_data): Likewise.
11318         (hypot_test_data): Likewise.
11319         (pow_test_data): Likewise.
11320         (sinh_test_data): Likewise.
11321         (tanh_test_data): Likewise.
11322         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11323         flags argument.
11325         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11326         tests with quiet NaN input and output.
11327         (acosh_test_data): Likewise.
11328         (asin_test_data): Likewise.
11329         (asinh_test_data): Likewise.
11330         (atan_test_data): Likewise.
11331         (atanh_test_data): Likewise.
11332         (atan2_test_data): Likewise.
11333         (cbrt_test_data): Likewise.
11334         (cos_test_data): Likewise.
11335         (cosh_test_data): Likewise.
11336         (erf_test_data): Likewise.
11337         (erfc_test_data): Likewise.
11338         (exp_test_data): Likewise.
11339         (exp10_test_data): Likewise.
11340         (exp2_test_data): Likewise.
11341         (expm1_test_data): Likewise.
11342         (hypot_test_data): Likewise.
11343         (j0_test_data): Likewise.
11344         (j1_test_data): Likewise.
11345         (jn_test_data): Likewise.
11346         (lgamma_test_data): Likewise.
11347         (log_test_data): Likewise.
11348         (log10_test_data): Likewise.
11349         (log1p_test_data): Likewise.
11350         (log2_test_data): Likewise.
11351         (pow_test_data): Likewise.
11352         (scalb_test_data): Likewise.
11353         (sin_test_data): Likewise.
11354         (sincos_test_data): Likewise.
11355         (sinh_test_data): Likewise.
11356         (tan_test_data): Likewise.
11357         (tanh_test_data): Likewise.
11358         (tgamma_test_data): Likewise.
11359         (y0_test_data): Likewise.
11360         (y1_test_data): Likewise.
11361         (yn_test_data): Likewise.
11363         [BZ #16167]
11364         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11365         argument being NaN and avoid computations with second argument in
11366         that case.
11367         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11368         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11369         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11371 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
11373         * locale/iso-639.def: Add Chitwani Tharu (the).
11375 2013-11-14  Andreas Schwab  <schwab@suse.de>
11377         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11378         word instead of empty string.
11380 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11383         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11385         (__fe_nomask_env): Likewise.
11387 2013-11-13  Steve Ellcey  <sellcey@mips.com>
11389         * benchtests/bench-timing.h: Include time.h.
11391 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
11393         [BZ #15997]
11394         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11395         to 3.4.0 for x32.
11396         * sysdeps/unix/sysv/linux/configure: Regenerated.
11398 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
11400         [BZ #16151]
11401         * stdlib/strtod_l.c (round_and_return): Do not consider
11402         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11403         exponent one less than half the least subnormal exponent.
11404         * stdlib/test-strtod-round-data: Add more tests.
11405         * stdlib/tst-strtod-round.c (tests): Regenerated.
11407 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11409         [BZ #14143]
11410         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11411         (__fe_mask_env): Likewise.
11412         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11413         libm_hidden_proto and add function prototype.
11414         (__fe_mask_env): Add function prototype.
11415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11416         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11418         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11420         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11422 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11424         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11425         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11427 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11429         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11430         of htab_find_slot().
11432 2013-11-11  David S. Miller  <davem@davemloft.net>
11434         [BZ #16150]
11435         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11436         symbol in the non-vis3 case in static builds.
11437         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11438         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11439         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11440         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11442 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11444         [BZ #387]
11445         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11446         it is empty.
11448 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11450         * benchtests/Makefile: Add bench-strtod.
11451         * benchtests/bench-strtod.c: New file: strtod benchtest
11453 2013-11-11  Andreas Schwab  <schwab@suse.de>
11455         [BZ #16153]
11456         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11457         terminating NUL in key length.
11459 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11461         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11462         Add artificial ODP entry for vDSO symbol for PPC64.
11463         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11464         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11466 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11468         [BZ #15374]
11469         * nss/getent.c (services_keys): Recognize services starting with digit.
11471 2013-11-06  David S. Miller  <davem@davemloft.net>
11473         [BZ #15985]
11474         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11475         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11477 2013-11-06  Will Newton  <will.newton@linaro.org>
11479         * manual/memory.texi (Malloc Examples): Remove register
11480         keyword from examples.
11482 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
11484         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11486 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
11488         [BZ #6981]
11489         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11490         depending on [__GCC_IEC_559 > 0].
11491         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11492         depending on [__GCC_IEC_559_COMPLEX > 0].
11494 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
11496         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11497         to iso-639.def.
11499 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
11501         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11503 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
11505         [BZ #16112]
11506         * malloc/malloc (malloc_info): Do not handle first bin as
11507         special case.
11509 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
11511         * locale/iso-639.def: Add Central Nahuatl (nhn).
11513 2013-11-01  Bruno Haible  <bruno@clisp.org>
11515         [BZ #7003]
11516         * manual/math.texi (BSD Random): Specify range upper bound as
11517         in POSIX.
11519 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
11521         * locale/iso-639.def: Add Meadow Mari (mhr).
11523 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
11525         [BZ #14752], [BZ #15763]
11526         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11527         Validate name.
11528         * rt/tst_shm.c: Add test for escaping directory.
11530 2013-10-31  Andreas Schwab  <schwab@suse.de>
11532         [BZ #15917]
11533         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11534         followed by 'x' as part of digit sequence.
11535         * stdio-common/tst-sscanf.c (double_tests2): New tests.
11537 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11539         [BZ #16037]
11540         * configure.ac: allow GNU Make 4.0 and greater.
11541         * configure: Regenerated.
11543 2013-10-30  Will Newton  <will.newton@linaro.org>
11545         [BZ #16038]
11546         * malloc/hooks.c (memalign_check): Limit alignment to the
11547         maximum representable power of two.
11548         * malloc/malloc.c (__libc_memalign): Likewise.
11549         * malloc/tst-memalign.c (do_test): Add test for very
11550         large alignment values.
11551         * malloc/tst-posix_memalign.c (do_test): Likewise.
11553 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11555         [BZ #11087]
11556         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11557         (munmap_chunk): Likewise.
11558         (mremap_chunk): Likewise.
11560 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11562         [BZ #15799]
11563         * stdlib/div.c (div): Remove obsolete code.
11564         * stdlib/ldiv.c (ldiv): Likewise.
11565         * stdlib/lldiv.c (lldiv): Likewise.
11567 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11569         [BZ #16071]
11570         * nss/nss_files/files-XXX.c (get_contents_ret): New
11571         enumerator.
11572         (get_contents): New function.
11573         (internal_getent): Use it.  Expand size of LINEBUFLEN.
11575 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
11577         * configure.in: Moved to ...
11578         * configure.ac: ... here. Change reference to configure.in
11579         to configure.ac.
11580         * sysdeps/arm/preconfigure.ac: ... here.
11581         configure.in to configure.ac.
11582         * sysdeps/gnu/configure.in: Moved to ...
11583         * sysdeps/gnu/configure.ac: ... here.
11584         * sysdeps/i386/configure.in: Moved to ...
11585         * sysdeps/i386/configure.ac: ... here.
11586         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11587         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11588         * sysdeps/mach/configure.in: Moved to ...
11589         * sysdeps/mach/configure.ac: ... here.
11590         * sysdeps/mach/hurd/configure.in: Moved to ...
11591         * sysdeps/mach/hurd/configure.ac: ... here.
11592         * sysdeps/powerpc/configure.in: Moved to ...
11593         * sysdeps/powerpc/configure.ac: ... here.
11594         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11595         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11596         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11597         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11598         * sysdeps/s390/s390-32/configure.in: Moved to ...
11599         * sysdeps/s390/s390-32/configure.ac: ... here.
11600         * sysdeps/s390/s390-64/configure.in: Moved to ...
11601         * sysdeps/s390/s390-64/configure.ac: ... here.
11602         * sysdeps/sh/configure.in: Moved to ...
11603         * sysdeps/sh/configure.ac: ... here.
11604         * sysdeps/sparc/configure.in: Moved to ...
11605         * sysdeps/sparc/configure.ac: ... here.
11606         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11607         * sysdeps/unix/sysv/linux/configure.ac: ... here.
11608         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11609         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11610         * sysdeps/x86_64/configure.in: Moved to ...
11611         * sysdeps/x86_64/configure.ac: ... here.
11612         * sysdeps/x86_64/preconfigure.in: Moved to ...
11613         * sysdeps/x86_64/preconfigure.ac: ... here.
11614         * aclocal.m4: Change reference to configure.in to configure.ac.
11615         * config.h.in: Likewise.
11616         * manual/install.texi: Likewise.
11617         * manual/maint.texi: Likewise.
11618         * Makefile: Likewise.
11619         * malloc/Makefile: Likewise.
11620         * nscd/Makefile: Likewise.
11621         * Makeconfig: Change reference to configure.in and
11622         preconfigure.in to configure.ac and preconfigure.ac
11623         respectively.
11624         * INSTALL: Regenerated.
11625         * configure: Likewise.
11626         * sysdeps/gnu/configure: Likewise.
11627         * sysdeps/i386/configure: Likewise.
11628         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11629         * sysdeps/mach/configure: Likewise.
11630         * sysdeps/mach/hurd/configure: Likewise.
11631         * sysdeps/powerpc/configure: Likewise.
11632         * sysdeps/powerpc/powerpc32/configure: Likewise.
11633         * sysdeps/powerpc/powerpc64/configure: Likewise.
11634         * sysdeps/s390/s390-32/configure: Likewise.
11635         * sysdeps/s390/s390-64/configure: Likewise.
11636         * sysdeps/sh/configure: Likewise.
11637         * sysdeps/sparc/configure: Likewise.
11638         * sysdeps/unix/sysv/linux/configure: Likewise.
11639         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11640         * sysdeps/x86_64/configure: Likewise.
11641         * sysdeps/x86_64/preconfigure: Likewise.
11643 2013-10-29  Andreas Schwab  <schwab@suse.de>
11645         * stdio-common/Makefile (tst-swscanf-ENV): Define.
11647 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11649         * benchtests/pow-inputs: Add new inputs.
11651         * benchtests/exp-inputs: Add new inputs.
11653         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11654         conditional check for return value.
11655         (__cos32): Likewise.
11657 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11659         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11660         to provide a boost for large inputs with word alignment.
11661         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11662         implementation based on optimized PPC64 strcpy.
11663         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11664         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11665         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11666         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11668 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11670         [BZ #2801]
11671         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11673 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11675         [BZ #14876]
11676         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11677         * time/tst-strptime.c (day_tests): Add testcase.
11679 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11681         [BZ #14029]
11682         * manual/pattern.texi: Acknowledge that fnmatch can fail.
11684 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
11686         [BZ #16074]
11687         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11688         MAP_FAILED on error.
11690 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11692         [BZ #16072]
11693         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11694         heap for large requests.
11696 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
11698         [BZ #9954]
11699         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11700         result if the result has no associated interface.
11701         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11702         interface for all 127.X.Y.Z addresses.
11704 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
11706         * locale/iso-639.def: Add Ligurian (lij)
11708 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
11710         [BZ #15825]
11711         * sunrpc/rpc_main.c: Document rpcgen -5.
11713 2013-10-19  Michael Stahl  <mstahl@redhat.com>
11715         * elf/rtld.c (do_preload): Print the reason why preloading failed.
11717 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11719         [BZ #10278]
11720         * posix/glob.c: Match only directories when trailing slash is present.
11721         * posix/tst-gnuglob.c (my_opendir): Do not open files.
11722         (main): Add testcase.
11724 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11726         [BZ #15670]
11727         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11729 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
11731         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11732         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11733         AUTH_DES and cindex for FIPS 140-2.
11734         (DES Encryption): Add cindex FIPS 46-3.
11736         * locale/locarchive.h (struct locarhandle): Add fname.
11737         * locale/programs/localedef.c (main): Pass ARGV[remaining]
11738         if an optional argument was specified to --list-archive,
11739         otherwise NULL.
11740         * locale/programs/locarchive.c (show_archive_content): Take new
11741         argument fname and pass it via ah.fname to open_archive.
11742         * locale/programs/localedef.h: Update decl.
11743         (open_archive): If AH->fname is non-null, open that file
11744         rather than the default file name, and don't ignore ENOENT.
11745         (create_archive): Set AH.fname to NULL.
11746         (delete_locales_from_archive): Likewise.
11747         (add_locales_to_archive): Likewise.
11748         * locale/programs/locfile.c (write_all_categories): Likewise.
11750 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
11751             Aldy Hernandez  <aldyh@redhat.com>
11753         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11754         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11755         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11756         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11757         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11758         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11759         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11760         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11761         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11762         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11763         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11764         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11765         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11766         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11767         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11768         Likewise.
11769         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11770         Likewise.
11771         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11772         Likewise.
11773         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11774         Likewise.
11775         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11776         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11777         Likewise.
11778         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11779         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11780         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11781         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11782         Likewise.
11783         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11784         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11785         * sysdeps/powerpc/preconfigure: Likewise.
11786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11787         Likewise.
11788         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11789         Replace contents of file by #include of <fenv_libc.h>.
11790         * sysdeps/powerpc/soft-fp/sfp-machine.h
11791         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11792         and <sys/prctl.h>.
11793         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11794         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11795         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11796         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11797         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11798         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11799         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11800         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11801         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11802         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11803         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11804         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11806         Allow copysignl PLT reference to be missing.
11808 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
11809             Joseph Myers  <joseph@codesourcery.com
11811         [BZ #15948]
11812         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11813         single character.
11814         (add_to_tablewc): Assert sequence of wide characters is nonempty.
11816 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11818         * elf/tst-tls-dlinfo.c: Don't include tls.h.
11819         * elf/tst-tls1.c: Likewise.
11820         * elf/tst-tls10.h: Likewise.
11821         * elf/tst-tls14.c: Likewise.
11822         * elf/tst-tls2.c: Likewise.
11823         * elf/tst-tls3.c: Likewise.
11824         * elf/tst-tls4.c: Likewise.
11825         * elf/tst-tls5.c: Likewise.
11826         * elf/tst-tls6.c: Likewise.
11827         * elf/tst-tls7.c: Likewise.
11828         * elf/tst-tls8.c: Likewise.
11829         * elf/tst-tls9.c: Likewise.
11830         * elf/tst-tlsmod1.c: Likewise.
11831         * elf/tst-tlsmod13.c: Likewise.
11832         * elf/tst-tlsmod13a.c: Likewise.
11833         * elf/tst-tlsmod14a.c: Likewise.
11834         * elf/tst-tlsmod16a.c: Likewise.
11835         * elf/tst-tlsmod16b.c: Likewise.
11836         * elf/tst-tlsmod2.c: Likewise.
11837         * elf/tst-tlsmod3.c: Likewise.
11838         * elf/tst-tlsmod4.c: Likewise.
11839         * elf/tst-tlsmod5.c: Likewise.
11840         * elf/tst-tlsmod6.c: Likewise.
11842 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
11844         [BZ #12486]
11845         * malloc/malloc.c: remove checks for statistics.
11847 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11849         [BZ #15277]
11850         * inet/inet_net.c (inet_network): Detect additional invalid strings.
11851         * inet/tst-network.c: Add testcase.
11853 2013-10-17  Andreas Schwab  <schwab@suse.de>
11855         [BZ #15218]
11856         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11857         to determine canonical name.
11859 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11861         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11862         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11863         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11864         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11865         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11866         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11867         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11868         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11869         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11870         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11871         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11872         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11873         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11874         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11875         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11876         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11877         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11878         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11879         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11880         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11881         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11882         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11883         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11884         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11885         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11886         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11887         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11888         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11889         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11890         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11891         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11892         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11893         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11894         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11895         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11896         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11897         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11898         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11899         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11900         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11901         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11902         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11903         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11904         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11905         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11906         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11907         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11908         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11909         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11910         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11911         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11912         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11913         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11914         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11915         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11916         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11917         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11918         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11920 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
11922         [BZ #16041]
11923         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11924         make result into a quiet NaN.
11926 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
11928         * soft-fp/adddf3.c: Fix horizontal whitespace.
11929         * soft-fp/addsf3.c: Likewise.
11930         * soft-fp/addtf3.c: Likewise.
11931         * soft-fp/divdf3.c: Likewise.
11932         * soft-fp/divsf3.c: Likewise.
11933         * soft-fp/divtf3.c: Likewise.
11934         * soft-fp/double.h: Likewise.
11935         * soft-fp/eqdf2.c: Likewise.
11936         * soft-fp/eqsf2.c: Likewise.
11937         * soft-fp/eqtf2.c: Likewise.
11938         * soft-fp/extenddftf2.c: Likewise.
11939         * soft-fp/extended.h: Likewise.
11940         * soft-fp/extendsfdf2.c: Likewise.
11941         * soft-fp/extendsftf2.c: Likewise.
11942         * soft-fp/extendxftf2.c: Likewise.
11943         * soft-fp/fixdfdi.c: Likewise.
11944         * soft-fp/fixdfsi.c: Likewise.
11945         * soft-fp/fixdfti.c: Likewise.
11946         * soft-fp/fixsfdi.c: Likewise.
11947         * soft-fp/fixsfsi.c: Likewise.
11948         * soft-fp/fixsfti.c: Likewise.
11949         * soft-fp/fixtfdi.c: Likewise.
11950         * soft-fp/fixtfsi.c: Likewise.
11951         * soft-fp/fixtfti.c: Likewise.
11952         * soft-fp/fixunsdfdi.c: Likewise.
11953         * soft-fp/fixunsdfsi.c: Likewise.
11954         * soft-fp/fixunsdfti.c: Likewise.
11955         * soft-fp/fixunssfdi.c: Likewise.
11956         * soft-fp/fixunssfsi.c: Likewise.
11957         * soft-fp/fixunssfti.c: Likewise.
11958         * soft-fp/fixunstfdi.c: Likewise.
11959         * soft-fp/fixunstfsi.c: Likewise.
11960         * soft-fp/fixunstfti.c: Likewise.
11961         * soft-fp/floatdidf.c: Likewise.
11962         * soft-fp/floatdisf.c: Likewise.
11963         * soft-fp/floatditf.c: Likewise.
11964         * soft-fp/floatsidf.c: Likewise.
11965         * soft-fp/floatsisf.c: Likewise.
11966         * soft-fp/floatsitf.c: Likewise.
11967         * soft-fp/floattidf.c: Likewise.
11968         * soft-fp/floattisf.c: Likewise.
11969         * soft-fp/floattitf.c: Likewise.
11970         * soft-fp/floatundidf.c: Likewise.
11971         * soft-fp/floatundisf.c: Likewise.
11972         * soft-fp/floatunditf.c: Likewise.
11973         * soft-fp/floatunsidf.c: Likewise.
11974         * soft-fp/floatunsisf.c: Likewise.
11975         * soft-fp/floatunsitf.c: Likewise.
11976         * soft-fp/floatuntidf.c: Likewise.
11977         * soft-fp/floatuntisf.c: Likewise.
11978         * soft-fp/floatuntitf.c: Likewise.
11979         * soft-fp/fmadf4.c: Likewise.
11980         * soft-fp/fmasf4.c: Likewise.
11981         * soft-fp/fmatf4.c: Likewise.
11982         * soft-fp/gedf2.c: Likewise.
11983         * soft-fp/gesf2.c: Likewise.
11984         * soft-fp/getf2.c: Likewise.
11985         * soft-fp/ledf2.c: Likewise.
11986         * soft-fp/lesf2.c: Likewise.
11987         * soft-fp/letf2.c: Likewise.
11988         * soft-fp/muldf3.c: Likewise.
11989         * soft-fp/mulsf3.c: Likewise.
11990         * soft-fp/multf3.c: Likewise.
11991         * soft-fp/negdf2.c: Likewise.
11992         * soft-fp/negsf2.c: Likewise.
11993         * soft-fp/negtf2.c: Likewise.
11994         * soft-fp/op-1.h: Likewise.
11995         * soft-fp/op-2.h: Likewise.
11996         * soft-fp/op-4.h: Likewise.
11997         * soft-fp/op-8.h: Likewise.
11998         * soft-fp/op-common.h: Likewise.
11999         * soft-fp/quad.h: Likewise.
12000         * soft-fp/single.h: Likewise.
12001         * soft-fp/soft-fp.h: Likewise.
12002         * soft-fp/sqrtdf2.c: Likewise.
12003         * soft-fp/sqrtsf2.c: Likewise.
12004         * soft-fp/sqrttf2.c: Likewise.
12005         * soft-fp/subdf3.c: Likewise.
12006         * soft-fp/subsf3.c: Likewise.
12007         * soft-fp/subtf3.c: Likewise.
12008         * soft-fp/truncdfsf2.c: Likewise.
12009         * soft-fp/trunctfdf2.c: Likewise.
12010         * soft-fp/trunctfsf2.c: Likewise.
12011         * soft-fp/trunctfxf2.c: Likewise.
12012         * soft-fp/unorddf2.c: Likewise.
12013         * soft-fp/unordsf2.c: Likewise.
12014         * soft-fp/unordtf2.c: Likewise.
12016 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
12018         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12019         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12021 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
12023         * elf/dl-libc.c: Clear initfini list after freeing.
12025 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
12027         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12028         * soft-fp/addsf3.c: Likewise.
12029         * soft-fp/addtf3.c: Likewise.
12030         * soft-fp/divdf3.c: Likewise.
12031         * soft-fp/divsf3.c: Likewise.
12032         * soft-fp/divtf3.c: Likewise.
12033         * soft-fp/double.h: Likewise.
12034         * soft-fp/eqdf2.c: Likewise.
12035         * soft-fp/eqsf2.c: Likewise.
12036         * soft-fp/eqtf2.c: Likewise.
12037         * soft-fp/extenddftf2.c: Likewise.
12038         * soft-fp/extended.h: Likewise.
12039         * soft-fp/extendsfdf2.c: Likewise.
12040         * soft-fp/extendsftf2.c: Likewise.
12041         * soft-fp/extendxftf2.c: Likewise.
12042         * soft-fp/fixdfdi.c: Likewise.
12043         * soft-fp/fixdfsi.c: Likewise.
12044         * soft-fp/fixdfti.c: Likewise.
12045         * soft-fp/fixsfdi.c: Likewise.
12046         * soft-fp/fixsfsi.c: Likewise.
12047         * soft-fp/fixsfti.c: Likewise.
12048         * soft-fp/fixtfdi.c: Likewise.
12049         * soft-fp/fixtfsi.c: Likewise.
12050         * soft-fp/fixtfti.c: Likewise.
12051         * soft-fp/fixunsdfdi.c: Likewise.
12052         * soft-fp/fixunsdfsi.c: Likewise.
12053         * soft-fp/fixunsdfti.c: Likewise.
12054         * soft-fp/fixunssfdi.c: Likewise.
12055         * soft-fp/fixunssfsi.c: Likewise.
12056         * soft-fp/fixunssfti.c: Likewise.
12057         * soft-fp/fixunstfdi.c: Likewise.
12058         * soft-fp/fixunstfsi.c: Likewise.
12059         * soft-fp/fixunstfti.c: Likewise.
12060         * soft-fp/floatdidf.c: Likewise.
12061         * soft-fp/floatdisf.c: Likewise.
12062         * soft-fp/floatditf.c: Likewise.
12063         * soft-fp/floatsidf.c: Likewise.
12064         * soft-fp/floatsisf.c: Likewise.
12065         * soft-fp/floatsitf.c: Likewise.
12066         * soft-fp/floattidf.c: Likewise.
12067         * soft-fp/floattisf.c: Likewise.
12068         * soft-fp/floattitf.c: Likewise.
12069         * soft-fp/floatundidf.c: Likewise.
12070         * soft-fp/floatundisf.c: Likewise.
12071         * soft-fp/floatunsidf.c: Likewise.
12072         * soft-fp/floatunsisf.c: Likewise.
12073         * soft-fp/floatuntidf.c: Likewise.
12074         * soft-fp/floatuntisf.c: Likewise.
12075         * soft-fp/floatuntitf.c: Likewise.
12076         * soft-fp/fmadf4.c: Likewise.
12077         * soft-fp/fmasf4.c: Likewise.
12078         * soft-fp/fmatf4.c: Likewise.
12079         * soft-fp/gedf2.c: Likewise.
12080         * soft-fp/gesf2.c: Likewise.
12081         * soft-fp/getf2.c: Likewise.
12082         * soft-fp/ledf2.c: Likewise.
12083         * soft-fp/lesf2.c: Likewise.
12084         * soft-fp/letf2.c: Likewise.
12085         * soft-fp/muldf3.c: Likewise.
12086         * soft-fp/mulsf3.c: Likewise.
12087         * soft-fp/multf3.c: Likewise.
12088         * soft-fp/negdf2.c: Likewise.
12089         * soft-fp/negsf2.c: Likewise.
12090         * soft-fp/negtf2.c: Likewise.
12091         * soft-fp/op-1.h: Likewise.
12092         * soft-fp/op-2.h: Likewise.
12093         * soft-fp/op-4.h: Likewise.
12094         * soft-fp/op-8.h: Likewise.
12095         * soft-fp/op-common.h: Likewise.
12096         * soft-fp/quad.h: Likewise.
12097         * soft-fp/single.h: Likewise.
12098         * soft-fp/soft-fp.h: Likewise.
12099         * soft-fp/sqrtdf2.c: Likewise.
12100         * soft-fp/sqrtsf2.c: Likewise.
12101         * soft-fp/sqrttf2.c: Likewise.
12102         * soft-fp/subdf3.c: Likewise.
12103         * soft-fp/subsf3.c: Likewise.
12104         * soft-fp/subtf3.c: Likewise.
12105         * soft-fp/truncdfsf2.c: Likewise.
12106         * soft-fp/trunctfdf2.c: Likewise.
12107         * soft-fp/trunctfsf2.c: Likewise.
12108         * soft-fp/trunctfxf2.c: Likewise.
12109         * soft-fp/unorddf2.c: Likewise.
12110         * soft-fp/unordsf2.c: Likewise.
12111         * soft-fp/unordtf2.c: Likewise.
12113 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
12115         [BZ #15672]
12116         * misc/error.c (error_tail): Fix possible buffer overflow.
12118 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
12120         [BZ #13028]
12121         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12122         address.
12124 2013-10-14  P. J. McDermott  <pj@pehjota.net>
12126         [BZ #832]
12127         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
12128         testing pipefail option.
12130 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12132         * soft-fp/double.h: Indent preprocessor directives inside #if.
12133         * soft-fp/extended.h: Likewise.
12134         * soft-fp/op-2.h: Likewise.
12135         * soft-fp/op-4.h: Likewise.
12136         * soft-fp/op-common.h: Likewise.
12137         * soft-fp/quad.h: Likewise.
12138         * soft-fp/single.h: Likewise.
12139         * soft-fp/soft-fp.h: Likewise.
12141 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
12143         * iconv/iconv_prog.c: Fix typos.
12144         * stdio-common/psiginfo-data.h: Likewise.
12146 2013-10-12   Reuben Thomas <rrt@sc3d.org>
12148         [BZ #15764]
12149         * locale/setlocale.c: Fix typo.
12151 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12153         [BZ #16036]
12154         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12155         signaling NaN arguments.
12156         * soft-fp/unordsf2.c (__unordsf2): Likewise.
12157         * soft-fp/unordtf2.c (__unordtf2): Likewise.
12159         [BZ #14910]
12160         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12161         unordered operands.
12162         * soft-fp/gesf2.c (__gesf2): Likewise.
12163         * soft-fp/getf2.c (__getf2): Likewise.
12164         * soft-fp/ledf2.c (__ledf2): Likewise.
12165         * soft-fp/lesf2.c (__lesf2): Likewise.
12166         * soft-fp/letf2.c (__letf2): Likewise.
12168         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12169         * soft-fp/eqsf2.c (__eqsf2): Likewise.
12170         * soft-fp/eqtf2.c (__eqtf2): Likewise.
12171         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12172         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12173         * soft-fp/fixdfti.c (__fixdfti): Likewise.
12174         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12175         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12176         * soft-fp/fixsfti.c (__fixsfti): Likewise.
12177         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12178         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12179         * soft-fp/fixtfti.c (__fixtfti): Likewise.
12180         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12181         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12182         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12183         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12184         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12185         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12186         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12187         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12188         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12189         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12190         * soft-fp/floatdisf.c (__floatdisf): Likewise.
12191         * soft-fp/floatsisf.c (__floatsisf): Likewise.
12192         * soft-fp/floattidf.c (__floattidf): Likewise.
12193         * soft-fp/floattisf.c (__floattisf): Likewise.
12194         * soft-fp/floattitf.c (__floattitf): Likewise.
12195         * soft-fp/floatundidf.c (__floatundidf): Likewise.
12196         * soft-fp/floatundisf.c (__floatundisf): Likewise.
12197         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12198         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12199         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12200         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12201         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12202         * soft-fp/gesf2.c (__gesf2): Likewise.
12203         * soft-fp/getf2.c (__getf2): Likewise.
12204         * soft-fp/ledf2.c (__ledf2): Likewise.
12205         * soft-fp/lesf2.c (__lesf2): Likewise.
12206         * soft-fp/letf2.c (__letf2): Likewise.
12208         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12209         Undefine and redefine.
12210         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12211         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12212         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12213         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12214         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12215         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12216         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12217         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12218         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12219         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12220         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12221         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12222         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12223         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12224         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12226         [BZ #16032]
12227         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12228         without decrementing exponent if mantissa >= that for the
12229         denominator, not >.
12230         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12231         denominator, not >.  Decrement exponent in < case instead of
12232         incrementing in >= case.
12233         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12234         without decrementing exponent if mantissa >= that for the
12235         denominator, not >.
12237         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12238         computing saturated result for unsigned overflow.
12240 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12241             Jeff Law  <law@redhat.com>
12243         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12244         (atan2Mp): Add systemtap probe marker.
12245         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12246         (__ieee754_log): Add systemtap probe marker.
12247         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12248         (atanMp): Add systemtap probe marker.
12249         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12250         (tanMp): Add systemtap probe marker.
12251         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12252         (__slowexp): Add systemtap probe marker.
12253         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12254         (__slowpow): Add systemtap probe marker.
12255         * manual/probes.texi: Document probes.
12257 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
12259         [BZ #15362]
12260         * libio/fileops.c (_IO_new_file_write): Return count of bytes
12261         written.
12262         (_IO_new_file_xsputn): Don't return EOF if nothing has been
12263         written.
12264         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12265         written to buffer but not flushed.
12266         * libio/iofwrite_u.c:  Likewise.
12267         * libio/iopadn.c:  Return bytes returned even if EOF was
12268         encountered.
12269         * libio/iowpadn.c:  Likewise.
12270         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12271         if _IO_padn does not write the whole buffer.
12272         [!COMPILE_WPRINTF] (PAD): Likewise.
12274 2013-10-10  David S. Miller  <davem@davemloft.net>
12276         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12277         directory block.
12279 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12281         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
12282         instead of FSF address.
12283         * soft-fp/fixdfti.c: Likewise.
12284         * soft-fp/fixsfti.c: Likewise.
12285         * soft-fp/fixtfti.c: Likewise.
12286         * soft-fp/fixunsdfti.c: Likewise.
12287         * soft-fp/fixunssfti.c: Likewise.
12288         * soft-fp/fixunstfti.c: Likewise.
12289         * soft-fp/floattidf.c: Likewise.
12290         * soft-fp/floattisf.c: Likewise.
12291         * soft-fp/floattitf.c: Likewise.
12292         * soft-fp/floatuntidf.c: Likewise.
12293         * soft-fp/floatuntisf.c: Likewise.
12294         * soft-fp/floatuntitf.c: Likewise.
12295         * soft-fp/trunctfxf2.c: Likewise.
12297         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
12298         * soft-fp/fixdfti.c: Likewise.
12299         * soft-fp/fixsfti.c: Likewise.
12300         * soft-fp/fixtfti.c: Likewise.
12301         * soft-fp/fixunsdfti.c: Likewise.
12302         * soft-fp/fixunssfti.c: Likewise.
12303         * soft-fp/fixunstfti.c: Likewise.
12304         * soft-fp/floattidf.c: Likewise.
12305         * soft-fp/floattisf.c: Likewise.
12306         * soft-fp/floattitf.c: Likewise.
12307         * soft-fp/floatuntidf.c: Likewise.
12308         * soft-fp/floatuntisf.c: Likewise.
12309         * soft-fp/floatuntitf.c: Likewise.
12310         * soft-fp/trunctfxf2.c: Likewise.
12312 2013-10-10  David S. Miller  <davem@davemloft.net>
12314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12316 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
12318         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12319         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12320         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12321         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12322         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12323         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12324         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12326         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12327         for NaNs before doing comparisons on argument.
12328         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12329         Likewise.
12331 2013-10-10  Will Newton  <will.newton@linaro.org>
12333         * malloc/hooks.c (memalign_check): Ensure the value of bytes
12334         passed to _int_memalign does not overflow.
12336 2013-10-10  Torvald Riegel  <triegel@redhat.com>
12338         * scripts/bench.pl: Add include-sources directive.
12339         * benchtests/README: Update documentation.
12341 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12343         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12344         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12345         instead of FP_INIT_ROUNDMODE.
12346         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12347         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12349         [BZ #16034]
12350         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
12351         copy class of input value.
12352         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
12353         not handle exceptions.
12354         * soft-fp/negsf2.c (__negsf2): Likewise.
12355         * soft-fp/negtf2.c (__negtf2): Likewise.
12356         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12358 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
12360         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12361         semicolon.  From Linux kernel.
12363 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
12365         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12367 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
12369         [BZ #156]
12370         * manual/socket.texi: Added statement about buffer
12371         for gethostbyname2_r.
12373 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
12375         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12376         Use .p2align directive instead, throughout.
12377         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12378         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12379         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12380         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12381         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12382         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12383         * sysdeps/x86_64/strchr.S: Likewise.
12384         * sysdeps/x86_64/strrchr.S: Likewise.
12386 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12388         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12390         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12392         * sysdeps/generic/math_private.h (__mpsin1): Remove
12393         declaration.
12394         (__mpcos1): Likewise.
12395         (__mpsin): New argument __range_reduce.
12396         (__mpcos): Likewise.
12397         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12398         (slow): Use __mpsin and __mpcos.
12399         (slow1): Likewise.
12400         (slow2): Likewise.
12401         (sloww): Likewise.
12402         (sloww1): Likewise.
12403         (sloww2): Likewise.
12404         (bsloww): Likewise.
12405         (bsloww1): Likewise.
12406         (bsloww2): Likewise.
12407         (cslow2): Likewise.
12408         (csloww): Likewise.
12409         (csloww1): Likewise.
12410         (csloww2): Likewise.
12411         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12412         range_reduce.  Merge in __mpsin1.
12413         (__mpcos): Likewise.
12414         (__mpsin1): Remove.
12415         (__mpcos1): Likewise.
12417 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
12419         * locale/loadlocale.c (_nl_intern_locale_data): Use
12420         LOCFILE_ALIGNED_P.
12421         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12422         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12423         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12424         obstack data is appropriately aligned.
12425         (obstack_int32_grow_fast): Likewise.
12426         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12427         * locale/programs/locfile.c (add_locale_uint32): Likewise.
12428         (add_locale_uint32_array): Likewise.
12430 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12432         * benchtests/Makefile: Remove ARGLIST and RET variables.
12433         ($(objpfx)bench-%.c): Pass only function name to the script.
12434         * benchtests/README: Update documentation.
12435         * benchtests/acos-inputs: Add new directives.
12436         * benchtests/acosh-inputs: Likewise.
12437         * benchtests/asin-inputs: Likewise.
12438         * benchtests/asinh-inputs: Likewise.
12439         * benchtests/atan-inputs: Likewise.
12440         * benchtests/atanh-inputs: Likewise.
12441         * benchtests/cos-inputs: Likewise.
12442         * benchtests/cosh-inputs: Likewise.
12443         * benchtests/exp-inputs: Likewise.
12444         * benchtests/log-inputs: Likewise.
12445         * benchtests/pow-inputs: Likewise.
12446         * benchtests/rint-inputs: Likewise.
12447         * benchtests/sin-inputs: Likewise.
12448         * benchtests/sinh-inputs: Likewise.
12449         * benchtests/tan-inputs: Likewise.
12450         * benchtests/tanh-inputs: Likewise.
12451         * scripts/bench.pl: Add support for new directives.
12453 2013-10-07  Alan Modra  <amodra@gmail.com>
12455         * README: Fix careless merge.
12457 2013-10-05  Alan Modra  <amodra@gmail.com>
12459         * NEWS: Mention powerpc64le support and bugs fixed.
12460         * README: Both big-endian and little-endian powerpc64 supported.
12462 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12464         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12465         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12466         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12467         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12469 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
12471         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12472         match prototype.
12474 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
12476         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12477         Move -mhard-float appending from
12478         ports/sysdeps/powerpc/powerpc32/Makefile.
12479         [$(with-fp) = yes] (ASFLAGS): Likewise.
12480         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12481         * sysdeps/powerpc/nofpu: Move directory from
12482         ports/sysdeps/powerpc/nofpu.
12483         * sysdeps/powerpc/soft-fp: Move directory from
12484         ports/sysdeps/powerpc/soft-fp.
12485         * sysdeps/powerpc/powerpc32/405: Move directory from
12486         ports/sysdeps/powerpc/powerpc32/405.
12487         * sysdeps/powerpc/powerpc32/440: Move directory from
12488         ports/sysdeps/powerpc/powerpc32/440.
12489         * sysdeps/powerpc/powerpc32/464: Move directory from
12490         ports/sysdeps/powerpc/powerpc32/464.
12491         * sysdeps/powerpc/powerpc32/476: Move directory from
12492         ports/sysdeps/powerpc/powerpc32/476.
12493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12494         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12496         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12498         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12500         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12502         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12503         * README: Update for powerpc-*-linux-gnu software floating point
12504         support in libc.
12506         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12507         case to powerpc/powerpc32*.
12508         * sysdeps/unix/sysv/linux/configure: Regenerated.
12510         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12511         (_FPU_MASK_OM): Define as 0x04.
12512         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12514         0x00c10080.
12515         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12516         0x0000003c.
12517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12520         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12521         getcontext_e500.
12522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12523         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12524         setcontext_e500.
12525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12526         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12527         and setcontext_e500.
12529 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
12531         * locale/iso-3166.def: Update iso-1366.def and related occurrences
12533 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12535         * manual/threads.texi (Default Thread Attributes): Fix typo.
12537 2013-10-04  Will Newton  <will.newton@linaro.org>
12539         * malloc/Makefile: Add tst-memalign.
12540         * malloc/tst-memalign.c: New file.
12542         * malloc/tst-posix_memalign.c: Add comments.
12543         (do_test): Add comments and call free on all potentially
12544         allocated pointers. Add space after cast.
12546         * malloc/tst-pvalloc.c: Add comments.
12547         (do_test): Add comments and call free on all potentially
12548         allocated pointers. Remove duplicate check for NULL pointer.
12549         Add space after cast.
12551         * malloc/tst-valloc.c: Add comments.
12552         (do_test): Add comments and call free on all potentially
12553         allocated pointers. Remove duplicate check for NULL pointer.
12554         Add space after cast.
12556 2013-10-04  Alan Modra  <amodra@gmail.com>
12558         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12559         Use stdint types in rather than __attribute__((mode())).
12560         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12562 2013-10-04  Alan Modra  <amodra@gmail.com>
12564         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12565         Correct handling of unaligned relocs for little-endian.
12566         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12568 2013-10-04  Alan Modra  <amodra@gmail.com>
12570         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12571         * configure: Regenerate.
12572         * nptl/shlib-versions: Powerpc*le starts at 2.18.
12573         * shlib-versions: Likewise.
12575 2013-10-04  Alan Modra  <amodra@gmail.com>
12577         * string/tester.c (test_memrchr): Increment reported test cycle.
12579 2013-10-04  Alan Modra  <amodra@gmail.com>
12581         * string/test-memcpy.c (do_one_test): When reporting errors, print
12582         string address and don't overrun end of string.
12584 2013-10-04  Alan Modra  <amodra@gmail.com>
12586         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12587         insrdi.  Make better use of reg selection to speed exit slightly.
12588         Schedule entry path a little better.  Remove useless "are we done"
12589         checks on entry to main loop.  Handle wrapping around zero address.
12590         Correct main loop count.  Handle single left-over word from main
12591         loop inline rather than by using loop_small.  Remove extra word
12592         case in loop_small caused by wrong loop count.  Add little-endian
12593         support.
12594         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12595         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
12596         cache hint.
12597         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12598         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12599         support.  Avoid rlwimi.
12600         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12602 2013-10-04  Alan Modra  <amodra@gmail.com>
12604         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12605         insrdi.  Formatting.
12606         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12607         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12608         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12609         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12610         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12611         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12613 2013-10-04  Alan Modra  <amodra@gmail.com>
12615         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12616         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12617         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12618         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12619         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12620         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12621         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12622         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12623         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
12624         use of regs.  Use power7 mtocrf.  Tidy function tails.
12626 2013-10-04  Alan Modra  <amodra@gmail.com>
12628         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12629         Formatting.  Consistently use rXXX register defines or rN defines.
12630         Use early exit labels that avoid restoring unused non-volatile regs.
12631         Make cr field use more consistent with rWORDn compares.  Rename
12632         regs used as shift registers for unaligned loop, using rN defines
12633         for short lifetime/multiple use regs.
12634         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12635         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
12636         addi 1,1,64 to pop stack frame.  Simplify return value code.
12637         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12639 2013-10-04  Alan Modra  <amodra@gmail.com>
12641         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12642         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
12643         rather than rlwimi.
12644         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12645         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12646         little-endian support.  Correct typos.
12647         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
12648         rather than rlwimi.
12649         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
12650         in loop and entry code to keep "and." results.
12651         (strchr): Add little-endian support.  Comment.  Move cntlzd
12652         earlier in tail.
12653         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12655 2013-10-04  Alan Modra  <amodra@gmail.com>
12657         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12658         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12659         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12660         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12662 2013-10-04  Alan Modra  <amodra@gmail.com>
12664         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12665         (rTMP): Define as r11.
12666         (strcmp): Add little-endian support.  Optimise tail.
12667         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12668         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12669         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12670         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12671         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12672         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12673         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12675 2013-10-04  Alan Modra  <amodra@gmail.com>
12677         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12678         little-endian support.  Remove unnecessary "are we done" tests.
12679         Handle "s" wrapping around zero and extremely large "size".
12680         Correct main loop count.  Handle single left-over word from main
12681         loop inline rather than by using small_loop.  Correct comments.
12682         Delete "zero" tail, use "end_max" instead.
12683         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12685 2013-10-04  Alan Modra  <amodra@gmail.com>
12687         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12688         support.  Don't branch over align.
12689         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12690         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12691         support.  Rearrange tmp reg use to suit.  Comment.
12692         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12694 2013-10-04  Alan Modra  <amodra@gmail.com>
12696         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12698 2013-10-04  Alan Modra  <amodra@gmail.com>
12700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12701         conditional form of branch and link when obtaining pc.
12702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12704 2013-10-04  Alan Modra  <amodra@gmail.com>
12706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12707         HIWORD/LOWORD.
12708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12711 2013-10-04  Alan Modra  <amodra@gmail.com>
12713         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12714         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12715         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12716         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12717         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12718         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12719         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12720         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12721         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12722         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12724 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12725             Alistair Popple <alistair@ozlabs.au.ibm.com>
12726             Alan Modra <amodra@gmail.com>
12728         [BZ #15723]
12729         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12730         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12731         _dl_hwcap access for little-endian.
12732         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
12733         destroy vmx regs when saving unaligned.
12734         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12735         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
12736         destroy vmx regs when saving unaligned.
12738 2013-10-04  Alan Modra  <amodra@gmail.com>
12740         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12741         Don't use a union to pack hi/low value.
12743 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12745         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12746         for little-endian.
12747         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12748         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12749         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12750         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12751         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12753 2013-10-04  Alan Modra  <amodra@gmail.com>
12755         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12756         constants to usual value for .cst8 section, and remove redundant
12757         high address load.
12758         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12759         constant for 0x1p52.  Load little-endian words of double from
12760         correct stack offsets.
12762 2013-10-04  Alan Modra  <amodra@gmail.com>
12764         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12765         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12766         words of double from correct stack offsets.
12767         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12768         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12769         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12770         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12771         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12772         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12773         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12774         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12775         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12776         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12777         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12778         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12779         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12780         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12781         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12782         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12783         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12785 2013-10-04  Alan Modra  <amodra@gmail.com>
12787         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12788         64-bit int/double union.
12789         (_FPU_SETCW): Likewise.
12790         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12791         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12793 2013-10-04  Alan Modra  <amodra@gmail.com>
12795         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12796         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12798 2013-10-04  Alan Modra  <amodra@gmail.com>
12800         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12801         use vector int constants.
12802         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12804 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12806         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12807         array with long long.
12808         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12809         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12810         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12811         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12812         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12813         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12814         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12815         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12816         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12817         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12818         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12819         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12820         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12822 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12824         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12825         (__signbit): Likewise.  Correct for little-endian.
12826         (__signbitl): Call __signbit.
12827         (lrint): Correct for little-endian.
12828         (lrintf): Call lrint.
12830 2013-10-04  Alan Modra  <amodra@gmail.com>
12832         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12833         union 32-bit int array member with 64-bit int array.
12834         (t515, tm256): Double rather than long double.
12835         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12837 2013-10-04  Alan Modra  <amodra@gmail.com>
12839         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12840         Delete.
12841         (IEEE854_LONG_DOUBLE_BIAS): Delete.
12842         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12843         version of math_ldbl.h.
12845 2013-10-04  Alan Modra  <amodra@gmail.com>
12847         [BZ #15734], [BZ #15735]
12848         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12849         all uses of ieee875 long double macros and unions.  Simplify test
12850         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
12851         ldbl_extract_mantissa value for ix,iy exponents.  Properly
12852         normalize after ldbl_extract_mantissa, and don't add hidden bit
12853         already handled.  Don't treat low word of ieee854 mantissa like
12854         low word of IBM long double and mask off bit when testing for
12855         zero.
12856         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12857         all uses of ieee875 long double macros and unions.  Simplify tests
12858         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
12859         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
12860         two1022, instead use their values.  Recognise that tests for large
12861         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
12862         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12863         Rewrite all uses of ieee875 long double macros and unions.  Simplify
12864         test for 0.0L and nan.  Correct negation.
12865         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12866         ieee875 long double macros and unions.  Correct output for large
12867         magnitude x.  Correct absolute value calculation.
12868         (__erfcl): Likewise.
12869         * math/libm-test.inc: Add tests for errors discovered in IBM long
12870         double versions of fmodl, remainderl, erfl and erfcl.
12872 2013-10-04  Alan Modra  <amodra@gmail.com>
12874         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12875         all uses of ieee854 long double macros and unions.  Simplify tests
12876         for long doubles that are fully specified by the high double.
12877         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12878         Likewise.
12879         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12880         Remove dead code too.
12881         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12882         (__ieee754_ynl): Likewise.
12883         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12884         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12885         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12886         Remove dead code too.
12887         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12888         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12889         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12890         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12891         Simplify.
12892         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12893         Simplify.
12894         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12895         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12896         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12897         Comment on variable precision.
12898         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12899         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12900         Likewise.
12901         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12902         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12903         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12904         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12905         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12907 2013-10-04  Alan Modra  <amodra@gmail.com>
12909         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12910         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12911         all uses of ieee854 long double macros and unions.
12912         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12913         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12914         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12915         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12916         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12917         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12918         Likewise.
12919         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12920         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12921         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12922         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12923         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12924         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12925         Simplify sign and nan test too.
12926         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12927         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12928         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12929         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12930         Likewise.
12931         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12932         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12933         Likewise.
12934         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12935         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12936         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12937         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12938         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12939         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12941 2013-10-04  Alan Modra  <amodra@gmail.com>
12943         * stdio-common/printf_size.c (__printf_size): Don't use
12944         union ieee854_long_double in fpnum union.
12945         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
12946         signbit macro to retrieve sign from long double.
12947         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12948         retrieve sign from long double.
12949         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12950         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12951         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12952         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12953         * math/test-misc.c (main): Don't use union ieee854_long_double.
12955 2013-10-04  Alan Modra  <amodra@gmail.com>
12957         [BZ #15680]
12958         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12959         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12960         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12961         calculation.  Remove unnecessary test for denormal exponent.
12962         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12963         Correct handling of denormals.  Avoid undefined shift behaviour.
12964         Correct normalisation of low mantissa when low double is denormal.
12965         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12966         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
12967         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12968         Correct normalisation of low mantissa.  Test for overflow of high
12969         mantissa and normalise.
12970         (ldbl_nearbyint): Use more readable constant for two52.
12971         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12972         (__mpn_construct_long_double): Fix test for overflow of high
12973         mantissa and correct normalisation.  Avoid undefined shift.
12975 2013-10-04  Alan Modra  <amodra@gmail.com>
12977         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12978         (union ibm_extended_long_double): Define as an array of ieee754_double.
12979         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12980         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12981         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12982         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12983         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12984         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12985         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12986         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12987         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12988         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12989         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12991 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
12993         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12994         page size instead of calling getpagesize.
12996         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12997         (LOCFILE_ALIGN_MASK): Likewise.
12998         (LOCFILE_ALIGN_UP): Likewise.
12999         (LOCFILE_ALIGNED_P): Likewise.
13000         * locale/programs/ld-collate.c (collate_output): Use the new
13001         macros instead of __alignof__ (int32_t).
13002         * locale/weight.h (findidx): Likewise.
13004 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
13006         [BZ #431]
13007         * manual/string.texi: Fix strncat and wcsncat.
13009 2013-10-03  Brooks Moses  <bmoses@google.com>
13011         [BZ #15915]
13012         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13013         * Makerules: ...here, and adjust associated comments.
13015 2013-10-02  Will Newton  <will.newton@linaro.org>
13017         * malloc/Makefile: Add tst-pvalloc.
13018         * malloc/tst-pvalloc.c: New file.
13020 2013-10-02  Will Newton  <will.newton@linaro.org>
13022         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13023         improve test coverage.
13025 2013-10-02  Will Newton  <will.newton@linaro.org>
13027         * malloc/Makefile: Add tst-posix_memalign.
13028         * malloc/tst-posix_memalign.c: New file.
13030 2013-10-01  Eric Blake  <eblake@redhat.com>
13032         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13033         Use __THROWNL rather than __THROW on static functions.
13035 2013-09-30  Petr Machata  <pmachata@redhat.com>
13037         * elf/elf.h (R_AARCH64_ABS16): New macro.
13038         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13039         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13040         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13041         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13042         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13043         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13044         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13045         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13046         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13047         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13048         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13049         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13050         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13051         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13052         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13053         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13054         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13055         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13056         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13057         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13058         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13059         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13060         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13061         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13062         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13063         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13064         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13065         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13066         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13067         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13068         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13069         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13070         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13071         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13072         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13073         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13074         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13075         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13076         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13077         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13078         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13079         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13080         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13081         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13082         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13083         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13084         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13085         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13086         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13087         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13088         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13089         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13090         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13091         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13092         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13093         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13094         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13095         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13096         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13097         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13098         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13099         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13100         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13101         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13102         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13103         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13104         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13105         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13106         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13107         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13108         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13109         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13110         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13111         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13112         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13113         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13114         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13115         (R_AARCH64_TLSDESC_LDR): Likewise.
13116         (R_AARCH64_TLSDESC_ADD): Likewise.
13117         (R_AARCH64_TLSDESC_CALL): Likewise.
13119 2013-09-30  Andreas Schwab  <schwab@suse.de>
13121         [BZ #15048]
13122         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13123         the nss database lookup.
13124         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13127 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
13129         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13131 2013-09-28  P. J. McDermott  <pj@pehjota.net>
13133         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13134         ${Bash-specific parameter/pattern/string} parameter expansion.
13135         * sysdeps/unix/make-syscalls.sh: Likewise.
13137 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13139         * sysdeps/sh/stackguard-macros.h: New file.
13141 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
13143         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13144         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13145         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13146         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13147         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13148         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13150 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13152         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13153         Fix thread ID register.
13155 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
13157         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13158         [POSIX || UNIX98]: Require rather than permitting all symbols from
13159         <time.h>.
13160         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13161         element of struct sched_param.
13162         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13163         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13164         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13165         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13166         constant.
13168 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
13170         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13171         argument calculation.
13173 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13175         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13176         Expect macro.
13177         [POSIX] (pthread_attr_t): Do not require type.
13178         [POSIX] (pthread_cond_t): Likewise.
13179         [POSIX] (pthread_condattr_t): Likewise.
13180         [POSIX] (pthread_key_t): Likewise.
13181         [POSIX] (pthread_mutex_t): Likewise.
13182         [POSIX] (pthread_mutexattr_t): Likewise.
13183         [POSIX] (pthread_once_t): Likewise.
13184         [POSIX] (pthread_t): Likewise.
13185         [POSIX-based standards] (pthread_atfork): Expect function.
13187 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13188             Richard Sandiford  <richard@codesourcery.com>
13190         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13191         (swap_endianness_p): New extern variable.
13192         (set_big_endian): New inline function.
13193         (maybe_swap_uint32): Likewise.
13194         (maybe_swap_uint32_array): Likewise.
13195         (maybe_swap_uint32_obstack): Likewise.
13196         * locale/programs/locfile.c: Include <stdbool.h>.
13197         (swap_endianness_p): New variable.
13198         (add_locale_uint32): Call maybe_swap_uint32.
13199         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13200         (write_locale_data): Call maybe_swap_uint32_array.
13201         * locale/programs/ld-collate.c (obstack_int32_grow): Call
13202         maybe_swap_uint32.
13203         (obstack_int32_grow_fast): Likewise.
13204         (output_weightwc): Call maybe_swap_uint32_obstack.
13205         (collate_output): Likewise.
13206         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13207         (OPT_LITTLE_ENDIAN): Likewise.
13208         (options): Add --little-endian and --big-endian options.
13209         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13210         * locale/programs/locarchive.c: Include "locfile.h".
13211         (GET): New macro.
13212         (SET): Likewise.
13213         (INC): Likewise.
13214         (create_archive): Use the new macros to access fields of
13215         structures directly mapped from or written to locale archives.
13216         (oldlocrecentcmp): Likewise.
13217         (enlarge_archive): Likewise.
13218         (insert_name): Likewise.
13219         (add_alias): Likewise.
13220         (add_locale): Likewise.
13221         (delete_locales_from_archive): Likewise.
13222         (show_archive_content): Likewise.
13223         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
13224         locale data.
13226 2013-09-24  Roland McGrath  <roland@hack.frob.com>
13228         * manual/freemanuals.texi: Updated from (newly) canonical copy at
13229         http://www.gnu.org/doc/freemanuals.texi.
13230         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13232 2013-09-24  Will Newton  <will.newton@linaro.org>
13234         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13235         macro.
13237 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
13239         * locale/hashval.h (compute_hashval): Interpret bytes of key as
13240         unsigned char.
13242 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
13244         * manual/threads.texi (POSIX Threads): Fix a typo.
13246 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13248         [BZ #14547]
13249         * string/tst-strcoll-overflow.c: New test case.
13250         * string/Makefile (xtests): Add tst-strcoll-overflow.
13251         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13252         cache if string sizes may cause integer overflow.
13254         [BZ #14547]
13255         * string/strcoll_l.c (coll_seq): New members rule, idx,
13256         save_idx and back_us.
13257         (get_next_seq_nocache): New function.
13258         (do_compare_nocache): New function.
13259         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13260         when malloc fails.
13262 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
13264         [BZ #15754]
13265         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13266         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13267         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13269         [BZ #15754]
13270         * elf/Makefile (tests): Add tst-ptrguard1.
13271         (tests-static): Add tst-ptrguard1-static.
13272         (tst-ptrguard1-ARGS): Define.
13273         (tst-ptrguard1-static-ARGS): Define.
13274         * elf/tst-ptrguard1.c: New file.
13275         * elf/tst-ptrguard1-static.c: New file.
13276         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13277         * sysdeps/i386/stackguard-macros.h: Likewise.
13278         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13279         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13280         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13281         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13282         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13283         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13285 2013-09-23  Hector Marco  <hecmargi@upv.es>
13286             Ismael Ripoll  <iripoll@disca.upv.es>
13287             Carlos O'Donell  <carlos@redhat.com>
13289         [BZ #15754]
13290         * sysdeps/generic/stackguard-macros.h: Define
13291         __pointer_chk_guard_local and POINTER_CHK_GUARD.
13292         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13293         Define __pointer_chk_guard_local.
13294         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13295         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13297 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
13299         [BZ #15859]
13300         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13302 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
13304         * include/string.h (__ffs): Declare as hidden.
13305         * string/ffs.c (__ffs): Define as hidden.
13306         * sysdeps/i386/ffs.c (__ffs): Likewise.
13307         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13308         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13309         * sysdeps/s390/ffs.c (__ffs): Likewise.
13310         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13312 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
13314         * NEWS: Mention malloc probes.
13316         * malloc/arena.c (new_heap): New memory_heap_new probe.
13317         (grow_heap): New memory_heap_more probe.
13318         (shrink_heap): New memory_heap_less probe.
13319         (heap_trim): New memory_heap_free probe.
13320         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13321         (systrim): New memory_sbrk_less probe.
13322         * manual/probes.texi: Document them.
13324         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13325         * manual/probes.texi: Document it.
13327         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13328         (__libc_realloc): Add memory_realloc_retry probe.
13329         (__libc_memalign): Add memory_memalign_retry probe.
13330         (__libc_valloc): Add memory_valloc_retry probe.
13331         (__libc_pvalloc): Add memory_pvalloc_retry probe.
13332         (__libc_calloc): Add memory_calloc_retry probe.
13333         * manual/probes.texi: Document them.
13335         * malloc/arena.c (get_free_list): Add probe
13336         memory_arena_reuse_free_list.
13337         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13338         and memory_arena_reuse.
13339         (arena_get2) [!PER_THREAD]: Likewise.
13340         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13341         memory_arena_reuse_realloc.
13342         * manual/probes.texi: Document them.
13344         * malloc/malloc.c (__libc_free): Add
13345         memory_mallopt_free_dyn_thresholds probe.
13346         (__libc_mallopt): Add multiple memory_mallopt probes.
13347         * manual/probes.texi: Document them.
13349         * malloc/malloc.c: Include stap-probe.h.
13350         (__libc_mallopt): Add memory_mallopt probe.
13351         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13352         * manual/probes.texi: New.
13353         * manual/Makefile (chapters): Add probes.
13354         * manual/threads.texi: Set next node.
13356 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
13358         [BZ #15963, #13985]
13359         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13360         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13361         Add `Chinese' to `nan' entry name.
13363 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13365         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13366         (POLYNOMIAL): Likewise.
13367         (TAYLOR_SINCOS): Likewise.
13368         (TAYLOR_SLOW): Likewise.
13369         (__sin): Use TAYLOR_SINCOS.
13370         (__cos): Likewise.
13371         (slow): Use TAYLOR_SLOW.
13372         (sloww): Likewise.
13373         (bsloww): Likewise.
13374         (csloww): Likewise.
13376 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13378         * stdlib/strtod_l.c: Fix buffer overrun.
13380 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13382         * benchtests/Makefile (bench): Add sincos.
13383         * benchtests/bench-sincos.c: New file.
13385         * math/libm-test.inc (cos_test_data): New test inputs.
13386         (sin_test_data): Likewise.
13388         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13389         macro.
13390         (__sin): Use it.
13391         (__cos): Likewise.
13392         (slow1): Likewise.
13393         (slow2): Likewise.
13394         (sloww1): Likewise.
13395         (sloww2): Likewise.
13396         (bsloww1): Likewise.
13397         (bsloww2): Likewise.
13398         (cslow2): Likewise.
13399         (csloww1): Likewise.
13400         (csloww2): Likewise.
13402         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13403         function.
13404         (__sin): Use it.
13405         (__cos): Likewise.
13407         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13408         gotos.
13409         (__cos): Likewise.
13411 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
13413         * config.h.in (HAVE_MIPS_NAN2008): New macro.
13414         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13415         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13416         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13417         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13418         * elf/cache.c (print_entry): Handle the new cache flags.
13420 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13421             Aldy Hernandez  <aldyh@redhat.com>
13423         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13424         Change condition to [_SOFT_FLOAT].
13425         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13426         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13427         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13428         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13429         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13430         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13431         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13432         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13433         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13434         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13435         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13436         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13437         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13438         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13439         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13440         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13441         declaration.
13443 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13445         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13446         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13447         (__longjmp): Use LOAD_GP to load saved GPRs.
13448         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13449         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13450         (__sigsetjmp): Use SAVE_GP to save GPRs.
13452         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13453         Do not append -msoft-float.
13454         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13456 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13458         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13460 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
13462         [BZ #15966]
13463         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13464         (_FPU_GETCW): Use initial "__" on variable and field names but not
13465         on macro parameter name.
13466         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
13467         parentheses around reference to macro parameter.
13469 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
13471         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13472         prototype.
13473         (ctype_startup): Use uint32_t in cast and sizeof for
13474         ctype->charnames.
13476 2013-09-11  Jia Liu  <proljc@gmail.com>
13478         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13479         __daddr_t_defined.
13480         [__FreeBSD__]: Likewise.
13482 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
13484         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13485         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13486         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13487         (strchr): Remove __strchr_sse42 ifunc selection.
13488         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13489         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13491 2013-09-11  Will Newton  <will.newton@linaro.org>
13493         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13494         parameter to RES. Remove hardcoded 1000 value.
13495         * benchtests/bench-skeleton.c (main): Pass RES parameter
13496         to TIMING_INIT and multiply result by 1000.
13498 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13502 2013-09-11  Andreas Schwab  <schwab@suse.de>
13504         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13505         if not defined.
13506         (O_TMPFILE) [__USE_GNU]: Define.
13507         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13508         Define.
13510 2013-09-11  Will Newton  <will.newton@linaro.org>
13512         [BZ #15857]
13513         * malloc/malloc.c (__libc_memalign): Check the value of bytes
13514         does not overflow.
13516 2013-09-11  Will Newton  <will.newton@linaro.org>
13518         [BZ #15856]
13519         * malloc/malloc.c (__libc_valloc): Check the value of bytes
13520         does not overflow.
13522 2013-09-11  Will Newton  <will.newton@linaro.org>
13524         [BZ #15855]
13525         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13526         does not overflow.
13528 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
13530         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13531         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13532         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13533         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13534         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13536 2013-09-10  Allan McRae  <allan@archlinux.org>
13538         [BZ #15748]
13539         * manual/arith.texi (Parsing of Floats): Clarify
13540         cross-reference.
13542         [BZ #15849]
13543         * manual/install.texi (Running make install): Mention
13544         --enable-pt-chown.
13545         * INSTALL: Regenerated.
13547 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13549         * csu/init-first.c (_init): Remove the !SHARED condition around
13550         FPU control word initialization.
13551         * elf/dl-support.c (_dl_fpu_control): New variable.
13552         (_dl_aux_init) <AT_FPUCW>: Initialize it.
13553         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13554         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13555         * math/test-fpucw-static.c: New file.
13556         * math/test-fpucw-ieee.c: New file.
13557         * math/test-fpucw-ieee-static.c: New file.
13558         * math/Makefile (tests): Add `test-fpucw-ieee' and
13559         `$(tests-static)'.
13560         (tests-static): New variable.
13561         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13562         dependency to...
13563         [($(build-shared),yes)]
13564         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13565         ... this.
13566         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13567         New dependency.
13569 2013-09-09  Allan McRae  <allan@archlinux.org>
13571         [BZ #15939]
13572         * manual/string.texi (Collation Functions): Fix typo in
13573         strcoll example.
13574         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13576         [BZ #15893]
13577         * stdlib/isomac.c (get_null_defines): Fix memory leak.
13579         [BZ #15892]
13580         * libio/memstream.c (open_memstream): Fix memory leak.
13581         * libio/wmemstream.c (open_wmemstream): Likewise.
13583         [BZ #15895]
13584         * nscd/netgroupcache.c: Fix nesting of ifdefs.
13586 2013-09-09  Will Newton  <will.newton@linaro.org>
13588         * malloc/Makefile: Add tst-realloc to tests.
13589         * malloc/tst-realloc.c: New file.
13591 2013-09-09  Allan McRae  <allan@archlinux.org>
13593         [BZ #15844]
13594         * COPYING: Update from GNU website to fix FSF address.
13595         * COPYING.LIB: Likewise.
13597 2013-09-06  David S. Miller  <davem@davemloft.net>
13599         * po/zh_TW.po: Update Chinese (traditional) translation from
13600         translation project.
13602 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
13603             Joseph Myers  <joseph@codesourcery.com>
13605         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13606         "localeinfo.h".
13607         (obstack_chunk_alloc): New macro.
13608         (obstack_chunk_free): Likewise.
13609         (record_offset): New function.
13610         (init_locale_data): Likewise.
13611         (align_locale_data): Likewise.
13612         (add_locale_empty): Likewise.
13613         (add_locale_raw_data): Likewise.
13614         (add_locale_raw_obstack): Likewise.
13615         (add_locale_string): Likewise.
13616         (add_locale_wstring): Likewise.
13617         (add_locale_uint32): Likewise.
13618         (add_locale_uint32_array): Likewise.
13619         (add_locale_char): Likewise.
13620         (start_locale_structure): Likewise.
13621         (end_locale_structure): Likewise.
13622         (start_locale_prelude): Likewise.
13623         (end_locale_prelude): Likewise.
13624         (write_locale_data): Take locale_file structure rather than an
13625         iovec.
13626         * locale/programs/locfile.h: Include "obstack.h".
13627         (struct locale_file): Change to store locale file contents instead
13628         of header.
13629         (init_locale_data): New prototype.
13630         (align_locale_data): Likewise.
13631         (add_locale_empty): Likewise.
13632         (add_locale_raw_data): Likewise.
13633         (add_locale_raw_obstack): Likewise.
13634         (add_locale_string): Likewise.
13635         (add_locale_wstring): Likewise.
13636         (add_locale_uint32): Likewise.
13637         (add_locale_uint32_array): Likewise.
13638         (add_locale_char): Likewise.
13639         (start_locale_structure): Likewise.
13640         (end_locale_structure): Likewise.
13641         (start_locale_prelude): Likewise.
13642         (end_locale_prelude): Likewise.
13643         (write_locale_data): Update prototype.
13644         * locale/programs/3level.h (struct TABLE): Remove result field.
13645         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13646         Use new locale_file interface.
13647         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13648         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13649         * locale/programs/ld-address.c (address_output): Use new
13650         locale_file interface.
13651         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13652         NO_ADD_LOCALE.
13653         (collate_finish): Don't call collseq_table_finalize.
13654         (collate_output): Use new locale_file interface.
13655         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13656         in file.
13657         (NO_FINALIZE): Change to NO_ADD_LOCALE.
13658         (TABLE): Move defines earlier in file.
13659         (ELEMENT): Likewise.
13660         (DEFAULT): Likewise.
13661         (wctrans_table_add): Move macro and inline function earlier in
13662         file.
13663         (struct wctype_table): Move type earlier in file.
13664         (add_locale_wctype_table): New static prototype.
13665         (struct locale_ctype_t): Use logical types instead of struct iovec
13666         pointers for members.
13667         (ctype_output): Use new locale_file interface.
13668         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
13669         new locale_file interface.
13670         (allocate_arrays): Update for use of new locale_file interface.
13671         * locale/programs/ld-identification.c (identification_output): Use
13672         new locale_file interface.
13673         * locale/programs/ld-measurement.c (measurement_output): Likewise.
13674         * locale/programs/ld-messages.c (messages_output): Likewise.
13675         * locale/programs/ld-monetary.c (monetary_output): Likewise.
13676         * locale/programs/ld-name.c (name_output): Likewise.
13677         * locale/programs/ld-numeric.c (numeric_output): Likewise.
13678         * locale/programs/ld-paper.c (paper_output): Likewise.
13679         * locale/programs/ld-telephone.c (telephone_output): Likewise.
13680         * locale/programs/ld-time.c (time_output): Likewise.
13682 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13684         * benchtests/Makefile: Add memrchr benchmark.
13685         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13686         benchmark as memrchr.
13687         * benchtests/bench-memrchr-ifunc.c: New file.
13688         * benchtests/bench-memrchr.c: New file.
13690 2013-09-06   Will Newton  <will.newton@linaro.org>
13692         * benchtests/Makefile (string-bench): Add memcpy.
13694 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
13695             Cong Wang  <amwang@redhat.com>
13697         [BZ #15850]
13698         * sysdeps/unix/sysv/linux/bits/in.h
13699         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13700         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13701         before __USE_KERNEL_IPV6_DEFS uses.
13702         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13703         IPPROTO_BEETPH.
13704         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13705         sockaddr_in6, or ipv6_mreq.
13707 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13709         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13710         memory access for final bytes in some large inputs.
13711         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13713 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13715         * string/test-memrchr.c: New file.
13716         * string/test-memrchr-ifunc.c: New file.
13717         * string/Makefile: Add new memrchr testcase.
13719 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
13721         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13722         fanotify_init returns EPERM.
13724 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13726         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13727         errors.
13728         (top level): Treat second token from macro or constant entries for
13729         allowed headers as allowed.
13730         * include/complex.h: Condition internal declarations on
13731         [!_ISOMAC].
13732         * include/fenv.h: Condition include of <stdbool.h> and internal
13733         declarations on [!_ISOMAC].
13735 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
13737         [BZ #15923]
13738         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13740 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13742         * configure.in (--enable-versioning): Remove configure option.
13743         (libc_cv_asm_symver_directive): Remove configure test.
13744         (libc_cv_ld_version_script_option): Likewise.
13745         (VERSIONING): Remove variable and AC_SUBST.
13746         (DO_VERSIONING): Remove AC_DEFINE.
13747         * configure: Regenerated.
13748         * config.h.in (DO_VERSIONING): Remove macro.
13749         * Makerules [$(versioning) = yes]: Change conditionals to
13750         [$(build-shared) = yes].
13751         * config.make.in (versioning): Remove variable.
13752         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13753         [$(build-shared) = yes].
13754         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13755         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13756         * elf/Makefile [$(versioning) = yes]: Change conditionals to
13757         [$(build-shared) = yes].
13758         * extra-lib.mk [$(versioning) = yes]: Likewise.
13759         * hurd/Makefile [$(versioning) = yes]: Likewise.
13760         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13761         [SHARED].
13762         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13763         [SHARED].
13764         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13765         [SHARED && !NO_HIDDEN].
13766         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13767         [SHARED].
13768         [SHARED && DO_VERSIONING]: Likewise..
13769         * libio/Makefile [$(versioning) = yes]: Change conditionals to
13770         [$(build-shared) = yes].
13771         * manual/install.texi (--disable-versioning): Remove
13772         documentation.
13773         * INSTALL: Regenerated.
13774         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13775         to [SHARED].
13776         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13777         [$(build-shared) = yes].
13778         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13779         * sysdeps/i386/i686/multiarch/strstr-c.c
13780         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13781         [SHARED && !NO_HIDDEN].
13782         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13783         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13784         * sysdeps/powerpc/powerpc32/dl-machine.c
13785         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13786         * sysdeps/powerpc/powerpc32/sysdep.h
13787         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13788         to [SHARED && PIC && !NO_HIDDEN].
13789         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13790         conditional to [SHARED].
13792 2013-09-04   Will Newton  <will.newton@linaro.org>
13794         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13795         * benchtests/bench-string.h: Include bench-timing.h instead
13796         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13797         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13798         call to HP_TIMING_DIFF_INIT.
13799         * benchtests/bench-memccpy.c: Use bench-timing.h macros
13800         instead of hp-timing.h macros.
13801         * benchtests/bench-memchr.c: Likewise.
13802         * benchtests/bench-memcmp.c: Likewise.
13803         * benchtests/bench-memcpy.c: Likewise.
13804         * benchtests/bench-memmem.c: Likewise.
13805         * benchtests/bench-memmove.c: Likewise.
13806         * benchtests/bench-memset.c: Likewise.
13807         * benchtests/bench-rawmemchr.c: Likewise.
13808         * benchtests/bench-strcasecmp.c: Likewise.
13809         * benchtests/bench-strcasestr.c: Likewise.
13810         * benchtests/bench-strcat.c: Likewise.
13811         * benchtests/bench-strchr.c: Likewise.
13812         * benchtests/bench-strcmp.c: Likewise.
13813         * benchtests/bench-strcpy.c: Likewise.
13814         * benchtests/bench-strcpy_chk.c: Likewise.
13815         * benchtests/bench-strlen.c: Likewise.
13816         * benchtests/bench-strncasecmp.c: Likewise.
13817         * benchtests/bench-strncat.c: Likewise.
13818         * benchtests/bench-strncmp.c: Likewise.
13819         * benchtests/bench-strncpy.c: Likewise.
13820         * benchtests/bench-strnlen.c: Likewise.
13821         * benchtests/bench-strpbrk.c: Likewise.
13822         * benchtests/bench-strrchr.c: Likewise.
13823         * benchtests/bench-strspn.c: Likewise.
13824         * benchtests/bench-strstr.c: Likewise.
13826 2013-09-04  Will Newton  <will.newton@linaro.org>
13828         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13830 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
13832         [BZ #15427]
13833         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13834         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13835         * math/libm-test.inc (lgamma_test_data): Add more tests.
13836         * sysdeps/i386/fpu/libm-test-ulps: Update.
13837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13839 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
13841         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13842         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13843         Add ifunc.
13844         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13845         Add strcmp-sse2-unaligned
13846         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13848 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13850         * Versions.def (libc): Add GLIBC_2.19.
13852 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13854         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13855         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13857 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
13859         [BZ #14155]
13860         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13861         intermediate calculations in recurrence.
13862         (__ieee754_ynf): Likewise.
13863         * math/libm-test.inc (jn_test_data): Do not allow spurious
13864         underflow exception.  Add more tests.
13865         (yn_test_data): Add more tests.
13866         * sysdeps/i386/fpu/libm-test-ulps: Update.
13867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13869 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
13871         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13873 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13875         * csu/init-first.c: Fix then/than typos.
13876         * locale/programs/ld-collate.c: Likewise.
13877         * locale/programs/linereader.h: Likewise.
13878         * manual/charset.texi: Likewise.
13879         * manual/filesys.texi: Likewise.
13880         * manual/stdio.texi: Likewise.
13881         * manual/string.texi: Likewise.
13882         * stdlib/fmtmsg.c: Likewise.
13883         * sysdeps/i386/stpncpy.S: Likewise.
13884         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13885         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13886         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13887         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13889 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13891         * elf/dl-open.c: Fix typos.
13892         * iconvdata/gbbig5.c: Likewise.
13893         * iconvdata/iso-2022-jp.c: Likewise.
13894         * iconv/gconv_int.h: Likewise.
13895         * iconv/loop.c: Likewise.
13896         * nis/rpcsvc/nis.h: Likewise.
13897         * resolv/ns_name.c: Likewise.
13898         * stdio-common/vfscanf.c: Likewise.
13899         * streams/stropts.h: Likewise.
13900         * sunrpc/rpc_thread.c: Likewise.
13901         * sysdeps/i386/strpbrk.S: Likewise.
13902         * sysdeps/ieee754/k_standard.c: Likewise.
13903         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13904         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13905         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13906         * sysdeps/mach/hurd/profil.c: Likewise.
13907         * sysdeps/s390/dl-procinfo.h: Likewise.
13908         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13909         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13910         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13911         * sysdeps/x86_64/dl-trampoline.S: Likewise.
13912         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13914 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
13916         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13917         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13919 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
13921         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13922         aix specific files.
13923         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13924         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13925         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13926         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13927         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13928         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13929         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13930         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13932 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13933             Roland McGrath  <roland@hack.frob.com>
13935         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13936         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13938 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13940         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13941         __executable_start symbol instead of _start.
13943 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13945         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13946         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13947         Move macros to...
13948         * sysdeps/gnu/ldsodefs.h: ... this new file.
13950         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13951         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13952         instead of ELFOSABI_LINUX.
13954         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13955         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13956         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13957         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13958         Likewise.
13959         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13960         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13961         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13962         Likewise.
13963         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13964         (ibm_extended_long_double): Add ieee_nan member.
13965         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13966         (do_test): New function.
13968         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13969         TEST_TRUNC.
13970         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13971         functions, renamed from truncdfsf_test, trunctfsf_test,
13972         trunctfdf_test.
13973         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13974         functions.
13975         (do_test): Run all these.
13977 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
13979         * argp/argp-help.c: Fix typos.
13980         * argp/argp-parse.c: Likewise.
13981         * debug/backtracesyms.c: Likewise.
13982         * elf/elf.h: Likewise.
13983         * malloc/malloc.c: Likewise.
13984         * nis/nis_print.c: Likewise.
13985         * resolv/res_comp.c: Likewise.
13986         * stdlib/stdlib.h: Likewise.
13987         * sunrpc/clnt_tcp.c: Likewise.
13988         * sunrpc/clnt_udp.c: Likewise.
13989         * sunrpc/clnt_unix.c: Likewise.
13990         * sysdeps/unix/bsd/ptsname.c: Likewise.
13991         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13992         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13994         Likewise.
13995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13996         Likewise.
13997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13998         Likewise.
13999         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14001 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14003         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14004         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14006 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
14008         [BZ #15897]
14009         * dlfcn/Makefile (tests): Add bug-dl-leaf.
14010         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14011         ($(objpfx)bug-dl-leaf): New rule.
14012         ($(objpfx)bug-dl-leaf.so): Likewise.
14013         ($(objpfx)bug-dl-leaf.out): Likewise.
14014         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14015         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14016         * dlfcn/bug-dl-leaf.c: New test.
14017         * dlfcn/bug-dl-leaf-lib.c: Likewise.
14018         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14019         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14020         (dlclose): Likewise.
14021         (dlmopen): Likewise.
14023 2013-08-27  Roland McGrath  <roland@hack.frob.com>
14025         * include/netdb.h [!_ISOMAC]:
14026         Don't include <tls.h>.
14027         (h_errno, __libc_h_errno): Move declaration and macros out of
14028         [_LIBC_REENTRANT].
14030         * include/resolv.h [_RESOLV_H_]:
14031         Don't include <tls.h>.
14032         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14033         * resolv/res_libc.c: Don't include <tls.h>.
14034         (_res): Use __attribute__ ((nocommon)) in place of
14035         __attribute__ ((section (".bss"))).
14037         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14038         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14040         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14042         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14043         only under [SIOCGIFCONF && SIOCGIFNETMASK].
14045         * resolv/res_mkquery.c: Include <sys/time.h>.
14047         * inet/ifreq.c: Moved to ...
14048         * sysdeps/unix/ifreq.c: ... here.
14049         * inet/ifreq.c: New file, true stub version.
14051         * socket/sa_len.c: New file.
14052         * socket/Makefile (aux): Add it.
14053         * sysdeps/unix/sysv/linux/Makefile
14054         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14055         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14056         and #include <socket/sa_len.c>.
14057         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14058         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14060         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14061         * bits/socket.h: ... here.
14063         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14064         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14065         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14067 2013-08-27  Andreas Schwab  <schwab@suse.de>
14069         [BZ #15736]
14070         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14071         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14072         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14073         * string/test-strcasecmp.c (test_main): Run tests in several
14074         locales.
14075         * string/test-strncasecmp.c (test_main): Likewise.
14077         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14078         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14079         to __strcasecmp_nonascii and __strncasecmp_nonascii.
14080         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14081         (__strncasecmp_ssse3) [PIC]: Likewise.
14083 2013-08-26  Roland McGrath  <roland@hack.frob.com>
14085         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14087         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14088         instead of explicitly declaring xdecrypt.
14089         * nis/nss_nis/nis-publickey.c: Likewise.
14091 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14093         [BZ #15890]
14094         * nscd/aicache.c: Include res_hconf.h.
14095         (addhstaiX): Initialize res_hconf.
14097 2013-08-26  Andreas Schwab  <schwab@suse.de>
14099         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14100         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14102 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14104         * nscd/aicache.c (addhstaiX): Fix indentation.
14106 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
14108         * configure.ac: Quote $build_pt_chown test.
14109         * configure: Regenerated.
14111 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
14113         [BZ #15532]
14114         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14115         * math/s_cexpf.c (__cexpf): Likewise.
14116         * math/s_cexpl.c (__cexpl): Likewise.
14117         * math/libm-test.inc (cexp_test_data): Correct expected return
14118         value for NaN + i0.  Add another test.
14120 2013-08-22  David S. Miller  <davem@davemloft.net>
14122         * po/ca.po: Update Catalan translation from translation project.
14123         * po/uk.po: Add Ukrainian translations from translation project.
14125 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
14127         [BZ #15797]
14128         * math/s_fdim.c (__fdim): Check for infinite arguments if result
14129         is infinite, not alongside NaN test.
14130         * math/s_fdimf.c (__fdimf): Likewise.
14131         * math/s_fdiml.c (__fdiml): Likewise.
14132         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
14133         errno is unchanged.
14135 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
14137         * argp/argp-help.c: Fix typos.
14138         * crypt/speeds.c: Likewise.
14139         * csu/check_fds.c: Likewise.
14140         * elf/dl-load.c: Likewise.
14141         * elf/dl-open.c: Likewise.
14142         * elf/reldep3.c: Likewise.
14143         * elf/reldep.c: Likewise.
14144         * elf/sprof.c: Likewise.
14145         * iconv/iconv_charmap.c: Likewise.
14146         * iconv/skeleton.c: Likewise.
14147         * iconv/strtab.c: Likewise.
14148         * io/lockf64.c: Likewise.
14149         * libio/libioP.h: Likewise.
14150         * resolv/gai_notify.c: Likewise.
14151         * resolv/ns_name.c: Likewise.
14152         * resolv/ns_samedomain.c: Likewise.
14153         * resolv/res_send.c: Likewise.
14154         * stdlib/random.c: Likewise.
14155         * sunrpc/rpc/xdr.h: Likewise.
14156         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14157         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14158         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14159         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14160         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14161         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14162         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14163         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14164         * sysdeps/mach/hurd/check_fds.c: Likewise.
14165         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14166         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14167         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14168         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14169         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14170         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14171         * sysdeps/pthread/aio_notify.c: Likewise.
14172         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14173         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14174         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14175         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14176         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14178 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14180         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14181         version if bit_Slow_SSE4_2 is set.
14182         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14183         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14185 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14187         [BZ #15867]
14188         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14189         trampoline stack frame information.
14190         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14191         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14192         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14193         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14194         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14195         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14196         (_libc_vdso_platform_setup): Initialize the signal trampolines.
14197         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14198         sa_flags value.
14199         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14200         interrupting a syscall and set with option SA_SIGINFO.
14202 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14204         [BZ #15531]
14205         * math/s_cproj.c (__cproj): Only return an infinity if one part of
14206         argument is infinite.
14207         * math/s_cprojf.c (__cprojf): Likewise.
14208         * math/s_cprojl.c (__cprojl): Likewise.
14209         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14210         * math/libm-test.inc (cproj_test_data): Add more tests.
14212         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14214         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14215         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14216         size.  Use __ffs to determine corresponding shift.
14218 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14219             Roland McGrath  <roland@hack.frob.com>
14221         * Makefile (INSTALL): Remove trailing blank lines from output of
14222         makeinfo.
14224 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14226         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14227         Align 32 bit compat elf_greg to 8 bytes.
14229 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14231         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14233 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14235         * string/strcoll_l.c (coll_seq): New structure.
14236         (get_next_seq_cached): New function.
14237         (get_next_seq): New function.
14238         (do_compare): New function.
14239         (STRCOLL): Use GNU style definition.  Simplify implementation
14240         by using get_next_seq, get_next_seq_cached and do_compare.
14242 2013-08-16  Florian Weimer  <fweimer@redhat.com>
14244         [BZ #14699]
14245         CVE-2013-4237
14246         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14247         member.
14248         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14249         member.
14250         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14251         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14252         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
14253         conditional.
14254         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14255         GETDENTS_64BIT_ALIGNED.
14256         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14257         * manual/filesys.texi (Reading/Closing Directory): Document
14258         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
14259         strongly.
14260         * manual/conf.texi (Limits for Files): Add portability note to
14261         NAME_MAX, PATH_MAX.
14262         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14264 2013-08-13  Andreas Schwab  <schwab@suse.de>
14266         [BZ #15749]
14267         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14268         of fabs.
14269         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14270         LDBL_MAX_EXP >= 16384]: Add tests for it.
14272 2013-08-12  David S. Miller  <davem@davemloft.net>
14274         * version.h (RELEASE): Set to "development".
14275         (VERSION): Set to "2.18.90".
14276         * NEWS: Add 2.19 section.
14278 2013-08-03  David S. Miller  <davem@davemloft.net>
14280         * po/ko.po: Update Korean translation from translation project.
14282 2013-08-01  David S. Miller  <davem@davemloft.net>
14284         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
14285         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14286         Bilka.
14288 2013-07-30  David S. Miller  <davem@davemloft.net>
14290         * po/fr.po: Update French translation from translation project.
14292 2013-07-28  David S. Miller  <davem@davemloft.net>
14294         * po/cs.po: Update Czech translation from translation project.
14296         * po/sv.po: Update Swedish translation from translation project.
14298 2013-07-27  David S. Miller  <davem@davemloft.net>
14300         * po/eo.po: Update Esperanto translation from translation project.
14302         * po/vi.po: Update Vietnamese translation from translation project.
14304         * po/de.po: Update German translation from translation project.
14306 2013-07-26  David S. Miller  <davem@davemloft.net>
14308         * po/bg.po: Update Bulgarian translation from translation project.
14310         * po/nl.po: Update Dutch translation from translation project.
14311         * po/pl.po: Update Polish translation from translation project.
14312         * po/ru.po: Update Russian translation from translation project.
14314 2013-07-24  David S. Miller  <davem@davemloft.net>
14316         * po/libc.pot: Update.
14318 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14320         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14321         variable page size.
14322         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14323         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14324         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14326 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14328         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14330 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14331             Andreas Schwab  <schwab@suse.de>
14332             Roland McGrath  <roland@hack.frob.com>
14333             Joseph Myers  <joseph@codesourcery.com>
14334             Carlos O'Donell  <carlos@redhat.com>
14336         [BZ #15755]
14337         * config.h.in: Define HAVE_PT_CHOWN.
14338         * config.make.in (build-pt-chown): New variable.
14339         * configure.in (--enable-pt_chown): New configure option.
14340         * configure: Regenerate.
14341         * login/Makefile: Include Makeconfig.  Build pt_chown only if
14342         build-pt-chown is enabled.
14343         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14344         pt_chown to fix pty ownership.
14345         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14346         CLOSE_ALL_FDS.
14347         * manual/install.texi (Configuring and compiling): Mention
14348         --enable-pt_chown. Add @findex for grantpt.
14349         * INSTALL: Regenerate.
14351 2013-07-20  David S. Miller  <davem@davemloft.net>
14353         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14354         difference between 32-bit and 64-bit.
14356 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
14358         [BZ #15711]
14359         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14360         Avoid system header dependency with -ffreestanding.
14361         ($(objpfx)bits/syscall%d): Likewise.
14363 2013-07-13  David S. Miller  <davem@davemloft.net>
14365         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14366         underflows from atanl/atan2l due to bug 15319.
14367         (casinh_test_data): Likewise.
14369 2013-07-07  David S. Miller  <davem@davemloft.net>
14371         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14373 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
14375         * sysdeps/i386/fpu/libm-test-ulps: Update.
14376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14378 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14380         * configure.in (--enable-lock-elision): Fix message text.
14381         * INSTALL: Regenerate.
14382         * configure: Regenerate.
14384 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14388 2013-07-03  Andreas Jaeger  <aj@suse.de>
14390         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14391         define.
14392         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14393         (ptrace_peeksiginfo_args): Add.
14394         (__ptrace_peeksiginfo_flags): Add.
14395         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14396         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14397         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14399 2013-07-03  Allan McRae  <allan@archlinux.org>
14401         * sysdeps/i386/fpu/libm-test-ulps: Update.
14403 2013-07-02  David S. Miller  <davem@davemloft.net>
14405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14407 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
14409         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14411 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14413         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14416 2013-07-02  Andi Kleen <ak@linux.intel.com>
14418         * config.h.in (ENABLE_LOCK_ELISION): Add.
14419         * configure.in (--enable-lock-elision): Add option.
14420         * manual/install.texi: Document --enable lock elision.
14421         * configure: Regenerate
14422         * INSTALL: Regenerate.
14424 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
14426         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14427         SSE4.2 strcasecmp for libc.a.
14428         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14430 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14432         [BZ #13304]
14433         * soft-fp/op-common.h (_FP_FMA): New macro.
14434         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14435         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
14436         (_FP_MUL_MEAT_1_imm): ... here.
14437         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
14438         (_FP_MUL_MEAT_1_wide): ... here.
14439         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
14440         (_FP_MUL_MEAT_1_hard): ... here.
14441         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14442         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
14443         (_FP_MUL_MEAT_2_wide): ... here.
14444         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
14445         (_FP_MUL_MEAT_2_wide_3mul): ... here.
14446         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
14447         (_FP_MUL_MEAT_2_gmp): ... here.
14448         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14449         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
14450         (_FP_MUL_MEAT_4_wide): ... here.
14451         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
14452         (_FP_MUL_MEAT_4_gmp): ... here.
14453         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14454         (_FP_WFRACBITS_DW_S): Likewise.
14455         (_FP_WFRACXBITS_DW_S): Likewise.
14456         (_FP_HIGHBIT_DW_S): Likewise.
14457         (FP_FMA_S): Likewise.
14458         (_FP_FRAC_HIGH_DW_S): Likewise.
14459         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14460         (_FP_WFRACBITS_DW_D): Likewise.
14461         (_FP_WFRACXBITS_DW_D): Likewise.
14462         (_FP_HIGHBIT_DW_D): Likewise.
14463         (FP_FMA_D): Likewise.
14464         (_FP_FRAC_HIGH_DW_D): Likewise.
14465         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14466         (_FP_WFRACBITS_DW_E): Likewise.
14467         (_FP_WFRACXBITS_DW_E): Likewise.
14468         (_FP_HIGHBIT_DW_E): Likewise.
14469         (FP_FMA_E): Likewise.
14470         (_FP_FRAC_HIGH_DW_E): Likewise.
14471         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14472         (_FP_WFRACBITS_DW_Q): Likewise.
14473         (_FP_WFRACXBITS_DW_Q): Likewise.
14474         (_FP_HIGHBIT_DW_Q): Likewise.
14475         (FP_FMA_Q): Likewise.
14476         (_FP_FRAC_HIGH_DW_Q): Likewise.
14477         * soft-fp/fmasf4.c: New file.
14478         * soft-fp/fmadf4.c: Likewise.
14479         * soft-fp/fmatf4.c: Likewise.
14481 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14483         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14484         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14485         Silvermont.
14486         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14487         macro.
14488         (index_Slow_SSE4_2): Likewise.
14489         (index_Prefer_PMINUB_for_stringop): Likewise.
14490         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14491         bit_Slow_SSE4_2 is set.
14492         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14493         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14495 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14497         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14498         rtld_global._dl_hwcap2.
14499         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14500         POWER8.
14501         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14502         POWER8 feature descriptions defined in _dl_hwcap2.
14503         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14504         string handling for POWER8 feature bits.
14505         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14506         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14507         _dl_powerpc_cap_flags.
14508         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14509         * sysdeps/powerpc/rtld-global-offsets.sym
14510         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14511         _dl_hwcap2 in the rtld_global_ro structure.
14513 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14515         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14516         hardware capabilities in support of AT_HWCAP2.
14517         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14518         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14519         GLRO(dl_hwcap2).
14520         (_dl_show_auxv): Add support for calling _dl_procinfo to display
14521         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
14522         explicitly the unknown a_type display mechanism is used.
14523         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14524         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14525         struct member.
14526         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14527         to macro prototype for AT_HWCAP2 support.
14528         * sysdeps/i386/dl-procinfo.h: Likewise.
14529         * sysdeps/s390/dl-procinfo.h: Likewise.
14530         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14531         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
14532         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
14533         return -1 for unknown a_type display fallback.
14534         * sysdeps/sparc/dl-procinfo.h: Likewise.
14535         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14536         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14538 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
14540         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14541         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14543 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
14545         [BZ #12492]
14546         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14547         mprotect making __stack_prot writable.
14549 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
14550             Joseph Myers  <joseph@codesourcery.com>
14552         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14553         as being properly aligned.
14555 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
14557         * dlfcn/modstatic5.c: New file.
14558         * dlfcn/tststatic5.c: New file.
14559         * dlfcn/Makefile (tests): Add tststatic5.
14560         (tests-static): Likewise.
14561         (modules-names): Add modstatic5.
14562         (tststatic5-ENV): New variable.
14563         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14565         [BZ #15022]
14566         * elf/dl-support.c (_dl_main_map): New variable.
14567         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14568         (_dl_nns, _dl_load_adds): Set to 1.
14569         (_dl_initial_searchlist): Refer to _dl_main_map.
14570         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14571         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14572         call to _dl_get_origin.
14573         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14574         around call_map.
14575         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14576         * dlfcn/modstatic3.c: New file.
14577         * dlfcn/tststatic3.c: New file.
14578         * dlfcn/tststatic4.c: New file.
14579         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14580         (tests-static): Likewise.
14581         (modules-names): Add modstatic3.
14582         (tststatic3-ENV, tststatic4-ENV): New variables.
14583         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14584         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14586 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
14588         * configure.in (CC): Require GCC version 4.4 or later.
14589         * configure: Regenerated.
14590         * manual/install.texi (Tools for Compilation): Update GCC version
14591         requirement.
14592         * INSTALL: Regenerated.
14594 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14596         [BZ #15674]
14597         * string/test-memcmp.c (check2): New.
14598         (main): Call check2.
14600         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14602 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
14604         [BZ #15022]
14605         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14606         over to...
14607         (dl_open_worker) [!SHARED]: ... here.
14609 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14611         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14613 2013-06-25  Richard Henderson  <rth@redhat.com>
14615         * locale/programs/locarchive.c: Include <libc-internal.h>
14617 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
14619         * manual/texinfo.tex: Update to version 2013-06-21.17, with
14620         trailing whitespace removed.
14622 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14624         [BZ #10283]
14625         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14626         * locale/programs/locarchive.c: Include libc-mmap.h.
14627         (prepare_address_space): Take two new outputs (the mmap base and len).
14628         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
14629         values.
14630         (create_archive): Declare new mmap base and len values for
14631         prepare_address_space, and store the result in ah.
14632         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14633         (enlarge_archive): If ah->mmap_base is not NULL, use that and
14634         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14635         Declare new mmap base and len values for
14636         prepare_address_space, and store the result in new_ah.
14637         (open_archive): Declare new mmap base and len values for
14638         prepare_address_space, and store the result in ah.
14639         (close_archive): If ah->mmap_base is not NULL, use that and
14640         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14641         * sysdeps/generic/libc-mmap.h: New file.
14643 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14645         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14646         (ALIGN_UP): Likewise.
14647         (PTR_ALIGN_DOWN): Likewise.
14648         (PTR_ALIGN_UP): Likewise.
14650 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14652         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14653         entry mapped to PPC_PLATFORM_POWER8.
14654         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14655         POWER8.
14656         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14657         (_dl_string_platform): Add case for exporting platform position for
14658         POWER8.
14659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14660         search path to sysdeps/powerpc/powerpc32/power8 directory.
14661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14662         search path to sysdeps/powerpc/powerpc64/power8 directory.
14663         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14664         power7 directories.
14665         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14666         power7 directories.
14668 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14670         * INSTALL: Regenerate.
14672         * nscd/connections.c (nscd_init): Fix comment.
14674 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
14676         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14678         [BZ #15667]
14679         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14680         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14682 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14684         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14685         DL_DST_REQ_STATIC.
14686         (DL_DST_REQ_STATIC): Remove macro.
14688 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
14690         [BZ #7006]
14691         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14692         with a shift of 0 bits.
14694 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14696         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14697         $(tststatic-ENV).
14699 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14701         [BZ #15655]
14702         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14704 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14706         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14707         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14708         accepts -fno-tree-loop-distribute-patterns.
14709         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14710         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14711         recursive call.
14712         * string/memset.c (memset): Likewise.
14713         * string/test-memmove.c (simple_memmove): Disable loop transformation
14714         to library calls.
14715         * string/test-memset.c (simple_memset): Likewise.
14716         * benchtests/bench-memmove.c (simple_memmove): Likewise.
14717         * benchtests/bench-memset.c (simple_memset): Likewise.
14718         * configure: Regenerated.
14720 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
14722         * math/test-misc.c (main): Ignore fesetround failure when failures
14723         of subsequent rounding tests would be ignored.
14725         [BZ #15654]
14726         * math/fedisblxcpt.c (fedisableexcept): Return 0.
14727         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14728         * math/fegetenv.c (__fegetenv): Return 0.
14729         * math/fegetexcept.c (fegetexcept): Return 0.
14730         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14731         FE_TONEAREST.
14732         * math/feholdexcpt.c (feholdexcept): Return 0.
14733         * math/fesetenv.c (__fesetenv): Return 0.
14734         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14735         argument FE_TONEAREST.
14736         * math/feupdateenv.c (__feupdateenv): Return 0.
14737         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14739 2013-06-18  Roland McGrath  <roland@hack.frob.com>
14741         * elf/rtld-Rules (rtld-compile-command.S): New variable.
14742         (rtld-compile-command.s, rtld-compile-command.c): New variables.
14743         ($(objpfx)rtld-%.os rules): Use them.
14745 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14747         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14748         fields.
14750 2013-06-17  Roland McGrath  <roland@hack.frob.com>
14752         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14753         length of target pattern, then descending length of dependency pattern.
14754         * configure.in (AWK): Require gawk 3.1.2 or newer.
14755         * manual/install.texi (Tools for Compilation): Say that we do.
14756         * configure: Regenerated.
14758         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14759         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14760         * scripts/sysd-rules.awk: ... this new script.
14761         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14762         than a glob-style pattern.
14764 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
14766         * math/test-misc.c (main): Do not treat incorrectly rounded
14767         conversions as failure unless ROUNDING_TESTS passes.
14769 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
14771         [BZ #15631]
14772         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14773         restore exception state around main square root computation, then
14774         check for inexactness explicitly.
14776         * math/libm-test.inc (fma_test_data): Add another test.
14778 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14780         * manual/threads.texi (Non-POSIX Extensions): New document
14781         node.  Document pthread_getattr_default_np and
14782         pthread_setattr_default_np.
14784         * Versions.def (libpthread): Add GLIBC_2.18.
14785         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14787         Likewise.
14788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14789         Likewise.
14790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14791         Likewise.
14792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14793         Likewise.
14794         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14795         Likewise.
14796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14797         Likewise.
14798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14799         Likewise.
14800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14801         Likewise.
14802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14803         Likewise.
14805 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14807         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14808         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14810 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14811             H.J. Lu  <hjl.tools@gmail.com>
14813         [BZ #15627]
14814         * sysdeps/x86_64/rtld-memset.c: Remove file.
14815         * sysdeps/x86_64/rtld-memset.S: New file.
14817 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
14819         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14820         (test_in_one_mode): Take arguments for whether the rounding mode
14821         is supported for each floating-point type.
14822         (do_test): Pass new arguments to test_in_one_mode using
14823         ROUNDING_TESTS.
14825 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14827         * posix/tst-waitid.c (do_test): Distinguish different instances of
14828         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
14829         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14830         before entering the kernel for waitpid.
14832 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14834         * NEWS: Fix note on clock function precision.  Text by Roland
14835         McGrath.
14837 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14839         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14840         it into place only when and if the sanity check passes.
14842 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
14844         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14845         output for whether conversion result is exact.  Take argument
14846         indicating whether type is IBM long double.
14847         (round_for_all): Change need_exact field to ibm_ld.
14848         * stdlib/tst-strtod-round.c (struct exactness): New type.
14849         (struct test): Change bool ld_ok field to struct exactness exact.
14850         (TEST): Update all definitions for change to field.
14851         (tests): Regenerate array contents.
14852         (test_in_one_mode): Take pointer to new field instead of old ld_ok
14853         field value.  Check for IBM long double here.
14854         (do_test): Update calls to test_in_one_mode.
14856 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14858         [BZ #12515]
14859         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14860         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14862 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14864         [BZ #15605]
14865         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14866         generated by the compiler on loop optimizations.
14867         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14868         general definitions.
14870 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
14872         * math/bug-nextafter.c: Include <math-tests.h>.
14873         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14874         the relevant type.
14875         * math/bug-nexttoward.c: Include <math-tests.h>.
14876         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14877         the relevant type.
14878         * math/test-misc.c: Include <math-tests.h>.
14879         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14880         the relevant type.
14882 2013-06-12  Andreas Jaeger  <aj@suse.de>
14884         * po/ia.po: Update Interlingua translation from translation
14885         project.
14887 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14889         * include/fenv.h: Include stdbool.h.
14890         (struct rm_ctx): New structure.
14891         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14892         Define macro.
14893         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14894         (SET_RESTORE_ROUNDF): Likewise.
14895         (SET_RESTORE_ROUNDL): Likewise.
14896         (SET_RESTORE_ROUND_NOEX): Likewise.
14897         (SET_RESTORE_ROUND_NOEXF): Likewise.
14898         (SET_RESTORE_ROUND_NOEXL): Likewise.
14899         (SET_RESTORE_ROUND_53BIT): Likewise.
14900         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14901         (libc_feresetround_noexf_ctx): Likewise.
14902         (libc_feresetround_noexl_ctx): Likewise.
14903         (libc_feholdsetround_53bit_ctx): Likewise.
14904         (libc_feresetround_53bit_ctx): Likewise.
14905         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14906         (libc_feholdexcept_setround_sse_ctx): New function.
14907         (libc_fesetenv_sse_ctx): Likewise.
14908         (libc_feupdateenv_sse_ctx): Likewise.
14909         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14910         (libc_feholdexcept_setround_387_ctx): Likewise.
14911         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14912         (libc_feholdsetround_387_prec_ctx): Likewise.
14913         (libc_feholdsetround_387_ctx): Likewise.
14914         (libc_feholdsetround_387_53bit_ctx): Likewise.
14915         (libc_feholdsetround_sse_ctx): Likewise.
14916         (libc_feresetround_sse_ctx): Likewise.
14917         (libc_feresetround_387_ctx): Likewise.
14918         (libc_feupdateenv_387_ctx): Likewise.
14919         (libc_feholdexcept_setroundf_ctx): Define macro.
14920         (libc_fesetenvf_ctx): Likewise.
14921         (libc_feupdateenvf_ctx): Likewise.
14922         (libc_feholdsetroundf_ctx): Likewise.
14923         (libc_feresetroundf_ctx): Likewise.
14924         (libc_feholdexcept_setround_ctx): Likewise.
14925         (libc_fesetenv_ctx): Likewise.
14926         (libc_feupdateenv_ctx): Likewise.
14927         (libc_feholdsetround_ctx): Likewise.
14928         (libc_feresetround_ctx): Likewise.
14929         (libc_feholdexcept_setroundl_ctx): Likewise.
14930         (libc_feupdateenvl_ctx): Likewise.
14931         (libc_feholdsetroundl_ctx): Likewise.
14932         (libc_feresetroundl_ctx): Likewise.
14933         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14934         (libc_feresetround_53bit_ctx): Likewise.
14936 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14938         * locale/iso-639.def: Convert to UTF-8.
14940 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
14942         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14943         (EXCEPTION_TESTS_double): Likewise.
14944         (EXCEPTION_TESTS_long_double): Likewise.
14945         (EXCEPTION_TESTS): Likewise.
14946         * math/libm-test.inc (test_exceptions): Only test exceptions if
14947         EXCEPTION_TESTS (FLOAT).
14949 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14951         * benchtests/Makefile (string-bench): Add strcpy_chk and
14952         stpcpy_chk.
14953         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14954         * benchtests/bench-stpcpy_chk.c: New file.
14955         * benchtests/bench-strcpy_chk-ifunc.c: New file.
14956         * benchtests/bench-strcpy_chk.c: New file.
14957         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14958         code.
14959         (do_test): Likewise.
14961 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14963         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14964         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14965         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14966         with tabs where appropriate.
14967         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14968         dl-procinfo.h.
14969         [PPC_PLATFORM_PPC440]: Likewise.
14970         [PPC_PLATFORM_PPC464]: Likewise.
14971         [PPC_PLATFORM_PPC476]: Likewise.
14972         (_dl_string_platform): Add support for detecting ppc405, ppc440,
14973         ppc464, and ppc476 platform strings merging from ports/
14974         dl-procinfo.h.
14976 2013-06-11  Andreas Schwab  <schwab@suse.de>
14978         [BZ #14991]
14979         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14980         (from_ucs4_idx): Regenerate.
14981         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14982         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14983         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14984         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14985         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14986         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14987         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14988         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14989         from FROM_LOOP and TO_LOOP specific macros.
14990         (BODY): Handle combining characters.
14991         * iconvdata/BIG5HKSCS.irreversible: Update.
14992         * iconvdata/BIG5HKSCS.precomposed: New file.
14993         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14994         characters.
14995         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14997 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14999         * include/sys/time.h: Fix indentation and add copyright header.
15001         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15002         (do_test): Likewise.
15003         * string/test-memchr.c (do_one_test): Likewise.
15004         (do_test): Likewise.
15005         * string/test-memcmp.c (do_one_test): Likewise.
15006         (do_test): Likewise.
15007         * string/test-memcpy.c (do_one_test): Likewise.
15008         (do_test): Likewise.
15009         * string/test-memmem.c (do_one_test): Likewise.
15010         (do_test): Likewise.
15011         (do_random_tests): Likewise.
15012         * string/test-memmove.c (do_one_test): Likewise.
15013         (do_test): Likewise.
15014         * string/test-memset.c (do_one_test): Likewise.
15015         (do_test): Likewise.
15016         * string/test-rawmemchr.c (do_one_test): Likewise.
15017         (do_test): Likewise.
15018         * string/test-strcasecmp.c (do_one_test): Likewise.
15019         (do_test): Likewise.
15020         * string/test-strcasestr.c (do_one_test): Likewise.
15021         (do_test): Likewise.
15022         * string/test-strcat.c (do_one_test): Likewise.
15023         (do_test): Likewise.
15024         * string/test-strchr.c (do_one_test): Likewise.
15025         (do_test): Likewise.
15026         * string/test-strcmp.c (do_one_test): Likewise.
15027         (do_test): Likewise.
15028         * string/test-strcpy.c (do_one_test): Likewise.
15029         (do_test): Likewise.
15030         * string/test-string.h: Likewise.
15031         (test_init): Likewise.
15032         * string/test-strlen.c (do_one_test): Likewise.
15033         (do_test): Likewise.
15034         * string/test-strncasecmp.c (do_one_test): Likewise.
15035         (do_test): Likewise.
15036         * string/test-strncat.c (do_one_test): Likewise.
15037         (do_test): Likewise.
15038         * string/test-strncmp.c (do_one_test): Likewise.
15039         (do_test_limit): Likewise.
15040         (do_test): Likewise.
15041         * string/test-strncpy.c (do_one_test): Likewise.
15042         (do_test): Likewise.
15043         * string/test-strnlen.c (do_one_test): Likewise.
15044         (do_test): Likewise.
15045         * string/test-strpbrk.c (do_one_test): Likewise.
15046         (do_test): Likewise.
15047         * string/test-strrchr.c (do_one_test): Likewise.
15048         (do_test): Likewise.
15049         * string/test-strspn.c (do_one_test): Likewise.
15050         (do_test): Likewise.
15051         * string/test-strstr.c (do_one_test): Likewise.
15052         (do_test): Likewise.
15054         * benchtests/Makefile (string-bench): Add string benchmarks.
15055         * benchtests/bench-bcopy-ifunc.c: New file.
15056         * benchtests/bench-bcopy.c: New file.
15057         * benchtests/bench-bzero-ifunc.c: New file.
15058         * benchtests/bench-bzero.c: New file.
15059         * benchtests/bench-memccpy-ifunc.c: New file.
15060         * benchtests/bench-memccpy.c: New file.
15061         * benchtests/bench-memchr-ifunc.c: New file.
15062         * benchtests/bench-memchr.c: New file.
15063         * benchtests/bench-memcmp-ifunc.c: New file.
15064         * benchtests/bench-memcmp.c: New file.
15065         * benchtests/bench-memmem-ifunc.c: New file.
15066         * benchtests/bench-memmem.c: New file.
15067         * benchtests/bench-memmove-ifunc.c: New file.
15068         * benchtests/bench-memmove.c: New file.
15069         * benchtests/bench-mempcpy-ifunc.c: New file.
15070         * benchtests/bench-mempcpy.c: New file.
15071         * benchtests/bench-memset-ifunc.c: New file.
15072         * benchtests/bench-memset.c: New file.
15073         * benchtests/bench-rawmemchr-ifunc.c: New file.
15074         * benchtests/bench-rawmemchr.c: New file.
15075         * benchtests/bench-stpcpy-ifunc.c: New file.
15076         * benchtests/bench-stpcpy.c: New file.
15077         * benchtests/bench-stpncpy-ifunc.c: New file.
15078         * benchtests/bench-stpncpy.c: New file.
15079         * benchtests/bench-strcasecmp-ifunc.c: New file.
15080         * benchtests/bench-strcasecmp.c: New file.
15081         * benchtests/bench-strcasestr-ifunc.c: New file.
15082         * benchtests/bench-strcasestr.c: New file.
15083         * benchtests/bench-strcat-ifunc.c: New file.
15084         * benchtests/bench-strcat.c: New file.
15085         * benchtests/bench-strchr-ifunc.c: New file.
15086         * benchtests/bench-strchr.c: New file.
15087         * benchtests/bench-strchrnul-ifunc.c: New file.
15088         * benchtests/bench-strchrnul.c: New file.
15089         * benchtests/bench-strcmp-ifunc.c: New file.
15090         * benchtests/bench-strcmp.c: New file.
15091         * benchtests/bench-strcpy-ifunc.c: New file.
15092         * benchtests/bench-strcpy.c: New file.
15093         * benchtests/bench-strcspn-ifunc.c: New file.
15094         * benchtests/bench-strcspn.c: New file.
15095         * benchtests/bench-strlen-ifunc.c: New file.
15096         * benchtests/bench-strlen.c: New file.
15097         * benchtests/bench-strncasecmp-ifunc.c: New file.
15098         * benchtests/bench-strncasecmp.c: New file.
15099         * benchtests/bench-strncat-ifunc.c: New file.
15100         * benchtests/bench-strncat.c: New file.
15101         * benchtests/bench-strncmp-ifunc.c: New file.
15102         * benchtests/bench-strncmp.c: New file.
15103         * benchtests/bench-strncpy-ifunc.c: New file.
15104         * benchtests/bench-strncpy.c: New file.
15105         * benchtests/bench-strnlen-ifunc.c: New file.
15106         * benchtests/bench-strnlen.c: New file.
15107         * benchtests/bench-strpbrk-ifunc.c: New file.
15108         * benchtests/bench-strpbrk.c: New file.
15109         * benchtests/bench-strrchr-ifunc.c: New file.
15110         * benchtests/bench-strrchr.c: New file.
15111         * benchtests/bench-strspn-ifunc.c: New file.
15112         * benchtests/bench-strspn.c: New file.
15113         * benchtests/bench-strstr-ifunc.c: New file.
15114         * benchtests/bench-strstr.c: New file.
15116         * benchtests/Makefile: Disable parallel execution of targets.
15117         (string-bench): Add memcpy.
15118         (benchset): New variable to store a list of benchmark sets.
15119         (bench-func): Renamed from bench.
15120         (bench-set): New target.
15121         (bench): Depend on bench-func and bench-set.
15122         * benchtests/README: Add section on benchmark sets.
15123         * benchtests/bench-memcpy-ifunc.c: New file.
15124         * benchtests/bench-memcpy.c: New file.
15125         * benchtests/bench-string.h: New file.
15127 2013-06-11  Andreas Schwab  <schwab@suse.de>
15129         [BZ #15577]
15130         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15131         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15132         values in the triple.
15133         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15134         terminator in the group key.
15136 2013-06-11  Andreas Jaeger  <aj@suse.de>
15138         * po/zh_TW.po: Update Chinese (traditional) translation from
15139         translation project.
15141 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15143         * include/time.h (__clock_gettime): Add libc_hidden_proto.
15144         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15145         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
15146         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15147         (clock_getcpuclockid): Likewise.
15148         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15149         Add weak_alias and libc_hidden_def.
15150         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15151         * rt/clock_gettime.c (clock_gettime): Rename to
15152         __clock_gettime.  Add weak_alias and libc_hidden_def.
15153         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15154         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15155         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
15156         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15157         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15158         Likewise.
15159         * rt/clock_settime.c (clock_settime): Rename to
15160         __clock_settime.  Add weak_alias and libc_hidden_def.
15161         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15163 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
15165         * mach/err_boot.sub: Remove trailing whitespace.
15166         * mach/err_ipc.sub: Likewise.
15167         * mach/err_mach.sub: Likewise.
15169         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15170         (ROUNDING_TESTS_double): Likewise.
15171         (ROUNDING_TESTS_long_double): Likewise.
15172         (ROUNDING_TESTS): Likewise.
15173         * math/libm-test.inc: Include <math-tests.h>.
15174         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15175         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15176         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15177         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15179 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15181         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15182         of assigning.
15184 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
15186         * sysdeps/gnu/errlist.awk: Do not generate space at end of
15187         otherwise empty TRANS lines.
15188         * sysdeps/gnu/errlist.c: Regenerated.
15190         * catgets/gencat.c (error_print): Use (void) in function
15191         definition.
15192         * crypt/crypt_util.c (__init_des): Likewise.
15193         * crypt/speeds.c (Stop): Likewise.
15194         (main): Likewise.
15195         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15196         * inet/ruserpass.c (token): Likewise.
15197         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15198         * intl/localealias.c (extend_alias_table): Likewise.
15199         * intl/plural-exp.c (init_germanic_plural): Likewise.
15200         * libio/fcloseall.c (__fcloseall): Likewise.
15201         * libio/genops.c (_IO_flush_all): Likewise.
15202         (_IO_flush_all_linebuffered): Likewise.
15203         (_IO_cleanup): Likewise.
15204         (_IO_iter_begin): Likewise.
15205         (_IO_iter_end): Likewise.
15206         (_IO_list_lock): Likewise.
15207         (_IO_list_unlock): Likewise.
15208         (_IO_list_resetlock): Likewise.
15209         * libio/getchar.c (getchar): Likewise.
15210         * libio/getchar_u.c (getchar_unlocked): Likewise.
15211         * libio/getwchar.c (getwchar): Likewise.
15212         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15213         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15214         * login/getpt.c (__getpt): Likewise.
15215         * login/tst-utmp.c (main): Likewise.
15216         * malloc/hooks.c (__malloc_check_init): Likewise.
15217         * malloc/malloc.c (__malloc_stats): Likewise.
15218         * malloc/mtrace.c (tr_break): Likewise.
15219         (mtrace): Likewise.
15220         (muntrace): Likewise.
15221         * misc/fstab.c (endfsent): Likewise.
15222         * misc/getclktck.c (__getclktck): Likewise.
15223         * misc/getdtsz.c (__getdtablesize): Likewise.
15224         * misc/gethostid.c (gethostid): Likewise.
15225         * misc/getpagesize.c (__getpagesize): Likewise.
15226         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15227         (__get_nprocs): Likewise.
15228         (__get_phys_pages): Likewise.
15229         (__get_avphys_pages): Likewise.
15230         * misc/getttyent.c (getttyent): Likewise.
15231         (setttyent): Likewise.
15232         (endttyent): Likewise.
15233         * misc/getusershell.c (getusershell): Likewise.
15234         (endusershell): Likewise.
15235         (setusershell): Likewise.
15236         (initshells): Likewise.
15237         * misc/hsearch.c (__hdestroy): Likewise.
15238         * misc/sync.c (sync): Likewise.
15239         * misc/syslog.c (closelog_internal): Likewise.
15240         (closelog): Likewise.
15241         * misc/ttyslot.c (ttyslot): Likewise.
15242         * misc/vhangup.c (vhangup): Likewise.
15243         * posix/fork.c (__fork): Likewise.
15244         * posix/getegid.c (__getegid): Likewise.
15245         * posix/geteuid.c (__geteuid): Likewise.
15246         * posix/getgid.c (__getgid): Likewise.
15247         * posix/getpid.c (__getpid): Likewise.
15248         * posix/getppid.c (__getppid): Likewise.
15249         * posix/getuid.c (__getuid): Likewise.
15250         * posix/pause.c (pause): Likewise.
15251         * posix/setpgrp.c (setpgrp): Likewise.
15252         * posix/setsid.c (__setsid): Likewise.
15253         * posix/test-vfork.c (noop): Likewise.
15254         * resolv/gethnamaddr.c (_endhtent): Likewise.
15255         (_gethtent): Likewise.
15256         (ht_endhostent): Likewise.
15257         (gethostent): Likewise.
15258         (dns_service): Likewise.
15259         * stdlib/drand48.c (drand48): Likewise.
15260         * stdlib/lrand48.c (lrand48): Likewise.
15261         * stdlib/mrand48.c (mrand48): Likewise.
15262         * stdlib/rand.c (rand): Likewise.
15263         * stdlib/random.c (__random): Likewise.
15264         * stdlib/setenv.c (clearenv): Likewise.
15265         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15266         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15267         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15268         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15269         (__get_nprocs): Likewise.
15270         (__get_phys_pages): Likewise.
15271         (__get_avphys_pages): Likewise.
15272         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15273         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15274         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15275         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15276         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15277         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15278         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15279         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15280         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15281         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15282         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15283         * sysdeps/mach/hurd/sync.c (sync): Likewise.
15284         * sysdeps/posix/clock.c (clock): Likewise.
15285         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15286         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15287         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15288         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15289         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15290         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15291         (__get_nprocs_conf): Likewise.
15292         (__get_phys_pages): Likewise.
15293         (__get_avphys_pages): Likewise.
15294         * time/clock.c (clock): Likewise.
15295         * time/tzset.c (__tzname_max): Likewise.
15297 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
15299         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15300         (__bswap_32): Do not use "register".
15301         * crypt/crypt.c (_ufc_doit_r): Likewise.
15302         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15303         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15304         * gmon/gmon.c (__monstartup): Likewise.
15305         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15306         * hurd/hurdmalloc.c (more_memory): Likewise.
15307         (malloc): Likewise.
15308         (free): Likewise.
15309         (realloc): Likewise.
15310         (malloc_fork_prepare): Likewise.
15311         (malloc_fork_parent): Likewise.
15312         (malloc_fork_child): Likewise.
15313         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15314         (_svcauth_des): Likewise.
15315         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15316         * inet/inet_net.c (inet_network): Likewise.
15317         * inet/inet_netof.c (inet_netof): Likewise.
15318         * inet/rcmd.c (__validuser2_sa): Likewise.
15319         * io/fts.c (fts_open): Likewise.
15320         (fts_load): Likewise.
15321         (fts_close): Likewise.
15322         (fts_read): Likewise.
15323         (fts_children): Likewise.
15324         (fts_build): Likewise.
15325         (fts_stat): Likewise.
15326         (fts_sort): Likewise.
15327         (fts_alloc): Likewise.
15328         (fts_lfree): Likewise.
15329         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15330         (_IO_file_xsgetn): Likewise.
15331         (_IO_file_xsgetn_mmap): Likewise.
15332         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15333         (_IO_cookie_write): Likewise.
15334         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15335         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15336         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15337         * malloc/obstack.c (_obstack_begin): Likewise.
15338         (_obstack_begin_1): Likewise.
15339         (_obstack_newchunk): Likewise.
15340         (_obstack_allocated_p): Likewise.
15341         (obstack_free): Likewise.
15342         (_obstack_memory_used): Likewise.
15343         * misc/getttyent.c (getttynam): Likewise.
15344         (getttyent): Likewise.
15345         (skip): Likewise.
15346         (value): Likewise.
15347         * misc/getusershell.c (initshells): Likewise.
15348         * misc/syslog.c (__vsyslog_chk): Likewise.
15349         * misc/ttyslot.c (ttyslot): Likewise.
15350         * nis/nis_hash.c (__nis_hash): Likewise.
15351         * posix/fnmatch_loop.c (FCT): Likewise.
15352         * posix/getconf.c (print_all): Likewise.
15353         (main): Likewise.
15354         * posix/getopt.c (exchange): Likewise.
15355         * posix/glob.c (globfree): Likewise.
15356         (prefix_array): Likewise.
15357         (__glob_pattern_type): Likewise.
15358         * resolv/arpa/nameser.h (NS_GET16): Likewise.
15359         (NS_GET32): Likewise.
15360         (NS_PUT16): Likewise.
15361         (NS_PUT32): Likewise.
15362         * resolv/gethnamaddr.c (getanswer): Likewise.
15363         (gethostbyname2): Likewise.
15364         (gethostbyaddr): Likewise.
15365         (_gethtent): Likewise.
15366         (_gethtbyname2): Likewise.
15367         (_gethtbyaddr): Likewise.
15368         * resolv/ns_print.c (dst_s_get_int16): Likewise.
15369         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15370         * resolv/res_init.c (__res_vinit): Likewise.
15371         (net_mask): Likewise.
15372         * resolv/res_mkquery.c (outchar): Likewise.
15373         (PRINT): Likewise.
15374         * stdio-common/printf_fp.c (outchar): Likewise.
15375         (PRINT): Likewise.
15376         * stdio-common/printf_fphex.c (outchar): Likewise.
15377         (PRINT): Likewise.
15378         * stdio-common/printf_size.c (outchar): Likewise.
15379         (PRINT): Likewise.
15380         * stdio-common/test_rdwr.c (main): Likewise.
15381         * stdio-common/tfformat.c (matches): Likewise.
15382         * stdio-common/vfprintf.c (outchar): Likewise.
15383         (printf_unknown): Likewise.
15384         (buffered_vfprintf): Likewise.
15385         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15386         * stdio-common/xbug.c (AppendToBuffer): Likewise.
15387         (ReadFile): Likewise.
15388         * stdlib/qsort.c (SWAP): Likewise.
15389         (_quicksort): Likewise.
15390         * stdlib/setenv.c (__add_to_environ): Likewise.
15391         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15392         * stdlib/strtol_l.c (__strtol_l): Likewise.
15393         * stdlib/tst-strtod.c (main): Likewise.
15394         * stdlib/tst-strtol.c (main): Likewise.
15395         * stdlib/tst-strtoll.c (main): Likewise.
15396         * string/bits/string2.h (__strcmp_cc): Likewise.
15397         (__strcmp_cg): Likewise.
15398         (__strcspn_c1): Likewise.
15399         (__strcspn_c2): Likewise.
15400         (__strcspn_c3): Likewise.
15401         (__strspn_c1): Likewise.
15402         (__strspn_c2): Likewise.
15403         (__strspn_c3): Likewise.
15404         (__strsep_1c): Likewise.
15405         (__strsep_2c): Likewise.
15406         (__strsep_3c): Likewise.
15407         * string/memccpy.c (__memccpy): Likewise.
15408         * string/stpcpy.c (__stpcpy): Likewise.
15409         * string/strcmp.c (strcmp): Likewise.
15410         * string/strrchr.c (strrchr): Likewise.
15411         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15412         Likewise.
15413         * sysdeps/mach/hurd/getcwd.c
15414         (_hurd_canonicalize_directory_name_internal): Likewise.
15415         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15416         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15417         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15418         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15419         Likewise, in both definitions.
15420         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15421         definitions.
15422         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15423         64] (__bswap_64): Likewise.
15424         * time/test_time.c (main): Likewise.
15425         * time/tzfile.c (__tzfile_read): Likewise.
15426         (__tzfile_compute): Likewise.
15427         * time/tzset.c (__tzset_parse_tz): Likewise.
15428         (tzset_internal): Likewise.
15429         (compute_change): Likewise.
15430         * wcsmbs/wcscat.c (__wcscat): Likewise.
15431         * wcsmbs/wcschr.c (wcschr): Likewise.
15432         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15433         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15434         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15435         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15436         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15437         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15438         * wcsmbs/wmemchr.c (wmemchr): Likewise.
15439         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15440         * wcsmbs/wmemset.c (wmemset): Likewise.
15442 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
15444         * scripts/config.guess: Update to version 2013-05-16.
15445         * scripts/config.sub: Update to version 2013-04-24.
15446         * scripts/install-sh: Update to version 2011-11-20.07.
15447         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15448         * scripts/move-if-change: Update to version 2012-01-06 07:23.
15450 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
15452         * debug/fgetws_u_chk.c: Fix leading whitespaces.
15453         * elf/sln.c: Likewise.
15454         * hurd/hurd/ioctl.h: Likewise.
15455         * hurd/hurdmalloc.c: Likewise.
15456         * hurd/xattr.c: Likewise.
15457         * include/shlib-compat.h: Likewise.
15458         * inet/ruserpass.c: Likewise.
15459         * libio/iofgets_u.c: Likewise.
15460         * libio/iofgetws_u.c: Likewise.
15461         * locale/programs/ld-identification.c: Likewise.
15462         * locale/programs/ld-time.c: Likewise.
15463         * mach/msg-destroy.c: Likewise.
15464         * nss/nss_files/files-netgrp.c: Likewise.
15465         * resolv/res_data.c: Likewise.
15466         * soft-fp/op-1.h: Likewise.
15467         * soft-fp/op-2.h: Likewise.
15468         * soft-fp/op-4.h: Likewise.
15469         * soft-fp/op-common.h: Likewise.
15470         * stdio-common/printf_fphex.c: Likewise.
15471         * stdlib/strtod_l.c: Likewise.
15472         * sunrpc/rpc/clnt.h: Likewise.
15473         * sysdeps/generic/framestate.c: Likewise.
15474         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15475         * sysdeps/i386/bsd-setjmp.S: Likewise.
15476         * sysdeps/i386/__longjmp.S: Likewise.
15477         * sysdeps/i386/setjmp.S: Likewise.
15478         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15479         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15480         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15481         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15482         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15483         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15484         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15485         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15486         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15487         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15488         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15489         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15490         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15491         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15492         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15493         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15494         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15495         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15496         * sysdeps/ieee754/support.c: Likewise.
15497         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15498         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15499         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15500         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15501         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15502         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15503         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15504         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15505         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15506         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15507         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15508         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15509         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15510         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15511         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15512         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15513         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15516 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
15518         * posix/transbug.c: Remove executable mode.
15520 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
15522         * crypt/speeds.c: Remove trailing whitespace.
15523         * dlfcn/default.c: Likewise.
15524         * elf/ifuncdep2.c: Likewise.
15525         * elf/ifuncmain1.c: Likewise.
15526         * elf/ifuncmain1vis.c: Likewise.
15527         * elf/testobj.h: Likewise.
15528         * elf/tst-stackguard1.c: Likewise.
15529         * gmon/sys/gmon.h: Likewise.
15530         * hurd/hurdmsg.c: Likewise.
15531         * hurd/new-fd.c: Likewise.
15532         * hurd/ports-get.c: Likewise.
15533         * iconvdata/ibm1008_420.c: Likewise.
15534         * inet/tst-getni1.c: Likewise.
15535         * inet/tst-getni2.c: Likewise.
15536         * libio/ioungetc.c: Likewise.
15537         * libio/wfiledoalloc.c: Likewise.
15538         * manual/libm-err-tab.pl: Likewise.
15539         * math/w_dremf.c: Likewise.
15540         * misc/ftruncate.c: Likewise.
15541         * posix/bug-glob2.c: Likewise.
15542         * posix/tst-pcre.c: Likewise.
15543         * posix/wait4.c: Likewise.
15544         * resolv/README: Likewise.
15545         * resolv/res_debug.h: Likewise.
15546         * resolv/tst-inet_ntop.c: Likewise.
15547         * setjmp/bug269-setjmp.c: Likewise.
15548         * soft-fp/extended.h: Likewise.
15549         * soft-fp/op-1.h: Likewise.
15550         * soft-fp/op-2.h: Likewise.
15551         * soft-fp/op-4.h: Likewise.
15552         * soft-fp/op-8.h: Likewise.
15553         * soft-fp/testit.c: Likewise.
15554         * stdio-common/bug16.c: Likewise.
15555         * stdlib/random.c: Likewise.
15556         * sunrpc/rpcsvc/rquota.x: Likewise.
15557         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15558         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15559         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15560         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15561         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15562         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15563         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15564         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15565         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15566         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15567         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15568         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15569         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15570         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15571         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15572         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15573         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15574         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15575         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15576         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15577         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15578         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15579         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15580         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15581         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15582         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15583         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15584         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15585         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15586         * sysdeps/ieee754/s_lib_version.c: Likewise.
15587         * sysdeps/mach/hurd/check_fds.c: Likewise.
15588         * sysdeps/mach/hurd/getsockname.c: Likewise.
15589         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15590         * sysdeps/mach/hurd/recvfrom.c: Likewise.
15591         * sysdeps/powerpc/bits/link.h: Likewise.
15592         * sysdeps/powerpc/dl-procinfo.c: Likewise.
15593         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15594         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15595         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15596         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15597         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15598         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15599         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15600         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15601         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15602         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15603         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15604         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15605         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15606         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15607         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15608         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15609         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15610         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15611         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15612         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15613         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15614         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15615         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15616         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15617         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15618         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15619         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15620         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15621         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15622         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15623         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15624         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15625         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15626         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15627         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15628         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15629         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15630         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15631         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15632         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15633         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15634         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15635         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15636         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15637         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15638         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15639         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15640         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15641         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15642         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15643         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15644         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15645         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15646         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15647         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15648         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15649         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15650         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15651         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15652         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15653         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15654         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15655         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15656         * sysdeps/powerpc/sysdep.h: Likewise.
15657         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15658         * sysdeps/s390/s390-64/sub_n.S: Likewise.
15659         * sysdeps/sh/dl-trampoline.S: Likewise.
15660         * sysdeps/sh/memset.S: Likewise.
15661         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15662         * sysdeps/sh/strlen.S: Likewise.
15663         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15664         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15665         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15666         * sysdeps/sparc/sparc32/rem.S: Likewise.
15667         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15668         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15669         * sysdeps/sparc/sparc32/strchr.S: Likewise.
15670         * sysdeps/sparc/sparc32/udiv.S: Likewise.
15671         * sysdeps/sparc/sparc32/urem.S: Likewise.
15672         * sysdeps/sparc/sparc64/add_n.S: Likewise.
15673         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15674         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15675         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15676         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15677         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15678         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15679         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15680         * sysdeps/unix/bsd/times.c: Likewise.
15681         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15682         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15686         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15687         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15688         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15689         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15690         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15691         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15692         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15693         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15694         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15695         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15696         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15697         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15698         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15699         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15700         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15701         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15702         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15703         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15704         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15705         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15706         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15707         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15708         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15709         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15710         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15711         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15712         * sysdeps/x86_64/strcspn.S: Likewise.
15714 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15716         * locale/C-translit.h: Revert #include <stdint.h> because this is a
15717         generated file.  Regenerate properly from gen-translit.pl.
15718         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
15719         locale/C-translit.h.
15721 2013-06-05  Andreas Schwab  <schwab@suse.de>
15723         [BZ #15100]
15724         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15725         week as 6 instead of -1.
15726         * time/tst-strptime.c (day_tests): Add test case.
15728 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15730         * sysdeps/generic/math_private.h
15731         (libc_feholdexcept_setround_53bit): Replace with
15732         libc_feholdsetround_53bit.
15733         (libc_feupdateenv_53bit): Replace with
15734         libc_feresetround_53bit.
15735         (SET_RESTORE_ROUND_53BIT): Adjust.
15737 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15739         * string/test-strchrnul.c: Add copyright header.
15741         * posix/tst-getaddrinfo4.c: Increase test timeout.
15743 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
15745         [BZ #15536]
15746         * math/libm-test.inc (MAX_EXP): Remove
15747         (MIN_EXP): Define.
15748         (ulp): Use MIN_EXP - MANT_DIG.
15749         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15751 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
15753         * po/be.po: Revert last change.
15754         * po/zh_CN.po: Likewise.
15755         * po/header.pot: Likewise.
15757 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
15759         * Makefile ($(common-objpfx)linkobj/libc.so): Define
15760         link-libc-deps to empty as target-specific variable.
15761         * Makerules (link-libc-args): New variable.
15762         (libc-for-link): Likewise.
15763         (link-libc-deps): Likewise.
15764         (lib%.so): Depend on $(link-libc-deps).  Link with
15765         $(link-libc-args).
15766         (build-module): Link with $(link-libc-args).
15767         (build-module-asneeded): Likewise.
15768         (build-module-helper-objlist): Filter out $(link-libc-deps) from
15769         list of objects.
15770         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15771         target-specific variable.
15772         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15773         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15774         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15775         libc.
15776         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15777         libc and ld.so.
15778         ($(objpfx)libpcprofile.so): Likewise.
15779         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15780         libc_nonshared.a.
15781         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15782         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15783         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15784         $(link-libc-deps).
15785         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15786         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15787         * login/Makefile ($(objpfx)libutil.so): Likewise.
15788         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15789         * math/Makefile ($(objpfx)libm.so): Likewise.
15790         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15791         $(objpfx)libnsl.so): Define libc-for-link as target-specific
15792         variable instead of depending directly on libc.
15793         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15794         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15795         $(link-libc-deps).
15796         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15797         libc.
15798         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15799         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15800         ($(objpfx)libanl.so): Likewise.
15801         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15802         ld.so.
15803         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15804         $(link-libc-deps).
15805         * sysdeps/i386/fpu/Makefile: Remove file.
15806         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15807         ($(objpfx)libm.so): Remove dependency on ld.so.
15809 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
15811         [BZ # 15553]
15812         * nis/yp_xdr.c (XDRMAXNAME): Define.
15813         (XDRMAXRECORD): Define.
15814         (xdr_domainname): Use XDRMAXNAME.
15815         (xdr_mapname): Likewise.
15816         (xdr_peername): Likewise.
15817         (xdr_keydat): Use XDRMAXRECORD.
15818         (xdr_valdat): Likewise.
15820 2013-05-30  Jeff Law  <law@redhat.com>
15822         [BZ #14256]
15823         * manual/errno.texi (ESTALE): Update to account for more than
15824         just NFS file systems.
15825         * sysdeps/gnu/errlist.c: Regenerated.
15827 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15829         [BZ #15465]
15830         * elf/Makefile (tests): Add tst-null-argv.
15831         (modules-names):  Add tst-null-argv-lib.
15832         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15833         (tst-null-argv-ENV): Set environment for tst-null-argv.
15834         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15835         (RTLD_PROGNAME): New macro.
15836         * elf/tst-null-argv.c: New test case.
15837         * elf/tst-null-argv-lib.c: Library for test case.
15838         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15839         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15840         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15841         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15842         * elf/dl-init.c (call_init): Likewise.
15843         (_dl_init): Likewise.
15844         * elf/dl-load.c (print_search_path): Likewise.
15845         (_dl_map_object): Likewise.
15846         * elf/dl-lookup.c (do_lookup_x): Likewise.
15847         (add_dependency): Likewise.
15848         (_dl_lookup_symbol_x): Likewise.
15849         (_dl_debug_bindings): Likewise.
15850         * elf/dl-open.c (_dl_show_scope): Likewise.
15851         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15852         * elf/dl-version.c (match_symbol): Likewise.
15853         (_dl_check_map_versions): Likewise.
15854         * elf/rtld.c (dl_main): Likewise.
15855         (print_unresolved): Use RTLD_PROGNAME.
15856         (print_missing_version): Likewise.
15857         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15858         (elf_machine_rela): Likewise.
15859         * sysdeps/powerpc/powerpc32/dl-machine.c
15860         (__process_machine_rela): Likewise.
15861         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15862         Likewise.
15863         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15864         Likewise.
15865         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15866         Likewise.
15867         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15868         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15869         Likewise.
15870         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15871         Likewise.
15872         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15874 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
15876         * po/be.po: Add descriptive title.
15877         * po/zh_CN.po: Likewise.
15878         * po/header.pot: Likewise.
15880 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
15882         * locale/programs/locarchive.c (create_archive): Inlucde fname in
15883         error message.
15884         (enlarge_archive): Likewise.
15886 2013-05-28  Ben North  <ben@redfrontdoor.org>
15888         * manual/arith.texi (frexp): It is the magnitude of the return
15889         value which lies in [0.5, 1), not the return value itself.
15891 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15893         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15895 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
15897         * stdio-common/bug26.c (main): Correct fscanf template.
15899         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15900         declare _dl_skip_args.
15902         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15903         Don't declare.
15905         * manual/platform.texi: Add missing @end deftypefun.
15907 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15909         [BZ #15529]
15910         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15911         bit of mantissa of 2^16382.
15912         * math/libm-test.inc (hypot_test_data): Add more tests.
15914         * math/libm-test.inc: Add drem and pow10 to list of tested
15915         functions.
15916         (pow10_test): New function.
15917         (drem_test): Likewise.
15918         (drem_test_tonearest): Likewise.
15919         (drem_test_towardzero): Likewise.
15920         (drem_test_downward): Likewise.
15921         (drem_test_upward): Likewise.
15922         (main): Call the new functions.
15924         * math/libm-test.inc (finite_test_data): Remove.
15925         (finite_test): Run tests from isfinite_test_data.
15926         (gamma_test_data): Remove.
15927         (gamma_test): Run tests from lgamma_test_data.
15928         * sysdeps/i386/fpu/libm-test-ulps: Update.
15929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15931 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15933         * manual/platform.texi: Add PowerPC PPR function set documentation.
15934         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15935         implementation.
15937 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
15939         * math/libm-test.inc (MAX_EXP): Define.
15940         (ULPDIFF): Define.
15941         (ulp): New function.
15942         (check_float_internal): Use ULPDIFF.
15943         (cpow_test): Disable failing test.
15944         (check_ulp): Test ulp() implemetnation.
15945         (main): Call check_ulp before starting tests.
15947 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15949         * math/gen-libm-test.pl (generate_testfile): Do not handle
15950         START_DATA and END_DATA.
15951         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15952         END_DATA.
15953         (acos_tonearest_test_data): Likewise.
15954         (acos_towardzero_test_data): Likewise.
15955         (acos_downward_test_data): Likewise.
15956         (acos_upward_test_data): Likewise.
15957         (acosh_test_data): Likewise.
15958         (asin_test_data): Likewise.
15959         (asin_tonearest_test_data): Likewise.
15960         (asin_towardzero_test_data): Likewise.
15961         (asin_downward_test_data): Likewise.
15962         (asin_upward_test_data): Likewise.
15963         (asinh_test_data): Likewise.
15964         (atan_test_data): Likewise.
15965         (atanh_test_data): Likewise.
15966         (atan2_test_data): Likewise.
15967         (cabs_test_data): Likewise.
15968         (cacos_test_data): Likewise.
15969         (cacosh_test_data): Likewise.
15970         (carg_test_data): Likewise.
15971         (casin_test_data): Likewise.
15972         (casinh_test_data): Likewise.
15973         (catan_test_data): Likewise.
15974         (catanh_test_data): Likewise.
15975         (cbrt_test_data): Likewise.
15976         (ccos_test_data): Likewise.
15977         (ccosh_test_data): Likewise.
15978         (ceil_test_data): Likewise.
15979         (cexp_test_data): Likewise.
15980         (cimag_test_data): Likewise.
15981         (clog_test_data): Likewise.
15982         (clog10_test_data): Likewise.
15983         (conj_test_data): Likewise.
15984         (copysign_test_data): Likewise.
15985         (cos_test_data): Likewise.
15986         (cos_tonearest_test_data): Likewise.
15987         (cos_towardzero_test_data): Likewise.
15988         (cos_downward_test_data): Likewise.
15989         (cos_upward_test_data): Likewise.
15990         (cosh_test_data): Likewise.
15991         (cosh_tonearest_test_data): Likewise.
15992         (cosh_towardzero_test_data): Likewise.
15993         (cosh_downward_test_data): Likewise.
15994         (cosh_upward_test_data): Likewise.
15995         (cpow_test_data): Likewise.
15996         (cproj_test_data): Likewise.
15997         (creal_test_data): Likewise.
15998         (csin_test_data): Likewise.
15999         (csinh_test_data): Likewise.
16000         (csqrt_test_data): Likewise.
16001         (ctan_test_data): Likewise.
16002         (ctan_tonearest_test_data): Likewise.
16003         (ctan_towardzero_test_data): Likewise.
16004         (ctan_downward_test_data): Likewise.
16005         (ctan_upward_test_data): Likewise.
16006         (ctanh_test_data): Likewise.
16007         (ctanh_tonearest_test_data): Likewise.
16008         (ctanh_towardzero_test_data): Likewise.
16009         (ctanh_downward_test_data): Likewise.
16010         (ctanh_upward_test_data): Likewise.
16011         (erf_test_data): Likewise.
16012         (erfc_test_data): Likewise.
16013         (exp_test_data): Likewise.
16014         (exp_tonearest_test_data): Likewise.
16015         (exp_towardzero_test_data): Likewise.
16016         (exp_downward_test_data): Likewise.
16017         (exp_upward_test_data): Likewise.
16018         (exp10_test_data): Likewise.
16019         (exp2_test_data): Likewise.
16020         (expm1_test_data): Likewise.
16021         (fabs_test_data): Likewise.
16022         (fdim_test_data): Likewise.
16023         (finite_test_data): Likewise.
16024         (floor_test_data): Likewise.
16025         (fma_test_data): Likewise.
16026         (fma_towardzero_test_data): Likewise.
16027         (fma_downward_test_data): Likewise.
16028         (fma_upward_test_data): Likewise.
16029         (fmax_test_data): Likewise.
16030         (fmin_test_data): Likewise.
16031         (fmod_test_data): Likewise.
16032         (fpclassify_test_data): Likewise.
16033         (frexp_test_data): Likewise.
16034         (gamma_test_data): Likewise.
16035         (hypot_test_data): Likewise.
16036         (ilogb_test_data): Likewise.
16037         (isfinite_test_data): Likewise.
16038         (isgreater_test_data): Likewise.
16039         (isgreaterequal_test_data): Likewise.
16040         (isinf_test_data): Likewise.
16041         (isless_test_data): Likewise.
16042         (islessequal_test_data): Likewise.
16043         (islessgreater_test_data): Likewise.
16044         (isnan_test_data): Likewise.
16045         (isnormal_test_data): Likewise.
16046         (issignaling_test_data): Likewise.
16047         (isunordered_test_data): Likewise.
16048         (j0_test_data): Likewise.
16049         (j1_test_data): Likewise.
16050         (jn_test_data): Likewise.
16051         (ldexp_test_data): Likewise.
16052         (lgamma_test_data): Likewise.
16053         (lrint_test_data): Likewise.
16054         (lrint_tonearest_test_data): Likewise.
16055         (lrint_towardzero_test_data): Likewise.
16056         (lrint_downward_test_data): Likewise.
16057         (lrint_upward_test_data): Likewise.
16058         (llrint_test_data): Likewise.
16059         (llrint_tonearest_test_data): Likewise.
16060         (llrint_towardzero_test_data): Likewise.
16061         (llrint_downward_test_data): Likewise.
16062         (llrint_upward_test_data): Likewise.
16063         (log_test_data): Likewise.
16064         (log10_test_data): Likewise.
16065         (log1p_test_data): Likewise.
16066         (log2_test_data): Likewise.
16067         (logb_test_data): Likewise.
16068         (logb_downward_test_data): Likewise.
16069         (lround_test_data): Likewise.
16070         (llround_test_data): Likewise.
16071         (modf_test_data): Likewise.
16072         (nearbyint_test_data): Likewise.
16073         (nextafter_test_data): Likewise.
16074         (nexttoward_test_data): Likewise.
16075         (pow_test_data): Likewise.
16076         (pow_tonearest_test_data): Likewise.
16077         (pow_towardzero_test_data): Likewise.
16078         (pow_downward_test_data): Likewise.
16079         (pow_upward_test_data): Likewise.
16080         (remainder_test_data): Likewise.
16081         (remainder_tonearest_test_data): Likewise.
16082         (remainder_towardzero_test_data): Likewise.
16083         (remainder_downward_test_data): Likewise.
16084         (remainder_upward_test_data): Likewise.
16085         (remquo_test_data): Likewise.
16086         (rint_test_data): Likewise.
16087         (rint_tonearest_test_data): Likewise.
16088         (rint_towardzero_test_data): Likewise.
16089         (rint_downward_test_data): Likewise.
16090         (rint_upward_test_data): Likewise.
16091         (round_test_data): Likewise.
16092         (scalb_test_data): Likewise.
16093         (scalbn_test_data): Likewise.
16094         (scalbln_test_data): Likewise.
16095         (signbit_test_data): Likewise.
16096         (sin_test_data): Likewise.
16097         (sin_tonearest_test_data): Likewise.
16098         (sin_towardzero_test_data): Likewise.
16099         (sin_downward_test_data): Likewise.
16100         (sin_upward_test_data): Likewise.
16101         (sincos_test_data): Likewise.
16102         (sinh_test_data): Likewise.
16103         (sinh_tonearest_test_data): Likewise.
16104         (sinh_towardzero_test_data): Likewise.
16105         (sinh_downward_test_data): Likewise.
16106         (sinh_upward_test_data): Likewise.
16107         (sqrt_test_data): Likewise.
16108         (tan_test_data): Likewise.
16109         (tan_tonearest_test_data): Likewise.
16110         (tan_towardzero_test_data): Likewise.
16111         (tan_downward_test_data): Likewise.
16112         (tan_upward_test_data): Likewise.
16113         (tanh_test_data): Likewise.
16114         (tgamma_test_data): Likewise.
16115         (trunc_test_data): Likewise.
16116         (y0_test_data): Likewise.
16117         (y1_test_data): Likewise.
16118         (yn_test_data): Likewise.
16119         (significand_test_data): Likewise.
16121         * math/gen-libm-test.pl (@functions): Remove variable.
16122         (generate_testfile): Don't handle START and END lines.
16123         * math/libm-test.inc (START): New macro.
16124         (END): Likewise.
16125         (END_COMPLEX): Likewise.
16126         (acos_test): Use END macro without arguments.
16127         (acos_test_tonearest): Likewise.
16128         (acos_test_towardzero): Likewise.
16129         (acos_test_downward): Likewise.
16130         (acos_test_upward): Likewise.
16131         (acosh_test): Likewise.
16132         (asin_test): Likewise.
16133         (asin_test_tonearest): Likewise.
16134         (asin_test_towardzero): Likewise.
16135         (asin_test_downward): Likewise.
16136         (asin_test_upward): Likewise.
16137         (asinh_test): Likewise.
16138         (atan_test): Likewise.
16139         (atanh_test): Likewise.
16140         (atan2_test): Likewise.
16141         (cabs_test): Likewise.
16142         (cacos_test): Use END_COMPLEX macro without arguments.
16143         (cacosh_test): Likewise.
16144         (carg_test): Use END macro without arguments.
16145         (casin_test): Use END_COMPLEX macro without arguments.
16146         (casinh_test): Likewise.
16147         (catan_test): Likewise.
16148         (catanh_test): Likewise.
16149         (cbrt_test): Use END macro without arguments.
16150         (ccos_test): Use END_COMPLEX macro without arguments.
16151         (ccosh_test): Likewise.
16152         (ceil_test): Use END macro without arguments.
16153         (cexp_test): Use END_COMPLEX macro without arguments.
16154         (cimag_test): Use END macro without arguments.
16155         (clog_test): Use END_COMPLEX macro without arguments.
16156         (clog10_test): Likewise.
16157         (conj_test): Likewise.
16158         (copysign_test): Use END macro without arguments.
16159         (cos_test): Likewise.
16160         (cos_test_tonearest): Likewise.
16161         (cos_test_towardzero): Likewise.
16162         (cos_test_downward): Likewise.
16163         (cos_test_upward): Likewise.
16164         (cosh_test): Likewise.
16165         (cosh_test_tonearest): Likewise.
16166         (cosh_test_towardzero): Likewise.
16167         (cosh_test_downward): Likewise.
16168         (cosh_test_upward): Likewise.
16169         (cpow_test): Use END_COMPLEX macro without arguments.
16170         (cproj_test): Likewise.
16171         (creal_test): Use END macro without arguments.
16172         (csin_test): Use END_COMPLEX macro without arguments.
16173         (csinh_test): Likewise.
16174         (csqrt_test): Likewise.
16175         (ctan_test): Likewise.
16176         (ctan_test_tonearest): Likewise.
16177         (ctan_test_towardzero): Likewise.
16178         (ctan_test_downward): Likewise.
16179         (ctan_test_upward): Likewise.
16180         (ctanh_test): Likewise.
16181         (ctanh_test_tonearest): Likewise.
16182         (ctanh_test_towardzero): Likewise.
16183         (ctanh_test_downward): Likewise.
16184         (ctanh_test_upward): Likewise.
16185         (erf_test): Use END macro without arguments.
16186         (erfc_test): Likewise.
16187         (exp_test): Likewise.
16188         (exp_test_tonearest): Likewise.
16189         (exp_test_towardzero): Likewise.
16190         (exp_test_downward): Likewise.
16191         (exp_test_upward): Likewise.
16192         (exp10_test): Likewise.
16193         (exp2_test): Likewise.
16194         (expm1_test): Likewise.
16195         (fabs_test): Likewise.
16196         (fdim_test): Likewise.
16197         (finite_test): Likewise.
16198         (floor_test): Likewise.
16199         (fma_test): Likewise.
16200         (fma_test_towardzero): Likewise.
16201         (fma_test_downward): Likewise.
16202         (fma_test_upward): Likewise.
16203         (fmax_test): Likewise.
16204         (fmin_test): Likewise.
16205         (fmod_test): Likewise.
16206         (fpclassify_test): Likewise.
16207         (frexp_test): Likewise.
16208         (gamma_test): Likewise.
16209         (hypot_test): Likewise.
16210         (ilogb_test): Likewise.
16211         (isfinite_test): Likewise.
16212         (isgreater_test): Likewise.
16213         (isgreaterequal_test): Likewise.
16214         (isinf_test): Likewise.
16215         (isless_test): Likewise.
16216         (islessequal_test): Likewise.
16217         (islessgreater_test): Likewise.
16218         (isnan_test): Likewise.
16219         (isnormal_test): Likewise.
16220         (issignaling_test): Likewise.
16221         (isunordered_test): Likewise.
16222         (j0_test): Likewise.
16223         (j1_test): Likewise.
16224         (jn_test): Likewise.
16225         (ldexp_test): Likewise.
16226         (lgamma_test): Likewise.
16227         (lrint_test): Likewise.
16228         (lrint_test_tonearest): Likewise.
16229         (lrint_test_towardzero): Likewise.
16230         (lrint_test_downward): Likewise.
16231         (lrint_test_upward): Likewise.
16232         (llrint_test): Likewise.
16233         (llrint_test_tonearest): Likewise.
16234         (llrint_test_towardzero): Likewise.
16235         (llrint_test_downward): Likewise.
16236         (llrint_test_upward): Likewise.
16237         (log_test): Likewise.
16238         (log10_test): Likewise.
16239         (log1p_test): Likewise.
16240         (log2_test): Likewise.
16241         (logb_test): Likewise.
16242         (logb_test_downward): Likewise.
16243         (lround_test): Likewise.
16244         (llround_test): Likewise.
16245         (modf_test): Likewise.
16246         (nearbyint_test): Likewise.
16247         (nextafter_test): Likewise.
16248         (nexttoward_test): Likewise.
16249         (pow_test): Likewise.
16250         (pow_test_tonearest): Likewise.
16251         (pow_test_towardzero): Likewise.
16252         (pow_test_downward): Likewise.
16253         (pow_test_upward): Likewise.
16254         (remainder_test): Likewise.
16255         (remainder_test_tonearest): Likewise.
16256         (remainder_test_towardzero): Likewise.
16257         (remainder_test_downward): Likewise.
16258         (remainder_test_upward): Likewise.
16259         (remquo_test): Likewise.
16260         (rint_test): Likewise.
16261         (rint_test_tonearest): Likewise.
16262         (rint_test_towardzero): Likewise.
16263         (rint_test_downward): Likewise.
16264         (rint_test_upward): Likewise.
16265         (round_test): Likewise.
16266         (scalb_test): Likewise.
16267         (scalbn_test): Likewise.
16268         (scalbln_test): Likewise.
16269         (signbit_test): Likewise.
16270         (sin_test): Likewise.
16271         (sin_test_tonearest): Likewise.
16272         (sin_test_towardzero): Likewise.
16273         (sin_test_downward): Likewise.
16274         (sin_test_upward): Likewise.
16275         (sincos_test): Likewise.
16276         (sinh_test): Likewise.
16277         (sinh_test_tonearest): Likewise.
16278         (sinh_test_towardzero): Likewise.
16279         (sinh_test_downward): Likewise.
16280         (sinh_test_upward): Likewise.
16281         (sqrt_test): Likewise.
16282         (tan_test): Likewise.
16283         (tan_test_tonearest): Likewise.
16284         (tan_test_towardzero): Likewise.
16285         (tan_test_downward): Likewise.
16286         (tan_test_upward): Likewise.
16287         (tanh_test): Likewise.
16288         (tgamma_test): Likewise.
16289         (trunc_test): Likewise.
16290         (y0_test): Likewise.
16291         (y1_test): Likewise.
16292         (yn_test): Likewise.
16293         (significand_test): Likewise.
16295 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
16297         [BZ #15381]
16298         * libio/genops.c (_IO_no_init): Initialize wide struct info.
16300 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16302         [BZ #14894]
16303         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16304         __ppc_mdoio and __ppc_mdoom.
16305         * manual/platform.texi: Document new functions __ppc_yield,
16306         __ppc_mdoio and __ppc_mdoom.
16308 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
16310         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16311         (main): Mention "tls" pseudo-hwcap is legacy.
16312         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16314 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16316         * math/gen-libm-test.pl (parse_args): Output only string of
16317         arguments as text for test name, not full call or descriptions of
16318         tests for extra outputs.
16319         (generate_testfile): Do not pass function name to parse_args.
16320         Generate this_func variable from START.
16321         * math/libm-test.inc (struct test_f_f_data): Rename test_name
16322         field to arg_str.
16323         (struct test_ff_f_data): Likewise.
16324         (test_ff_f_data_nexttoward): Likewise.
16325         (struct test_fi_f_data): Likewise.
16326         (struct test_fl_f_data): Likewise.
16327         (struct test_if_f_data): Likewise.
16328         (struct test_fff_f_data): Likewise.
16329         (struct test_c_f_data): Likewise.
16330         (struct test_f_f1_data): Likewise.  Remove field extra_name.
16331         (struct test_fF_f1_data): Likewise.
16332         (struct test_ffI_f1_data): Likewise.
16333         (struct test_c_c_data): Rename test_name field to arg_str.
16334         (struct test_cc_c_data): Likewise.
16335         (struct test_f_i_data): Likewise.
16336         (struct test_ff_i_data): Likewise.
16337         (struct test_f_l_data): Likewise.
16338         (struct test_f_L_data): Likewise.
16339         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
16340         and extra2_name.
16341         (COMMON_TEST_SETUP): New macro.
16342         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16343         (COMMON_TEST_CLEANUP): Likewise.
16344         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16345         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
16346         macros.
16347         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16348         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
16349         macros.
16350         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16351         (RUN_TEST_fff_f): Take argument string.  Call new setup and
16352         cleanup macros.
16353         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16354         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
16355         macros.
16356         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16357         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
16358         macros.
16359         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16360         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
16361         cleanup macros.
16362         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16363         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
16364         cleanup macros.
16365         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16366         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
16367         cleanup macros.
16368         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16369         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
16370         macros.
16371         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16372         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
16373         macros.
16374         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16375         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
16376         macros.
16377         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16378         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
16379         cleanup macros.
16380         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16381         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
16382         cleanup macros.
16383         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16384         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
16385         macros.
16386         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16387         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
16388         cleanup macros.
16389         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16390         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
16391         macros.
16392         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16393         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
16394         macros.
16395         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16396         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
16397         cleanup macros.
16398         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16400 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
16402         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16403         to _sifields.sigfault.
16404         (si_addr_lsb): Define new macro.
16405         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16406         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16407         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16409 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
16411         [BZ #15441]
16412         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16413         returns -1.
16414         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16415         null return -1.
16416         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16417         loading the domain.
16419 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16421         * math/gen-libm-test.pl (parse_args): Do not include expected
16422         result in test name.
16423         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16424         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16425         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16426         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16427         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16430 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16432         * benchtests/Makefile: Sort function entries.
16434         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16435         tanh, asinh, acosh, atanh.
16436         * benchtests/acos-inputs: New file.
16437         * benchtests/acosh-inputs: New file.
16438         * benchtests/asin-inputs: New file.
16439         * benchtests/asinh-inputs: New file.
16440         * benchtests/atanh-inputs: New file.
16441         * benchtests/cosh-inputs: New file.
16442         * benchtests/log-inputs: New file.
16443         * benchtests/sinh-inputs: New file.
16444         * benchtests/tanh-inputs: New file.
16446 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
16448         [BZ #15339]
16449         * posix/tst-getaddrinfo4.c: New test.
16450         * posix/Makefile (tests): Add it.
16452 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16454         [BZ #15339]
16455         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16456         when no services were used.
16457         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16458         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16460 2013-05-21  Andreas Schwab  <schwab@suse.de>
16462         [BZ #15014]
16463         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16464         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16465         successful.
16466         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16467         redundant variable declarations and reallocation of buffer when
16468         parsing as IPv6 address.  Always set NSS status when called from
16469         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
16470         buffer too small.  Correct computation of needed size.
16471         * nss/Makefile (tests): Add test-digits-dots.
16472         * nss/test-digits-dots.c: New test.
16474 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16476         * benchtests/Makefile: Remove instructions for adding
16477         benchmark tests.
16478         * benchtests/README: New file to explain how to execute and
16479         enhance the benchmark tests.
16481 2013-05-21  Andreas Schwab  <schwab@suse.de>
16483         [BZ #15493]
16484         * setjmp/Makefile (tests): Add tst-sigsetjmp.
16485         * setjmp/tst-sigsetjmp.c: New test.
16487 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16489         * sysdeps/x86_64/memset.S (memset): New implementation.
16490         (__bzero): Likewise.
16491         (__memset_tail): New function.
16493 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16495         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16496         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16497         __memcpy_sse2_unaligned ifunc selection.
16498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16499         Add memcpy-sse2-unaligned.S.
16500         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16501         Add: __memcpy_sse2_unaligned.
16503 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
16505         [BZ #15490]
16506         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16507         math_force_eval before restoring floating-point envrionment.
16508         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16509         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16510         Likewise.
16511         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16512         <math_private.h>.
16513         (__nearbyintl): Use math_force_eval before restoring
16514         floating-point environment.
16515         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16517         * math/gen-libm-test.pl (special_functions): Remove.
16518         (parse_args): Don't handle TEST_extra.  Handle functions with no
16519         return value.
16520         * math/libm-test.inc (struct test_sincos_data): Replace with
16521         struct test_fFF_11_data.
16522         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16523         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16524         (sincos_test_data): Change element type to struct
16525         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
16526         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16527         RUN_TEST_LOOP_sincos.
16528         * math/README.libm-test: Don't mention special handling of
16529         individual functions.
16530         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16531         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16532         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16533         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16534         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16537         * math/gen-libm-test.pl (get_variable): Remove function.
16538         (parse_args): Don't show pointer parameters to call in test
16539         names.  Use "extra output N" in test names for extra outputs
16540         rather than naming variables.
16542 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
16544         [BZ #15488]
16545         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16546         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16547         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16548         double tests.
16549         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16550         disable.
16551         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16552         check_long_double.
16554         * math/gen-libm-test.pl (@tests): Remove variable.
16555         ($count): Likewise.
16556         (new_test): Remove function.
16557         (show_exceptions): New function.
16558         (special_functions): Use show_exceptions instead of new_test.
16559         (parse_args): Likewise.
16560         (generate_testfile): Pass only function name in generated call to
16561         print_max_error or print_complex_max_error.
16562         (get_ulps): Do not handle complex tests specially.
16563         (output_test): Rename to ...
16564         (get_all_ulps_for_test): ... this.  Return a string rather than
16565         printing to a file.  Require ulps to be present.
16566         (output_ulps): Generate arrays rather than #defines.
16567         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16568         (struct ulp_data): New type.
16569         (BUILD_COMPLEX_ULP): Remove macro.
16570         (compare_ulp_data): New function.
16571         (find_ulps): Likewise.
16572         (find_test_ulps): Likewise.
16573         (find_function_ulps): Likewise.
16574         (find_complex_function_ulps): Likewise.
16575         (print_max_error): Determine allowed ulps using
16576         find_function_ulps.
16577         (print_complex_max_error): Determine allowed ulps using
16578         find_complex_function_ulps.
16579         (check_float_internal): Determine max ulps using find_test_ulps.
16580         (check_float): Do not take max_ulp parameter.  Update call to
16581         check_float_internal.
16582         (check_complex): Likewise.
16583         (check_int): Do not take max_ulp parameter.
16584         (check_long): Likewise.
16585         (check_bool): Likewise.
16586         (check_longlong): Likewise.
16587         (struct test_f_f_data): Remove max_ulp field.
16588         (struct test_ff_f_data): Likewise.
16589         (struct test_ff_f_data_nexttoward): Likewise.
16590         (struct test_fi_f_data): Likewise.
16591         (struct test_fl_f_data): Likewise.
16592         (struct test_if_f_data): Likewise.
16593         (struct test_fff_f_data): Likewise.
16594         (struct test_c_f_data): Likewise.
16595         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16596         (struct test_fF_f1_data): Likewise.
16597         (struct test_ffI_f1_data): Likewise.
16598         (struct test_c_c_data): Remove max_ulp field.
16599         (struct test_cc_c_data): Likewise.
16600         (struct test_f_i_data): Likewise.
16601         (struct test_ff_i_data): Likewise.
16602         (struct test_f_l_data): Likewise.
16603         (struct test_f_L_data): Likewise.
16604         (struct test_sincos_data): Likewise.
16605         (RUN_TEST_f_f): Do not handle ulps.
16606         (RUN_TEST_LOOP_f_f): Likewise.
16607         (RUN_TEST_2_f): Likewise.
16608         (RUN_TEST_LOOP_2_f): Likewise.
16609         (RUN_TEST_fff_f): Likewise.
16610         (RUN_TEST_LOOP_fff_f): Likewise.
16611         (RUN_TEST_c_f): Likewise.
16612         (RUN_TEST_LOOP_c_f): Likewise.
16613         (RUN_TEST_f_f1): Likewise.
16614         (RUN_TEST_LOOP_f_f1): Likewise.
16615         (RUN_TEST_fF_f1): Likewise.
16616         (RUN_TEST_LOOP_fF_f1): Likewise.
16617         (RUN_TEST_fI_f1): Likewise.
16618         (RUN_TEST_LOOP_fI_f1): Likewise.
16619         (RUN_TEST_ffI_f1): Likewise.
16620         (RUN_TEST_LOOP_ffI_f1): Likewise.
16621         (RUN_TEST_c_c): Likewise.
16622         (RUN_TEST_LOOP_c_c): Likewise.
16623         (RUN_TEST_cc_c): Likewise.
16624         (RUN_TEST_LOOP_cc_c): Likewise.
16625         (RUN_TEST_f_i): Likewise.
16626         (RUN_TEST_LOOP_f_i): Likewise.
16627         (RUN_TEST_f_i_tg): Likewise.
16628         (RUN_TEST_LOOP_f_i_tg): Likewise.
16629         (RUN_TEST_ff_i_tg): Likewise.
16630         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16631         (RUN_TEST_f_b): Likewise.
16632         (RUN_TEST_LOOP_f_b): Likewise.
16633         (RUN_TEST_f_b_tg): Likewise.
16634         (RUN_TEST_LOOP_f_b_tg): Likewise.
16635         (RUN_TEST_f_l): Likewise.
16636         (RUN_TEST_LOOP_f_l): Likewise.
16637         (RUN_TEST_f_L): Likewise.
16638         (RUN_TEST_LOOP_f_L): Likewise.
16639         (RUN_TEST_sincos): Likewise.
16640         (RUN_TEST_LOOP_sincos): Likewise.
16642 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
16644         [BZ #15480]
16645         [BZ #15485]
16646         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16647         main case of finite arguments, set rounding mode to FE_TONEAREST
16648         and discard exceptions.
16649         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16650         exceptions.
16651         (remainder_tonearest_test_data): New variable.
16652         (remainder_test_tonearest): New function.
16653         (remainder_towardzero_test_data): New variable.
16654         (remainder_test_towardzero): New function.
16655         (remainder_downward_test_data): New variable.
16656         (remainder_test_downward): New function.
16657         (remainder_upward_test_data): New variable.
16658         (remainder_test_upward): New function.
16659         (main): Call the new test functions.
16661         * math/libm-test.inc (struct test_f_f1_data): Remove field
16662         extra_init.
16663         (struct test_fF_f1_data): Likewise.
16664         (struct test_ffI_f1_data): Likewise.
16665         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
16666         based on value of EXTRA_EXPECTED.
16667         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16668         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
16669         EXTRA_VAR based on value of EXTRA_EXPECTED.
16670         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16671         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
16672         EXTRA_VAR based on value of EXTRA_EXPECTED.
16673         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16674         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
16675         EXTRA_VAR based on value of EXTRA_EXPECTED.
16676         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16677         * math/gen-libm-test.pl (parse_args): Don't output initializers
16678         for extra output values.
16680         * math/libm-test.inc (check_int): Expect result to be exactly
16681         equal to expected value and do not handle ulps.
16682         (check_long): Likewise.
16683         (check_longlong): Likewise.
16685         * math/libm-test.inc (ceil_test_data): Test for "inexact"
16686         exceptions.
16687         (cimag_test_data): Likewise.
16688         (conj_test_data): Likewise.
16689         (copysign_test_data): Likewise.
16690         (cproj_test_data): Likewise.
16691         (creal_test_data): Likewise.
16692         (fabs_test_data): Likewise.
16693         (fdim_test_data): Likewise.
16694         (finite_test_data): Likewise.
16695         (floor_test_data): Likewise.
16696         (fmax_test_data): Likewise.
16697         (fmin_test_data): Likewise.
16698         (fmod_test_data): Likewise.
16699         (fpclassify_test_data): Likewise.
16700         (frexp_test_data): Likewise.
16701         (ilogb_test_data): Likewise.
16702         (isfinite_test_data): Likewise.
16703         (isgreater_test_data): Likewise.
16704         (isgreaterequal_test_data): Likewise.
16705         (isinf_test_data): Likewise.
16706         (isless_test_data): Likewise.
16707         (islessequal_test_data): Likewise.
16708         (islessgreater_test_data): Likewise.
16709         (isnan_test_data): Likewise.
16710         (isnormal_test_data): Likewise.
16711         (issignaling_test_data): Likewise.
16712         (isunordered_test_data): Likewise.
16713         (ldexp_test_data): Likewise.
16714         (lrint_test_data): Likewise.
16715         (lrint_test_data) [TEST_FLOAT]: Disable one test.
16716         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16717         (lrint_tonearest_test_data): Test for "inexact" exceptions.
16718         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16719         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16720         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16721         test input.
16722         (lrint_towardzero_test_data): Test for "inexact" exceptions.
16723         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16724         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16725         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16726         that test input.
16727         (lrint_downward_test_data): Test for "inexact" exceptions.
16728         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16729         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16730         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16731         test input.
16732         (lrint_upward_test_data): Test for "inexact" exceptions.
16733         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16734         test input.
16735         (llrint_test_data): Test for "inexact" exceptions.
16736         (llrint_test_data) [TEST_FLOAT]: Disable one test.
16737         (llrint_tonearest_test_data): Test for "inexact" exceptions.
16738         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16739         (llrint_towardzero_test_data): Test for "inexact" exceptions.
16740         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16741         (llrint_downward_test_data): Test for "inexact" exceptions.
16742         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16743         (llrint_upward_test_data): Test for "inexact" exceptions.
16744         (logb_test_data): Likewise.
16745         (logb_downward_test_data): Likewise.
16746         (nextafter_test_data): Likewise.
16747         (nexttoward_test_data): Likewise.
16748         (remainder_test_data): Likewise.
16749         (remquo_test_data): Likewise.
16750         (scalbn_test_data): Likewise.
16751         (scalbln_test_data): Likewise.
16752         (signbit_test_data): Likewise.
16753         (sqrt_test_data): Likewise.
16754         (significand_test_data): Likewise.
16756 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16758         [BZ #15424]
16759         * benchtests/bench-modf.c (struct args): Mark arg0 as
16760         volatile.
16761         * scripts/bench.pl: Mark members of struct args as volatile.
16763 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16765         [BZ # 15497]
16766         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16767         negative infinity on POWER6 or lower.
16768         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16770 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16772         [BZ #15442]
16773         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16774         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16775         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16776         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16777         (_FP_SETQNAN): New macro.
16778         (_FP_SETQNAN_SEMIRAW): Likewise.
16779         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16780         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16781         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16782         (FP_EXTEND): Use _FP_FRAC_SNANP.
16783         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16784         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16785         into account.
16786         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16787         New macro.
16788         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16789         Likewise.
16791 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16793         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16794         with DIVIDE_BY_ZERO_EXCEPTION.
16795         (gamma_test_data): Likewise.
16796         (lgamma_test_data): Likewise.
16797         (log_test_data): Likewise.
16798         (log10_test_data): Likewise.
16799         (log2_test_data): Likewise.
16800         (tgamma_test_data): Likewise.
16802         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16803         (acos_test_tonearest): Likewise.
16804         (acos_test_towardzero): Likewise.
16805         (acos_test_downward): Likewise.
16806         (acos_test_upward): Likewise.
16807         (acosh_test): Likewise.
16808         (asin_test): Likewise.
16809         (asin_test_tonearest): Likewise.
16810         (asin_test_towardzero): Likewise.
16811         (asin_test_downward): Likewise.
16812         (asin_test_upward): Likewise.
16813         (asinh_test): Likewise.
16814         (atan_test): Likewise.
16815         (atanh_test): Likewise.
16816         (atan2_test): Likewise.
16817         (cabs_test): Likewise.
16818         (cacos_test): Likewise.
16819         (cacosh_test): Likewise.
16820         (casin_test): Likewise.
16821         (casinh_test): Likewise.
16822         (catan_test): Likewise.
16823         (catanh_test): Likewise.
16824         (cbrt_test): Likewise.
16825         (ccos_test): Likewise.
16826         (ccosh_test): Likewise.
16827         (cexp_test): Likewise.
16828         (clog_test): Likewise.
16829         (clog10_test): Likewise.
16830         (cos_test): Likewise.
16831         (cos_test_tonearest): Likewise.
16832         (cos_test_towardzero): Likewise.
16833         (cos_test_downward): Likewise.
16834         (cos_test_upward): Likewise.
16835         (cosh_test): Likewise.
16836         (cosh_test_tonearest): Likewise.
16837         (cosh_test_towardzero): Likewise.
16838         (cosh_test_downward): Likewise.
16839         (cosh_test_upward): Likewise.
16840         (cpow_test): Likewise.
16841         (csin_test): Likewise.
16842         (csinh_test): Likewise.
16843         (csqrt_test): Likewise.
16844         (ctan_test): Likewise.
16845         (ctan_test_tonearest): Likewise.
16846         (ctan_test_towardzero): Likewise.
16847         (ctan_test_downward): Likewise.
16848         (ctan_test_upward): Likewise.
16849         (ctanh_test): Likewise.
16850         (ctanh_test_tonearest): Likewise.
16851         (ctanh_test_towardzero): Likewise.
16852         (ctanh_test_downward): Likewise.
16853         (ctanh_test_upward): Likewise.
16854         (erf_test): Likewise.
16855         (erfc_test): Likewise.
16856         (exp_test): Likewise.
16857         (exp_test_tonearest): Likewise.
16858         (exp_test_towardzero): Likewise.
16859         (exp_test_downward): Likewise.
16860         (exp_test_upward): Likewise.
16861         (exp10_test): Likewise.
16862         (exp2_test): Likewise.
16863         (expm1_test): Likewise.
16864         (fmod_test): Likewise.
16865         (gamma_test): Likewise.
16866         (hypot_test): Likewise.
16867         (j0_test): Likewise.
16868         (j1_test): Likewise.
16869         (jn_test): Likewise.
16870         (lgamma_test): Likewise.
16871         (log_test): Likewise.
16872         (log10_test): Likewise.
16873         (log1p_test): Likewise.
16874         (log2_test): Likewise.
16875         (logb_test_downward): Likewise.
16876         (pow_test): Likewise.
16877         (pow_test_tonearest): Likewise.
16878         (pow_test_towardzero): Likewise.
16879         (pow_test_downward): Likewise.
16880         (pow_test_upward): Likewise.
16881         (remainder_test): Likewise.
16882         (remquo_test): Likewise.
16883         (sin_test): Likewise.
16884         (sin_test_tonearest): Likewise.
16885         (sin_test_towardzero): Likewise.
16886         (sin_test_downward): Likewise.
16887         (sin_test_upward): Likewise.
16888         (sincos_test): Likewise.
16889         (sinh_test): Likewise.
16890         (sinh_test_tonearest): Likewise.
16891         (sinh_test_towardzero): Likewise.
16892         (sinh_test_downward): Likewise.
16893         (sinh_test_upward): Likewise.
16894         (sqrt_test): Likewise.
16895         (tan_test): Likewise.
16896         (tan_test_tonearest): Likewise.
16897         (tan_test_towardzero): Likewise.
16898         (tan_test_downward): Likewise.
16899         (tan_test_upward): Likewise.
16900         (tanh_test): Likewise.
16901         (tgamma_test): Likewise.
16902         (y0_test): Likewise.
16903         (y1_test): Likewise.
16904         (yn_test): Likewise.
16906         * math/gen-libm-test.pl (adjust_arg): Remove function.
16907         (special_function): Remove argument $in_func.  Only handle
16908         generating output for tables of tests, not inside functions.
16909         (parse_args): Likewise.
16910         (generate_testfile): Remove variable $in_func.  Update call to
16911         parse_args.
16912         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16913         (MINUS_ZERO_INIT): Rename macro to minus_zero.
16914         (PLUS_INFTY_INIT): Rename macro to plus_infty.
16915         (MINUS_INFTY_INIT): Rename macro to minus_infty.
16916         (QNAN_VALUE_INIT): Rename macro to qnan_value.
16917         (MAX_VALUE_INIT): Rename macro to max_value.
16918         (MIN_VALUE_INIT): Rename macro to min_value.
16919         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16920         (plus_zero): Remove variable.
16921         (minus_zero): Likewise.
16922         (plus_infty): Likewise.
16923         (minus_infty): Likewise.
16924         (qnan_value): Likewise.
16925         (max_value): Likewise.
16926         (min_value): Likewise.
16927         (min_subnorm_value): Likewise.
16929 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16931         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16932         uint64_t or uint32_t usage.
16933         * crypt/sha256-block.c: Likewise.
16934         * crypt/sha256-crypt.c: Likewise.
16935         * crypt/sha256.c: Likewise.
16936         * crypt/sha512-block.c: Likewise.
16937         * crypt/sha512-crypt.c: Likewise.
16938         * crypt/sha512.c: Likewise.
16939         * debug/backtrace-tst.c: Likewise.
16940         * debug/pcprofiledump.c: Likewise.
16941         * elf/cache.c: Likewise.
16942         * elf/dl-cache.c: Likewise.
16943         * elf/dl-misc.c: Likewise.
16944         * elf/dl-profile.c: Likewise.
16945         * elf/dl-support.c: Likewise.
16946         * elf/ldconfig.c: Likewise.
16947         * elf/sprof.c: Likewise.
16948         * iconv/dummy-repertoire.c: Likewise.
16949         * iconv/iconv_charmap.c: Likewise.
16950         * iconv/skeleton.c: Likewise.
16951         * iconvdata/8bit-generic.c: Likewise.
16952         * iconvdata/cp737.h: Likewise.
16953         * iconvdata/cp775.h: Likewise.
16954         * iconvdata/ibm1008.h: Likewise.
16955         * iconvdata/ibm1025.h: Likewise.
16956         * iconvdata/ibm1046.h: Likewise.
16957         * iconvdata/ibm1097.h: Likewise.
16958         * iconvdata/ibm1112.h: Likewise.
16959         * iconvdata/ibm1122.h: Likewise.
16960         * iconvdata/ibm1123.h: Likewise.
16961         * iconvdata/ibm1124.h: Likewise.
16962         * iconvdata/ibm1129.h: Likewise.
16963         * iconvdata/ibm1130.h: Likewise.
16964         * iconvdata/ibm1132.h: Likewise.
16965         * iconvdata/ibm1133.h: Likewise.
16966         * iconvdata/ibm1137.h: Likewise.
16967         * iconvdata/ibm1140.h: Likewise.
16968         * iconvdata/ibm1141.h: Likewise.
16969         * iconvdata/ibm1142.h: Likewise.
16970         * iconvdata/ibm1143.h: Likewise.
16971         * iconvdata/ibm1144.h: Likewise.
16972         * iconvdata/ibm1145.h: Likewise.
16973         * iconvdata/ibm1146.h: Likewise.
16974         * iconvdata/ibm1147.h: Likewise.
16975         * iconvdata/ibm1148.h: Likewise.
16976         * iconvdata/ibm1149.h: Likewise.
16977         * iconvdata/ibm1153.h: Likewise.
16978         * iconvdata/ibm1154.h: Likewise.
16979         * iconvdata/ibm1155.h: Likewise.
16980         * iconvdata/ibm1156.h: Likewise.
16981         * iconvdata/ibm1157.h: Likewise.
16982         * iconvdata/ibm1158.h: Likewise.
16983         * iconvdata/ibm1160.h: Likewise.
16984         * iconvdata/ibm1161.h: Likewise.
16985         * iconvdata/ibm1162.h: Likewise.
16986         * iconvdata/ibm1163.h: Likewise.
16987         * iconvdata/ibm1164.h: Likewise.
16988         * iconvdata/ibm1166.h: Likewise.
16989         * iconvdata/ibm1167.h: Likewise.
16990         * iconvdata/ibm12712.h: Likewise.
16991         * iconvdata/ibm1390.h: Likewise.
16992         * iconvdata/ibm1399.h: Likewise.
16993         * iconvdata/ibm16804.h: Likewise.
16994         * iconvdata/ibm4517.h: Likewise.
16995         * iconvdata/ibm4899.h: Likewise.
16996         * iconvdata/ibm4909.h: Likewise.
16997         * iconvdata/ibm4971.h: Likewise.
16998         * iconvdata/ibm5347.h: Likewise.
16999         * iconvdata/ibm803.h: Likewise.
17000         * iconvdata/ibm856.h: Likewise.
17001         * iconvdata/ibm901.h: Likewise.
17002         * iconvdata/ibm902.h: Likewise.
17003         * iconvdata/ibm9030.h: Likewise.
17004         * iconvdata/ibm9066.h: Likewise.
17005         * iconvdata/ibm921.h: Likewise.
17006         * iconvdata/ibm922.h: Likewise.
17007         * iconvdata/ibm9448.h: Likewise.
17008         * iconvdata/isiri-3342.h: Likewise.
17009         * iconvdata/jis0201.h: Likewise.
17010         * include/link.h: Likewise.
17011         * include/netdb.h: Likewise.
17012         * inet/check_native.c: Likewise.
17013         * inet/check_pf.c: Likewise.
17014         * inet/getipv4sourcefilter.c: Likewise.
17015         * inet/getnameinfo.c: Likewise.
17016         * inet/getsourcefilter.c: Likewise.
17017         * inet/htonl.c: Likewise.
17018         * inet/setipv4sourcefilter.c: Likewise.
17019         * inet/setsourcefilter.c: Likewise.
17020         * inet/test-inet6_opt.c: Likewise.
17021         * inet/tst-network.c: Likewise.
17022         * locale/C-collate.c: Likewise.
17023         * locale/C-ctype.c: Likewise.
17024         * locale/C-time.c: Likewise.
17025         * locale/C-translit.h: Likewise.
17026         * locale/loadarchive.c: Likewise.
17027         * locale/programs/3level.h: Likewise.
17028         * locale/programs/charmap.c: Likewise.
17029         * locale/programs/charmap.h: Likewise.
17030         * locale/programs/ld-address.c: Likewise.
17031         * locale/programs/ld-collate.c: Likewise.
17032         * locale/programs/ld-ctype.c: Likewise.
17033         * locale/programs/ld-identification.c: Likewise.
17034         * locale/programs/ld-measurement.c: Likewise.
17035         * locale/programs/ld-messages.c: Likewise.
17036         * locale/programs/ld-monetary.c: Likewise.
17037         * locale/programs/ld-name.c: Likewise.
17038         * locale/programs/ld-numeric.c: Likewise.
17039         * locale/programs/ld-paper.c: Likewise.
17040         * locale/programs/ld-telephone.c: Likewise.
17041         * locale/programs/ld-time.c: Likewise.
17042         * locale/programs/linereader.c: Likewise.
17043         * locale/programs/locale.c: Likewise.
17044         * locale/programs/locarchive.c: Likewise.
17045         * locale/programs/locfile.h: Likewise.
17046         * locale/programs/repertoire.c: Likewise.
17047         * locale/programs/simple-hash.c: Likewise.
17048         * locale/programs/simple-hash.h: Likewise.
17049         * malloc/memusage.c: Likewise.
17050         * malloc/memusagestat.c: Likewise.
17051         * nis/nis_defaults.c: Likewise.
17052         * nis/nis_hash.c: Likewise.
17053         * nis/nis_print.c: Likewise.
17054         * nis/nis_xdr.c: Likewise.
17055         * nscd/connections.c: Likewise.
17056         * nscd/hstcache.c: Likewise.
17057         * nscd/nscd_gethst_r.c: Likewise.
17058         * nscd/nscd_getserv_r.c: Likewise.
17059         * nscd/nscd_helper.c: Likewise.
17060         * nscd/servicescache.c: Likewise.
17061         * nss/makedb.c: Likewise.
17062         * nss/nss_db/db-XXX.c: Likewise.
17063         * nss/nss_db/db-initgroups.c: Likewise.
17064         * nss/nss_db/db-netgrp.c: Likewise.
17065         * nss/nss_files/files-network.c: Likewise.
17066         * nss/nss_files/files-parse.c: Likewise.
17067         * posix/bug-regex5.c: Likewise.
17068         * posix/fnmatch_loop.c: Likewise.
17069         * posix/regcomp.c: Likewise.
17070         * posix/regexec.c: Likewise.
17071         * posix/tst-rfc3484-2.c: Likewise.
17072         * posix/tst-rfc3484-3.c: Likewise.
17073         * posix/tst-rfc3484.c: Likewise.
17074         * resolv/nss_dns/dns-canon.c: Likewise.
17075         * resolv/nss_dns/dns-network.c: Likewise.
17076         * resolv/res_init.c: Likewise.
17077         * resolv/res_mkquery.c: Likewise.
17078         * resolv/tst-aton.c: Likewise.
17079         * stdlib/cxa_atexit.c: Likewise.
17080         * stdlib/cxa_finalize.c: Likewise.
17081         * stdlib/gen-fpioconst.c: Likewise.
17082         * stdlib/strtol_l.c: Likewise.
17083         * string/tst-endian.c: Likewise.
17084         * sunrpc/auth_des.c: Likewise.
17085         * sunrpc/clnt_udp.c: Likewise.
17086         * sunrpc/rtime.c: Likewise.
17087         * sunrpc/svcauth_des.c: Likewise.
17088         * sunrpc/xdr.c: Likewise.
17089         * sunrpc/xdr_intXX_t.c: Likewise.
17090         * sunrpc/xdr_rec.c: Likewise.
17091         * sysdeps/generic/ldconfig.h: Likewise.
17092         * sysdeps/generic/ldsodefs.h: Likewise.
17093         * sysdeps/generic/memusage.h: Likewise.
17094         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17095         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17096         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17097         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17098         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17099         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17100         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17101         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17102         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17103         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17104         * sysdeps/posix/getaddrinfo.c: Likewise.
17105         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17106         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17107         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17108         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17109         * sysdeps/powerpc/test-gettimebase.c: Likewise.
17110         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17111         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17112         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17113         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17114         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17115         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17116         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17117         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17118         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17119         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17120         * sysdeps/x86_64/dl-tls.h: Likewise.
17121         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17122         * time/alt_digit.c: Likewise.
17123         * time/era.c: Likewise.
17124         * wcsmbs/tst-c16c32-1.c: Likewise.
17126 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17128         * math/libm-test.inc (struct test_sincos_data): New type.
17129         (RUN_TEST_LOOP_sincos): New macro.
17130         (sincos_test_data): New variable.
17131         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17133 2013-05-16  Richard Henderson  <rth@redhat.com>
17135         * math/atest-exp2.c (LIMB64): New macro.
17136         (CONSTSZ): New macro.
17137         (mp_exp1, mp_exp_m1, mp_log2): New variables.
17138         (hexdig): Move ...
17139         (print_mpn_fp): ... to function scope.
17140         (read_mpn_hex): Remove.
17141         (get_log2): Remove.
17142         (exp2_mpn): Use mp_log2.
17143         (main): Use mp_exp1.
17145 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17147         * math/libm-test.inc: Remove comment about not testing "inexact"
17148         exceptions.
17149         (INEXACT_EXCEPTION): New macro.
17150         (NO_INEXACT_EXCEPTION): Likewise.
17151         (INVALID_EXCEPTION_OK): Update value.
17152         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17153         (OVERFLOW_EXCEPTION_OK): Likewise.
17154         (UNDERFLOW_EXCEPTION_OK): Likewise.
17155         (IGNORE_ZERO_INF_SIGN): Likewise.
17156         (ERRNO_UNCHANGED): Likewise.
17157         (ERRNO_EDOM): Likewise.
17158         (ERRNO_ERANGE): Likewise.
17159         (test_exceptions): Handle testing "inexact" exceptions.
17160         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17161         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17162         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17163         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17164         INEXACT_EXCEPTION.
17165         (rint_towardzero_test_data): Likewise.
17166         (rint_downward_test_data): Likewise.
17167         (rint_upward_test_data): Likewise.
17169         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17170         with OVERFLOW_EXCEPTION.
17171         (exp10_test_data): Likewise.
17172         (exp2_test_data): Likewise.
17173         (expm1_test_data): Likewise.
17174         (lgamma_test_data): Likewise.
17175         (pow_test_data): Likewise.
17176         (tgamma_test_data): Likewise.
17177         (yn_test_data): Remove duplicate test of overflow.
17179         * math/libm-test.inc (struct test_cc_c_data): New type.
17180         (RUN_TEST_LOOP_cc_c): New macro.
17181         (cpow_test_data): New variable.
17182         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17184         * math/libm-test.inc (struct test_f_L_data): New type.
17185         (RUN_TEST_LOOP_f_L): New macro.
17186         (llrint_test_data): New variable.
17187         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17188         (llrint_tonearest_test_data): New variable.
17189         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17190         (llrint_towardzero_test_data): New variable.
17191         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17192         (llrint_downward_test_data): New variable.
17193         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17194         (llrint_upward_test_data): New variable.
17195         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17196         (llround_test_data): New variable.
17197         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17199 2013-05-13  Peter Collingbourne  <pcc@google.com>
17201         * math/atest-exp2.c (get_log2): Remove const attribute.
17203 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17205         * math/libm-test.inc (struct test_f_l_data): New type.
17206         (RUN_TEST_LOOP_f_l): New macro.
17207         (lrint_test_data): New variable.
17208         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17209         (lrint_tonearest_test_data): New variable.
17210         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17211         (lrint_towardzero_test_data): New variable.
17212         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17213         (lrint_downward_test_data): New variable.
17214         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17215         (lrint_upward_test_data): New variable.
17216         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17217         (lround_test_data): New variable.
17218         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17220 2013-05-15  Peter Collingbourne  <pcc@google.com>
17222         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17223         (EXTRACT_WORDS64) Use where appropriate.
17224         (INSERT_WORDS64) Likewise.
17226         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17227         constraints with x constraints.
17228         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17230         * malloc/obstack.c (_obstack_compat): Add initializer.
17232 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17234         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17235         si_trapno and add si_addr_lsb to _sifields.sigfault.
17236         (si_trapno): Remove macro.
17237         (si_addr_lsb): Define new macro.
17238         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17240 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17242         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17243         instead of TEST_f_l.
17244         (llrint_test_tonearest): Likewise.
17245         (llrint_test_towardzero): Likewise.
17246         (llrint_test_downward): Likewise.
17247         (llrint_test_upward): Likewise.
17248         (llround_test): Likewise.
17250         * math/libm-test.inc (struct test_f_i_data): Add comment.
17251         (RUN_TEST_LOOP_f_b): New macro.
17252         (RUN_TEST_LOOP_f_b_tg): Likewise.
17253         (finite_test_data): New variable.
17254         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17255         (isfinite_test_data): New variable.
17256         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17257         (isinf_test_data): New variable.
17258         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17259         (isnan_test_data): New variable.
17260         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17261         (isnormal_test_data): New variable.
17262         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17263         (issignaling_test_data): New variable.
17264         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17265         (signbit_test_data): New variable.
17266         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17268         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17269         with INVALID_EXCEPTION.
17270         (acosh_test_data): Likewise.
17271         (asin_test_data): Likewise.
17272         (atanh_test_data): Likewise.
17273         (fmod_test_data): Likewise.
17274         (log_test_data): Likewise.
17275         (log10_test_data): Likewise.
17276         (log2_test_data): Likewise.
17277         (pow_test_data): Likewise.
17278         (sqrt_test_data): Likewise.
17279         (y0_test_data): Likewise.
17280         (y1_test_data): Likewise.
17281         (yn_test_data): Likewise.
17283         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17284         function contents.
17286         * math/libm-test.inc (struct test_ff_i_data): New type.
17287         (RUN_TEST_LOOP_ff_i_tg): New macro.
17288         (isgreater_test_data): New variable.
17289         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17290         (isgreaterequal_test_data): New variable.
17291         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17292         (isless_test_data): New variable.
17293         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17294         (islessequal_test_data): New variable.
17295         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17296         (islessgreater_test_data): New variable.
17297         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17298         (isunordered_test_data): New variable.
17299         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17301 2013-05-14  David S. Miller  <davem@davemloft.net>
17303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17305 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
17307         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17309         * math/libm-test.inc (struct test_fF_f1_data): Change type of
17310         extra_test to int.
17311         (struct test_f_i_data): Change type of max_ulp to int.
17313         * math/libm-test.inc (test_ffI_f1_data): New type.
17314         (RUN_TEST_LOOP_ffI_f1): New macro.
17315         (remquo_test_data): New variable.
17316         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17318         * setjmp/tst-setjmp-fp.c: New file.
17319         * setjmp/Makefile (tests): Add tst-setjmp-fp.
17320         (link-libm): New variable.
17321         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17323         * math/libm-test.inc (struct test_f_i_data): New type.
17324         (RUN_TEST_LOOP_f_i): New macro.
17325         (RUN_TEST_LOOP_f_i_tg): Likewise.
17326         (fpclassify_test_data): New variable.
17327         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17328         (ilogb_test_data): New variable.
17329         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17331         * math/libm-test.inc (scalbln_test): Correct function name in END
17332         call.
17334         * math/libm-test.inc (struct test_f_f1_data): Add comment.
17335         (RUN_TEST_LOOP_fI_f1): New macro.
17336         (frexp_test_data): New variable.
17337         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17339         * math/libm-test.inc (struct test_fF_f1_data): New type.
17340         (RUN_TEST_LOOP_fF_f1): New macro.
17341         (modf_test_data): New variable.
17342         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17344         * math/libm-test.inc (struct test_f_f1_data): New type.
17345         (RUN_TEST_LOOP_f_f1): New macro.
17346         (gamma_test_data): New variable.
17347         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17348         (lgamma_test_data): New variable.
17349         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17351 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
17353         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17354         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17355         (main): Comment "tls" pseudo-hwcap.
17357 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
17359         * math/libm-test.inc (struct test_fl_f_data): New type.
17360         (RUN_TEST_LOOP_fl_f): New variable.
17361         (scalbln_test_data): New variable.
17362         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17364         * math/libm-test.inc (struct test_fi_f_data): New type.
17365         (RUN_TEST_LOOP_fi_f): New macro.
17366         (ldexp_test_data): New variable.
17367         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17368         (scalbn_test_data): New variable.
17369         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17371         * math/libm-test.inc (struct test_c_f_data): New type.
17372         (RUN_TEST_LOOP_c_f): New macro.
17373         (cabs_test_data): New variable.
17374         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17375         (carg_test_data): New variable.
17376         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17377         (cimag_test_data): New variable.
17378         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17379         (creal_test_data): New variable.
17380         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17382         * math/libm-test.inc (struct test_if_f_data): New type.
17383         (RUN_TEST_LOOP_if_f): New macro.
17384         (jn_test_data): New variable.
17385         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17386         (yn_test_data): New variable.
17387         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17389         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17391 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17393         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17394         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17396 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17398         * benchtests/Makefile (CPPFLAGS-nonlib): Add
17399         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17400         (bench-deps): Add bench-timing.h.
17401         * benchtests-bench-skeleton.c: Include bench-timing.h.
17402         (main): Use TIMING_* macros instead of clock_gettime.
17403         * benchtests/bench-timing.h: New file.
17405         [BZ #14582]
17406         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17407         Renamed from _LIB_VERSION.
17408         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17410 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
17412         * math/libm-test.inc (struct test_fff_f_data): New type.
17413         (RUN_TEST_LOOP_fff_f): New macro.
17414         (fma_test_data): New variable.
17415         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17416         (fma_towardzero_test_data): New variable.
17417         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17418         (fma_downward_test_data): New variable.
17419         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17420         (fma_upward_test_data): New variable.
17421         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17423         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17424         (struct test_c_c_data): New type.
17425         (RUN_TEST_LOOP_c_c): New macro.
17426         (cacos_test_data): New variable.
17427         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17428         (cacosh_test_data): New variable.
17429         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17430         (casin_test_data): New variable.
17431         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17432         (casinh_test_data): New variable.
17433         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17434         (catan_test_data): New variable.
17435         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17436         (catanh_test_data): New variable.
17437         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17438         (ccos_test_data): New variable.
17439         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17440         (ccosh_test_data): New variable.
17441         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17442         (cexp_test_data): New variable.
17443         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17444         (clog_test_data): New variable.
17445         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17446         (clog10_test_data): New variable.
17447         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17448         (conj_test_data): New variable.
17449         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17450         (cproj_test_data): New variable.
17451         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17452         (csin_test_data): New variable.
17453         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17454         (csinh_test_data): New variable.
17455         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17456         (csqrt_test_data): New variable.
17457         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17458         (ctan_test_data): New variable.
17459         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17460         (ctan_tonearest_test_data): New variable.
17461         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17462         (ctan_towardzero_test_data): New variable.
17463         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17464         (ctan_downward_test_data): New variable.
17465         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17466         (ctan_upward_test_data): New variable.
17467         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17468         (ctanh_test_data): New variable.
17469         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17470         (ctanh_tonearest_test_data): New variable.
17471         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17472         (ctanh_towardzero_test_data): New variable.
17473         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17474         (ctanh_downward_test_data): New variable.
17475         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17476         (ctanh_upward_test_data): New variable.
17477         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17478         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17479         of BUILD_COMPLEX.
17481         * math/libm-test.inc (struct test_ff_f_data): New type.
17482         (struct test_ff_f_data_nexttoward): Likewise.
17483         (RUN_TEST_LOOP_2_f): New macro.
17484         (RUN_TEST_LOOP_ff_f): Likewise.
17485         (atan2_test_data): New variable.
17486         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17487         (copysign_test_data): New variable.
17488         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17489         (fdim_test_data): New variable.
17490         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17491         (fmax_test_data): New variable.
17492         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17493         (fmin_test_data): New variable.
17494         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17495         (fmod_test_data): New variable.
17496         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17497         (hypot_test_data): New variable.
17498         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17499         (nextafter_test_data): New variable.
17500         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17501         (nexttoward_test_data): New variable.
17502         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17503         (pow_test_data): New variable.
17504         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17505         (pow_tonearest_test_data): New variable.
17506         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17507         (pow_towardzero_test_data): New variable.
17508         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17509         (pow_downward_test_data): New variable.
17510         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17511         (pow_upward_test_data): New variable.
17512         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17513         (remainder_test_data): New variable.
17514         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17515         (scalb_test_data): New variable.
17516         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17517         * sysdeps/i386/fpu/libm-test-ulps: Update.
17519 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
17521         * math/libm-test.inc (fma_test): Use max_value instead of local
17522         variable fltmax.
17523         (nextafter_test): Likewise.
17525         * math/libm-test.inc (acos_towardzero_test_data): New variable.
17526         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17527         (acos_downward_test_data): New variable.
17528         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17529         (acos_upward_test_data): New variable.
17530         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17531         (acosh_test_data): New variable.
17532         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17533         (asin_test_data): New variable.
17534         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17535         (asin_tonearest_test_data): New variable.
17536         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17537         (asin_towardzero_test_data): New variable.
17538         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17539         (asin_downward_test_data): New variable.
17540         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17541         (asin_upward_test_data): New variable.
17542         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17543         (asinh_test_data): New variable.
17544         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17545         (atan_test_data): New variable.
17546         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17547         (atanh_test_data): New variable.
17548         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17549         (cbrt_test_data): New variable.
17550         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17551         (ceil_test_data): New variable.
17552         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17553         (cos_test_data): New variable.
17554         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17555         (cos_tonearest_test_data): New variable.
17556         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17557         (cos_towardzero_test_data): New variable.
17558         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17559         (cos_downward_test_data): New variable.
17560         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17561         (cos_upward_test_data): New variable.
17562         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17563         (cosh_test_data): New variable.
17564         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17565         (cosh_tonearest_test_data): New variable.
17566         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17567         (cosh_towardzero_test_data): New variable.
17568         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17569         (cosh_downward_test_data): New variable.
17570         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17571         (cosh_upward_test_data): New variable.
17572         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17573         (erf_test_data): New variable.
17574         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17575         (erfc_test_data): New variable.
17576         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17577         (exp_test_data): New variable.
17578         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17579         (exp_tonearest_test_data): New variable.
17580         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17581         (exp_towardzero_test_data): New variable.
17582         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17583         (exp_downward_test_data): New variable.
17584         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17585         (exp_upward_test_data): New variable.
17586         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17587         (exp10_test_data): New variable.
17588         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17589         (exp2_test_data): New variable.
17590         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17591         (expm1_test_data): New variable.
17592         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17593         (fabs_test_data): New variable.
17594         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17595         (floor_test_data): New variable.
17596         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17597         (j0_test_data): New variable.
17598         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17599         (j1_test_data): New variable.
17600         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17601         (log_test_data): New variable.
17602         (log_test): Run tests with RUN_TEST_LOOP_f_f.
17603         (log10_test_data): New variable.
17604         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17605         (log1p_test_data): New variable.
17606         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17607         (log2_test_data): New variable.
17608         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17609         (logb_test_data): New variable.
17610         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17611         (logb_downward_test_data): New variable.
17612         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17613         (nearbyint_test_data): New variable.
17614         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17615         (rint_test_data): New variable.
17616         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17617         (rint_tonearest_test_data): New variable.
17618         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17619         (rint_towardzero_test_data): New variable.
17620         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17621         (rint_downward_test_data): New variable.
17622         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17623         (rint_upward_test_data): New variable.
17624         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17625         (round_test_data): New variable.
17626         (round_test): Run tests with RUN_TEST_LOOP_f_f.
17627         (sin_test_data): New variable.
17628         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17629         (sin_tonearest_test_data): New variable.
17630         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17631         (sin_towardzero_test_data): New variable.
17632         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17633         (sin_downward_test_data): New variable.
17634         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17635         (sin_upward_test_data): New variable.
17636         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17637         (sinh_test_data): New variable.
17638         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17639         (sinh_tonearest_test_data): New variable.
17640         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17641         (sinh_towardzero_test_data): New variable.
17642         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17643         (sinh_downward_test_data): New variable.
17644         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17645         (sinh_upward_test_data): New variable.
17646         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17647         (sqrt_test_data): New variable.
17648         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17649         (tan_test_data): New variable.
17650         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17651         (tan_tonearest_test_data): New variable.
17652         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17653         (tan_towardzero_test_data): New variable.
17654         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17655         (tan_downward_test_data): New variable.
17656         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17657         (tan_upward_test_data): New variable.
17658         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17659         (tanh_test_data): New variable.
17660         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17661         (tgamma_test_data): New variable.
17662         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17663         (trunc_test_data): New variable.
17664         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17665         (y0_test_data): New variable.
17666         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17667         (y1_test_data): New variable.
17668         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17669         (significand_test_data): New variable.
17670         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17672 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
17674         [BZ #12387]
17675         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17677 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17679         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17681 2013-05-10  Andreas Jaeger  <aj@suse.de>
17683         [BZ #15448]
17684         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17685         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17687 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17689         * math/gen-libm-test.pl (adjust_arg): New function.
17690         (special_functions): Handle generating output in both functions
17691         and arrays.
17692         (parse_args): Likewise.
17693         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
17694         $in_func argument to parse_args.
17695         * math/libm-test.inc (struct test_f_f_data): New type.
17696         (IF_ROUND_INIT_): New macro.
17697         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17698         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17699         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17700         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17701         (ROUND_RESTORE_): Likewise.
17702         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17703         (ROUND_RESTORE_FE_TONEAREST): Likewise.
17704         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17705         (ROUND_RESTORE_FE_UPWARD): Likewise.
17706         (RUN_TEST_LOOP_f_f): New macro.
17707         (acos_test_data): New variable.
17708         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17709         (acos_tonearest_test_data): New variable.
17710         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17712 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17714         * benchtests/bench-skeleton.c (startup): Fix coding style.
17716 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17718         [BZ #6809]
17719         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17720         negative infinity argument.
17721         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17722         negative infinity argument.
17723         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17724         negative infinity argument.
17725         * math/libm-test.inc (tgamma_test): Expect errno to be set for
17726         domain errors.
17728 2013-05-10  Florian Weimer  <fweimer@redhat.com>
17730         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17731         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17732         * iconv/iconv_prog.c (main): Likewise.
17733         * locale/programs/charmap-dir.c (charmap_readdir)
17734         (fopen_uncompressed): Likewise.
17735         * locale/programs/locfile.c (siblings_uncached)
17736         (write_locale_data): Use lstat64 instead of lstat.
17737         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17738         stat.
17740 2013-05-10  Andreas Jaeger  <aj@suse.de>
17742         [BZ #15395]
17743         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17744         localization.
17745         Include <locale.h>.
17747 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
17749         * elf/dl-close.c (_dl_close_worker): Add comments.
17751 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
17753         [BZ #15359]
17754         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17755         high part of pi/2.
17756         (__ieee754_rem_pio2l): Update comments.
17758         [BZ #15429]
17759         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17760         high part of pi/2.
17761         (__ieee754_rem_pio2l): Update comments.
17763         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17764         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17766         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17767         M_PI_4l.
17769         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17770         (M_PI_34_LOG10El): Likewise.
17771         (M_PI2_LOG10El): Likewise.
17772         (M_PI4_LOG10El): Likewise.
17773         (M_PI_LOG10El): Likewise.
17775 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17779 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
17781         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17782         (MINUS_ZERO_INIT): Likewise.
17783         (PLUS_INFTY_INIT): Likewise.
17784         (MINUS_INFTY_INIT): Likewise.
17785         (QNAN_VALUE_INIT): Likewise.
17786         (MAX_VALUE_INIT): Likewise.
17787         (MIN_VALUE_INIT): Likewise.
17788         (MIN_SUBNORM_VALUE_INIT): Likewise.
17789         (plus_zero): Initialize with PLUS_ZERO_INIT.
17790         (minus_zero): Initialize with MINUS_ZERO_INIT.
17791         (plus_infty): Initialize with PLUS_INFTY_INIT.
17792         (minus_infty): Initialize with MINUS_INFTY_INIT.
17793         (qnan_value): Initialize with QNAN_VALUE_INIT.
17794         (max_value): Initialize with MAX_VALUE_INIT.
17795         (min_value): Initialize with MIN_VALUE_INIT.
17796         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17798         * math/libm-test.inc (RUN_TEST_if_f): New macro.
17799         (jn_test): Use TEST_if_f instead of TEST_ff_f.
17800         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17801         (yn_test): Use TEST_if_f instead of TEST_ff_f.
17803         * math/libm-test.inc (RUN_TEST_f_f): New macro.
17804         (RUN_TEST_2_f): Likewise.
17805         (RUN_TEST_ff_f): Likewise.
17806         (RUN_TEST_fi_f): Likewise.
17807         (RUN_TEST_fl_f): Likewise.
17808         (RUN_TEST_fff_f): Likewise.
17809         (RUN_TEST_c_f): Likewise.
17810         (RUN_TEST_f_f1): Likewise.
17811         (RUN_TEST_fF_f1): Likewise.
17812         (RUN_TEST_fI_f1): Likewise.
17813         (RUN_TEST_ffI_f1): Likewise.
17814         (RUN_TEST_c_c): Likewise.
17815         (RUN_TEST_cc_c): Likewise.
17816         (RUN_TEST_f_i): Likewise.
17817         (RUN_TEST_f_i_tg): Likewise.
17818         (RUN_TEST_ff_i_tg): Likewise.
17819         (RUN_TEST_f_b): Likewise.
17820         (RUN_TEST_f_b_tg): Likewise.
17821         (RUN_TEST_f_l): Likewise.
17822         (RUN_TEST_f_L): Likewise.
17823         (RUN_TEST_sincos): Likewise.
17824         * math/gen-libm-test.pl (new_test): Take new argument to indicate
17825         whether to show exceptions.  Do not include ");\n" in return
17826         value.
17827         (special_functions): Output call to RUN_TEST_sincos instead of
17828         check_float calls.  Update calls to new_test.
17829         (parse_args): Output call to single RUN_TEST_* macro instead of
17830         check_* calls and other assignments.  Update calls to new_test.
17832         [BZ #2546]
17833         [BZ #2560]
17834         [BZ #5159]
17835         [BZ #15426]
17836         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17837         input to result for tgamma overflow.
17838         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17839         (gamma_coeff): New variable.
17840         (NCOEFF): New macro.
17841         (gamma_positive): New function.
17842         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17843         underflow here.  Use gamma_positive instead of exp (lgamma) for
17844         other arguments.
17845         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17846         (gamma_coeff): New variable.
17847         (NCOEFF): New macro.
17848         (gammaf_positive): New function.
17849         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17850         underflow here.  Use gamma_positive instead of exp (lgamma) for
17851         other arguments.
17852         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17853         (gamma_coeff): New variable.
17854         (NCOEFF): New macro.
17855         (gammal_positive): New function.
17856         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17857         underflow here.  Use gamma_positive instead of exp (lgamma) for
17858         other arguments.
17859         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17860         (gamma_coeff): New variable.
17861         (NCOEFF): New macro.
17862         (gammal_positive): New function.
17863         (__ieee754_gammal_r): Handle positive infinity, overflow and
17864         underflow here.  Handle NaN the same as positive infinity.  Remove
17865         check x < 0xffffffff for negative integers.  Use gamma_positive
17866         instead of exp (lgamma) for other arguments.
17867         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17868         (gamma_coeff): New variable.
17869         (NCOEFF): New macro.
17870         (gammal_positive): New function.
17871         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17872         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17873         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17874         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17875         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17876         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17877         * sysdeps/generic/math_private.h (__gamma_productf): New
17878         prototype.
17879         (__gamma_product): Likewise.
17880         (__gamma_productl): Likewise.
17881         * math/Makefile (libm-calls): Add gamma_product.
17882         * math/libm-test.inc (tgamma_test): Add more tests.
17883         * sysdeps/i386/fpu/libm-test-ulps: Update.
17884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17886 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
17888         * benchtests/bench-skeleton.c (main): Preheat CPU.
17890 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
17892         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17894 2013-05-07  Roland McGrath  <roland@hack.frob.com>
17896         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17897         and _dl_skip_args_internal.
17899 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
17901         * manual/message.texi (Message Translation): Talk about users.
17902         Message to key mapping impacts design.
17904 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17906         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17908         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17910         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17911         * sysdeps/wordsize-64/glob64.c: ... here.
17913         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17914         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17915         New macros.
17917         * debug/getlogin_r_chk.c: Moved to ...
17918         * login/getlogin_r_chk.c: ... here.
17919         * debug/Makefile (routines): Move getlogin_r_chk to ...
17920         * login/Makefile (routines): ... here.
17921         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17922         * login/Versions (libc: GLIBC_2.4): ... here.
17924         * io/poll.c (__poll): Renamed from poll.
17925         Add libc_hidden_def.
17926         (poll): Define as weak alias.
17928         * debug/ptsname_r_chk.c: Moved to ...
17929         * login/ptsname_r_chk.c: ... here.
17930         * debug/Makefile (routines): Move ptsname_r_chk to ...
17931         * login/Makefile (routines): ... here.
17932         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17933         * login/Versions (libc: GLIBC_2.4): ... here.
17935         * posix/getlogin.c: Moved to ...
17936         * login/getlogin.c: ... here.
17937         * posix/getlogin_r.c: Moved to ...
17938         * login/getlogin_r.c: ... here.
17939         * posix/getlogin_r.c: Moved to ...
17940         * login/getlogin_r.c: ... here.
17941         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17942         * login/Makefile (routines): ... here.
17943         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17944         * login/Versions (libc: GLIBC_2.0): ... here.
17946         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17947         (setrlimit): Define as weak alias.
17949         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17950         Call __ names for open, ftruncate, and close.
17951         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17952         (truncate): Define as weak alias.
17954 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
17956         * math/gen-libm-test.pl (parse_args): Initialize x before each
17957         test of frexp, modf and remquo.
17959         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17960         test signgam value.
17962 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17964         [BZ #15418]
17965         [BZ #15419]
17966         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17967         internal tests.
17968         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17970 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17972         * elf/dl-writev.h: New file.
17973         * elf/dl-misc.c: Include it.
17974         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17975         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17977 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
17979         * math/libm-test.inc (noXFails): Remove variable.
17980         (noXPasses): Likewise.
17981         (BUILD_COMPLEX_INT): Remove macro.
17982         (print_screen): Remove xfail argument.
17983         (print_screen_max_error): Likewise.
17984         (update_stats): Likewise.
17985         (print_max_error): Likewise.  Update calls to other affected
17986         functions.
17987         (print_complex_max_error): Likewise.
17988         (test_single_exception): Update calls to print_screen.
17989         (test_single_errno): Likewise.
17990         (check_float_internal): Remove xfail argument.  Update calls to
17991         other affected functions.
17992         (check_float): Likewise.
17993         (check_complex): Likewise.
17994         (check_int): Likewise.
17995         (check_long): Likewise.
17996         (check_bool): Likewise.
17997         (check_longlong): Likewise.
17998         (main): Don't print noXFails and noXPasses.
17999         * math/gen-libm-test.pl (top level): Don't mention expected
18000         failure handling in comment.
18001         (new_test): Don't handle expected failures.
18002         (parse_args): Don't mention expected failure handling in comment.
18003         (generate_testfile): Don't handle expected failures.
18004         (parse_ulps): Likewise.
18005         (print_ulps_file): Likewise.
18006         (get_failure): Remove function.
18007         (output_test): Don't handle expected failures.
18008         * make/README.libm-test: Don't mention expected failure handling.
18010         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
18011         (minus_zero): Likewise.
18012         (plus_infty): Likewise.
18013         (minus_infty): Likewise.
18014         (qnan_value): Likewise.
18015         (max_value): Likewise.
18016         (min_value): Likewise.
18017         (min_subnorm_value): Likewise.
18018         (initialize): Do not initialize those variables dynamically.
18020 2013-05-03  Roland McGrath  <roland@hack.frob.com>
18022         * io/open.c (__open_2): Moved to ...
18023         * io/open_2.c: ... this new file.
18024         * io/open64.c (__open64_2): Moved to ...
18025         * io/open64_2.c: ... this new file.
18026         * io/openat.c (__openat_2): Moved to ...
18027         * io/openat_2.c: ... this new file.
18028         * io/openat64.c (__openat64_2): Moved to ...
18029         * io/openat64_2.c: ... this new file.
18030         * io/Makefile (routines): Add them.
18031         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18032         * sysdeps/unix/sysv/linux/open_2.c: File removed.
18033         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18034         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18035         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18036         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18037         (__openat64): Add hidden_ver.
18038         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18039         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18041         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18042         Separately conditionalize setting of GLRO(dl_sysinfo) so
18043         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18044         as well, but the actual setting is only under [NEED_DL_SYSINFO].
18046 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18048         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18049         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18050         definition.
18051         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18052         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18053         (_libc_vdso_platform_setup): Add __vdso_time initialization.
18054         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18055         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18057 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
18059         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18060         test signgam value.
18062         * math/libm-test.inc (hypot_test): Do not use
18063         IGNORE_ZERO_INF_SIGN.
18065 2013-05-03  Andreas Jaeger  <aj@suse.de>
18067         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18068         Linux 3.9.
18069         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18070         (PF_MAX): Adjust for VSOCK change.
18072 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18076 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
18078         [BZ #15264]
18079         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18080         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18081         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18083 2013-05-02  David S. Miller  <davem@davemloft.net>
18085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18087 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
18089         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18091 2013-05-01  Roland McGrath  <roland@hack.frob.com>
18093         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18095 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
18097         [BZ #14952]
18098         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18099         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18100         Use __attribute__ ((__gnu_inline__)).
18101         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18102         Don't use __attribute__ ((__gnu_inline__)).
18104 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
18106         [BZ #15423]
18107         * math/s_catan.c (__catan): Handle small real or imaginary part of
18108         input specially to avoid spurious underflow.
18109         * math/s_catanf.c (__catanf): Likewise.
18110         * math/s_catanh.c (__catanh): Likewise.
18111         * math/s_catanhf.c (__catanhf): Likewise.
18112         * math/s_catanhl.c (__catanhl): Likewise.
18113         * math/s_catanl.c (__catanl): Likewise.
18114         * math/libm-test.inc (catan_test): Add more tests.
18115         (catanh_test): Likewise.
18116         * sysdeps/i386/fpu/libm-test-ulps: Update.
18117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18119 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18123 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
18125         [BZ #15416]
18126         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18127         accurately for denominator in atan2.
18128         * math/s_catanf.c (__catanf): Likewise.
18129         * math/s_catanh.c (__catanh): Likewise.
18130         * math/s_catanhf.c (__catanhf): Likewise.
18131         * math/s_catanhl.c (__catanhl): Likewise.
18132         * math/s_catanl.c (__catanl): Likewise.
18133         * math/libm-test.inc (catan_test): Add more tests.
18134         (catanh_test): Likewise.
18135         * sysdeps/i386/fpu/libm-test-ulps: Update.
18136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18138 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18140         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18142         * benchtests/Makefile (bench): Remove slow benchmarks.
18143         * benchtests/atan-inputs: Add slow benchmark inputs.
18144         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18145         (BENCH_FUNC): Accept variant offset.
18146         (VARIANT): Define.
18147         * benchtests/bench-skeleton.c (main): Run benchmark for each
18148         variant.
18149         * benchtests/cos-inputs: Add slow benchmark inputs.
18150         * benchtests/exp-inputs: Likewise.
18151         * benchtests/pow-inputs: Likewise.
18152         * benchtests/sin-inputs: Likewise.
18153         * benchtests/slowatan-inputs: Remove.
18154         * benchtests/slowatan.c: Remove.
18155         * benchtests/slowcos-inputs: Remove.
18156         * benchtests/slowcos.c: Remove.
18157         * benchtests/slowexp-inputs: Remove.
18158         * benchtests/slowexp.c: Remove.
18159         * benchtests/slowpow-inputs: Remove.
18160         * benchtests/slowpow.c: Remove.
18161         * benchtests/slowsin-inputs: Remove.
18162         * benchtests/slowsin.c: Remove.
18163         * benchtests/slowtan-inputs: Remove.
18164         * benchtests/slowtan.c: Remove.
18165         * benchtests/tan-inputs: Add slow benchmark inputs.
18166         * scripts/bench.pl: Parse comments and directives.
18168         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
18169         in CPPFLAGS.
18170         ($(objpfx)bench-%.c): Remove *-ITER.
18171         * benchtests/bench-modf.c: Remove definition of ITER.
18172         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18173         (main): Loop for DURATION seconds instead of fixed number of
18174         iterations.
18175         * scripts/bench.pl: Don't expect iterations in parameters.
18177 2013-04-29  Roland McGrath  <roland@hack.frob.com>
18179         * io/fchdir.c (__fchdir): Renamed from fchdir.
18180         (fchdir): Define as weak alias.
18182 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18184         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18185         (ERRNO_EDOM): Likewise.
18186         (ERRNO_ERANGE): Likewise.
18187         (noErrnoTests): New variable.
18188         (init_max_error): Set errno to 0.
18189         (test_single_errno): New function.
18190         (test_errno): Likewise.
18191         (check_float_internal): Call test_errno.  Set errno to 0.
18192         (check_complex): Refer to errno tests in comment.
18193         (check_int): Call test_errno.  Set errno to 0.
18194         (check_long): Likewise.
18195         (check_bool): Likewise.
18196         (check_longlong): Likewise.
18197         (cos_test): Use ERRNO_* flags for errno tests instead of
18198         check_int.
18199         (expm1_test): Likewise.
18200         (fmod_test): Likewise.
18201         (ilogb_test): Likewise.
18202         (lgamma_test): Likewise.
18203         (pow_test): Likewise.
18204         (remainder_test): Likewise.
18205         (sin_test): Likewise.
18206         (tan_test): Likewise.
18207         (yn_test): Likewise.
18208         (initialize): Set errno to 0.
18209         (main): Print number of errno tests.
18210         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18212 2013-04-29  Andreas Jaeger  <aj@suse.de>
18214         [BZ #15084]
18215         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18216         and RES_USEVC.
18218         [BZ #15085]
18219         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18220         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18221         unimplemented.
18223         [BZ #15380]
18224         * stdlib/random.c (__initstate): Return NULL if
18225         __initstate fails.
18227         [BZ #15086]
18228         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18229         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18230         RES_SNGLKUPREOP.
18232 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18236 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18238         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18239         of individual tests.
18240         (casin_test): Likewise.
18241         (casinh_test): Likewise.
18243 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
18245         [BZ #15409]
18246         * math/s_catan.c (__catan): Handle arguments with large real or
18247         imaginary part separately without squaring.
18248         * math/s_catanf.c (__catanf): Likewise.
18249         * math/s_catanh.c (__catanh): Likewise.
18250         * math/s_catanhf.c (__catanhf): Likewise.
18251         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18252         and redefine.
18253         (__catanhl): Handle arguments with large real or imaginary part
18254         separately without squaring.
18255         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18256         and redefine.
18257         (__catanl): Handle arguments with large real or imaginary part
18258         separately without squaring.
18259         * math/libm-test.inc (catan_test): Add more tests.
18260         (catanh_test): Likewise.
18261         * sysdeps/i386/fpu/libm-test-ulps: Update.
18262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18264 2013-04-27  Andreas Jaeger  <aj@suse.de>
18266         [BZ #15007]
18267         * stdlib/stdlib.h: Update guards for qecvt.
18268         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18269         <stdlib.h>.
18271 2013-04-27  Allan McRae  <allan@archlinux.org>
18273         * sysdeps/i386/fpu/libm-test-ulps: Update.
18275 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
18277         [BZ #15406]
18278         * math/s_catan.c: Include <float.h>.
18279         (__catan): Ensure underflow exception occurs for underflowed
18280         result.
18281         * math/s_catanf.c: Include <float.h>.
18282         (__catanf): Ensure underflow exception occurs for underflowed
18283         result.
18284         * math/s_catanh.c: Include <float.h>.
18285         (__catanh): Ensure underflow exception occurs for underflowed
18286         result.
18287         * math/s_catanhf.c: Include <float.h>.
18288         (__catanhf): Ensure underflow exception occurs for underflowed
18289         result.
18290         * math/s_catanhl.c: Include <float.h>.
18291         (__catanhl): Ensure underflow exception occurs for underflowed
18292         result.
18293         * math/s_catanl.c: Include <float.h>.
18294         (__catanl): Ensure underflow exception occurs for underflowed
18295         result.
18296         * math/libm-test.inc (catan_test): Add more tests.
18297         (catanh_test): Likewise.
18299         [BZ #15405]
18300         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18301         underflowed result.
18302         * math/s_ccoshf.c (__ccoshf): Likewise.
18303         * math/s_ccoshl.c (__ccoshl): Likewise.
18304         * math/s_csin.c (__csin): Likewise.
18305         * math/s_csinf.c (__csinf): Likewise.
18306         * math/s_csinh.c (__csinh): Likewise.
18307         * math/s_csinhf.c (__csinhf): Likewise.
18308         * math/s_csinhl.c (__csinhl): Likewise.
18309         * math/s_csinl.c (__csinl): Likewise.
18310         * math/libm-test.inc (ccos_test): Add more tests.
18311         (ccosh_test): Likewise.
18312         (csin_test): Likewise.
18313         (csinh_test): Likewise.
18315 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18317         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18318         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18319         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18320         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18321         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18322         powerpc/power5+/fpu folders.
18323         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18326 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18328         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18330 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
18332         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18333         additions to variable.
18334         [$(config-machine) = x86_64] (modules-names): Likewise.
18335         ($(objpfx)tst-audit3): Remove dependency.
18336         ($(objpfx)tst-audit3.out): Likewise.
18337         ($(objpfx)tst-audit4): Likewise.
18338         ($(objpfx)tst-audit4.out): Likewise.
18339         ($(objpfx)tst-audit5): Likewise.
18340         ($(objpfx)tst-audit5.out): Likewise.
18341         ($(objpfx)tst-audit6): Likewise.
18342         ($(objpfx)tst-audit6.out): Likewise.
18343         ($(objpfx)tst-audit7): Likewise.
18344         ($(objpfx)tst-audit7.out): Likewise.
18345         (tst-audit3-ENV): Remove variable.
18346         (tst-audit4-ENV): Likewise.
18347         (tst-audit5-ENV): Likewise.
18348         (tst-audit6-ENV): Likewise.
18349         (tst-audit7-ENV): Likewise.
18350         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18351         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18352         addition to variable.
18353         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18354         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18355         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18356         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18357         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18358         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18359         tst-audit3, tst-audit4 and tst-audit5.
18360         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18361         tst-audit6 and tst-audit7.
18362         [$(subdir) = elf] (modules-names): Add audit modules for those
18363         tests.
18364         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18365         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18366         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18367         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18368         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18369         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18370         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18371         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18372         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18373         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18374         [$(subdir) = elf] (tst-audit3-ENV): New variable.
18375         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18376         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18377         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18378         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18379         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18380         Likewise.
18381         [$(subdir) = elf && $(config-cflags-avx) = yes]
18382         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18383         [$(subdir) = elf && $(config-cflags-avx) = yes]
18384         (CFLAGS-tst-auditmod4a.c): Likewise.
18385         [$(subdir) = elf && $(config-cflags-avx) = yes]
18386         (CFLAGS-tst-auditmod4b.c): Likewise.
18387         [$(subdir) = elf && $(config-cflags-avx) = yes]
18388         (CFLAGS-tst-auditmod6b.c): Likewise.
18389         [$(subdir) = elf && $(config-cflags-avx) = yes]
18390         (CFLAGS-tst-auditmod6c.c): Likewise.
18391         [$(subdir) = elf && $(config-cflags-avx) = yes]
18392         (CFLAGS-tst-auditmod7b.c): Likewise.
18393         * elf/tst-audit3.c: Move to ...
18394         * sysdeps/x86_64/tst-audit3.c: ... here.
18395         * elf/tst-audit4.c: Move to ...
18396         * sysdeps/x86_64/tst-audit4.c: ... here.
18397         * elf/tst-audit5.c: Move to ...
18398         * sysdeps/x86_64/tst-audit5.c: ... here.
18399         * elf/tst-audit6.c: Move to ...
18400         * sysdeps/x86_64/tst-audit6.c: ... here.
18401         * elf/tst-audit7.c: Move to ...
18402         * sysdeps/x86_64/tst-audit7.c: ... here.
18403         * elf/tst-auditmod3a.c: Move to ...
18404         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18405         * elf/tst-auditmod3b.c: Move to ...
18406         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18407         * elf/tst-auditmod4a.c: Move to ...
18408         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18409         * elf/tst-auditmod4b.c: Move to ...
18410         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18411         * elf/tst-auditmod5a.c: Move to ...
18412         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18413         * elf/tst-auditmod5b.c: Move to ...
18414         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18415         * elf/tst-auditmod6a.c: Move to ...
18416         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18417         * elf/tst-auditmod6b.c: Move to ...
18418         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18419         * elf/tst-auditmod6c.c: Move to ...
18420         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18421         * elf/tst-auditmod7a.c: Move to ...
18422         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18423         * elf/tst-auditmod7b.c: Move to ...
18424         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18426 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
18428         [BZ #15366]
18429         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18430         define unconditionally.
18431         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18432         define unconditionally.
18433         (INT8_C, INT16_C, etc.): Likewise.
18435 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
18437         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18438         __ehdr_start with hidden visibility.
18440         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18442 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
18444         * math/libm-test.inc (cos_test): Use accurate hex constants.
18445         (sincost_test): Likewise.
18447 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
18449         * math/libm-test.inc (catan_test): Add more tests.
18450         (catanh_test): Likewise.
18452         * math/s_catanf.c (__catanf): Use suffixed floating-point
18453         constants.
18454         * math/s_catanhf.c (__catanhf): Likewise.
18455         * math/s_catanhl.c (__catanhl): Likewise.
18456         * math/s_catanl.c (__catanl): Likewise.
18458         [BZ #15394]
18459         * math/s_catan.c (__catan): Calculate imaginary part of result
18460         with log1p not log unless computing log of number close to 0.
18461         * math/s_catanf.c (__catanf): Likewise.
18462         * math/s_catanl.c (__catanl): Likewise.
18463         * math/s_catanh.c (__catanh): Calculate real part of result with
18464         log1p not log unless computing log of number close to 0.
18465         * math/s_catanhf.c (__catanhf): Likewise.
18466         * math/s_catanhl.c (__catanhl): Likewise.
18467         * math/libm-test.inc (catan_test): Add more tests.
18468         (catanh_test): Likewise.
18469         * sysdeps/i386/fpu/libm-test-ulps: Update.
18470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18472 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18474         * benchtests/Makefile: Mention files in which fast and slow
18475         paths of math functions are implemented.
18477 2013-04-23  Roland McGrath  <roland@hack.frob.com>
18479         * sysdeps/posix/timespec_get.c: New file.
18481 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18483         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18484         POWER.
18485         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18486         for POWER.
18487         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18488         powerpc/power5/fpu folders.
18489         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18490         * benchtests/Makefile: Add modf testcase.
18491         * benchtests/bench-modf.c: New file: Benchmark test for mo
18493 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18495         [BZ #14888]
18496         * time/Makefile (tests): Add tst-strptime-whitespace.
18497         * time/strptime_l.c (get_number): Use ISSPACE.
18498         (__strptime_internal): Likewise.
18499         * time/tst-strptime-whitespace.c: New test case.
18501 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
18503         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18504         member.
18505         (_nss_files_init): Set it here.
18507 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
18509         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18510         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18511         unsigned.
18513 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
18515         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18517 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18519         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18520         size just once.
18522 2013-04-21  David S. Miller  <davem@davemloft.net>
18524         * po/ru.po: Update Russion translation from translation project.
18526 2013-04-17  Adam Conrad  <adconrad@0c3.net>
18528         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18529         and setfsgid.
18531 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
18533         * configure.in: Remove i386 configure warning. Remove i386 case.
18534         * configure: Regenerate.
18535         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18536         Add example to error message.
18537         * sysdeps/i386/configure: Regenerate.
18539 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18541         * benchtests/Makefile (bench): Add cos, tan, slowcos and
18542         slowtan.
18543         * benchtests/cos-inputs: New file.
18544         * benchtests/slowcos-inputs: New file.
18545         * benchtests/slowcos.c: New file.
18546         * benchtests/slowtan-inputs: New file.
18547         * benchtests/slowtan.c: New file.
18548         * benchtests/tan-inputs: New file.
18550 2013-04-16  Roland McGrath  <roland@hack.frob.com>
18552         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18553         considered kosher.
18555 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18557         * benchtests/Makefile: Include cppflags-iterator.mk to add
18558         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18560         * Makefile.in (bench-clean): New target.
18561         * benchtests/Makefile (bench-clean): Likewise.
18563 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
18565         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18567 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
18569         * stdio-common/tstdiomisc.c: Fix coding-style violation.
18571 2013-04-15  Andreas Schwab  <schwab@suse.de>
18573         * nscd/grpcache.c (cache_addgr): Properly check for short write.
18574         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18575         * nscd/pwdcache.c (cache_addpw): Likewise.
18576         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
18577         more than recsize.
18579 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18581         * benchtests/Makefile (bench): Write all output to
18582         bench-out.tmp together.
18584 2013-04-15  Andreas Schwab  <schwab@suse.de>
18586         * nscd/nscd.c (main): Don't fork again after closing files.
18588 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18590         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18592         * benchtests/Rules (bench-deps): Collect dependencies into a
18593         single variable.  Add Makefile to dependencies.
18594         ($(objpfx)bench-%.c): Depend on bench-deps.
18596 2013-04-12  Roland McGrath  <roland@hack.frob.com>
18597             Xavier Roche  <roche+kml2@exalead.com>
18599         [BZ #15361]
18600         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18601         just that it's a file descriptor.
18602         * manual/llio.texi (Synchronizing AIO Operations): Update description
18603         for EBADF error from aio_fsync.
18605 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18607         * Rules (bench): Move target definition...
18608         * benchtests/Makefile: ... here.
18610 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
18612         * math/libm-test.inc (cos_test): Fix PI/2 test.
18613         (sincos_test): Likewise.
18614         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18615         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18617 2013-04-11  Andreas Schwab  <schwab@suse.de>
18619         [BZ #13988]
18620         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18621         accept exponent character only when digits were seen.
18622         * stdio-common/Makefile (tests): Add bug26.
18623         * stdio-common/bug26.c: New file.
18625         [BZ #14293]
18626         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18627         non-freeable.
18629 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18631         * Makeconfig (rtld-prefix): Define built linker prefix.
18632         * Rules (run-bench): Use it.
18633         * math/Makefile (run-regen-ulps): Likewise.
18635         * Rules (bench): Remove eval.
18637 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18638             Roland McGrath  <roland@hack.frob.com>
18639             Ondrej Bilka  <neleai@seznam.cz>
18641         [BZ #15346]
18642         * time/getdate.c: Include ctype.h and alloca.h.
18643         (__getdate_r): Trim leading and trailing spaces of input.
18644         * time/tst-getdate.c (tests): Add tests with leading and
18645         trailing spaces.
18647 2013-04-08  Roland McGrath  <roland@hack.frob.com>
18649         [BZ #14280]
18650         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18651         when computing value.
18653 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18655         * math/README.libm-test (How can I generate "libm-test-ulps"?):
18656         Use testrun.sh to run libm tests.
18658         [BZ #15309]
18659         * elf/dl-open.c (dl_open_worker): memset all of seen array.
18661 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
18663         [BZ #15264]
18664         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18666 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18668         * Makefile.in (regen-ulps): New target.
18669         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18670         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18671         [ifneq (no,$(PERL)] (regen-ulps): New target.
18672         [ifeq (no,$(PERL)] (regen-ulps): New target.
18673         * math/libm-test.inc (ulps_file_name): Define.
18674         (output_dir): New variable.
18675         (options): Add "output-dir" option.
18676         (parse_opt): Handle 'o' case.
18677         (main): If output_dir is non-NULL use it as a prefix
18678         otherwise use "".
18679         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18681 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18683         [BZ #10060, #10062]
18684         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18685         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18686         fail configure if __sync_val_compare_and_swap is not inlined.
18687         * sysdeps/i386/configure: Regenerate.
18688         * configure.in: Build for i686 when configured for i386.
18689         * configure: Regenerate.
18690         * README: Remove i386 reference.
18692 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18694         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18695         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18697 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
18699         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18700         (lmsnanval): New variables.
18701         (F): Add conversion tests.
18702         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18703         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18705         * stdio-common/tstdiomisc.c (F): Properly collect individual
18706         tests' results.
18708         [BZ #14686, #15336]
18709         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18710         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18711         Instead, use input NaN values or generate a qNaN by arithmetic
18712         operation.  Also fix bugs to comply with the standard.
18713         * math/libm-test.inc (remainder_test): Add more tests.
18715         [BZ #15335, #15342]
18716         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18717         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18718         input NaN values or generate a qNaN by arithmetic operation.
18720         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18721         unreachable code.
18723         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18724         definitions.
18726 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
18728         [BZ #14478]
18729         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18730         underflowed result.
18731         * math/s_cexpf.c (__cexpf): Likewise.
18732         * math/s_cexpl.c (__cexpl): Likewise.
18733         * math/libm-test.inc (cexp_test): Add more tests.
18735 2013-04-03  Andreas Schwab  <schwab@suse.de>
18737         [BZ #15330]
18738         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18739         order arrays from heap if bigger than alloca cutoff.
18741 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
18743         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18744         (SNAN_TESTS_double): Refer to GCC PR56831.
18745         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18746         GCC PR56828.
18748 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18750         * Rules (bench): Move bench.out after the run is complete.
18752         * Rules (bench): Echo currently running benchmark.
18754         * benchtests/Makefile (bench): Add atan and slowatan.
18755         * benchtests/atan-inputs: New file.
18756         * benchtests/slowatan-inputs: New file.
18757         * benchtests/slowatan.c: New file.
18759         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18760         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18761         its value.
18763         [BZ #15305]
18764         * sysdeps/unix/sysv/linux/kernel-features.h
18765         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18766         __ASSUME_XFS_RESTRICTED_CHOWN.
18767         * sysdeps/unix/sysv/linux/pathconf.c
18768         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18769         Save and restore errno.
18771 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
18773         [BZ #15327]
18774         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18775         arguments using __kernel_casinh.
18776         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18777         arguments using __kernel_casinhf.
18778         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18779         arguments using __kernel_casinhl.
18780         * math/libm-test.inc (cacosh_test): Add more tests.
18781         * sysdeps/i386/fpu/libm-test-ulps: Update.
18782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18784 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18786         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18787         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18789         * bench/Makefile (bench): Add sin and slowsin.
18790         * benchtests/sin-inputs: New file.
18791         * benchtests/slowsin-inputs: New file.
18792         * benchtests/slowsin.c: New file.
18794         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18795         (bench): Add slowexp and slowpow.
18796         (exp-ITER): Increase iterations.
18797         (pow-ITER): Likewise.
18798         * benchtests/exp-inputs: Change input.
18799         * benchtests/pow-inputs: Likewise.
18800         * benchtests/slowexp-inputs: New file.
18801         * benchtests/slowexp.c: New file.
18802         * benchtests/slowpow-inputs: New file.
18803         * benchtests/slowpow.c: New file.
18805 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18807         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18808         instructions.
18809         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18810         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18811         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18812         * benchtests/Makefile: Add rint benchtest.
18813         * benchtests/rint-inputs: Input for rint benchtest.
18815 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
18817         * Versions.def (libm): Add GLIBC_2.18.
18818         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18819         hidden libm prototypes.
18820         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18821         * math/Makefile (libm-calls): Add s_issignaling.
18822         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18823         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
18824         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18825         declaration.
18826         * math/math.h [__USE_GNU] (issignaling): New macro.
18827         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18828         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18829         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18830         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18831         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18832         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18833         * manual/arith.texi (issignaling): New section.
18834         * manual/libm-err-tab.pl (@all_functions): Update comment.
18835         * math/gen-libm-test.pl (parse_args): Apply special handling for
18836         issignaling.
18837         * math/libm-test.inc (print_float, issignaling_test): New
18838         functions.
18839         (check_float_internal): Add issignaling checks.
18840         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18841         default definition.
18842         * sysdeps/powerpc/math-tests.h: New file.
18843         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18844         tests.
18845         * math/test-snan.c (TEST_FUNC): Likewise.
18847 2013-03-30  David S. Miller  <davem@davemloft.net>
18849         * po/de.po: Update from translation team.
18851 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
18853         [BZ #10357]
18854         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18855         imaginary part less than 1.0 and real part less than 0.5
18856         specially.
18857         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18858         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18859         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18860         (cacos_test): Add more tests.
18861         (casin_test): Likewise.
18862         (casinh_test): Likewise.
18863         * sysdeps/i386/fpu/libm-test-ulps: Update.
18864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18866 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18868         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18869         ONE with its value.
18871         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18872         (__pow_mp): Replace ONE and MONE with their values.
18873         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18874         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18875         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18876         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18877         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18878         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18880         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18882         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18883         (__pow_mp): Replace ZERO and MZERO with their values.
18884         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18885         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18886         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18887         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18888         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18889         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18890         (__sqr): Likewise.
18892         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18894         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18896 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18898         * include/stdlib.h [!SHARED] (__call_tls_dtors):
18899         Declare with __attribute__ ((weak)).
18900         * stdlib/exit.c (__libc_atexit) [!SHARED]:
18901         Call __call_tls_dtors only if it's not NULL.
18903 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18905         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18906         didn't do it already, then set _dl_phdr and _dl_phnum based on the
18907         magic __ehdr_start linker symbol if it's defined.
18908         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18909         them up here if it was already done.
18911         * elf/dl-support.c (_dl_phdr): Make pointer to const.
18912         (_dl_aux_init): Use const in cast when setting it.
18913         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18914         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18915         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18917         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18918         Declare them here.
18919         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18920         * csu/libc-tls.c: Nor here.
18921         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18923         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18924         (__libc_message): Never call vsyslog.
18926 2013-03-28  Alan Modra  <amodra@gmail.com>
18928         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18929         Define as empty.
18930         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18931         Likewise.
18933 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18935         [BZ #15214]
18936         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18937         underflow.
18938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18940 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18942         [BZ #15304]
18943         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18944         Don't add gid passed as argument.
18946         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18948 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
18950         [BZ #15307]
18951         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18952         imaginary part between 1.0 and 1.5 and real part less than 0.5
18953         specially.
18954         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18955         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18956         * math/libm-test.inc (cacos_test): Add more tests.
18957         (casin_test): Likewise.
18958         (casinh_test): Likewise.
18959         * sysdeps/i386/fpu/libm-test-ulps: Update.
18960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18962 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18964         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18965         constants.
18966         (norm): Likewise.
18967         (denorm): Likewise.
18968         (__dbl_mp): Likewise.
18969         (add_magnitudes): Likewise.
18970         (sub_magnitudes): Likewise.
18971         (__add): Likewise.
18972         (__sub): Likewise.
18973         (__mul): Likewise.
18974         (__sqr): Likewise.
18975         (__inv): Likewise.
18976         (__dvd): Likewise.
18978         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18979         commented code.
18980         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18981         (__dubcos): Likewise.
18982         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18983         (__ieee754_acos): Likewise.
18984         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18985         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18986         (__exp1): Likewise.
18987         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18988         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18989         (log1): Likewise.
18990         (my_log2): Likewise.
18991         (checkint): Likewise.
18992         * sysdeps/ieee754/dbl-64/e_remainder.c
18993         (__ieee754_remainder): Likewise.
18994         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18995         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18996         (bsloww): Likewise.
18997         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18999         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19000         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19001         MANTISSA_STORE_T to store computations on mantissa.  Use
19002         macros for rounding and division.
19003         (denorm): Likewise.
19004         (__dbl_mp): Likewise.
19005         (add_magnitudes): Likewise.
19006         (sub_magnitudes): Likewise.
19007         (__mul): Likewise.
19008         (__sqr): Likewise.
19009         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19010         powers of two in terms of TWOPOW macro.
19011         (mp_no): Make type of mantissa as MANTISSA_T.
19012         [!RADIXI]: Define RADIXI.
19013         [!TWO52]: Define TWO52.
19014         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19016 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19018         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19019         llroundl symbol when building for PPC32.
19021 2013-03-24  Mark H Weaver  <mhw@netris.org>
19023         * manual/arith.texi (Normalization Functions): Fix prototypes for
19024         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19026 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19028         [BZ #13889]
19029         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19030         high value to check if expl overflow.
19031         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19032         to check for underflow and overflow.
19033         * math/libm-test.inc: Add exp test.
19035 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
19037         [BZ #11120]
19038         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19039         with NOT_IN_libc.
19041 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19043         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19044         symbol.
19046 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
19048         * math/gen-libm-test.pl (parse_args, special_functions): Properly
19049         wrap blocks consisting of several statements.
19051         * sysdeps/generic/math-tests.h: New file.
19052         * sysdeps/i386/fpu/math-tests.h: Likewise.
19053         * math/test-snan.c: Include it.
19054         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19056 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19058         [BZ #15285]
19059         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19060         (__ieee754_j0l): Do not improve calculations using cos of twice
19061         input for inputs above LDBL_MAX / 2.0L.
19062         (__ieee754_y0l): Likewise.
19063         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19064         (__ieee754_j1l): Do not improve calculations using cos of twice
19065         input for inputs above LDBL_MAX / 2.0L.
19066         (__ieee754_y1l): Likewise.
19067         * math/libm-test.inc (j0_test): Add another test.
19068         (j1_test): Likewise.
19069         (y0_test): Likewise.
19070         (y1_test): Likewise.
19071         * sysdeps/i386/fpu/libm-test-ulps: Update.
19073 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19075         * Rules ($(objpfx)bench-%.c): Include code from a C source
19076         file.
19078 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19080         [BZ #15287]
19081         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19082         imaginary part 1.0 and real part less than 0.5 specially.
19083         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19084         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19085         * math/libm-test.inc (cacos_test): Add more tests.
19086         (casin_test): Likewise.
19087         (casinh_test): Likewise.
19088         * sysdeps/i386/fpu/libm-test-ulps: Update.
19089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19091 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19093         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19094         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19096 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
19098         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19099         * config.make.in (config-cflags-sse4): Remove variable.
19100         (config-cflags-avx): Likewise.
19101         (config-cflags-sse2avx): Likewise.
19102         (config-cflags-novzeroupper): Likewise.
19103         (config-asflags-i686): Likewise.
19104         (have-mfma4): Likewise.
19105         (have-as-vis3): Likewise.
19106         (MIG): Likewise.
19107         * configure.in (MIG): Do not AC_SUBST.
19108         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19109         (libc_cv_cc_sse4): Do not AC_SUBST.
19110         (libc_cv_cc_avx): Likewise.
19111         (libc_cv_cc_sse2avx): Likewise.
19112         (libc_cv_cc_novzeroupper): Likewise.
19113         (libc_cv_cc_fma4): Likewise.
19114         (libc_cv_as_i686): Likewise.
19115         (libc_cv_sparc_as_vis3): Likewise.
19116         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19117         LIBC_CONFIG_VAR.
19118         (config-asflags-i686): Likewise.
19119         (config-cflags-avx): Likewise.
19120         (config-cflags-sse2avx): Likewise.
19121         (have-mfma4): Likewise.
19122         (config-cflags-novzeroupper): Likewise.
19123         * sysdeps/mach/configure.in (MIG): Likewise.
19124         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19125         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19126         LIBC_CONFIG_VAR.
19127         (config-cflags-avx): Likewise.
19128         (config-cflags-sse2avx): Likewise.
19129         (have-mfma4): Likewise.
19130         (config-cflags-novzeroupper): Likewise.
19131         * configure: Regenerated.
19132         * sysdeps/i386/configure: Likewise.
19133         * sysdeps/mach/configure: Likewise.
19134         * sysdeps/sparc/configure: Likewise.
19135         * sysdeps/x86_64/configure: Likewise.
19137 2013-03-20  Roland McGrath  <roland@hack.frob.com>
19139         [BZ #14812]
19140         * locale/programs/localedef.c (options): Put N_ translation marker
19141         on argument names, not just descriptions.
19143 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19145         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19147 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
19149         [BZ #14176]
19150         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19152 2013-03-19  Roland McGrath  <roland@hack.frob.com>
19154         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19155         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19156         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19157         [!BEFORE_ABORT] (before_abort): New function.
19158         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19159         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19160         (writev_for_fatal): New function.
19161         (WRITEV_FOR_FATAL): New macro; call that.
19162         (backtrace_and_maps): New function.
19163         (BEFORE_ABORT): New macro; call that.
19164         (struct str_list): Type removed.
19165         (__libc_message, __libc_fatal): Functions removed.
19166         Include <sysdeps/posix/libc_fatal.c> instead.
19168 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
19170         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19171         constants.
19172         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19173         double constants.
19175 2013-03-19  Andreas Schwab  <schwab@suse.de>
19177         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19178         * sysdeps/gnu/configure: Regenerate.
19180         * configure.in: Substitute libc_cv_rtlddir.
19181         * configure: Regenerate.
19182         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19183         * Makeconfig (rtlddir, inst_rtlddir): New variables.
19184         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19185         * elf/Makefile (install-others, CFLAGS-interp.c)
19186         (ldso_install, common-ldd-rewrite): Likewise.
19187         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19188         $(inst_slibdir)/$(rtld-installed-name).
19189         * scripts/rellns-sh: Add -p option.
19190         * Makerules (make-shlib-link): Use rellns-sh to get relative name
19191         for source.
19193 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19195         * manual/nptl.texi: Renamed to ...
19196         * manual/threads.texi: ... this.
19197         * manual/Makefile (chapters): Update.
19199 2013-03-18  Roland McGrath  <roland@hack.frob.com>
19201         [BZ #14812]
19202         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19203         on argument names, not just descriptions.
19204         * malloc/memusagestat.c (options): Likewise.
19205         * nss/getent.c (options): Likewise.
19207 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
19209         [BZ #14812]
19210         * iconv/iconv_prog.c (options): Put N_ translation marker
19211         on argument names, not just descriptions.
19212         * iconv/iconvconfig.c (options): Likewise.
19214 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
19216         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19217         implementation which is faster on all x86_64 architectures.
19218         Tested on AMD, Intel Nehalem, SNB, IVB.
19219         * sysdeps/x86_64/strnlen.S: Likewise.
19221         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19222         Remove all multiarch strlen and strnlen versions.
19223         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19224         Remove strlen and strnlen related parts.
19226         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19227         Inline strlen part.
19228         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19230         * sysdeps/x86_64/multiarch/strlen.S: Remove.
19231         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19232         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19233         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19234         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19235         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19237 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
19239         * manual/memory.texi (Malloc Tunable Parameters):
19240         Sort parameters alphabetically. Add comments for missing entries.
19242 2013-03-17  David S. Miller  <davem@davemloft.net>
19244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19246 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
19248         [BZ #15283]
19249         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19250         for arguments at most half maximum finite value.
19251         * math/libm-test.inc (j0_test): Add more tests.
19252         (j1_test): Likewise.
19253         (y0_test): Likewise.
19254         (y1_test): Likewise.
19255         * sysdeps/i386/fpu/libm-test-ulps: Update.
19256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19258         [BZ #14155]
19259         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19260         1 / x and functions P and Q for arguments above 0x1p256L.
19261         (__ieee754_y0l): Likewise.
19262         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19263         (__ieee754_y1l): Likewise.
19264         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19265         (j1_test): Likewise.
19266         (y0_test): Likewise.
19267         (y1_test): Likewise.
19269 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
19271         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19272         variable.
19274 2013-03-15  Roland McGrath  <roland@hack.frob.com>
19276         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19277         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19278         zero since it's initialized to EXEC_PAGESIZE.
19280         * sysdeps/unix/sysv/linux/ldsodefs.h
19281         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19282         * sysdeps/generic/ldsodefs.h: ... here.
19284 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
19286         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19288         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19289         math/test-snan.c.
19290         * math/test-snan.c: Renamed from
19291         sysdeps/powerpc/fpu/test-powerpc-snan.c.
19292         * math/Makefile (tests): Add test-snan.
19293         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19294         test-powerpc-snan.
19296         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19297         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
19298         functions.
19299         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
19300         __builtin_nan family of functions.
19301         * math/libm-test.inc (initialize): Initialize qnan_value with
19302         __builtin_nan family of functions.
19303         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19304         Remove variables.
19305         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19306         Remove functions.
19307         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
19308         storage class.  Initialize qNaN_var and sNaN_var with
19309         __builtin_nan and __builtin_nans families of functions,
19310         respectively.
19312         * math/libm-test.inc (acosh_test): Also test with qNaN input.
19313         (sqrt_test): Remove duplicate test with qNaN input.
19314         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19315         (round_test, signbit_test, significand_test): Note missing +/-Inf
19316         as well as qNaN tests.
19318         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19319         qNaN_var.  Fix a few strings, too.
19320         * math/libm-test.inc (nan_value): Rename to qnan_value.
19321         * math/gen-libm-test.pl (%beautify): Adjust to that.
19322         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19323         * math/test-misc.c (main): Likewise.
19324         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19325         to __qnan_bytes, and __qnan_union, respectively.
19326         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19327         Likewise.
19328         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19329         and lqnanval, respectively.
19330         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19331         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19332         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19333         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19335         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19336         * math/test-misc.c (main) [__x86_64__]: Enable test for long
19337         doubles.
19339         * math/test-misc.c (main): Fix copy'n'pastos.
19340         * misc/tst-efgcvt.c (special): Likewise.
19342         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19343         Remove declarations.
19345 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19347         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19348         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19349         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19350         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19352 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19354         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19355         macro to return vdso values correctly in IFUNC implementations.
19356         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19357         Optimization by using IFUNC.
19359 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19360             Richard Henderson  <rth@redhat.com>
19361             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19363         * Makefile.in (bench): New target.
19364         * NEWS: Mention the benchmark framework.
19365         * Rules (bench): Likewise.
19366         (binaries-bench): Generate binaries for functions to
19367         benchmark.
19368         * benchtests/Makefile: New makefile for benchmark tests.
19369         * benchtests/bench-skeleton.c: New skeleton file for benchmark
19370         programs.
19371         * benchtests/exp-inputs: New input file for EXP function.
19372         * benchtests/pow-inputs: New input file for POW function.
19373         * scripts/bench.pl: New script to generate source files for
19374         benchmark programs.
19376 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19378         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19379         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19380         computations on mantissa.  Use macros for rounding and
19381         division.
19382         (denorm): Likewise.
19383         (__dbl_mp): Likewise.
19384         (add_magnitudes): Likewise.
19385         (sub_magnitudes): Likewise.
19386         (__mul): Likewise.
19387         (__sqr): Likewise.
19388         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19389         powers of two in terms of TWOPOW macro.
19390         (mp_no): Make type of mantissa as MANTISSA_T.
19391         [!RADIXI]: Define RADIXI.
19392         [!TWO52]: Define TWO52.
19393         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19395         * manual/nptl.texi (cindex): Modify threads to pthreads.
19397 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
19399         * sysdeps/x86_64/preconfigure: Regenerated.
19401 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
19403         [BZ #14155]
19404         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19405         0x1p28 and above.
19406         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19407         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19408         0x1p28 and above.
19409         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19410         * math/libm-test.inc (j0_test): Do not allow one spurious
19411         underflow exception.
19412         (y1_test): Likewise.
19414 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19416         * manual/Makefile (chapters): Add nptl.
19417         * manual/debug.texi (Debugging Support): Add link to Threads
19418         chapter.
19419         * manual/nptl.texi: New file.
19421         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19423 2013-03-14  Petr Baudis  <pasky@ucw.cz>
19425         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19426         for non-NULL pointer before the memory validity test. Pointed
19427         out by Holger Brunck <holger.brunck@keymile.com>.
19429 2013-03-13  Andreas Schwab  <schwab@suse.de>
19431         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19432         instead of .os.
19434 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
19436         * timezone/zic.c: Update from tzcode 2013b.
19438 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
19440         * manual/install.texi (Configuring and compiling):
19441         Mention i686 and i586.
19442         * INSTALL: Regenerate.
19444 2013-03-12  Roland McGrath  <roland@hack.frob.com>
19446         * sysdeps/init_array/elf-init.c: New file.
19447         * csu/elf-init.c
19448         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19449         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19451         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19452         __gmon_start__ as global, but as static with a .preinit_array pointer.
19453         * sysdeps/init_array/gmon-start.c: New file.  Use that.
19454         * sysdeps/init_array/crti.S: New file, empty except for comments.
19455         * sysdeps/init_array/crtn.S: Likewise.
19457 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
19459         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19460         definining bcopy.
19461         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19462         Remove Prefer_SSE_for_memop.
19463         * sysdeps/x86_64/multiarch/init-arch.h: Remove
19464         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19465         HAS_PREFER_SSE_FOR_MEMOP.
19466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19467         memset-x86-64.
19468         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19469         Remove bzero, memset ifunc support.
19470         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19471         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19472         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19473         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19475 2013-03-11  Andreas Schwab  <schwab@suse.de>
19477         [BZ #15234]
19478         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19479         by SHLIB_COMPAT.
19480         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19481         (GLIBC_2.16): Remove pthread_atfork.
19483 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19485         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19486         (ptestcases.h): Likewise.
19488 2013-03-08  Roland McGrath  <roland@hack.frob.com>
19490         * Makeconfig ($(common-objpfx)config.status): Depend on
19491         sysdeps/*/preconfigure{,.in} too.
19493 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
19495         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19496         (__free_hook): Use void * instead of __malloc_ptr_t.
19497         (__malloc_hook): Likewise.
19498         (__realloc_hook): Likewise.
19499         (__memalign_hook): Likewise.
19500         (__after_morecore_hook): Likewise.
19501         * malloc/arena.c (save_malloc_hook): Likewise.
19502         (save_free_hook): Likewise.
19503         * malloc/hooks.c (malloc_hook_ini): Likewise.
19504         (realloc_hook_ini): Likewise.
19505         (memalign_hook_ini): Likewise.
19506         * malloc/malloc.c (malloc_hook_ini): Likewise.
19507         (realloc_hook_ini): Likewise.
19508         (memalign_hook_ini): Likewise.
19509         (__free_hook): Likewise.
19510         (__malloc_hook): Likewise.
19511         (__realloc_hook): Likewise.
19512         (__memalign_hook): Likewise.
19513         (__libc_malloc): Likewise.
19514         (__libc_free): Likewise.
19515         (__libc_realloc): Likewise.
19516         (__libc_memalign): Likewise.
19517         (__libc_valloc): Likewise.
19518         (__libc_pvalloc): Likewise.
19519         (__libc_calloc): Likewise.
19520         (__posix_memalign): Likewise.
19521         * malloc/morecore.c (__sbrk): Likewise.
19522         (__default_morecore): Likewise.
19524         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19526         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19527         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19528         __malloc_ptrdiff_t.
19530         * malloc/malloc.h (__malloc_size_t): Remove macro.
19531         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19532         __malloc_size_t.
19533         (old_memalign_hook): Likewise.
19534         (old_realloc_hook): Likewise.
19535         (struct hdr): Likewise.
19536         (flood): Likewise.
19537         (mallochook): Likewise.
19538         (memalignhook): Likewise.
19539         (reallochook): Likewise.
19540         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19541         (tr_old_realloc_hook): Likewise.
19542         (tr_old_memalign_hook): Likewise.
19543         (tr_mallochook): Likewise.
19544         (tr_reallochook): Likewise.
19545         (tr_memalignhook): Likewise.
19547 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19549         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19550         default_ldbl_pack and using as default implementation.
19551         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19552         implementation.
19553         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19554         redundant definition.
19555         (ldbl_insert_mantissa): Likewise.
19556         (ldbl_canonicalize): Likewise.
19557         (ldbl_nearbyint): Likewise.
19558         (ldbl_pack): Rename to ldbl_pack_ppc.
19559         (ldbl_unpack): Rename to ldbl_unpack_ppc.
19560         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19561         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19563 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19565         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19566         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19567         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19568         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19569         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19570         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19571         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19572         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19574 2013-03-07  Andreas Jaeger  <aj@suse.de>
19576         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19577         bits/mman-linux.h.
19579 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19581         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19582         Include mpa.h and declare __MPEXP.
19583         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19584         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19585         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19586         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19587         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19588         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19589         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19591         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19592         (__slowpow): Use long double EXPL and LOGL functions to
19593         compute POW.
19594         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19595         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19596         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19597         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19598         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19599         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19602         intermediate variable to calculate exponent.
19603         (__sqr): Likewise.
19604         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19605         Likewise.
19606         (__sqr): Likewise.
19608         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19609         [!NO__SQR]: Define __sqr.
19610         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19611         and NO__SQR.  Remove all code except __mul and __sqr.  Include
19612         sysdeps/ieee754/dbl-64/mpa.c.
19613         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19615         [BZ #12723]
19616         * posix/Makefile (tests): Add tst-pathconf.
19617         * posix/tst-pathconf.c: New test case.
19618         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19619         _PC_PIPE_BUF.
19620         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19622 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
19624         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19626 2013-03-06  Andreas Jaeger  <aj@suse.de>
19628         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19629         definition via __MAP_ANONYMOUS.
19631         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19632         it's not part of Linux headers.
19634         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19635         (MAP_HUGE_MASK): Define.
19637         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19638         Define.
19639         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19640         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19641         Define.
19642         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19643         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19644         Define.
19645         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19646         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19647         Define.
19648         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19650         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19651         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19652         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19653         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19654         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19655         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19657         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19658         Handle f2fs.
19660         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19661         Handle f2fs and efivarfs.
19663         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19664         f2fs.
19666         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19667         (EFIVARFS_MAGIC): Add.
19668         (F2FS_LINK_MAX): Add.
19670 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19672         * stdio-common/vfprintf.c: Replace __builtin_expect with
19673         __glibc_unlikely.
19675 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
19677         [BZ #13550]
19678         * sysdeps/generic/bp-sym.h: Remove file.
19679         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19680         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19681         <bp-sym.h> and <bp-asm.h>.
19682         (__longjmp): Don't use BP_SYM.
19683         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19684         and <bp-asm.h>.
19685         (memcpy): Don't use BP_SYM.
19686         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19687         <bp-sym.h> and <bp-asm.h>.
19688         (memcpy): Don't use BP_SYM.
19689         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19690         <bp-asm.h>.
19691         (memcpy): Don't use BP_SYM.
19692         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19693         <bp-asm.h>.
19694         (memset): Don't use BP_SYM.
19695         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19696         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19697         (__bzero): Don't use BP_SYM.
19698         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19699         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19700         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19701         <bp-sym.h> and <bp-asm.h>.
19702         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19703         pointers.
19704         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19705         <bp-sym.h> and <bp-asm.h>.
19706         (memcpy): Don't use BP_SYM.
19707         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19708         <bp-sym.h> and <bp-asm.h>.
19709         (memset): Don't use BP_SYM.
19710         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19711         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19712         (__bzero): Don't use BP_SYM.
19713         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19714         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19715         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19716         <bp-sym.h> and <bp-asm.h>.
19717         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19718         pointers.
19719         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19720         <bp-sym.h> and <bp-asm.h>.
19721         (memcpy): Don't use BP_SYM.
19722         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19723         <bp-sym.h> and <bp-asm.h>.
19724         (memset): Don't use BP_SYM.
19725         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19726         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19727         (__bzero): Don't use BP_SYM.
19728         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19729         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19730         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19731         <bp-sym.h> and <bp-asm.h>.
19732         (__memchr): Don't use BP_SYM.
19733         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19734         <bp-sym.h> and <bp-asm.h>.
19735         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19736         pointers.
19737         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19738         <bp-sym.h> and <bp-asm.h>.
19739         (memcpy): Don't use BP_SYM.
19740         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19741         <bp-sym.h> and <bp-asm.h>.
19742         (__mempcpy): Don't use BP_SYM.
19743         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19744         <bp-sym.h> and <bp-asm.h>.
19745         (__memrchr): Don't use BP_SYM.
19746         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19747         <bp-sym.h> and <bp-asm.h>.
19748         (memset): Don't use BP_SYM.
19749         (__bzero): Likewise.
19750         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19751         <bp-sym.h> and <bp-asm.h>.
19752         (__rawmemchr): Don't use BP_SYM.
19753         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19754         <bp-sym.h> and <bp-asm.h>.
19755         (__STRCMP): Don't use BP_SYM.
19756         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19757         <bp-sym.h> and <bp-asm.h>.
19758         (strchr): Don't use BP_SYM.
19759         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19760         <bp-sym.h> and <bp-asm.h>.
19761         (__strchrnul): Don't use BP_SYM.
19762         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19763         <bp-sym.h> and <bp-asm.h>.
19764         (strlen): Don't use BP_SYM.
19765         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19766         <bp-sym.h> and <bp-asm.h>.
19767         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19768         pointers.
19769         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19770         <bp-sym.h> and <bp-asm.h>.
19771         (__strnlen): Don't use BP_SYM.
19772         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19773         <bp-sym.h> and <bp-asm.h>.
19774         (__GI__setjmp): Don't use BP_SYM.
19775         (_setjmp): Likewise.
19776         (__sigsetjmp): Likewise.
19777         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19778         (L(start_addresses)): Don't use BP_SYM.
19779         (_start): Likewise.
19780         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19781         <bp-asm.h>.
19782         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19783         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19784         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19785         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19786         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19787         <bp-asm.h>.
19788         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19789         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
19790         about bounded pointers.
19791         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19792         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19793         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19794         <bp-asm.h>.
19795         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19796         about bounded pointers.  Remove GKM FIXME comments.
19797         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19798         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19799         <bp-asm.h>.
19800         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19801         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
19802         Remove GKM FIXME comments.
19803         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19804         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19805         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19806         <bp-asm.h>.
19807         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19808         about bounded pointers.  Remove GKM FIXME comment.
19809         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19810         and <bp-asm.h>.
19811         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19812         pointers.
19813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19814         <bp-sym.h> and <bp-asm.h>.
19815         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19817         <bp-sym.h> and <bp-asm.h>.
19818         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19819         comment.
19821 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19823         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19824         call free(NULL).
19826 2013-03-05  David S. Miller  <davem@davemloft.net>
19828         * po/es.po: Update from translation team.
19830 2013-03-05  Andreas Jaeger  <aj@suse.de>
19832         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19833         <bits/mman-linux.h>.
19834         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19835         is fine.
19836         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19837         <bits/mman-linux.h> to end of file.
19838         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19839         is fine.
19840         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19841         <bits/mman-linux.h> to end of file.
19842         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19843         is fine.
19844         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19845         <bits/mman-linux.h> to end of file.
19847         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19848         (MCL_CURRENT, MCL_FUTURE): Define here.
19850 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19852         [BZ #15232]
19853         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19854         attribute_hidden.
19855         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19857 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19859         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19860         fourth parameter needed for rt_sigprocmask syscall.
19861         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19862         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19863         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19864         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19865         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19866         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19868 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
19870         [BZ #13550]
19871         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19872         comment about bounded pointers.
19873         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19874         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19876 2013-03-04  Andreas Jaeger  <aj@suse.de>
19878         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19879         common definitions.
19881         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19882         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19883         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19884         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19885         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19886         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19888 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19890         [BZ #15055]
19891         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19892         __ieee754_sqrl instead of __sqrl.
19894 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
19896         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19897         * sysdeps/powerpc/fpu_control.h: ... here.
19898         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19899         * sysdeps/powerpc/bits/fenvinline.h: ... here.
19900         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19901         * sysdeps/powerpc/bits/mathinline.h: ... here.
19903 2013-03-01  Roland McGrath  <roland@hack.frob.com>
19905         * elf/dl-hwcaps.c (_dl_important_hwcaps):
19906         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19907         to just [NEED_DL_SYSINFO_DSO].
19908         * elf/dl-support.c: Likewise.
19909         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19910         * elf/rtld.c (dl_main): Likewise.
19911         * elf/setup-vdso.h (setup_vdso): Likewise.
19912         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19913         * sysdeps/unix/sysv/linux/dl-sysdep.c
19914         (_dl_discover_osversion): Likewise.
19916 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
19918         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19919         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19921 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19923         * NEWS: Mention libm performance improvements and non-x86 PI
19924         futex support.
19926         * csu/libc-start.c (__pthread_initialize_minimal): Change
19927         function arguments.
19928         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19930 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
19932         [BZ #13550]
19933         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19934         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19935         <bp-sym.h> and <bp-asm.h>.
19936         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19937         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19938         and <bp-asm.h>.
19939         (memcpy): Don't use BP_SYM.
19940         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19941         <bp-asm.h>.
19942         (__mpn_add_n): Don't use BP_SYM.
19943         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19944         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19945         and <bp-asm.h>.
19946         (__mpn_addmul_1): Don't use BP_SYM.
19947         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19948         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19949         <bp-sym.h>.
19950         (_setjmp): Don't use BP_SYM.
19951         (__novmx_setjmp): Likewise.
19952         (__GI__setjmp): Likewise.
19953         (__vmx_setjmp): Likewise.
19954         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19955         <bp-sym.h>.
19956         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19957         (__bzero): Don't use BP_SYM.
19958         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19959         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19960         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19961         <bp-sym.h> and <bp-asm.h>.
19962         (memcpy): Don't use BP_SYM.
19963         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19964         <bp-sym.h> and <bp-asm.h>.
19965         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19966         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19967         <bp-sym.h> and <bp-asm.h>.
19968         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19969         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19970         <bp-asm.h>.
19971         (__mpn_lshift): Don't use BP_SYM.
19972         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19973         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19974         <bp-asm.h>.
19975         (memset): Don't use BP_SYM.
19976         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19977         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19978         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19979         <bp-asm.h>.
19980         (__mpn_mul_1): Don't use BP_SYM.
19981         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19982         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19983         <bp-sym.h> and <bp-asm.h>.
19984         (memcmp): Don't use BP_SYM.
19985         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19986         <bp-sym.h> and <bp-asm.h>.
19987         (memcpy): Don't use BP_SYM.
19988         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19989         <bp-sym.h> and <bp-asm.h>.
19990         (memset): Don't use BP_SYM.
19991         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19992         <bp-sym.h> and <bp-asm.h>.
19993         (strncmp): Don't use BP_SYM.
19994         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19995         <bp-sym.h> and <bp-asm.h>.
19996         (memcpy): Don't use BP_SYM.
19997         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19998         <bp-sym.h> and <bp-asm.h>.
19999         (memset): Don't use BP_SYM.
20000         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20001         <bp-sym.h> and <bp-asm.h>.
20002         (__memchr): Don't use BP_SYM.
20003         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20004         <bp-sym.h> and <bp-asm.h>.
20005         (memcmp): Don't use BP_SYM.
20006         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20007         <bp-sym.h> and <bp-asm.h>.
20008         (memcpy): Don't use BP_SYM.
20009         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20010         <bp-sym.h> and <bp-asm.h>.
20011         (__mempcpy): Don't use BP_SYM.
20012         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20013         <bp-sym.h> and <bp-asm.h>.
20014         (__memrchr): Don't use BP_SYM.
20015         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20016         <bp-sym.h> and <bp-asm.h>.
20017         (memset): Don't use BP_SYM.
20018         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20019         <bp-sym.h> and <bp-asm.h>.
20020         (__rawmemchr): Don't use BP_SYM.
20021         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20022         <bp-sym.h> and <bp-asm.h>.
20023         (__STRCMP): Don't use BP_SYM.
20024         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20025         <bp-sym.h> and <bp-asm.h>.
20026         (strchr): Don't use BP_SYM.
20027         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20028         <bp-sym.h> and <bp-asm.h>.
20029         (__strchrnul): Don't use BP_SYM.
20030         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20031         <bp-sym.h> and <bp-asm.h>.
20032         (strlen): Don't use BP_SYM.
20033         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20034         <bp-sym.h> and <bp-asm.h>.
20035         (strncmp): Don't use BP_SYM.
20036         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20037         <bp-sym.h> and <bp-asm.h>.
20038         (__strnlen): Don't use BP_SYM.
20039         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20040         <bp-asm.h>.
20041         (__mpn_rshift): Don't use BP_SYM.
20042         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20043         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20044         <bp-sym.h> and <bp-asm.h>.
20045         (__sigsetjmp): Don't use BP_SYM.
20046         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20047         (L(start_addresses)): Don't use BP_SYM.
20048         (_start): Likewise.
20049         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20050         <bp-asm.h>.
20051         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20052         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20053         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20054         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20055         <bp-asm.h>.
20056         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20057         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20058         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20059         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20060         <bp-asm.h>.
20061         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20062         comments.
20063         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20064         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20065         <bp-asm.h>.
20066         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
20067         FIXME comments.
20068         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20069         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20070         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20071         <bp-asm.h>.
20072         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20073         comment.
20074         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20075         and <bp-asm.h>.
20076         (strncmp): Don't use BP_SYM,
20077         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20078         <bp-asm.h>.
20079         (__mpn_sub_n): Don't use BP_SYM.
20080         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20081         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20082         and <bp-asm.h>.
20083         (__mpn_submul_1): Don't use BP_SYM.
20084         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20086         <bp-sym.h> and <bp-asm.h>.
20087         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20089         <bp-sym.h> and <bp-asm.h>.
20090         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20091         comment.
20093 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20095         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20096         Use ZK to minimize writes to Z.
20097         (sub_magnitudes): Simplify code a bit.
20098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20099         Use ZK to minimize writes to Z.
20100         (sub_magnitudes): Simplify code a bit.
20102 2013-02-27  Roland McGrath  <roland@hack.frob.com>
20104         * csu/gmon-start.c: Add special exception to license text.
20106 2013-02-27  Richard Henderson  <rth@redhat.com>
20108         * scripts/config.guess: Update from config.git.
20109         * scripts/config.sub: Likewise.
20111 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20113         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20115         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20117         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20119         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20121         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20123 2013-02-26  Roland McGrath  <roland@hack.frob.com>
20125         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20126         [$(build-shared = yes].
20128 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20130         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20131         (__mul): Reduce iterations for calculating mantissa.
20133         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20134         MPTWO.
20135         (__mpranred): Likewise.
20137         [BZ #15160]
20138         * malloc/memusagestat.c (main): Draw graphs for heap and stack
20139         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20141 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
20143         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20144         Define __attribute__.
20146 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20148         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20149         unused.
20150         * posix/regex_internal.h (__attribute): Remove.
20151         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20152         (re_string_context_at): Likewise.
20153         (bitset_not): Use __attribute__ and mark function as possibly
20154         unused.
20155         (bitset_merge): Likewise.
20156         (bitset_mask): Likewise.
20157         (re_string_char_size_at): Likewise.
20158         (re_string_wchar_at): Likewise.
20159         (re_string_elem_size_at): Likewise.
20161 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20163         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20164         code.
20165         (cc32): Likewise.
20167         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20168         (__acr): Likewise.
20169         (__cpy): Likewise.
20170         (norm): Likewise.
20171         (denorm): Likewise.
20172         (__dbl_mp): Likewise.
20173         (add_magnitudes): Likewise.
20174         (sub_magnitudes): Likewise.
20175         (__mul): Likewise.
20176         (__inv): Likewise.
20178         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20179         style.
20181         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20182         style.
20184         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20185         code.
20187         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20188         up changes with default code.
20189         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20190         Likewise.
20192 2013-02-24  Allan McRae  <allan@archlinux.org>
20194         * manual/socket.texi (The Internet Namespace): Order menu items
20195         to match that in the file.
20197         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20198         node listing of the info page menu.
20200 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
20202         [BZ #13550]
20203         * sysdeps/i386/bp-asm.h: Remove file.
20204         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20205         (PARMS): Do not use macros from bp-asm.h.
20206         (S1): Likewise.
20207         (S2): Likewise.
20208         (SIZE): Likewise.
20209         (__mpn_add_n): Do not use BP_SYM
20210         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20211         "bp-asm.h".
20212         (PARMS): Do not use macros from bp-asm.h.
20213         (S1): Likewise.
20214         (SIZE): Likewise.
20215         (__mpn_addmul_1): Do not use BP_SYM
20216         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20217         "bp-asm.h".
20218         (PARMS): Do not use macros from bp-asm.h.
20219         (SIGMSK): Likewise.
20220         (_setjmp): Likewise.  Do not use BP_SYM.
20221         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20222         "bp-asm.h".
20223         (PARMS): Do not use macros from bp-asm.h.
20224         (SIGMSK): Likewise.
20225         (setjmp): Likewise.  Do not use BP_SYM.
20226         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20227         "bp-asm.h".
20228         (PARMS): Do not use macros from bp-asm.h.
20229         (__frexp): Do not use BP_SYM.
20230         (frexp): Likewise.
20231         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20232         "bp-asm.h".
20233         (PARMS): Do not use macros from bp-asm.h.
20234         (__frexpf): Do not use BP_SYM.
20235         (frexpf): Likewise.
20236         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20237         "bp-asm.h".
20238         (PARMS): Do not use macros from bp-asm.h.
20239         (__frexpl): Do not use BP_SYM.
20240         (frexpl): Likewise.
20241         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20242         "bp-asm.h".
20243         (PARMS): Do not use macros from bp-asm.h.
20244         (__remquo): Do not use BP_SYM.
20245         (remquo): Likewise.
20246         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20247         "bp-asm.h".
20248         (PARMS): Do not use macros from bp-asm.h.
20249         (__remquof): Do not use BP_SYM.
20250         (remquof): Likewise.
20251         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20252         "bp-asm.h".
20253         (PARMS): Do not use macros from bp-asm.h.
20254         (__remquol): Do not use BP_SYM.
20255         (remquol): Likewise.
20256         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20257         "bp-asm.h".
20258         (PARMS): Do not use macros from bp-asm.h.
20259         (DEST): Likewise.
20260         (SRC): Likewise.
20261         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
20262         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20263         "bp-asm.h".
20264         (PARMS): Do not use macros from bp-asm.h.
20265         (strlen): Do not use BP_SYM.
20266         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20267         "bp-asm.h".
20268         (PARMS): Do not use macros from bp-asm.h.
20269         (S1): Likewise.
20270         (S2): Likewise.
20271         (SIZE): Likewise.
20272         (__mpn_add_n): Do not use BP_SYM.
20273         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20274         "bp-asm.h".
20275         (PARMS): Do not use macros from bp-asm.h.
20276         (S1): Likewise.
20277         (SIZE): Likewise.
20278         (__mpn_addmul_1): Do not use BP_SYM.
20279         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20280         weak_alias.
20281         (bzero): Likewise.
20282         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20283         "bp-asm.h".
20284         (PARMS): Do not use macros from bp-asm.h.
20285         (S): Likewise.
20286         (SIZE): Likewise.
20287         (__mpn_lshift): Do not use BP_SYM.
20288         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20289         "bp-asm.h".
20290         (PARMS): Do not use macros from bp-asm.h.
20291         (DEST): Likewise.
20292         (SRC): Likewise.
20293         (LEN): Likewise.
20294         (memcpy): Likewise.  Do not use BP_SYM.
20295         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20296         libc_hidden_def and weak_alias.
20297         (mempcpy): Do not use BP_SYM in weak_alias.
20298         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20299         "bp-asm.h".
20300         (PARMS): Do not use macros from bp-asm.h.
20301         (DEST): Likewise.
20302         (LEN): Likewise.
20303         [!BZERO_P] (CHR): Likewise.
20304         (memset): Likewise.  Do not use BP_SYM.
20305         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20306         "bp-asm.h".
20307         (PARMS): Do not use macros from bp-asm.h.
20308         (S1): Likewise.
20309         (SIZE): Likewise.
20310         (__mpn_mul_1): Do not use BP_SYM.
20311         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20312         "bp-asm.h".
20313         (PARMS): Do not use macros from bp-asm.h.
20314         (S): Likewise.
20315         (SIZE): Likewise.
20316         (__mpn_rshift): Do not use BP_SYM.
20317         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20318         "bp-asm.h".
20319         (PARMS): Do not use macros from bp-asm.h.
20320         (STR): Likewise.
20321         (CHR): Likewise.
20322         (strchr): Likewise.  Do not use BP_SYM.
20323         (index): Do not use BP_SYM in weak_alias.
20324         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20325         "bp-asm.h".
20326         (PARMS): Do not use macros from bp-asm.h.
20327         (DEST): Likewise.
20328         (SRC): Likewise.
20329         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
20330         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20331         "bp-asm.h".
20332         (PARMS): Do not use macros from bp-asm.h.
20333         (strlen): Do not use BP_SYM.
20334         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20335         "bp-asm.h".
20336         (PARMS): Do not use macros from bp-asm.h.
20337         (S1): Likewise.
20338         (S2): Likewise.
20339         (SIZE): Likewise.
20340         (__mpn_sub_n): Do not use BP_SYM.
20341         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20342         "bp-asm.h".
20343         (PARMS): Do not use macros from bp-asm.h.
20344         (S1): Likewise.
20345         (SIZE): Likewise.
20346         (__mpn_submul_1): Do not use BP_SYM.
20347         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20348         "bp-asm.h".
20349         (PARMS): Do not use macros from bp-asm.h.
20350         (S1): Likewise.
20351         (S2): Likewise.
20352         (SIZE): Likewise.
20353         (__mpn_add_n): Do not use BP_SYM.
20354         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20355         weak_alias.
20356         (bzero): Likewise.
20357         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20358         "bp-asm.h".
20359         (PARMS): Do not use macros from bp-asm.h.
20360         (BLK2): Likewise.
20361         (LEN): Likewise.
20362         (memcmp): Do not use BP_SYM.
20363         (bcmp): Do not use BP_SYM in weak_alias.
20364         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20365         "bp-asm.h".
20366         (PARMS): Do not use macros from bp-asm.h.
20367         (DEST): Likewise.
20368         (SRC): Likewise.
20369         (LEN): Likewise.
20370         (memcpy): Likewise.  Do not use BP_SYM.
20371         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20372         "bp-asm.h".
20373         (PARMS): Do not use macros from bp-asm.h.
20374         (DEST): Likewise.
20375         (SRC): Likewise.
20376         (LEN): Likewise.
20377         (memmove): Likewise.  Do not use BP_SYM.
20378         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20379         "bp-asm.h".
20380         (PARMS): Do not use macros from bp-asm.h.
20381         (DEST): Likewise.
20382         (SRC): Likewise.
20383         (LEN): Likewise.
20384         (__mempcpy): Likewise.  Do not use BP_SYM.
20385         (mempcpy): Do not use BP_SYM in weak_alias.
20386         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20387         "bp-asm.h".
20388         (PARMS): Do not use macros from bp-asm.h.
20389         (DEST): Likewise.
20390         (LEN): Likewise.
20391         [!BZERO_P] (CHR): Likewise.
20392         (memset): Likewise.  Do not use BP_SYM.
20393         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20394         "bp-asm.h".
20395         (PARMS): Do not use macros from bp-asm.h.
20396         (STR2): Likewise.
20397         (strcmp): Do not use BP_SYM.
20398         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20399         "bp-asm.h".
20400         (PARMS): Do not use macros from bp-asm.h.
20401         (STR): Likewise.
20402         (DELIM): Likewise.
20403         [USE_AS_STRTOK_R] (SAVE): Likewise.
20404         (FUNCTION): Likewise.  Do not use BP_SYM.
20405         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20406         aliases.
20407         (strtok_r): Likewise.
20408         (__GI___strtok_r): Likewise.
20409         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20410         (PARMS): Do not use macros from bp-asm.h.
20411         (S): Likewise.
20412         (SIZE): Likewise.
20413         (__mpn_lshift): Do not use BP_SYM.
20414         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20415         (PARMS): Do not use macros from bp-asm.h.
20416         (STR): Likewise.
20417         (CHR): Likewise.
20418         (__memchr): Do not use BP_SYM.
20419         (memchr): Do not use BP_SYM in weak_alias.
20420         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20421         (PARMS): Do not use macros from bp-asm.h.
20422         (BLK2): Likewise.
20423         (LEN): Likewise.
20424         (memcmp): Do not use BP_SYM.
20425         (bcmp): Do not use BP_SYM in weak_alias.
20426         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20427         (PARMS): Do not use macros from bp-asm.h.
20428         (S1): Likewise.
20429         (SIZE): Likewise.
20430         (__mpn_mul_1): Do not use BP_SYM.
20431         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20432         "bp-asm.h".
20433         (PARMS): Do not use macros from bp-asm.h.
20434         (STR): Likewise.
20435         (CHR): Likewise.
20436         (__rawmemchr): Do not use BP_SYM.
20437         (rawmemchr): Do not use BP_SYM in weak_alias.
20438         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20439         (PARMS): Do not use macros from bp-asm.h.
20440         (S): Likewise.
20441         (SIZE): Likewise.
20442         (__mpn_rshift): Do not use BP_SYM.
20443         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20444         (PARMS): Do not use macros from bp-asm.h.
20445         (SIGMSK): Likewise.
20446         (__sigsetjmp): Likewise.  Do not use BP_SYM.
20447         * sysdeps/i386/start.S: Do not include "bp-sym.h".
20448         (_start): Do not use BP_SYM.
20449         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20450         (PARMS): Do not use macros from bp-asm.h.
20451         (DEST): Likewise.
20452         (SRC): Likewise.
20453         (__stpcpy): Likewise.  Do not use BP_SYM.
20454         (stpcpy): Do not use BP_SYM in weak_alias.
20455         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20456         "bp-asm.h".
20457         (PARMS): Do not use macros from bp-asm.h.
20458         (DEST): Likewise.
20459         (SRC): Likewise.
20460         (LEN): Likewise.
20461         (__stpncpy): Likewise.  Do not use BP_SYM.
20462         (stpncpy): Do not use BP_SYM in weak_alias.
20463         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20464         (PARMS): Do not use macros from bp-asm.h.
20465         (STR): Likewise.
20466         (CHR): Likewise.
20467         (strchr): Likewise.  Do not use BP_SYM.
20468         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20469         "bp-asm.h".
20470         (PARMS): Do not use macros from bp-asm.h.
20471         (STR): Likewise.
20472         (CHR): Likewise.
20473         (__strchrnul): Likewise.  Do not use BP_SYM.
20474         (strchrnul): Do not use BP_SYM in weak_alias.
20475         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20476         "bp-asm.h".
20477         (PARMS): Do not use macros from bp-asm.h.
20478         (STOP): Likewise.
20479         (strcspn): Do not use BP_SYM.
20480         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20481         "bp-asm.h".
20482         (PARMS): Do not use macros from bp-asm.h.
20483         (STR): Likewise.
20484         (STOP): Likewise.
20485         (strpbrk): Likewise.  Do not use BP_SYM.
20486         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20487         "bp-asm.h".
20488         (PARMS): Do not use macros from bp-asm.h.
20489         (STR): Likewise.
20490         (CHR): Likewise.
20491         (strrchr): Likewise.  Do not use BP_SYM.
20492         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20493         (PARMS): Do not use macros from bp-asm.h.
20494         (SKIP): Likewise.
20495         (strspn): Do not use BP_SYM.
20496         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20497         (PARMS): Do not use macros from bp-asm.h.
20498         (STR): Likewise.
20499         (DELIM): Likewise.
20500         (SAVE): Likewise.
20501         (FUNCTION): Likewise.  Do not use BP_SYM.
20502         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20503         aliases.
20504         (strtok_r): Likewise.
20505         (__GI___strtok_r): Likewise.
20506         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20507         (PARMS): Do not use macros from bp-asm.h.
20508         (S1): Likewise.
20509         (S2): Likewise.
20510         (SIZE): Likewise.
20511         (__mpn_sub_n): Do not use BP_SYM.
20512         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20513         "bp-asm.h".
20514         (PARMS): Do not use macros from bp-asm.h.
20515         (S1): Likewise.
20516         (SIZE): Likewise.
20517         (__mpn_submul_1): Do not use BP_SYM.
20518         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20519         <bp-sym.h>.
20520         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20521         and <bp-asm.h>.
20522         (PARMS): Do not use macros from bp-asm.h.
20523         (FLAGS): Likewise.
20524         (PTID): Likewise.
20525         (TLS): Likewise.
20526         (CTID): Likewise.
20527         (__clone): Do not use BP_SYM.
20528         (clone): Do not use BP_SYM in weak_alias.
20529         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20530         and <bp-asm.h>.
20531         (PARMS): Do not use macros from bp-asm.h.
20532         (LEN): Likewise.
20533         (__mmap64): Do not use BP_SYM.
20534         (mmap64): Do not use BP_SYM in weak_alias.
20535         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20536         <bp-sym.h> and <bp-asm.h>.
20537         (PARMS): Do not use macros from bp-asm.h.
20538         (__posix_fadvise64_l64): Do not use BP_SYM.
20539         * sysdeps/unix/sysv/linux/i386/semtimedop.S
20540         (PARMS): Do not use macros from bp-asm.h.
20541         (NSOPS): Likewise.
20542         (semtimedop): Do not use BP_SYM.
20543         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20544         and <bp-asm.h>.
20546 2013-02-21  Allan McRae  <allan@archlinux.org>
20548         * manual/message.texi (Charset conversion in gettext):
20549         Move @end statement to beginning of line.
20551 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20553         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20554         static.
20555         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20556         Likewise.
20558         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20559         (denorm): Likewise.
20560         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20561         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20563 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20565         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20566         tail-call to the resolved function if pltexit isn't needed.
20568 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20570         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20571         or Y being zero as being unlikely.
20572         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20573         Likewise.
20575 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
20577         * manual/nss.texi (System Databases and Name Service Switch):
20578         Remove frobnicate @pxref.
20580 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20582         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20583         __attribute__ ((unused)) to __attribute__ ((__unused__)).
20585 2013-02-20  Petr Machata  <pmachata@redhat.com>
20587         * elf/elf.h (R_ARM_TARGET1): New macro.
20588         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20589         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20590         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20591         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20592         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20593         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20594         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20595         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20596         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20597         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20598         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20599         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20600         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20601         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20602         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20603         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20604         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20605         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20606         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20607         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20608         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20609         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20610         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20611         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20612         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20613         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20614         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20615         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20616         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20617         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20618         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20619         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20620         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20621         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20622         (R_ARM_THM_GOT_BREL12): Likewise.
20623         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20624         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20625         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20626         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20627         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20628         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20629         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20630         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20631         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20633 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20635         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20636         __attribute_used__ to __attribute__ ((unused)).
20638 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20640         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20641         powerpc mpa.c.
20642         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20643         comment formatting.
20644         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20646 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
20648         [BZ #13550]
20649         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20650         Remove macro.
20651         (ENTER): Remove both macro definitions.
20652         (LEAVE): Likewise.
20653         (CHECK_BOUNDS_LOW): Likewise.
20654         (CHECK_BOUNDS_HIGH): Likewise.
20655         (CHECK_BOUNDS_BOTH): Likewise.
20656         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20657         (RETURN_BOUNDED_POINTER): Likewise.
20658         (RETURN_NULL_BOUNDED_POINTER): Likewise.
20659         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20660         (POP_ERRNO_LOCATION_RETURN): Likewise.
20661         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20662         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20663         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20664         macros.
20665         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20666         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20667         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20668         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20669         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20670         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20671         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20672         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20673         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20674         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20675         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20676         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20677         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20678         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20679         removed macros.
20680         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20681         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20682         macros.
20683         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20684         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20685         * sysdeps/i386/i586/memset.S (memset): Likewise.
20686         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20687         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20688         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20689         macros.
20690         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20691         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20692         Change uses of L(2) to L(out).
20693         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20694         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20695         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20696         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20697         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20698         removed macros.
20699         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20700         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20701         macros.
20702         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20703         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20704         (RETURN): Do not use macro LEAVE.
20705         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20706         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20707         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20708         * sysdeps/i386/i686/memset.S (memset): Likewise.
20709         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20710         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20711         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20712         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20713         Likewise.
20714         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20715         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
20716         L(1_2) and L(1_3) into L(1).
20717         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20718         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20719         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20720         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20721         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20722         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20723         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20724         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20725         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20726         macros.
20727         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20728         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20729         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20730         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20731         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20732         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20733         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20734         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20735         * sysdeps/i386/strcspn.S (strcspn): Likewise.
20736         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20737         * sysdeps/i386/strrchr.S (strrchr): Likewise.
20738         * sysdeps/i386/strspn.S (strspn): Likewise.
20739         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20740         conditional code.
20741         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20742         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20743         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20744         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
20745         L(1_3) into L(1_1).
20746         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20747         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20748         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20749         macros.
20750         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20752 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
20754         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20755         macro.
20757 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20759         * math/atest-exp.c (exp_mpn): Remove ROUND.
20760         * math/atest-exp2.c (exp_mpn): Likewise.
20761         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20763         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20764         * stdlib/tst-tls-atexit-lib.c: Likewise.
20765         * stdlib/tst-tls-atexit.c: Likewise.
20767 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20769         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20770         and __attribute_alloc_size__.
20772 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20774         * include/programs/xmalloc.h: Change __attribute_alloc_size to
20775         __attribute_alloc_size__.
20776         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20777         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20779 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20781         * include/programs/xmalloc.h: New file.
20782         * catgets/gencat.c: Include it.
20783         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20784         * elf/pldd.c: Likewise.
20785         * iconv/iconv_charmap.c: Likewise.
20786         * iconv/iconvconfig.c: Likewise.
20787         * iconv/strtab.c: Likewise.
20788         * locale/programs/locale.c: Likewise.
20789         * locale/programs/localedef.h: Likewise.
20790         * locale/programs/simple-hash.c: Likewise.
20791         * nscd/nscd.h: Likewise.
20792         * nss/makedb.c: Likewise.
20793         * sysdeps/generic/ldconfig.h: Likewise.
20795 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20797         * Versions.def: Add GLIBC_2.18.
20798         * include/link.h (struct link_map): New member l_tls_dtor_count.
20799         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20800         (__call_tls_dtors): Likewise.
20801         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20802         __cxa_thread_atexit_impl.
20803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20804         Likewise.
20805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20806         Likewise.
20807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20808         Likewise.
20809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20810         Likewise.
20811         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20813         Likewise.
20814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20815         Likewise.
20816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20818         Likewise.
20819         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20820         (tests): Add test case tst-tls-atexit.
20821         (modules-names): Add shared library for tst-tls-atexit.
20822         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20823         (GLIBC_PRIVATE): Add __call_tls_dtors.
20824         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20825         for libstdc++.
20826         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20827         * stdlib/tst-tls-atexit.c: New test case.
20828         * stdlib/tst-tls-atexit-lib.c: New test case.
20830         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20832         * elf/Versions (ld): Add _dl_find_dso_for_object.
20833         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20834         * elf/dl-open.c (_dl_find_dso_for_object): New function.
20835         (dl_open_worker): Use _dl_find_dso_for_object.
20836         * elf/dl-sym.c (do_sym): Likewise.
20837         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20839 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20841         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20842         Syntactic changes only.
20843         (_dl_runtime_profile): Do a tail-call to the resolved function.
20845 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
20847         [BZ #13550]
20848         * sysdeps/x86_64/bp-asm.h: Remove file.
20849         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20850         <bp-sym.h> and <bp-asm.h>.
20851         (__clone): Do not use BP_SYM.
20852         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20853         <bp-sym.h> and <bp-asm.h>.
20854         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20855         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20856         "bp-asm.h".
20857         (_setjmp): Do not use BP_SYM.
20858         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20859         "bp-asm.h".
20860         (setjmp): Do not use BP_SYM.
20861         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20862         libc_hidden_def.
20863         (mempcpy): Do not use BP_SYM in weak_alias.
20864         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20865         "bp-asm.h".
20866         (strchr): Do not use BP_SYM.
20867         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20868         "bp-asm.h".
20869         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20870         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20871         (_start): Do not use BP_SYM.
20872         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20873         "bp-asm.h".
20874         (strcat): Do not use BP_SYM.
20875         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20876         "bp-asm.h".
20877         (STRCMP): Do not use BP_SYM.
20878         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20879         "bp-asm.h".
20880         (STRCPY): Do not use BP_SYM.
20881         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20882         "bp-asm.h".
20883         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20884         "bp-asm.h".
20885         (FUNCTION): Do not use BP_SYM.
20886         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20887         weak_alias.
20888         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20890 2013-02-17  Andreas Jaeger  <aj@suse.de>
20892         * time/Versions: Sort entries.
20893         * string/Versions: Likewise.
20894         * resolv/Versions: Likewise.
20895         * posix/Versions: Likewise.
20896         * iconv/Versions: Likewise.
20897         * elf/Versions: Likewise.
20898         * wcsmbs/Versions: Likewise.
20900 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20902         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20903         loop termination condition.
20905         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20906         variable to calculate EZ.
20907         (__sqr): Likewise.
20909         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20910         the lower precision input.
20912 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
20914         [BZ #13550]
20915         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20916         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20917         (run-via-rtld-prefix): Do not handle %-bp tests.
20918         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20919         (all-object-suffixes): Remove .ob.
20920         (bppfx): Remove variable.
20921         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20922         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20923         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20924         [$(build-bounded) = yes] (libtype.ob): Likewise.
20925         * Makerules (elide-routines.ob): Remove variable.
20926         (do-tests-clean): Do not handle *-bp.out.
20927         (common-mostlyclean): Do not handle *-bp and *-bp.out.
20928         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20929         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20930         (tests): Do not include $(tests-bp.out).
20931         (xtests): Do not include $(xtests-bp.out).
20932         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20933         [$(build-bounded) = yes] ($(addprefix
20934         $(objpfx),$(binaries-bounded))): Remove rule.
20935         ($(objpfx)%-bp.out): Remove rule.
20936         * config.make.in (build-bounded): Remove variable.
20937         * crypt/Makefile [$(build-bounded) = yes]
20938         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20939         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20940         append to variable.
20941         [$(build-bounded) = yes] (install-lib): Likewise.
20942         [$(build-bounded) = yes] (generated): Likewise.
20943         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20944         Remove rule.
20945         * intl/Makefile [$(build-bounded) = yes]
20946         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20947         * math/Makefile [$(build-bounded) = yes]
20948         ($(tests:%=$(objpfx)%-bp): Likewise.
20949         * misc/Makefile [$(build-bounded) = yes]
20950         ($(objpfx)tst-tsearch-bp): Likewise.
20951         * nptl/Makeconfig (bounded-thread-library): Remove variable.
20952         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20953         Remove dependency.
20954         * string/Makefile (o-objects.ob): Remove variable.
20955         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20956         (CFLAGS-.ob): Remove variable.
20957         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20958         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20959         both definitions of variable.
20960         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20961         (ASFLAGS-.ob): Remove variable.
20963 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
20965         [BZ #13550]
20966         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20967         Remove __BOUNDED_POINTERS__ from condition.
20968         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20969         * string/bits/string2.h [!__NO_STRING_INLINES &&
20970         !__BOUNDED_POINTERS__]: Likewise.
20971         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20972         Likewise.
20973         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20974         Remove conditional code.
20975         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20976         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20977         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20978         condition.
20980         [BZ #13550]
20981         * csu/libc-start.c: Do not include <bp-sym.h>.
20982         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20983         * elf/dl-open.c: Do not include <bp-sym.h>.
20984         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20985         * math/fegetenv.c: Do not include <bp-sym.h>.
20986         (fegetenv): Do not use BP_SYM in versioned symbols.
20987         * nptl/sysdeps/pthread/bits/libc-lockP.h
20988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20989         <bp-sym.h>.
20990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20991         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20993         (__pthread_mutex_destroy): Likewise.
20994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20995         (__pthread_mutex_lock): Likewise.
20996         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20997         (__pthread_mutex_trylock): Likewise.
20998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20999         (__pthread_mutex_unlock): Likewise.
21000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21001         (__pthread_mutexattr_init): Likewise.
21002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21003         (__pthread_mutexattr_destroy): Likewise.
21004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21005         (__pthread_mutexattr_settype): Likewise.
21006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21007         (__pthread_rwlock_init): Likewise.
21008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21009         (__pthread_rwlock_destroy): Likewise.
21010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21011         (__pthread_rwlock_rdlock): Likewise.
21012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21013         (__pthread_rwlock_tryrdlock): Likewise.
21014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21015         (__pthread_rwlock_wrlock): Likewise.
21016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21017         (__pthread_rwlock_trywrlock): Likewise.
21018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21019         (__pthread_rwlock_unlock): Likewise.
21020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21021         (__pthread_key_create): Likewise.
21022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21023         (__pthread_setspecific): Likewise.
21024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21025         (__pthread_getspecific): Likewise.
21026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21027         Likewise.
21028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21029         (_pthread_cleanup_push_defer): Likewise.
21030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21031         (_pthread_cleanup_pop_restore): Likewise.
21032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21033         (pthread_setcancelstate): Likewise.
21034         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21035         <bp-sym.h>.
21036         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21037         (memchr): Do not use BP_SYM in weak_alias.
21038         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21039         (fegetenv): Do not use BP_SYM in versioned symbols.
21040         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21041         (fesetenv): Do not use BP_SYM in versioned symbols.
21042         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21043         (feupdateenv): Do not use BP_SYM in versioned symbols.
21044         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21045         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21046         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21047         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21048         (open64): Do not use BP_SYM in weak_alias.
21049         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21050         (fegetenv): Do not use BP_SYM in versioned symbols.
21051         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21052         (fesetenv): Do not use BP_SYM in versioned symbols.
21053         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21054         (feupdateenv): Do not use BP_SYM in versioned symbols.
21055         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21056         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21057         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21058         (feraiseexcept): Do not use BP_SYM in versioned symbols.
21059         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21060         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21061         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21062         <bp-sym.h>.
21063         (__libc_start_main): Do not use BP_SYM.
21065 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21068         redundant return line.
21069         (norm): Likewise.
21070         (denorm): Likewise.
21071         (dbl_mp): Likewise.
21072         (sub_magnitudes): Likewise.
21073         (__add): Likewise.
21074         (__sub): Likewise.
21075         (__mul): Likewise.
21076         (__inv): Likewise.
21077         (__dvd): Likewise.
21078         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21079         (norm): Likewise.
21080         (denorm): Likewise.
21081         (dbl_mp): Likewise.
21082         (sub_magnitudes): Likewise.
21083         (__add): Likewise.
21084         (__sub): Likewise.
21085         (__mul): Likewise.
21086         (__inv): Likewise.
21087         (__dvd): Likewise.
21089         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21090         instead of __mul.
21091         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21092         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21093         (cc32): Likewise.
21095         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21096         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21097         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21098         of __mul for squares.
21099         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21100         function
21101         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21102         Likewise.
21103         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21104         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21106 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
21108         [BZ #13550]
21109         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21110         code.
21111         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21112         prototype or function definition.  Rename ubp_* variables and
21113         parameters.  Remove argv definitions conditional on
21114         [__BOUNDED_POINTERS__].
21115         * debug/backtrace.c (__backtrace): Do not use __unbounded.
21116         * elf/dl-runtime.c (_dl_fixup): Likewise.
21117         * include/set-hooks.h (RUN_HOOK): Likewise.
21118         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21119         definition.
21120         * string/strcpy.c (strcpy): Do not use __unbounded.
21121         * sysdeps/generic/frame.h (struct layout): Likewise.
21122         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21123         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21124         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21125         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21126         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21127         (__backtrace): Likewise.
21128         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21129         use __ptrvalue.
21130         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21131         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21132         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21133         Likewise.
21134         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21135         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21136         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21137         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21138         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21139         Do not use __unbounded.
21140         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21141         Rename __unboundedrlimits parameter to rlimits in prototype.
21142         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21143         Do not use __unbounded.
21144         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21145         not use __ptrvalue.
21146         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21147         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21148         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21149         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21150         __ptrvalue or __unbounded.
21151         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21152         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21153         use __unbounded.
21154         (__new_msgctl): Do not use __ptrvalue.
21155         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21156         __unbounded.
21157         (__libc_msgrcv): Do not use __ptrvalue.
21158         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21159         startup_info): Do not use __unbounded.
21160         (__libc_start_main): Likewise.  Rename ubp_* variables and
21161         parameters.  Remove argv definitions conditional on
21162         [__BOUNDED_POINTERS__].
21163         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21164         __ptrvalue.
21165         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21166         use __unbounded.
21167         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21168         or __ptrvalue.
21169         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21170         use __unbounded.
21171         (__new_shmctl): Do not use __ptrvalue.
21172         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21173         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21174         Likewise.
21175         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21176         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21177         (__libc_sigaction): Likewise.
21178         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21179         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21180         Likewise.
21181         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21183 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
21185         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21187         * string/mempcpy.c: Implement by calling memcpy.
21189 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21191         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21193         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21194         evaluation.
21196         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21197         values in the mantissa.
21199         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21200         minimize writes to Z.
21201         (sub_magnitudes): Simplify code a bit.
21203 2013-02-12  Roland McGrath  <roland@hack.frob.com>
21205         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21206         from the message.  The linker prefixes all warnings with that already.
21208 2013-02-12  Andreas Schwab  <schwab@suse.de>
21210         [BZ #15078]
21211         * posix/regexec.c (extend_buffers): Add parameter min_len.
21212         (check_matching): Pass minimum needed length.
21213         (clean_state_log_if_needed): Likewise.
21214         (get_subexp): Likewise.
21215         * posix/Makefile (tests): Add bug-regex34.
21216         (bug-regex34-ENV): Define.
21217         * posix/bug-regex34.c: New file.
21219         [BZ #11561]
21220         * posix/regcomp.c (parse_bracket_exp): When looking up collating
21221         elements compare against the byte sequence of it, not its name.
21222         * posix/Makefile (tests): Add bug-regex35.
21223         (bug-regex35-ENV): Define.
21224         * posix/bug-regex35.c: New file.
21226 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21228         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
21229         comment.
21230         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21231         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21232         (CHECK_EOL): Add undef.
21234 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
21236         * bits/stdlib-bsearch.h: New file.
21237         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21238         * stdlib/stdlib.h: Likewise.
21240 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21242         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21243         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21244         declaration.
21245         * manual/search.texi (Array Search Function): Add missing const in
21246         lfind prototype.
21247         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21248         declaration to use rlim_t.
21249         (Basic Scheduling Functions): Remove erroneous const from
21250         sched_getparam prototype.  Remove erroneous * from
21251         sched_get_priority_max and sched_get_priority_min prototypes.
21252         (Resource Usage): Fix summary @comment on vtimes to refer to
21253         sys/vtimes.h rather than vtimes.h.
21254         Add missing *s in vtimes prototype.
21255         (Limits on Resources): Fix ulimit prototype to return long int.
21256         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21257         prototypes to use long int rather than double.
21258         (BSD Random): Fix initstate and setstate to use char *, not void *.
21259         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21260         prototype to make second argument 'struct aiocb64 *const[]'.
21261         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21262         (Status of AIO Operations): Remove erroneous const in aio_return and
21263         aio_return64 prototypes.
21264         (Synchronizing I/O): Fix sync prototype to return void.
21265         * manual/startup.texi (Suboptions): Remove an erroneous const in
21266         getsubopt prototype.
21267         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21268         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21269         use size_t rather than int.
21270         (Scanning All Users): Likewise for getpwent_r.
21271         (Setting Groups): Add missing const to setgroups prototype.
21272         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21273         * manual/socket.texi (Host Names): Fix gethostbyaddr and
21274         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21275         'const void *' rather than 'const char *'.
21276         (Host Address Functions): Likewise for inet_ntop.
21277         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21278         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21279         ssize_t for return value.
21280         (Sending Data): Likewise for send, sendto, sendmsg.
21281         (Socket Option Functions): Add a missing const in setsockopt prototype.
21282         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21283         use wchar_t for the argument.
21284         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21285         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21286         take no arguments.
21287         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21288         double/float/long double for second argument.
21289         Fix return types of significand, significandf, significandl.
21290         * manual/filesys.texi (Setting Permissions): Use mode_t for second
21291         argument in fchmod prototype.
21292         (File Owner): Use uid_t and gid_t in fchown prototype.
21293         (File Times): Add const to utimes, futimes, and lutimes prototypes.
21294         (Making Special Files): Use mode_t and dev_t in mknod prototype.
21295         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21296         use 'const struct dirent **' as argument types to CMP function pointer
21297         argument.
21298         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21299         (File Times): Fix summary magic @comment for struct utimbuf and utime
21300         to refer to utime.h, not time.h.
21301         * manual/string.texi (Argz Functions): Add missing const in
21302         argz_extract and argz_next prototypes.
21303         (Finding Tokens in a String): Likewise for basename.
21304         (String/Array Comparison): Fix typo in wcscasecmp prototype.
21305         (Copying and Concatenation): Fix typo in wmemmove prototype.
21306         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21307         (Signal Stack): Remove erroneous const in sigstack prototype.
21308         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21309         prototype.
21310         (Simple Calendar Time): Likewise for stime.
21311         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21312         prototype.
21313         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21314         say sys/sysctl.h instead.
21315         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21316         and vsyslog prototypes.
21318 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21320         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21321         Remove.
21323 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21325         * misc/sys/mman.h: Fix typo in mremap comment.
21327 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21329         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21330         the '\0' terminator.
21332 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21334         [BZ #13550]
21335         * debug/segfault.c: Don't include <bp-checks.h>.
21336         * sysdeps/generic/bp-checks.h: Remove file.
21337         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21338         (__GETDENTS): Don't use CHECK_N.
21339         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21340         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21341         (__getgroups): Don't use CHECK_N.
21342         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21343         (setgroups): Don't use CHECK_N.
21344         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21345         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21346         (__libc_msgrcv): Don't use CHECK_N.
21347         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21348         (__libc_msgsnd): Don't use CHECK_N.
21349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21350         <bp-checks.h>.
21351         (__libc_pread): Don't use CHECK_N.
21352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21353         include <bp-checks.h>.
21354         (__libc_pread64): Don't use CHECK_N.
21355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21356         include <bp-checks.h>.
21357         (__libc_pwrite): Don't use CHECK_N.
21358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21359         include <bp-checks.h>.
21360         (__libc_pwrite64): Don't use CHECK_N.
21361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21362         <bp-checks.h>.
21363         (__libc_pread): Don't use CHECK_N.
21364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21365         include <bp-checks.h>.
21366         (__libc_pread64): Don't use CHECK_N.
21367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21368         include <bp-checks.h>.
21369         (__libc_pwrite): Don't use CHECK_N.
21370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21371         include <bp-checks.h>.
21372         (__libc_pwrite64): Don't use CHECK_N.
21373         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21374         (do_pread): Don't use CHECK_N.
21375         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21376         (do_pread64): Don't use CHECK_N.
21377         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21378         (do_pwrite): Don't use CHECK_N.
21379         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21380         (do_pwrite64): Don't use CHECK_N.
21381         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21382         (__libc_readv): Don't use CHECK_N.
21383         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21384         (semop): Don't use CHECK_N.
21385         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21386         <bp-checks.h>.
21387         (semtimedop): Don't use CHECK_N.
21388         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21389         (__libc_pread): Don't use CHECK_N.
21390         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21391         <bp-checks.h>.
21392         (__libc_pread64): Don't use CHECK_N.
21393         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21394         <bp-checks.h>.
21395         (__libc_pwrite): Don't use CHECK_N.
21396         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21397         <bp-checks.h>.
21398         (__libc_pwrite64): Don't use CHECK_N.
21399         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21400         <bp-checks.h>.
21401         (__libc_msgrcv): Don't use CHECK_N.
21402         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21403         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
21404         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21405         (__libc_writev): Don't use CHECK_N.
21407 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21409         * string/strcpy.c: Removed unused variable.
21411         * Makeconfig (+sysdep-includes): Define with := rather than =.
21412         Use an existing include/ subdir of each sysdeps dir before it.
21414 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21416         * nscd/connection.c (register_traced_file): Comment function.
21417         [HAVE_INOTIFY] (union __inev): Define.
21418         [HAVE_INOTIFY] (inotify_check_files): New function.
21419         [HAVE_INOTIFY] (clear_db_cache): Likewise.
21420         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21421         clear_db_cache.
21422         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21424 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21426         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21427         loaded if not already and that a failure is permanent.
21429 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21431         [BZ #15006]
21432         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21433         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21435 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21437         [BZ #13550]
21438         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21439         (CHECK_1_NULL_OK): Likewise.
21440         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21441         (__fxstat): Do not use CHECK_1.
21442         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21443         <bp-checks.h>.
21444         (___fxstat64): Do not use CHECK_1.
21445         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21446         <bp-checks.h>.
21447         (__fxstatat): Do not use CHECK_1.
21448         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21449         <bp-checks.h>.
21450         (__fxstatat64): Do not use CHECK_1.
21451         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21452         <bp-checks.h>.
21453         (__fxstat): Do not use CHECK_1.
21454         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21455         <bp-checks.h>.
21456         (__fxstatat): Do not use CHECK_1.
21457         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21458         <bp-checks.h>.
21459         (__getresgid): Do not use CHECK_1.
21460         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21461         <bp-checks.h>.
21462         (__getresuid): Do not use CHECK_1.
21463         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21464         <bp-checks.h>.
21465         (__lxstat): Do not use CHECK_1.
21466         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21467         <bp-checks.h>.
21468         (__old_msgctl): Do not use CHECK_1.
21469         (__new_msgctl): Likewise.
21470         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21471         <bp-checks.h>.
21472         (__new_setrlimit): Do not use CHECK_1.
21473         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21474         <bp-checks.h>.
21475         (__old_shmctl): Do not use CHECK_1.
21476         (__new_shmctl): Likewise.
21477         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21478         <bp-checks.h>.
21479         (__xstat): Do not use CHECK_1.
21480         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21481         (__lxstat): Do not use CHECK_1.
21482         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21483         <bp-checks.h>.
21484         (___lxstat64): Do not use CHECK_1.
21485         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21486         (__old_msgctl): Do not use CHECK_1.
21487         (__new_msgctl): Likewise.
21488         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21489         <bp-checks.h>.
21490         (__gettimeofday): Do not use CHECK_1.
21491         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21492         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21493         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21494         <bp-checks.h>.
21495         (__gettimeofday): Do not use CHECK_1.
21496         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21497         (__old_shmctl): Do not use CHECK_1_NULL_OK.
21498         (__new_shmctl): Do not use CHECK_1.
21499         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21500         <bp-checks.h>.
21501         (do_sigtimedwait): Do not use CHECK_1.
21502         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21503         <bp-checks.h>.
21504         (do_sigwaitinfo): Do not use CHECK_1.
21505         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21506         <bp-checks.h>.
21507         (msgctl): Do not use CHECK_1.
21508         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21509         <bp-checks.h>.
21510         (shmctl): Do not use CHECK_1.
21511         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21512         (ustat): Do not use CHECK_1.
21513         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21514         <bp-checks.h>.
21515         (__fxstat): Do not use CHECK_1.
21516         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21517         <bp-checks.h>.
21518         (__fxstatat): Do not use CHECK_1.
21519         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21520         <bp-checks.h>.
21521         (__lxstat): Do not use CHECK_1.
21522         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21523         <bp-checks.h>.
21524         (__xstat): Do not use CHECK_1.
21525         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21526         (__xstat): Do not use CHECK_1.
21527         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21528         (___xstat64): Do not use CHECK_1.
21530         [BZ #13550]
21531         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21532         definitions.
21533         (CHECK_BOUNDS_HIGH): Likewise.
21534         * string/strcpy.c: Do not include <bp-checks.h>.
21535         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21537 2013-02-07  Roland McGrath  <roland@hack.frob.com>
21539         * nscd/nscd-client.h (__nscd_drop_map_ref):
21540         Add __attribute__ ((unused)).
21541         * nis/nss-nisplus.h (niserr2nss): Likewise.
21543         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21544         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21546         * csu/libc-tls.c (init_static_tls, init_slotinfo):
21547         Remove inline keyword.
21548         * include/rounding-mode.h (round_away): Likewise.
21549         * libio/wfileops.c (adjust_wide_data): Likewise.
21550         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21551         (__m128i_strloadu_tolower): Likewise.
21552         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21553         (__m128i_strloadu_tolower): Likewise.
21554         * time/mktime.c (ydhms_diff): Likewise.
21555         * locale/elem-hash.h (elem_hash): Likewise.
21556         * locale/setlocale.c (setdata): Likewise.
21557         * posix/regex_internal.h (re_string_char_size_at): Likewise.
21558         (re_string_wchar_at): Likewise.
21559         (bitset_not, bitset_merge, bitset_mask): Likewise.
21560         [!(__GNUC__ > 3)] (inline): Remove macro.
21561         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21562         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21563         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21564         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21565         * string/memcmp.c (memcmp_bytes): Likewise.
21566         * locale/programs/locarchive.c (compute_hashval): Likewise.
21567         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21568         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21569         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21570         * nss/getent.c (print_rpc, print_protocols): Likewise.
21571         (print_passwd, print_group, print_aliases): Likewise.
21572         * nis/nss-nisplus.h (niserr2nss): Likewise.
21573         * nscd/connections.c (restart_p): Likewise.
21574         Change return type to bool.
21576 2013-02-05  Roland McGrath  <roland@hack.frob.com>
21578         * Makeconfig (all-Depend-files): Add existing
21579         $(sorted-subdirs:=/Depend) files.
21580         (all-subdirs): Remove nss.
21581         * sysdeps/unix/inet/Subdirs: Add it here instead.
21582         * hesiod/Depend: New file.
21584         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21585         instead of calling alloca.
21587         * io/lseek.c (__lseek): Rename to __libc_lseek.
21588         Define __lseek as an alias.
21590         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21592 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
21594         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21595         else clause and remove check for non-standard endianness.
21597 2013-02-04  David S. Miller  <davem@davemloft.net>
21599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21601 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
21603         [BZ #13550]
21604         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21605         (__ubp_memchr): Remove prototype.
21606         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21607         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21608         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21609         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21610         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21611         Remove alias.
21612         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21613         (__ubp_memchr): Likewise.
21614         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21615         (__ubp_memchr): Likewise.
21616         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21617         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21618         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21619         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21620         CHECK_STRING.
21621         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21622         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21623         (__getcwd): Do not use CHECK_STRING.
21624         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21625         <bp-checks.h>.
21626         (__real_chown): Do not use CHECK_STRING.
21627         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21628         <bp-checks.h>.
21629         (fchownat): Do not use CHECK_STRING.
21630         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21631         CHECK_STRING.
21632         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21633         <bp-checks.h>.
21634         (__lchown): Do not use CHECK_STRING.
21635         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21636         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21637         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21638         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21640         include <bp-checks.h>.
21641         (truncate64): Do not use CHECK_STRING.
21642         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21643         <bp-checks.h>.
21644         (__real_chown): Do not use CHECK_STRING.
21645         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21646         <bp-checks.h>.
21647         (__lchown): Do not use CHECK_STRING.
21648         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21649         <bp-checks.h>.
21650         (__chown): Do not use CHECK_STRING.
21651         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21652         <bp-checks.h>.
21653         (truncate64): Do not use CHECK_STRING.
21654         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21655         Likewise.
21656         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21657         (__xmknod): Do not use CHECK_STRING.
21658         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21659         <bp-checks.h>.
21660         (__xmknodat): Do not use CHECK_STRING.
21661         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21662         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21664 2013-02-04  Andreas Schwab  <schwab@suse.de>
21666         [BZ #14142]
21667         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21668         * include/netdb.h: Likewise for h_errno.
21669         * elf/tst-stackguard1.c: Include <tls.h>.
21671 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
21673         * elf/link.h (struct link_map): Extend the l_addr comment.
21674         * include/link.h (struct link_map): Likewise.
21676 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
21678         [BZ #13550]
21679         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21680         (BOUNDED_1): Remove macro.
21681         * debug/backtrace.c: Don't include <bp-checks.h>.
21682         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21683         (__backtrace): Likewise.
21684         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21685         <bp-checks.h>.
21686         (__backtrace): Don't use BOUNDED_1.
21687         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21688         <bp-checks.h>.
21689         (__backtrace): Don't use BOUNDED_1.
21690         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21691         (__backtrace): Don't use BOUNDED_1.
21692         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21693         (shmat): Don't use BOUNDED_N.
21695 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
21697         [BZ #13550]
21698         * sysdeps/generic/bp-start.h: Remove file.
21699         * csu/libc-start.c: Don't include <bp-start.h>.
21700         (LIBC_START_MAIN): Set up __environ directly instead of using
21701         INIT_ARGV_and_ENVIRON.
21702         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21703         <bp-start.h>.
21705         [BZ #13550]
21706         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21707         definitions.
21708         (CHECK_FCNTL): Likewise.
21709         (CHECK_N_PAGES): Likewise.
21711         [BZ #13550]
21712         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21713         definitions.
21714         (CHECK_SIGSET_NULL_OK): Likewise.
21715         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21716         <bp-checks.h>.
21717         (sigpending): Don't use CHECK_SIGSET.
21718         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21719         <bp-checks.h>.
21720         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21721         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21722         <bp-checks.h>.
21723         (do_sigsuspend): Don't use CHECK_SIGSET.
21724         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21725         use CHECK_SIGSET.
21726         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21727         (do_sigwait): Don't use CHECK_SIGSET.
21728         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21729         use CHECK_SIGSET.
21730         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21731         include <bp-checks.h>.
21732         (sigpending): Don't use CHECK_SIGSET.
21733         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21734         include <bp-checks.h>.
21735         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21736         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21737         <bp-checks.h>.
21738         (sigpending): Don't use CHECK_SIGSET.
21739         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21740         <bp-checks.h>.
21741         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21743         [BZ #13550]
21744         * sysdeps/generic/bp-semctl.h: Remove file.
21745         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21746         <bp-checks.h> and <bp-semctl.h>.
21747         (__old_semctl): Don't use CHECK_SEMCTL.
21748         (__new_semctl): Likewise.
21749         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21750         and <bp-semctl.h>.
21751         (__old_semctl): Don't use CHECK_SEMCTL.
21752         (__new_semctl): Likewise.
21753         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21754         <bp-checks.h> and <bp-semctl.h>.
21755         (__old_semctl): Don't use CHECK_SEMCTL.
21756         (__new_semctl): Likewise.
21757         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21758         <bp-checks.h> and <bp-semctl.h>.
21759         (semctl): Don't use CHECK_SEMCTL.
21761         [BZ #13550]
21762         * Makerules (elide-bp-thunks): Remove variable.
21763         (elide-routines.oS): Don't use $(elide-bp-thunks).
21764         (elide-routines.os): Likewise.
21765         (elide-routines.o): Likewise.
21766         (elide-routines.op): Likewise.
21767         (elide-routines.og): Likewise.
21768         (objects): Don't use $(bp-thunks).
21769         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21770         include.
21771         (common-generated): Do not add s-proto-bp.d.
21772         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21773         (int): Likewise.
21774         (typ): Likewise.
21775         Do not generate makefile rules for bounded-pointer thunks.
21776         * sysdeps/generic/bp-thunks.h: Remove file.
21777         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21778         * sysdeps/unix/s-proto-bp.S: Likewise.
21780         [BZ #15062]
21781         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21782         parts of result separately when argument is not close to line from
21783         -i to i and one part of argument is small.
21784         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21785         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21786         * math/libm-test.inc (cacos_test): Add more tests.
21787         (casin_test): Likewise.
21788         (casinh_test): Likewise.
21789         * sysdeps/i386/fpu/libm-test-ulps: Update.
21790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21792 2013-01-31  David S. Miller  <davem@davemloft.net>
21794         * po/de.po: Update from translation team.
21796 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
21798         * time/tzfile.c: Include stdint.h for SIZE_MAX.
21800 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
21802         * configure.in (_AC_PROG_CC_C89): New definition.
21803         * configure: Regenerate.
21805         * configure.in (AC_PROG_CPP): New definition.
21806         * configure: Regenerate.
21808 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21810         * debug/tst-backtrace.h: New file.
21811         * debug/tst-backtrace2.c: Include tst-backtrace.h.
21812         (ret): Remove variable.
21813         (x): Likewise.
21814         (FAIL): Remove macro.
21815         (NO_INLINE): Likewise.
21816         (fn1): Use match function instead of strstr.
21817         * debug/tst-backtrace3.c: Include tst-backtrace.h.
21818         (ret): Remove variable.
21819         (x): Likewise.
21820         (FAIL): Remove macro.
21821         (NO_INLINE): Likewise.
21822         (fn): Use match function instead of strstr.
21823         * debug/tst-backtrace4.c: Include tst-backtrace.h.
21824         (ret): Remove variable.
21825         (x): Likewise.
21826         (FAIL): Remove macro.
21827         (NO_INLINE): Likewise.
21828         (handle_signal): Use match function instead of strstr.
21829         * debug/tst-backtrace5.c: Include tst-backtrace.h.
21830         (ret): Remove variable.
21831         (x): Likewise.
21832         (FAIL): Remove macro.
21833         (NO_INLINE): Likewise.
21834         (handle_signal): Use match function instead of strstr.
21836 2013-01-23  Roland McGrath  <roland@hack.frob.com>
21838         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21840 2013-01-23  David S. Miller  <davem@davemloft.net>
21842         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21843         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21844         argument of CAS if possible.
21845         * sysdeps/sparc/sparc64/bits/atomic.h
21846         (__arch_compare_and_exchange_val_32_acq): Likewise.
21847         (__arch_compare_and_exchange_val_64_acq): Likewise.
21849 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
21851         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21852         * sysdeps/posix/ulimit.c: ... this.
21853         Include <limits.h>.
21854         * sysdeps/unix/bsd/ulimit.c: Remove file.
21856 2013-01-23  Adam Conrad  <adconrad@0c3.net>
21858         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21859         (LDFLAGS-tst-array5): Likewise.
21861 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21863         [BZ #15036]
21864         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21865         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21866         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21867         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21869 2013-01-21  David S. Miller  <davem@davemloft.net>
21871         * sysdeps/sparc/backtrace.c: New file.
21872         * sysdeps/sparc/sparc32/backtrace.h: New file.
21873         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21874         * sysdeps/sparc/sparc64/backtrace.h: New file.
21875         * sysdeps/sparc/sparc64/backtrace.c: Delete.
21876         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21877         -funwind-tables.
21879 2013-01-21  Andreas Schwab  <schwab@suse.de>
21881         [BZ #15020]
21882         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21883         closed its stdout.
21885 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
21887         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21888         "mpa2.h".
21889         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21891 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
21892             Mark Mitchell  <mark@codesourcery.com>
21893             Tom de Vries  <tom@codesourcery.com>
21894             Paul Pluzhnikov  <ppluzhnikov@google.com>
21896         * debug/tst-backtrace2.c: New file.
21897         * debug/tst-backtrace3.c: Likewise.
21898         * debug/tst-backtrace4.c: Likewise.
21899         * debug/tst-backtrace5.c: Likewise.
21900         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21901         (CFLAGS-tst-backtrace3.c): Likewise.
21902         (CFLAGS-tst-backtrace4.c): Likewise.
21903         (CFLAGS-tst-backtrace5.c): Likewise.
21904         (LDFLAGS-tst-backtrace2): Likewise.
21905         (LDFLAGS-tst-backtrace3): Likewise.
21906         (LDFLAGS-tst-backtrace4): Likewise.
21907         (LDFLAGS-tst-backtrace5): Likewise.
21908         (tests): Add new tests tst-backtrace2, tst-backtrace3,
21909         tst-backtrace4 and tst-backtrace5.
21911 2013-01-18  Anton Blanchard  <anton@samba.org>
21912             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21914         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21915         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21916         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21917         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21919         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21920         "+r" and remove output regs list as redundant.  Add explicit inline
21921         asm to specify register of return val to work around compiler codegen
21922         bug.  Remove (int) cast on return value.  Add return type parameter to
21923         use in macro so that this macro does not truncate return value for
21924         64-bit values.
21925         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21926         pass to INTERNAL_VSYSCALL_NCS.
21927         (INLINE_VSYSCALL): Add 'long int' as return type to
21928         INTERNAL_VSYSCALL_NCS macro invocation.
21929         (INTERNAL_VSYSCALL): Add 'long int' as return type to
21930         INTERNAL_VSYSCALL_NCS macro invocation.
21931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21933 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21935         [BZ #14496]
21936         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21937         Fix application of SIMD FP exception mask.
21939         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21940         mp_no from a power of two.
21941         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21942         __mpexp_twomm1.  Use __pow_mp.
21944         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21945         multiplication.
21947 2013-01-17  David S. Miller  <davem@davemloft.net>
21949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21951 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21953         [BZ #15023]
21954         * include/complex.h: Condition contents on [!_COMPLEX_H].
21955         (__kernel_casinhf): New prototype.
21956         (__kernel_casinh): Likewise.
21957         (__kernel_casinhl): Likewise.
21958         * math/Makefile (libm_calls): Add k_casinh.
21959         * math/k_casinh.c: New file.
21960         * math/k_casinhf.c: Likewise.
21961         * math/k_casinhl.c: Likewise.
21962         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21963         finite nonzero arguments.
21964         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21965         finite nonzero arguments.
21966         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21967         finite nonzero arguments.
21968         * math/s_casinh.c: Do not include <float.h>.
21969         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21970         * math/s_casinhf.c: Do not include <float.h>.
21971         (__casinhf): Move code for finite nonzero arguments to
21972         k_casinhf.c.
21973         * math/s_casinhl.c: Do not include <float.h>.
21974         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21975         redefine.
21976         (__casinhl): Move code for finite nonzero arguments to
21977         k_casinhl.c.
21978         * math/libm-test.inc (cacos_test): Add more tests.
21979         * sysdeps/i386/fpu/libm-test-ulps: Update.
21980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21982 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
21984         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21985         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21986         [!HAVE_MREMAP]: Remove [defined linux] case.
21987         * malloc/arena.c: Do not include <malloc-sysdep.h>.
21989 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21991         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21993 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
21995         * elf/elf.h (R_386_SIZE32): New relocation.
21996         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21997         R_386_SIZE32.
21998         (elf_machine_rela): Likewise.
21999         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22000         R_X86_64_SIZE64 and R_X86_64_SIZE32.
22002 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22004         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22005         (FP_FAST_FMA): Do not define.
22006         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22007         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22008         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22009         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22010         !_SOFT_FLOAT]: Likewise.
22011         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22012         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22013         value.
22014         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22015         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22016         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22017         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22018         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22019         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22020         file.
22022 2013-01-16  Andreas Schwab  <schwab@suse.de>
22024         [BZ #14327]
22025         * include/stdlib.h (__mktemp): Add declaration.
22026         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22027         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22029 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22031         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22032         definitions.
22033         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22034         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22035         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22036         definitions here.
22037         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22038         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22039         definitions.
22040         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22041         and ONE.
22042         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22043         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22044         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22045         definitions.
22046         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22047         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22048         definitions.
22049         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22051         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22053 2013-01-15  David S. Miller  <davem@davemloft.net>
22055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22056         trunc{,f} to libm-sysdep_routes.
22057         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22059         file.
22060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22062         file.
22063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22064         file.
22065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22067         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22068         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22069         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22070         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22071         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22072         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22075         nearbyint{,f} to libm-sysdep_routes.
22076         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22078         New file.
22079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22080         file.
22081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22082         New file.
22083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22084         file.
22085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22087         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22088         file.
22089         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22090         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22091         file.
22092         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22093         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22094         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22096         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22097         libc_feholdexcept and libc_fesetenv.
22099 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
22101         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22103 2013-01-14  David S. Miller  <davem@davemloft.net>
22105         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22106         (SPARC_ASM_VIS2_IFUNC): Likewise.
22107         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22109         use of 'siam' instruction.
22110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22111         Likewise.
22112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22113         Likewise.
22114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22115         Likewise.
22116         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22117         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22118         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22119         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22121         file.
22122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22123         file.
22124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22125         file.
22126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22127         file.
22128         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22129         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22130         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22131         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22133         new VIS2 routines.
22134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22137         Likewise.
22138         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22139         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22140         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22141         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22143         routines to libm-sysdep_routines.
22144         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22147         fdim/fdimf to libm-sysdep_routines.
22148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22149         file.
22150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22152         file.
22153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22156         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22157         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22158         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22159         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22161 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22163         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22164         to optimize copies.
22166         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22167         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22168         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22170         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22171         local variable MPTWO.
22172         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22173         Likewise.
22175 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22177         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22178         GLOB_NOESCAPE.
22180 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22182         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22184 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22186         * manual/pattern.texi (glob_t): Document gl_flags.
22187         (glob64_t): Likewise.
22189 2013-01-11  David S. Miller  <davem@davemloft.net>
22191         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22192         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22193         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
22194         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22195         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22196         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22197         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22198         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22199         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22200         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22201         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22202         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22203         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22205         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22206         sparc V9 rather than using V8 code.
22207         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22208         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22210         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22211         Move to...
22212         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22213         Here.
22215 2013-01-11  Roland McGrath  <roland@hack.frob.com>
22217         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22218         not in the main loop.
22219         * configure: Regenerated.
22221 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
22223         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22224         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22225         to just #else.
22226         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
22227         [!__GLIBC_HAVE_LONG_LONG] case.
22228         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22229         condition to just #else.
22230         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22231         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22232         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22233         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22234         unconditional.
22235         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22236         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22237         #elif condition to just #else.
22238         * sysdeps/unix/sysv/linux/sys/sysmacros.h
22239         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22240         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22241         #elif condition to just #else.
22243 2013-01-11  Steve Ellcey  <sellcey@mips.com>
22245         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22246         (EF_MIPS_ARCH_64): Fix value.
22247         (EF_MIPS_ARCH_32R2): New.
22248         (EF_MIPS_ARCH_64R2): New.
22250 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
22252         * Makeconfig (+link-pie-before-libc): New.
22253         (+link-pie-after-libc): Likewise.
22254         (+link-pie-tests): Likewise.
22255         (+link-pie): Rewritten.
22256         (link-before-libc): Remove $(config-LDFLAGS).
22257         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22258         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22259         (config-LDFLAGS): Renamed to ...
22260         (rtld-LDFLAGS): This.
22261         (rtld-tests-LDFLAGS): New macro.
22262         (link-libc-rpath-link): Likewise.
22263         (link-libc-tests-rpath-link): Likewise.
22264         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22265         (link-libc): Prepand $(link-libc-rpath-link).
22266         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22267         (test-program-prefix): New macro.
22268         (test-via-rtld-prefix): Likewise.
22269         (test-program-cmd): Likewise.
22270         (host-test-program-cmd): Likewise.
22271         * Makefile ($(common-objpfx)testrun.sh): Replace
22272         $(run-program-prefix) with $(test-program-prefix).
22273         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22274         $(rtld-LDFLAGS).
22275         ($(common-objpfx)shlib.lds): Likewise.
22276         (build-module-helper): Likewise.
22277         ($(common-objpfx)format.lds): Likewise.
22278         * Rules (binaries-pie-tests): New.
22279         (binaries-pie-notests): Likewise.
22280         (binaries-pie): Rewritten.
22281         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22282         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22283         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22284         (make-test-out): Replace $(host-built-program-cmd) with
22285         $(host-test-program-cmd).
22286         * config.make.in (build-hardcoded-path-in-tests): New variable.
22287         * configure.in (--enable-hardcoded-path-in-tests): New configure
22288         option.
22289         (hardcoded_path_in_tests): New AC_SUBST.
22290         * configure: Regenerated.
22291         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22292         $(built-program-cmd) with $(test-program-cmd).
22293         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22294         (test_program_cmd): This.
22295         * elf/Makefile ($(objpfx)order.out): Run test with
22296         $(test-program-prefix).
22297         ($(objpfx)order2.out): Likewise.
22298         ($(objpfx)tst-initorder.out): Likewise.
22299         ($(objpfx)tst-initorder2.out): Likewise.
22300         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22301         $(test-program-cmd).
22302         ($(objpfx)tst-array1-static.out): Likewise.
22303         ($(objpfx)tst-array2.out): Likewise.
22304         ($(objpfx)tst-array3.out): Likewise.
22305         ($(objpfx)tst-array4.out): Likewise.
22306         ($(objpfx)tst-array5.out): Likewise.
22307         ($(objpfx)tst-array5-static.out): Likewise.
22308         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22309         $(test-program-cmd).
22310         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22311         $(run-program-prefix) with $(test-program-prefix).
22312         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22313         (test_program_prefix): This.
22314         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22315         $(run-program-prefix) with $(test-program-prefix).
22316         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22317         (test_program_prefix): This.
22318         * iconvdata/tst-tables.sh: Likewise.
22319         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22320         $(run-program-prefix) with $(test-program-prefix).
22321         ($(objpfx)tst-translit.out): Likewise.
22322         ($(objpfx)tst-gettext2.out): Likewise.
22323         ($(objpfx)tst-gettext4.out): Likewise.
22324         ($(objpfx)tst-gettext6.out): Likewise.
22325         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22326         (test_program_prefix): This.
22327         * intl/tst-gettext2.sh: Likewise.
22328         * intl/tst-gettext4.sh  Likewise.
22329         * intl/tst-gettext6.sh: Likewise.
22330         * intl/tst-translit.sh: Likewise.
22331         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22332         with $(test-program-cmd).
22333         * libio/Makefile ($(objpfx)test-freopen.out): Replace
22334         $(run-program-prefix) with $(test-program-prefix).
22335         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22336         (test_program_prefix): This.
22337         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22338         $(run-program-prefix) with $(test-program-prefix).
22339         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22340         (test_program_prefix): This.
22341         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22342         * posix/Makefile ($(objpfx)globtest.out): Replace
22343         $(run-via-rtld-prefix) and $(test-wrapper) with
22344         $(test-program-prefix) and $(test-via-rtld-prefix).
22345         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22346         $(test-program-prefix).
22347         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22348         $(host-test-program-cmd).
22349         (tst-spawn-ARGS): Likewise.
22350         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22351         $(test-program-prefix).
22352         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22353         (test_via_rtld_prefix): This.
22354         (test_wrapper): Renamed to ...
22355         (test_program_prefix): This.
22356         (run_program_prefix): Replaced by test_program_prefix.
22357         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22358         (test_program_prefix): This.
22359         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22360         with $(host-test-program-cmd).
22361         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22362         $(run-program-prefix) with $(test-program-prefix).
22363         ($(objpfx)tst-printf.out): Likewise.
22364         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22365         $(test-program-cmd).
22366         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22367         (test_program_prefix): This.
22368         * stdio-common/tst-unbputc.sh: Likewise.
22369         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22370         $(run-program-prefix) with $(test-program-prefix).
22371         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22372         (test_program_prefix): This.
22373         * string/Makefile ($(objpfx)tst-svc.out):  Replace
22374         $(built-program-cmd) with $(test-program-cmd).
22376 2013-01-11  Andreas Jaeger  <aj@suse.de>
22378         [BZ #15003]
22379         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22380         value. Sync with Linux 3.7.
22382 2013-01-10  David S. Miller  <davem@davemloft.net>
22384         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22385         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22386         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22388 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22390         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22391         never set.
22392         * configure: Regenerated.
22394 2013-01-10  David S. Miller  <davem@davemloft.net>
22396         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22397         sparc V9 rather than using V8 code.
22398         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22399         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22401 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22403         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22404         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22405         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22406         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22407         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22408         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22409         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22410         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22411         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22412         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22413         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22414         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22415         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22416         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22417         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22418         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22419         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22420         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22421         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22422         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22423         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22424         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22425         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22426         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22427         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22428         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22429         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22431 2013-01-10  David S. Miller  <davem@davemloft.net>
22433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22435 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22437         * posix/Makefile (tests-static): New variable.
22438         (tests): Add $(tests-static).
22439         (tst-exec-static-ARGS): New variable.
22440         (tst-spawn-static-ARGS): Likewise.
22441         * posix/tst-exec-static.c: New file.
22442         * posix/tst-spawn-static.c: Likewise.
22443         * posix/tst-exec.c: Support run directly.
22444         * posix/tst-spawn.c: Likewise.
22446 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
22448         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22449         long.
22450         * math/bits/mathcalls.h (llrint): Likewise.
22451         (llround): Likewise.
22452         * stdlib/stdlib.h (struct drand48_data): Likewise.
22453         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22454         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22455         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22456         Likewise.
22457         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22458         Likewise.
22459         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22460         (elf_greg_t): Likewise.
22461         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22462         (__jmp_buf): Likewise.
22463         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22464         definitions.
22465         (llrint): Likewise, for all definitions.
22466         (llrintl): Likewise.
22468         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22469         Remove [__GNUC__] condition.
22470         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22471         condition to just [__USE_ISOC99].
22472         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22474 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22476         [BZ #14200]
22477         * sysdeps/unix/sysv/linux/x86/bits/environments.h
22478         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22479         defined.
22480         (_POSIX_V6_ILP32_OFF32): Likewise.
22481         (_XBS5_ILP32_OFF32): Likewise.
22482         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22483         (__ILP32_OFFBIG_LDFLAGS): Likewise.
22485 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22487         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22489         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22490         doubles __mpexp_twomm1.  Adjust usage.
22491         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22492         Remove.
22494 2013-01-10  Andreas Schwab  <schwab@suse.de>
22496         [BZ #14964]
22497         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22498         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22500 2013-01-09  David S. Miller  <davem@davemloft.net>
22502         [BZ #15003]
22503         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22504         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22505         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22506         (TCP_FASTOPEN): Define.
22507         (tcp_repair_opt): New structure.
22508         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22509         enum values.
22510         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22511         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22512         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22513         (tcp_cookie_transactions): New structure.
22515 2013-01-09  Anton Blanchard  <anton@samba.org>
22517         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22518         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22519         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22520         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22522 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
22524         * include/features.h (__USE_ANSI): Remove.
22526 2013-01-09  Roland McGrath  <roland@hack.frob.com>
22528         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22530         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22532 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22534         * sysdeps/s390/fpu/libm-test-ulps: Update.
22536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22538         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22539         (__acr): Likewise.
22540         (__cpy): Likewise.
22541         (norm): Likewise.
22542         (denorm): Likewise.
22543         (__mp_dbl): Likewise.
22544         (__dbl_mp): Likewise.
22545         (add_magnitudes): Likewise.
22546         (sub_magnitudes): Likewise.
22547         (__add): Likewise.
22548         (__sub): Likewise.
22549         (__mul): Likewise.
22550         (__inv): Likewise.
22551         (__dvd): Likewise.
22552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22553         (__acr): Likewise.
22554         (__cpy): Likewise.
22555         (norm): Likewise.
22556         (denorm): Likewise.
22557         (__mp_dbl): Likewise.
22558         (__dbl_mp): Likewise.
22559         (add_magnitudes): Likewise.
22560         (sub_magnitudes): Likewise.
22561         (__add): Likewise.
22562         (__sub): Likewise.
22563         (__mul): Likewise.
22564         (__inv): Likewise.
22565         (__dvd): Likewise.
22566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22567         (__acr): Likewise.
22568         (__cpy): Likewise.
22569         (norm): Likewise.
22570         (denorm): Likewise.
22571         (__mp_dbl): Likewise.
22572         (__dbl_mp): Likewise.
22573         (add_magnitudes): Likewise.
22574         (sub_magnitudes): Likewise.
22575         (__add): Likewise.
22576         (__sub): Likewise.
22577         (__mul): Likewise.
22578         (__inv): Likewise.
22579         (__dvd): Likewise.
22581 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
22583         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22584         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22585         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22586         2 && __USE_EXTERN_INLINES]: Likewise.
22588 2013-01-08  Andreas Jaeger  <aj@suse.de>
22590         [BZ# 14985]
22591         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22592         Remove.
22593         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22594         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22596 2013-01-07  Anton Blanchard  <anton@samba.org>
22598         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22599         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22600         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22601         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22602         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22603         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22604         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22605         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22606         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22607         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22608         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22609         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22610         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22611         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22612         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22613         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22614         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22615         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22616         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22617         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22618         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22619         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22620         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22621         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22622         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22623         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22624         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22625         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22626         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22627         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22628         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22629         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22630         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22631         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22632         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22633         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22634         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22635         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22636         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22637         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22638         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22639         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22640         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22642 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
22644         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22645         (__MALLOC_PMT): Likewise.
22646         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22647         [__GNUC__], only on [_LIBC].
22648         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22649         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22650         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22651         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22652         forward declaration.
22653         (realloc_hook_ini): Likewise.
22654         (memalign_hook_ini): Likewise.
22655         (__libc_memalign): Do not use __MALLOC_PMT in variable
22656         declaration.
22657         (__libc_valloc): Likewise.
22658         (__libc_pvalloc): Likewise.
22659         (__libc_calloc): Likewise.
22660         (__posix_memalign): Likewise.
22662         [BZ #14996]
22663         * math/s_casinh.c: Include <float.h>.
22664         (__casinh): Do not do computation with squaring and square root
22665         for large arguments.
22666         * math/s_casinhf.c: Include <float.h>.
22667         (__casinhf): Do not do computation with squaring and square root
22668         for large arguments.
22669         * math/s_casinhl.c: Include <float.h>.
22670         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22671         (__casinhl): Do not do computation with squaring and square root
22672         for large arguments.
22673         * math/libm-test.inc (casin_test): Add more tests.
22674         (casinh_test): Likewise.
22675         * sysdeps/i386/fpu/libm-test-ulps: Update.
22676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22678 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
22680         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22681         (__x86_64_raw_data_cache_size): Likewise.
22682         (__x86_64_data_cache_size_half): Likewise.
22683         (__x86_64_raw_data_cache_size_half): Likewise.
22684         (__x86_64_shared_cache_size): Likewise.
22685         (__x86_64_raw_shared_cache_size): Likewise.
22686         (__x86_64_shared_cache_size_half): Likewise.
22687         (__x86_64_raw_shared_cache_size_half): Likewise.
22688         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22689         to ...
22690         (__x86_data_cache_size): This.
22691         (__x86_64_raw_data_cache_size): Renamed to ...
22692         (__x86_raw_data_cache_size): This.
22693         (__x86_64_data_cache_size_half): Renamed to ...
22694         (__x86_data_cache_size_half): This.
22695         (__x86_64_raw_data_cache_size_half): Renamed to ...
22696         (__x86_raw_data_cache_size_half): This.
22697         (__x86_64_shared_cache_size): Renamed to ...
22698         (__x86_shared_cache_size): This.
22699         (__x86_64_raw_shared_cache_size): Renamed to ...
22700         (__x86_raw_shared_cache_size): This.
22701         (__x86_64_shared_cache_size_half): Renamed to ...
22702         (__x86_shared_cache_size_half): This.
22703         (__x86_64_raw_shared_cache_size_half): Renamed to ...
22704         (__x86_raw_shared_cache_size_half): This.
22705         * sysdeps/x86_64/memcpy.S: Updated.
22706         * sysdeps/x86_64/memset.S: Likewise.
22707         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22708         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22709         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22711 2013-01-04  David S. Miller  <davem@davemloft.net>
22713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22715 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
22717         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22718         1 to avoid redefinition warning.
22719         (__USE_GNU): Don't define.
22720         (init_signaling_nan): Protoize.
22722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22724 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22726         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22728         (__cpymn): Likewise.
22729         (norm): Remove commented code.
22730         (denorm): Likewise.
22731         (__mp_dbl): Likewise.
22732         (__inv): Likewise.
22733         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22734         (__cpymn): Likewise.
22735         (norm): Remove commented code.
22736         (denorm): Likewise.
22737         (__mp_dbl): Likewise.
22738         (__inv): Likewise.
22740         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22741         mp_no value for 1.0 and 2.0.
22742         (norm): Use RADIXI instead of radixi.d.
22743         (denorm): Likewise.
22744         (__mul): Use 0.0 instead of zero.d.
22745         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22746         mp_no value for 1.0 and 2.0.
22747         (norm): Use RADIXI instead of radixi.d.
22748         (denorm): Likewise.
22749         (__mul): Use 0.0 instead of zero.d.
22751 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
22753         [BZ #14994]
22754         * math/s_casinh.c (__casinh): Reduce finite argument to first
22755         quadrant then set signs of results at the end.
22756         * math/s_casinhf.c (__casinhf): Likewise.
22757         * math/s_casinhl.c (__casinhl): Likewise.
22758         * math/libm-test.inc (casin_test): Add more tests.
22759         (casinh_test): Likewise.
22760         * sysdeps/i386/fpu/libm-test-ulps: Update.
22761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22763 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22765         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22767         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22769         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22770         declarations.
22771         (denorm): Likewise.
22772         (__mp_dbl): Likewise.
22773         (__inv): Likewise.
22775         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22776         and adjust the header comment.
22778         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22779         variable name from declaration.
22781 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
22783         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22784         Initialize COMMON_CPUID_INDEX_7 element.
22785         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22786         (CPUID_RTM): Likewise.
22787         (HAS_RTM): Likewise.
22788         (COMMON_CPUID_INDEX_7): New enum.
22790 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
22792         [BZ #14981]
22793         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22794         size is zero, record memory as freed.
22796 2013-01-03  Andreas Jaeger  <aj@suse.de>
22798         * po/ia.po: Add new Interlingua translation.
22800 2012-01-03  Allan McRae  <allan@archlinux.org>
22802         * locale/programs/localedef.c: Fix description of '--posix' flag.
22804 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
22806         * NEWS: Update dates in second copyright notice.
22807         * README: Update copyright dates in example.
22808         * manual/libc.texinfo: Update copyright dates.
22809         * scripts/test-installation.pl: Update copyright date in --version
22810         output.
22812         * hurd/ctty-input.c: Fix copyright notice formatting.
22813         * hurd/ctty-output.c: Likewise.
22814         * hurd/dtable.c: Likewise.
22815         * hurd/hurd-raise.c: Likewise.
22816         * hurd/hurdprio.c: Likewise.
22817         * hurd/msgportdemux.c: Likewise.
22818         * misc/sys/file.h: Likewise.
22819         * misc/sys/ioctl.h: Likewise.
22820         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22821         * sysdeps/mach/hurd/chdir.c: Likewise.
22822         * sysdeps/mach/hurd/fchdir.c: Likewise.
22823         * sysdeps/mach/hurd/rename.c: Likewise.
22824         * sysdeps/mach/hurd/rmdir.c: Likewise.
22825         * sysdeps/mach/hurd/seekdir.c: Likewise.
22826         * sysdeps/mach/hurd/setsid.c: Likewise.
22827         * sysdeps/posix/wait3.c: Likewise.
22829         * All files with FSF copyright notices: Update copyright dates
22830         using scripts/update-copyrights.
22831         * intl/plural.c: Regenerated.
22832         * locale/programs/charmap-kw.h: Likewise.
22833         * locale/programs/locfile-kw.h: Likewise.
22835 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22837         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22838         four values.
22840         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22841         calculation loop and add branch prediction.
22843         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22844         check access beyond bounds of m1np.
22846         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22847         MPTWO.
22848         (__inv): Remove local variable MPTWO to use the global
22849         constant.
22850         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22851         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22852         variable MPTWO.
22853         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22854         MP3HALFS static const.
22856 2013-01-01  David S. Miller  <davem@davemloft.net>
22858         * po/ca.po: Update from translation team.
22860 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
22862         * scripts/update-copyrights: New file.
22863         * Makeconfig: Reformat copyright notice.
22864         * ctype/ctype.h: Likewise.
22865         * debug/swprintf_chk.c: Likewise.
22866         * elf/dl-cache.c: Likewise.
22867         * elf/dl-debug.c: Likewise.
22868         * elf/dl-object.c: Likewise.
22869         * grp/initgroups.c: Likewise.
22870         * hurd/Makefile: Likewise.
22871         * hurd/hurd/signal.h: Likewise.
22872         * hurd/hurdfault.c: Likewise.
22873         * hurd/hurdioctl.c: Likewise.
22874         * hurd/hurdlookup.c: Likewise.
22875         * hurd/intr-msg.c: Likewise.
22876         * iconv/gconv_open.c: Likewise.
22877         * libio/swprintf.c: Likewise.
22878         * locale/lc-ctype.c: Likewise.
22879         * locale/nl_langinfo.c: Likewise.
22880         * mach/Machrules: Likewise.
22881         * mach/Makefile: Likewise.
22882         * malloc/obstack.h: Likewise.
22883         * manual/Makefile: Likewise.
22884         * manual/tsort.awk: Likewise.
22885         * misc/bits/stab.def: Likewise.
22886         * nis/nis_print_group_entry.c: Likewise.
22887         * nis/nis_table.c: Likewise.
22888         * nis/nss_compat/compat-pwd.c: Likewise.
22889         * nis/nss_compat/compat-spwd.c: Likewise.
22890         * po/Makefile: Likewise.
22891         * posix/fnmatch.c: Likewise.
22892         * posix/regex.h: Likewise.
22893         * resolv/Makefile: Likewise.
22894         * resolv/nss_dns/dns-network.c: Likewise.
22895         * resolv/res_hconf.c: Likewise.
22896         * scripts/gen-sorted.awk: Likewise.
22897         * soft-fp/soft-fp.h: Likewise.
22898         * stdio-common/printf.h: Likewise.
22899         * stdlib/monetary.h: Likewise.
22900         * stdlib/random.c: Likewise.
22901         * stdlib/random_r.c: Likewise.
22902         * sysdeps/generic/Makefile: Likewise.
22903         * sysdeps/gnu/Makefile: Likewise.
22904         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22905         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22906         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22907         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22908         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22909         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22910         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22911         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22912         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22913         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22914         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22915         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22916         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22917         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22918         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22919         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22920         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22921         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22922         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22923         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22924         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22925         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22926         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22927         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22928         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22929         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22930         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22931         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22932         * sysdeps/mach/hurd/errnos.awk: Likewise.
22933         * sysdeps/mach/hurd/fork.c: Likewise.
22934         * sysdeps/mach/hurd/getcwd.c: Likewise.
22935         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22936         * sysdeps/mach/hurd/mmap.c: Likewise.
22937         * sysdeps/mach/hurd/utimes.c: Likewise.
22938         * sysdeps/mach/hurd/xmknod.c: Likewise.
22939         * sysdeps/posix/profil.c: Likewise.
22940         * sysdeps/posix/readdir_r.c: Likewise.
22941         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22942         * sysdeps/powerpc/bits/setjmp.h: Likewise.
22943         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22944         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22945         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22946         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22947         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22948         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22949         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22950         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22951         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22952         * sysdeps/pthread/lio_listio.c: Likewise.
22953         * sysdeps/sparc/dl-procinfo.h: Likewise.
22954         * sysdeps/unix/i386/sysdep.S: Likewise.
22955         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22956         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22957         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22958         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22960         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22961         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22962         * sysdeps/unix/sysv/linux/speed.c: Likewise.
22963         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22964         * sysdeps/wordsize-32/divdi3.c: Likewise.
22965         * time/sys/time.h: Likewise.
22966         * wcsmbs/Makefile: Likewise.
22968 2013-01-01  David S. Miller  <davem@davemloft.net>
22970         * po/fr.po: Update from translation team.
22972         * catgets/gencat.c: Update copyright year.
22973         * csu/version.c: Likewise.
22974         * debug/catchsegv.sh: Likewise.
22975         * debug/pcprofiledump.c: Likewise.
22976         * debug/xtrace.sh: Likewise.
22977         * elf/ldconfig.c: Likewise.
22978         * elf/ldd.bash.in: Likewise.
22979         * elf/pldd.c: Likewise.
22980         * elf/sotruss.ksh: Likewise.
22981         * elf/sprof.c: Likewise.
22982         * iconv/iconv_prog.c: Likewise.
22983         * iconv/iconvconfig.c: Likewise.
22984         * locale/programs/locale.c: Likewise.
22985         * locale/programs/localedef.c: Likewise.
22986         * login/programs/pt_chown.c: Likewise.
22987         * malloc/memusage.sh: Likewise.
22988         * malloc/memusagestat.c: Likewise.
22989         * malloc/mtrace.pl: Likewise.
22990         * nscd/nscd.c: Likewise.
22991         * nss/getent.c: Likewise.
22992         * nss/makedb.c: Likewise.
22993         * posix/getconf.c: Likewise.
22995 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22997         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22998         numbers.
23000 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
23002         * math/bits/mathcalls.h (modf): Use __nonnull.
23004 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23006         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23007         (split): Use macro CN instead of the bare value.
23008         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23009         could be used.
23010         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23011         instead of the bare value.
23012         (power1): Likewise.
23014 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23016         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23017         __ATAN_TWOM.
23018         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23020         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23021         their values.
23022         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23023         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23024         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23025         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23027 2012-12-28  Andreas Jaeger  <aj@suse.de>
23029         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
23030         values are from Linux 3.7.
23032         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23033         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
23035 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23037         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23038         TRUE case.
23040         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23041         (norm): Likewise.
23042         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23043         variables with preprocessor constants.
23044         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23045         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23046         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23048 2012-12-27  Bruno Haible  <bruno@clisp.org>
23050         [BZ #14317]
23051         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23052         only if needed.
23054 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23056         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23057         and use variable directly.
23058         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23060         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23061         MPONE.
23062         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23063         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23064         variable MPONE.
23065         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23066         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23067         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23068         include directive.  Remove local variable MPONE.
23069         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23070         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23071         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23073 2012-12-25  David S. Miller  <davem@davemloft.net>
23075         * version.h (RELEASE): Set to "development".
23076         (VERSION): Set to "2.17.90".
23077         * NEWS: Add 2.18 section.
23079 2012-12-21  David S. Miller  <davem@davemloft.net>
23081         * po/hr.po: Update from translation team.
23083 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23085         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23087 2012-12-19  Steve Ellcey  <sellcey@mips.com>
23089         * NEWS:  Mention new memcpy for MIPS.
23091 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23093         * manual/contrib.texi (Contributors): Spelling correction.
23095 2012-12-15  David S. Miller  <davem@davemloft.net>
23097         * po/ru.po: Update from translation team.
23099 2012-12-13  David S. Miller  <davem@davemloft.net>
23101         * NEWS: Mention IFUNC testsuite enhancements.
23103         * po/pl.po: Update from translation team.
23104         * po/bg.po: Likewise.
23106         * manual/contrib.texi (Contributors): Update entries for Hongjiu
23107         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
23109 2012-12-11  David S. Miller  <davem@davemloft.net>
23111         * po/sv.po: Update from translation team.
23113         * po/vi.po: Update from translation team.
23115         * po/cs.po: Update from translation team.
23117         * po/de.po: Update from translation team.
23118         * po/eo.po: Likewise.
23119         * po/nl.po: Likewise.
23121 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23123         [BZ #14246]
23124         * manual/argp.texi (Argp Helper Functions): Move node to follow
23125         Argp Parsing State.
23127         [BZ #14872]
23128         * manual/conf.texi (Limits on File System Capacity): Mention if
23129         terminating null is included in the max size.
23131 2012-12-10  Andreas Jaeger  <aj@suse.de>
23133         * po/cs.po: Update from translation team.
23135 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23137         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23138         void pointer and cast to uintptr_t.
23139         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23140         path.
23141         * sysdeps/s390/s390-64/memcpy.S: Likewise.
23142         * sysdeps/s390/s390-64/memset.S: Likewise.
23144 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
23146         [BZ #14833]
23147         * menual/message.texi (Message Translation): Fix typos.
23148         (Helper programs for gettext): Likewise.
23150 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
23152         [BZ #14898]
23153         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23154         Change to -1.
23156 2012-12-07  David S. Miller  <davem@davemloft.net>
23158         * po/libc.pot: Update.
23160 2012-12-07  Richard Henderson  <rth@redhat.com>
23162         [BZ #10114]
23163         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23164         normal/normal case to before the switch.
23165         (_FP_DIV): Likewise.
23167 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
23168             Mike Frysinger  <vapier@gentoo.org>
23170         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23171         check for __NR_fadvise64_64.
23173 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
23175         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23176         0, not just to plain "0" as a statement.
23177         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23178         with cw.
23180 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
23182         * NEWS: Use sourceware.org in Bugzilla URL.
23184 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23187         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23189         * stdio-common/tst-put-error.c (do_test): Add newline to the
23190         padded test to ensure flush.
23192 2012-12-05  Jeff Law  <law@redhat.com>
23194         * sunrpc/etc.rpc (fedfs_admin): Add entry.
23196 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
23198         * README: Don't refer to ports add-on as distributed separately.
23199         Mention AArch64 in list of systems supported in the ports add-on.
23201         * LICENSES: Add more non-FSF copyright and license notices.
23203         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23204         ((unused)).
23206         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23208         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23209         10000 as width of padded output.
23211 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23213         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23215         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23216         variable LX with __attribute__ ((unused)).
23217         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23218         Likewise.
23219         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23220         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23221         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23222         with __attribute__ ((unused)).
23224 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
23226         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23228 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23230         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23231         (CFLAGS-nldbl-acos.c): New variable.
23232         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23233         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23234         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23235         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23236         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23237         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23238         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23239         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23240         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23241         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23242         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23243         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23244         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23245         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23246         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23247         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23248         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23249         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23250         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23251         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23252         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23253         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23254         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23255         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23256         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23257         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23258         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23259         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23260         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23261         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23262         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23263         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23264         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23265         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23266         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23267         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23268         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23269         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23270         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23271         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23272         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23273         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23274         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23275         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23276         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23277         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23278         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23279         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23280         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23281         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23282         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23283         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23284         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23285         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23286         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23287         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23288         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23289         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23290         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23291         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23292         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23293         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23294         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23295         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23296         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23297         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23298         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23299         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23300         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23301         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23302         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23303         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23304         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23305         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23306         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23307         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23308         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23309         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23310         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23311         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23312         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23313         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23314         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23315         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23316         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23317         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23318         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23319         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23320         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23321         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23322         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23323         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23324         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23325         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23326         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23327         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23328         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23331         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23333         [BZ #14914]
23334         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23335         whole low double instead of just low 47 bits when splitting values
23336         into two parts.
23338 2012-12-03  Allan McRae  <allan@archlinux.org>
23340         * manual/stdio.texi (Predefined Printf Handlers): Remove
23341         @hsep and @vsep usage.
23343 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
23345         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23346         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23348 2012-12-03  Jeff Law  <law@redhat.com>
23350         * time/sys/time.h (settimeofday): Do not mark TV argument
23351         as __nonnull.
23353 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
23355         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23356         when currently writing and seek to current position when not.
23357         * libio/Makefile (tests): Remove bug-fclose1.
23358         * libio/bug-fclose1.c: Delete.
23360 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
23362         * manual/arith.texi (feenableexcept): Fix typo.
23363         (fedisableexcept): Likewise.
23365 2012-11-30  Roland McGrath  <roland@hack.frob.com>
23367         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23368         second, differently-typed declaration, rather than a cast.
23370 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23372         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23373         * include/rpc/svc.h: ... here.
23375 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
23377         [BZ #13013]
23378         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23379         depending n and resplen2 to catch cases where answer
23380         equals answerp2.
23382 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
23384         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23385         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23387 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
23389         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23391 2012-11-29  Roland McGrath  <roland@hack.frob.com>
23393         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23395 2012-11-28  Jeff Law  <law@redhat.com>
23397         [BZ #13761]
23398         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23399         dataset_temporary.  Track alloca usage into alloca_used.
23400         If dataset is large allocate and release it via malloc/free.
23402 2012-06-04  Florian Weimer  <fweimer@redhat.com>
23404         [BZ #14197]
23405         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23407 2012-11-28  David S. Miller  <davem@davemloft.net>
23409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23411 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23413         [BZ #14803]
23414         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23415         of pi/2 rounded to nearest to 64 bits.
23416         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23417         nearest to 64 bits.
23418         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23419         bits.
23421 2012-11-28  Jeff Law <law@redhat.com>
23422             Martin Osvald <mosvald@redhat.com>
23424         [BZ #14889]
23425         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23426         * sunrpc/svc.c: Include time.h.
23427         (__svc_accept_failed): New function.
23428         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23429         any reason other than EINTR, call __svc_accept_failed.
23430         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23431         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23433 2012-11-28  Andreas Schwab  <schwab@suse.de>
23435         * scripts/abilist.awk: Also handle indirect functions in .opd
23436         section.
23438 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23440         [BZ #13881]
23441         * sysdeps/x86/fpu/powl_helper.c: New file.
23442         * sysdeps/x86/fpu/Makefile: Likewise.
23443         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23444         (p3): New object.
23445         (__ieee754_powl): Use __powl_helper for finite arguments except
23446         integer exponents below 8.
23447         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23448         (p3): New object.
23449         (__ieee754_powl): Use __powl_helper for finite arguments except
23450         integer exponents below 8.
23451         * math/libm-test.inc (pow_test): Add more tests and enable some
23452         previously disabled tests.
23453         * sysdeps/i386/fpu/libm-test-ulps: Update.
23454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23456 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23457             Carlos O'Donell  <carlos_odonell@mentor.com>
23459         * nss/makedb.c (is_prime): Assert that input is odd and greater
23460         than 4.  Note that fact in a comment too.
23461         (next_prime): Add 4 to input.
23463 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23465         [BZ #11741]
23466         * libio/Makefile (tests): Add test case tst-fwrite-error.
23467         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23468         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23469         * libio/tst-fwrite-error.c: New test case.
23471 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
23473         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23474         before casting to void *.
23475         * include/libc-internal.h (__pointer_type): New macro.
23476         (__integer_if_pointer_type_sub): Likewise.
23477         (__integer_if_pointer_type): Likewise.
23478         (cast_to_integer): Likewise.
23479         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23480         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23481         before casting to atomic64_t.
23482         (atomic_exchange_acq): Likewise.
23483         (__arch_exchange_and_add_body): Likewise.
23484         (__arch_add_body): Likewise.
23485         (atomic_add_negative): Likewise.
23486         (atomic_add_zero): Likewise.
23488 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
23490         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23491         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23492         (add_fdes): Likewise.
23493         (linear_search_fdes): Likewise.
23494         (binary_search_unencoded_fdes): Likewise.
23496 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
23498         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23500 2012-11-24  Adam Conrad  <adconrad@0c3.net>
23502         * configure.in: Autodetect C++ header directories.
23503         * configure: Regenerated.
23505 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
23507         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23509 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
23511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23513 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
23515         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23516         LDBL_MANT_DIG == 106]: Disable some tests.
23517         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23518         Likewise.
23519         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23520         Likewise.
23522         [BZ #14871]
23523         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23524         input for small inputs.  Return +/- pi/2 for large inputs.
23525         * math/libm-test.inc (atan_test): Add more tests.
23527         * sysdeps/generic/unwind-dw2-fde-glibc.c
23528         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23529         __attribute__ ((unused)).
23531         [BZ #14645]
23532         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23533         x * y if x and y are nonzero and z is zero.
23535         [BZ #14811]
23536         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23537         nonzero exponents with absolute value below 0x1p-117 to +/-
23538         0x1p-117.
23540         [BZ #14869]
23541         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23542         up arguments below 2**-450, not just those below 2**-500.
23543         * math/libm-test.inc (hypot_test): Add another test.
23545         [BZ #14868]
23546         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23547         Return a+b for ratio over 2**120, not 2**60.
23548         * math/libm-test.inc (hypot_test): Add another test.
23550         * math/libm-test.inc (clog_test): Use
23551         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23552         (clog10_test): Likewise.
23554         [BZ #6778]
23555         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23557 2012-11-22  Andreas Schwab  <schwab@suse.de>
23559         * sysdeps/i386/fpu/libm-test-ulps: Update.
23561 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
23563         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23564         printf output with newline.
23566 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
23568         [BZ #14865]
23569         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23570         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23571         -z nodlopen, -z initfirst and -z execstack support.
23572         * configure: Regenerated.
23574         * elf/elf.h (DF_1_NODIRECT): New macro.
23575         (DF_1_IGNMULDEF): Likewise.
23576         (DF_1_NOKSYMS): Likewise.
23577         (DF_1_NOHDR): Likewise.
23578         (DF_1_EDITED): Likewise.
23579         (DF_1_NORELOC): Likewise.
23580         (DF_1_SYMINTPOSE): Likewise.
23581         (DF_1_GLOBAUDIT): Likewise.
23582         (DF_1_SINGLETON): Likewise.
23583         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23584         DT_1_SUPPORTED_MASK bits.
23585         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23587 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
23589         * sysdeps/unix/make-syscalls.sh: Document prefixes.
23591 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
23593         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23594         macro.
23596         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23597         (sendmmsg): Move declarations...
23598         * socket/sys/socket.h: ... here.
23599         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23600         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23601         include it from...
23602         * socket/recvmmsg.c: ... this new file.
23603         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23604         (sendmmsg): Rename to __sendmmsg, create weak alias and make
23605         definition of __sendmmsg hidden.
23606         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23607         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23608         Move ENOSYS stub into and include it from...
23609         * socket/sendmmsg.c: ... this new file.
23610         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23611         (sysdep_routines): Move recvmmsg and sendmmsg...
23612         * socket/Makefile (routines): ... here.
23613         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23614         (GLIBC_PRIVATE): Add __sendmmsg.
23615         * include/sys/socket.h (__sendmmsg): Add declarations.
23616         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23617         sendmmsg.
23619 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
23621         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23622         variable I1 with __attribute__ ((unused)).
23623         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23625 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23627         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23628         DUMMY variables with __attribute__ ((unused)).
23630         * bits/byteswap.h: Include <bits/types.h>.
23631         (__bswap_64): Use __uint64_t instead of unsigned long long int.
23633 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23635         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23636         string_t.  Do not manually set errno.
23637         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23638         length with __strnlen.  Make sure to both set errno and return it on
23639         failure.
23641 2012-11-19  David S. Miller  <davem@davemloft.net>
23643         With help from Joseph Myers.
23644         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23645         very large arguments properly.
23646         * math/libm-test.inc (atan_test): New tests.
23647         (atan2_test): New tests.
23648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23649         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23651 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23653         [BZ #14856]
23654         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23655         Define to 3.
23657         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23658         [POSIX] (EADDRNOTAVAIL): Likewise.
23659         [POSIX] (EAFNOSUPPORT): Likewise.
23660         [POSIX] (EALREADY): Likewise.
23661         [POSIX] (ECONNABORTED): Likewise.
23662         [POSIX] (ECONNREFUSED): Likewise.
23663         [POSIX] (ECONNRESET): Likewise.
23664         [POSIX] (EDESTADDRREQ): Likewise.
23665         [POSIX] (EDQUOT): Likewise.
23666         [POSIX] (EHOSTUNREACH): Likewise.
23667         [POSIX] (EIDRM): Likewise.
23668         [POSIX] (EISCONN): Likewise.
23669         [POSIX] (ELOOP): Likewise.
23670         [POSIX] (EMULTIHOP): Likewise.
23671         [POSIX] (ENETDOWN): Likewise.
23672         [POSIX] (ENETUNREACH): Likewise.
23673         [POSIX] (ENOBUFS): Likewise.
23674         [POSIX] (ENODATA): Likewise.
23675         [POSIX] (ENOLINK): Likewise.
23676         [POSIX] (ENOMSG): Likewise.
23677         [POSIX] (ENOPROTOOPT): Likewise.
23678         [POSIX] (ENOSR): Likewise.
23679         [POSIX] (ENOSTR): Likewise.
23680         [POSIX] (ENOTCONN): Likewise.
23681         [POSIX] (ENOTSOCK): Likewise.
23682         [POSIX] (EOPNOTSUPP): Likewise.
23683         [POSIX] (EOVERFLOW): Likewise.
23684         [POSIX] (EPROTO): Likewise.
23685         [POSIX] (EPROTONOSUPPORT): Likewise.
23686         [POSIX] (EPROTOTYPE): Likewise.
23687         [POSIX] (ESTALE): Likewise.
23688         [POSIX] (ETIME): Likewise.
23689         [POSIX] (ETXTBSY): Likewise.
23690         [POSIX] (EWOULDBLOCK): Likewise.
23691         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23692         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23693         [POSIX] (SEEK_CUR): Likewise.
23694         [POSIX] (SEEK_END): Likewise.
23695         [POSIX || UNIX98] (mode_t): Do not require.
23696         [POSIX] (off_t): Likewise.
23697         [POSIX] (pid_t): Likewise.
23698         [POSIX] (sys/stat.h): Do not allow header.
23699         [POSIX] (unistd.h): Likewise.
23700         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23701         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23702         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23703         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23704         require.
23705         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23706         sigevent): Specify elements.
23707         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23708         entry.
23709         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23710         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23712         * conform/data/cpio.h-data [POSIX]: Disable whole file.
23713         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23714         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23715         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23716         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23717         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23718         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23719         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23720         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23721         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23722         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23723         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23724         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23725         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23726         Likewise.
23727         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23728         Likewise.
23729         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23730         Likewise.
23731         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23732         Likewise.
23733         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23734         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23735         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23736         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23737         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23738         Specify lower bound on value.
23739         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23740         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23741         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23742         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23743         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23744         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23745         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23746         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23747         value.
23748         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23749         as optional.
23750         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23751         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23752         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23753         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23754         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23755         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23756         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23757         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23758         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23759         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23760         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23761         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23762         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23763         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23764         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23765         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23766         entry.
23767         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23768         optional.
23769         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23770         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23771         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23772         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23773         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23774         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23775         Likewise.
23776         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23777         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23778         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23779         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23780         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
23781         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23782         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23783         as optional.
23784         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23785         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23786         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23787         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23788         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23789         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23790         specify as optional.
23791         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23792         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23793         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23794         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23795         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23796         [XPG3] (NL_LANGMAX): Likewise.
23797         [POSIX || XPG3] (NL_MSGMAX): Likewise.
23798         [POSIX || XPG3] (NL_NMAX): Likewise.
23799         [POSIX || XPG3] (NL_SETMAX): Likewise.
23800         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23801         [XPG3] (NZERO): Likewise.
23802         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23803         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23804         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23805         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23806         (REG_ERANGE): Expect.
23807         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23808         optional-constant.
23809         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23810         Use (void) in prototype.
23811         [POSIX] (*_t): Allow.
23812         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23813         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23814         (WRDE_BADVAL): Expect.
23816         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23817         expect.
23818         [XPG3 || XPG4] (O_RSYNC): Likewise.
23819         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23820         Likewise.
23821         [XPG3 || XPG4] (pthread_sigmask): Likewise.
23822         [XPG3 || XPG4] (sigqueue): Likewise.
23823         [XPG3 || XPG4] (sigtimedwait): Likewise.
23824         [XPG3 || XPG4] (sigwaitinfo): Likewise.
23825         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23826         [XPG3 || XPG4] (vsnprintf): Likewise.
23827         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23828         Likewise.
23829         [XPG3 || XPG4] (blksize_t): Likewise.
23830         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23831         Likewise.
23832         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23833         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23834         [XPG3 || XPG4] (struct itimerspec): Likewise.
23835         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23836         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23837         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23838         [XPG3 || XPG4] (clockid_t): Likewise.
23839         [XPG3 || XPG4] (timer_t): Likewise.
23840         [XPG3 || XPG4] (clock_getres): Likewise.
23841         [XPG3 || XPG4] (clock_gettime): Likewise.
23842         [XPG3 || XPG4] (clock_settime): Likewise.
23843         [XPG3 || XPG4] (nanosleep): Likewise.
23844         [XPG3 || XPG4] (timer_create): Likewise.
23845         [XPG3 || XPG4] (timer_delete): Likewise.
23846         [XPG3 || XPG4] (timer_gettime): Likewise.
23847         [XPG3 || XPG4] (timer_getoverrun): Likewise.
23848         [XPG3 || XPG4] (timer_settime): Likewise.
23849         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23850         [XPG3 || XPG4] (getlogin_r): Likewise.
23851         [XPG3 || XPG4] (pread): Likewise.
23852         [XPG3 || XPG4] (pthread_atfork): Likewise.
23853         [XPG3 || XPG4] (pwrite): Likewise.
23855         [BZ #14835]
23856         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23857         <bits/siginfo.h>.
23859 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23861         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23862         finalizing MALLSTREAM.
23864         * sysdeps/mach/hurd/syncfs.c: New file.
23866 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23868         [BZ #14719]
23869         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23870         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23871         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23872         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23873         (_nss_dns_gethostbyname4_r): Likewise.
23874         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23875         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23877 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
23879         [BZ #13763]
23880         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23882 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
23884         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23885         * elf/cache.c (print_entry): Print ",AArch64" for
23886         FLAG_AARCH64_LIB64
23888         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23889         * elf/cache.c (print_entry): Print ",hard-float" for
23890         FLAG_ARM_LIBHF.
23892 2012-11-18  David S. Miller  <davem@davemloft.net>
23894         With help from Joseph Myers.
23895         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23896         cutoff to 2**-13.
23897         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23898         cutoff to 2**-25.
23899         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23900         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23901         small.
23902         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23903         * math/libm-test.inc (y0_test): New tests.
23904         (y1_test): New tests.
23905         * sysdeps/i386/fpu/libm-test-ulps: Update.
23906         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23909 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
23911         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23912         64-bit targets.
23913         * configure: Regenerated.
23915 2012-11-17  David S. Miller  <davem@davemloft.net>
23917         [BZ #14811]
23918         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23919         nonzero exponents with absolute value below 0x1p-128 to +/-
23920         0x1p-128.
23922 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
23924         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23926         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23928         * posix/getconf-speclist.c: New file.
23929         * posix/posix-envs.def: Likewise.
23930         * posix/confstr.c (START_ENV_GROUP): New macro.
23931         (END_ENV_GROUP): Likewise.
23932         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23933         (KNOWN_PRESENT_ENV_STRING): Likewise.
23934         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23935         (UNKNOWN_ENVIRONMENT): Likewise.
23936         (confstr): Include posix-envs.def instead of handling
23937         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23938         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23939         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23940         (END_ENV_GROUP): Likewise.
23941         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23942         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23943         (UNKNOWN_ENVIRONMENT): Likewise.
23944         (__sysconf): Include posix-envs.def instead of handling associated
23945         cases directly here.
23946         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23947         preprocessing getconf-speclist.c rather than running getconf or
23948         generating empty file.
23950 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
23952         * scripts/check-local-headers.sh: Ignore 'mach' headers.
23954 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
23956         [BZ #14672]
23957         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23959 2012-11-16  David S. Miller  <davem@davemloft.net>
23961         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23962         smaller than LDBL_EPSILON/2.0L, just return xm1.
23964 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
23966         * elf/tst-array1.c (init): Set constructor priority to 1000.
23967         (fini): Set destructor priority to 1000.
23968         * elf/tst-array2dep.c: Likewise.
23970 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23972         [BZ #11741]
23973         * libio/fileops.c (_IO_new_file_write): Correctly return error.
23974         (_IO_new_file_xsputn): Also return EOF if none of the input
23975         data was written when overflow failed.
23976         * libio/iopadn.c (_IO_padn): Likewise.
23977         * libio/iowpadn.c (_IO_wpadn): Likewise.
23978         * stdio-common/tst-put-error.c: Add copyright notice.
23979         (do_test): Add case for printing padded string.
23980         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23981         _IO_padn returned error.
23982         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23983         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23984         return EOF.
23986 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23988         * libio/libioP.h: Add comment note that the references to C++
23989         bits are now obsolete.
23991 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23993         * math/libm-test.inc (check_complex): Use asprintf.
23995 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
23997         * debug/pcprofiledump.c (print_version): Update copyright year.
23998         * malloc/memusagestat.c (print_version): Likewise.
24000 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
24002         [BZ #14831]
24003         * elf/Makefile (tests): Add tst-audit8.
24004         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24005         ($(objpfx)tst-audit8.out): New target.
24006         (tst-audit8-ENV): New variable.
24007         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24008         audit if l_reloc_result is NULL.
24009         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24010         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24011         * elf/tst-audit8.c: New file.
24013 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24015         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24016         * misc/Makefile (CFLAGS-select.c): Define.
24017         * posix/Makefile (CFLAGS-pause.c): Define.
24019 2012-11-13  David S. Miller  <davem@davemloft.net>
24021         * crypt/Makefile: Move test targets after toplevel Rules
24022         inclusion.  Grab any necessary sysdep routines when linking.
24023         * crypt/md5.c (md5_process_block): Remove define, we will always
24024         name it __md5_process_block.
24025         (md5_finish_ctx): Update md5_process_block call.
24026         (md5_stream): Likewise.
24027         (md5_process_bytes): Likewise.
24028         (md5_process_block): Rename to __md5_process_block and move to ...
24029         * crypt/md5-block.c: ... here.
24030         * crypt/sha256.c (sha256_process_block): Move to ...
24031         * crypt/sha256-block.c: ... here.
24032         * crypt/sha512.c (sha512_process_block): Move to ...
24033         * crypt/sha512-block.c: ... here.
24034         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24035         path.
24036         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24037         * sysdeps/sparc/sparc64/multiarch/Makefile
24038         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24039         crypt subdir.
24040         (localedef-aux): Add md5 crypto assembler when in locale subdir.
24041         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24042         multiarch changes.
24043         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24044         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24045         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24046         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24047         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24048         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24049         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24050         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24051         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24052         file.
24053         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24054         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24055         file.
24056         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24058 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
24060         * timezone/tzselect.ksh: Update from tzcode git revision
24061         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24062         * timezone/zdump.c: Likewise.
24063         * timezone/zic.c: Likewise.
24064         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24065         in TZVERSION setting, not $(PKGVERSION).
24066         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
24067         REPORT_BUGS_TO settings.
24069         [BZ #14838]
24070         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24071         macro.
24073 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24075         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24076         detection to immediately after _FP_ROUND().
24077         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24078         bits are 0.
24080 2012-11-11  David S. Miller  <davem@davemloft.net>
24082         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24083         inttypes.h
24084         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24085         __close rather than their public counterparts.
24087 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
24089         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24090         file.
24091         [UNIX98] (sem_timedwait): Do not expect.
24092         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24093         [XPG4 || UNIX98] (sockatmark): Do not expect.
24094         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24095         (clock_getcpuclockid): Do not expect.
24096         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24097         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24098         Do not expect.
24099         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24100         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24101         [UNIX98] (vwscanf): Likewise.
24102         [UNIX98] (vswscanf): Likewise.
24104 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
24106         * timezone/version.h: Remove file.
24107         * timezone/README: Do not refer to version.h.
24108         * timezone/Makefile ($(objpfx)zic.o): New dependency on
24109         $(objpfx)version.h.
24110         ($(objpfx)zdump.o): Likewise.
24111         ($(objpfx)version.h): New target.
24113         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24114         2012i.
24115         * timezone/README: Don't mention modification to tzselect.ksh.
24116         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24117         work on unmodified tzselect.ksh.  Substitute version numbers in
24118         tzselect.ksh.
24120         * Makefile (format-me): Remove.
24121         (INSTALL): Adjust indentation.  Use commands directly instead of
24122         using $(format-me).
24124         * aclocal.m4 (ACX_PKGVERSION): New macro.
24125         (ACX_BUGURL): Likewise.
24126         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24127         (PKGVERSION): New AC_DEFINE_UNQUOTED.
24128         (REPORT_BUGS_TO): Likewise.
24129         * configure: Regenerated.
24130         * config.h.in (PKGVERSION): New macro.
24131         (REPORT_BUGS_TO): Likewise.
24132         * config.make.in (PKGVERSION): New variable.
24133         (PKGVERSION_TEXI): Likewise.
24134         (REPORT_BUGS_TO): Likewise.
24135         (REPORT_BUGS_TEXI): Likewise.
24136         * Makefile (format-me): Use -I$(common-objpfx)manual.
24137         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24138         ($(common-objpfx)manual/%): New target.
24139         (manual/%): Remove target.
24140         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24141         (print_version): Use PKGVERSION.
24142         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24143         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24144         and REPORT_BUGS_TO.
24145         ($(objpfx)xtrace): Likewise.
24146         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24147         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24148         (print_version): Use PKGVERSION.
24149         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24150         (do_version): Use PKGVERSION.
24151         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24152         REPORT_BUGS_TO.
24153         (common-ldd-rewrite): Likewise.
24154         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24155         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24156         (print_version): Use PKGVERSION.
24157         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24158         * elf/pldd.c (argp_program_bug_address): Remove variable.
24159         (more_help): New function.
24160         (argp): Use more_help.
24161         (print_version): Use PKGVERSION.
24162         * elf/sln.c (main): Use PKGVERSION.
24163         (usage): Use REPORT_BUGS_TO.
24164         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24165         (top level): Use PKGVERSION.
24166         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24167         (print_version): Use PKGVERSION.
24168         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24169         (print_version): Use PKGVERSION.
24170         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24171         (print_version): Use PKGVERSION.
24172         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24173         (print_version): Use PKGVERSION.
24174         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24175         (print_version): Use PKGVERSION.
24176         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24177         (print_version): Use PKGVERSION.
24178         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24179         and BUGURL.
24180         ($(objpfx)memusage): Likewise.
24181         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24182         (do_version): Use PKGVERSION.
24183         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24184         (print_version): Use PKGVERSION.
24185         * malloc/mtrace.pl ($PACKAGE): Remove variable.
24186         ($PKGVERSION): New variable.
24187         ($REPORT_BUGS_TO): Likewise.
24188         (usage): Use $REPORT_BUGS_TO.
24189         (top level): Use $PKGVERSION.
24190         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24191         ($(objpfx)pkgvers.texi): New rule.
24192         ($(objpfx)stamp-pkgvers): Likewise.
24193         * manual/install.texi: Include pkgvers.texi.
24194         (--with-pkgversion): Document new configure option.
24195         (--with-bugurl): Likewise.
24196         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24197         than necessarily for this particular distribution.  Use
24198         REPORT_BUGS_TO for where to report bugs.
24199         * INSTALL: Regenerated.
24200         * manual/libc.texinfo: Include pkgvers.texi.
24201         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24202         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24203         (print_version): Use PKGVERSION.
24204         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24205         (print_version): Use PKGVERSION.
24206         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24207         (print_version): Use PKGVERSION.
24208         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24209         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24210         macro.
24211         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24212         (print_version): Use PKGVERSION.
24213         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24214         (print_version): Use PKGVERSION.
24215         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24216         and PKGVERSION.
24218         * timezone/checktab.awk: Update from tzcode 2012i.
24219         * timezone/ialloc.c: Likewise.
24220         * timezone/private.h: Likewise.
24221         * timezone/scheck.c: Likewise.
24222         * timezone/tzfile.h: Likewise.
24223         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24224         (TZVERSION): Hardcode tzcode version number.
24225         * timezone/zdump.c: Update from tzcode 2012i.
24226         * timezone/zic.c: Likewise.
24227         * timezone/version.h: New file.
24228         * timezone/README: Describe version.h.  Update upstream location.
24230         [BZ #14824]
24231         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24232         (mktemp): Enable declaration.
24233         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24234         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24235         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24236         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24237         Likewise.
24238         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24239         Likewise.
24240         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24241         Likewise.
24242         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24243         Likewise.
24244         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24245         Likewise.
24246         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24247         Likewise.
24249         [BZ #14821]
24250         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24251         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
24252         for copies of such integer values.
24253         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24254         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24256 2012-11-09  Andreas Jaeger  <aj@suse.de>
24258         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24259         definitions and declarations that are provided by
24260         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24262 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24264         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24265         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24266         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24267         definition.
24269 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24271         * elf/elf.h: Update comment before AArch64 relocations.
24273 2012-11-07  David S. Miller  <davem@davemloft.net>
24275         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24276         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24277         (__start_context): Declare.
24278         (__makecontext_ret): Delete.
24279         (__makecontext): Hook up __start_context instead of
24280         __makecontext_ret.
24281         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24282         (sysdep_routines): Add __start_context when in stdlib.
24284 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24286         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24287         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24288         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
24289         hardcoded "nm".
24290         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
24291         (READELF): New variable.  Use it instead of hardcoded "readelf".
24293 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24295         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24296         * sysdeps/x86/Makefile: Here.
24297         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24298         * sysdeps/x86/tst-xmmymm.sh: This.
24300 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24302         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24303         expectations.
24304         [UNIX98] (pthread_barrier_t): Do not expect.
24305         [UNIX98] (pthread_barrierattr_t): Likewise.
24306         [UNIX98] (pthread_spinlock_t): Likewise.
24307         [UNIX98] (pthread_barrier_destroy): Likewise.
24308         [UNIX98] (pthread_barrier_init): Likewise.
24309         [UNIX98] (pthread_barrier_wait): Likewise.
24310         [UNIX98] (pthread_barrierattr_destroy): Likewise.
24311         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24312         [UNIX98] (pthread_barrierattr_init): Likewise.
24313         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24314         [UNIX98] (pthread_getcpuclockid): Likewise.
24315         [UNIX98] (pthread_mutex_timedlock): Likewise.
24316         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24317         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24318         [UNIX98] (pthread_sigmask): Likewise.
24319         [UNIX98] (pthread_spin_destroy): Likewise.
24320         [UNIX98] (pthread_spin_init): Likewise.
24321         [UNIX98] (pthread_spin_lock): Likewise.
24322         [UNIX98] (pthread_spin_trylock): Likewise.
24323         [UNIX98] (pthread_spin_unlock): Likewise.
24324         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24325         Do not expect.
24326         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24327         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24328         [XPG3 || XPG4] (pthread_cond_t): Likewise.
24329         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24330         [XPG3 || XPG4] (pthread_key_t): Likewise.
24331         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24332         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24333         [XPG3 || XPG4] (pthread_once_t): Likewise.
24334         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24335         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24336         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24337         [XPG3 || XPG4] (pthread_t): Likewise.
24339         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24340         not expect.
24341         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24343         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24344         Change function return type to int.
24346         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24347         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24348         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24349         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24350         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24351         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24352         [!POSIX] (posix_madvise): Likewise.
24353         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24354         && !UNIX98].
24355         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24356         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24357         (mode_t): Likewise.
24358         (posix_mem_offset): Likewise.
24359         (posix_typed_mem_get_info): Likewise.
24360         (posix_typed_mem_open): Likewise.
24362         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24363         Change condition to [XOPEN2K8].
24365         * conform/conformtest.pl: Preprocess allow-header data with -x c
24366         instead of from stdin.
24367         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24368         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24369         [C99-based standards] (cerfc): Likewise.
24370         [C99-based standards] (cexp2): Likewise.
24371         [C99-based standards] (cexpm1): Likewise.
24372         [C99-based standards] (clog10): Likewise.
24373         [C99-based standards] (clog1p): Likewise.
24374         [C99-based standards] (clog2): Likewise.
24375         [C99-based standards] (clgamma): Likewise.
24376         [C99-based standards] (ctgamma): Likewise.
24377         [C99-based standards] (cerff): Likewise.
24378         [C99-based standards] (cerfcf): Likewise.
24379         [C99-based standards] (cexp2f): Likewise.
24380         [C99-based standards] (cexpm1f): Likewise.
24381         [C99-based standards] (clog10f): Likewise.
24382         [C99-based standards] (clog1pf): Likewise.
24383         [C99-based standards] (clog2f): Likewise.
24384         [C99-based standards] (clgammaf): Likewise.
24385         [C99-based standards] (ctgammaf): Likewise.
24386         [C99-based standards] (cerfl): Likewise.
24387         [C99-based standards] (cerfcl): Likewise.
24388         [C99-based standards] (cexp2l): Likewise.
24389         [C99-based standards] (cexpm1l): Likewise.
24390         [C99-based standards] (clog10l): Likewise.
24391         [C99-based standards] (clog1pl): Likewise.
24392         [C99-based standards] (clog2l): Likewise.
24393         [C99-based standards] (clgammal): Likewise.
24394         [C99-based standards] (ctgammal): Likewise.
24395         * conform/data/inttypes.h-data [C99-based standards]: Include
24396         stdint.h-data.  Remove all expectations for stdint.h contents.
24397         [C99-based standards] (PRI*): Do not allow.
24398         [C99-based standards] (SCN*): Likewise.
24399         [C99-based standards] (*_t): Likewise.
24400         [C99-based-standards] (PRId8): Expect macro.
24401         [C99-based-standards] (PRIi8): Likewise.
24402         [C99-based-standards] (PRIo8): Likewise.
24403         [C99-based-standards] (PRIu8): Likewise.
24404         [C99-based-standards] (PRIx8): Likewise.
24405         [C99-based-standards] (PRIX8): Likewise.
24406         [C99-based-standards] (SCNd8): Likewise.
24407         [C99-based-standards] (SCNi8): Likewise.
24408         [C99-based-standards] (SCNo8): Likewise.
24409         [C99-based-standards] (SCNu8): Likewise.
24410         [C99-based-standards] (SCNx8): Likewise.
24411         [C99-based-standards] (PRIdLEAST8): Likewise.
24412         [C99-based-standards] (PRIiLEAST8): Likewise.
24413         [C99-based-standards] (PRIoLEAST8): Likewise.
24414         [C99-based-standards] (PRIuLEAST8): Likewise.
24415         [C99-based-standards] (PRIxLEAST8): Likewise.
24416         [C99-based-standards] (PRIXLEAST8): Likewise.
24417         [C99-based-standards] (SCNdLEAST8): Likewise.
24418         [C99-based-standards] (SCNiLEAST8): Likewise.
24419         [C99-based-standards] (SCNoLEAST8): Likewise.
24420         [C99-based-standards] (SCNuLEAST8): Likewise.
24421         [C99-based-standards] (SCNxLEAST8): Likewise.
24422         [C99-based-standards] (PRIdFAST8): Likewise.
24423         [C99-based-standards] (PRIiFAST8): Likewise.
24424         [C99-based-standards] (PRIoFAST8): Likewise.
24425         [C99-based-standards] (PRIuFAST8): Likewise.
24426         [C99-based-standards] (PRIxFAST8): Likewise.
24427         [C99-based-standards] (PRIXFAST8): Likewise.
24428         [C99-based-standards] (SCNdFAST8): Likewise.
24429         [C99-based-standards] (SCNiFAST8): Likewise.
24430         [C99-based-standards] (SCNoFAST8): Likewise.
24431         [C99-based-standards] (SCNuFAST8): Likewise.
24432         [C99-based-standards] (SCNxFAST8): Likewise.
24433         [C99-based-standards] (PRId16): Likewise.
24434         [C99-based-standards] (PRIi16): Likewise.
24435         [C99-based-standards] (PRIo16): Likewise.
24436         [C99-based-standards] (PRIu16): Likewise.
24437         [C99-based-standards] (PRIx16): Likewise.
24438         [C99-based-standards] (PRIX16): Likewise.
24439         [C99-based-standards] (SCNd16): Likewise.
24440         [C99-based-standards] (SCNi16): Likewise.
24441         [C99-based-standards] (SCNo16): Likewise.
24442         [C99-based-standards] (SCNu16): Likewise.
24443         [C99-based-standards] (SCNx16): Likewise.
24444         [C99-based-standards] (PRIdLEAST16): Likewise.
24445         [C99-based-standards] (PRIiLEAST16): Likewise.
24446         [C99-based-standards] (PRIoLEAST16): Likewise.
24447         [C99-based-standards] (PRIuLEAST16): Likewise.
24448         [C99-based-standards] (PRIxLEAST16): Likewise.
24449         [C99-based-standards] (PRIXLEAST16): Likewise.
24450         [C99-based-standards] (SCNdLEAST16): Likewise.
24451         [C99-based-standards] (SCNiLEAST16): Likewise.
24452         [C99-based-standards] (SCNoLEAST16): Likewise.
24453         [C99-based-standards] (SCNuLEAST16): Likewise.
24454         [C99-based-standards] (SCNxLEAST16): Likewise.
24455         [C99-based-standards] (PRIdFAST16): Likewise.
24456         [C99-based-standards] (PRIiFAST16): Likewise.
24457         [C99-based-standards] (PRIoFAST16): Likewise.
24458         [C99-based-standards] (PRIuFAST16): Likewise.
24459         [C99-based-standards] (PRIxFAST16): Likewise.
24460         [C99-based-standards] (PRIXFAST16): Likewise.
24461         [C99-based-standards] (SCNdFAST16): Likewise.
24462         [C99-based-standards] (SCNiFAST16): Likewise.
24463         [C99-based-standards] (SCNoFAST16): Likewise.
24464         [C99-based-standards] (SCNuFAST16): Likewise.
24465         [C99-based-standards] (SCNxFAST16): Likewise.
24466         [C99-based-standards] (PRId32): Likewise.
24467         [C99-based-standards] (PRIi32): Likewise.
24468         [C99-based-standards] (PRIo32): Likewise.
24469         [C99-based-standards] (PRIu32): Likewise.
24470         [C99-based-standards] (PRIx32): Likewise.
24471         [C99-based-standards] (PRIX32): Likewise.
24472         [C99-based-standards] (SCNd32): Likewise.
24473         [C99-based-standards] (SCNi32): Likewise.
24474         [C99-based-standards] (SCNo32): Likewise.
24475         [C99-based-standards] (SCNu32): Likewise.
24476         [C99-based-standards] (SCNx32): Likewise.
24477         [C99-based-standards] (PRIdLEAST32): Likewise.
24478         [C99-based-standards] (PRIiLEAST32): Likewise.
24479         [C99-based-standards] (PRIoLEAST32): Likewise.
24480         [C99-based-standards] (PRIuLEAST32): Likewise.
24481         [C99-based-standards] (PRIxLEAST32): Likewise.
24482         [C99-based-standards] (PRIXLEAST32): Likewise.
24483         [C99-based-standards] (SCNdLEAST32): Likewise.
24484         [C99-based-standards] (SCNiLEAST32): Likewise.
24485         [C99-based-standards] (SCNoLEAST32): Likewise.
24486         [C99-based-standards] (SCNuLEAST32): Likewise.
24487         [C99-based-standards] (SCNxLEAST32): Likewise.
24488         [C99-based-standards] (PRIdFAST32): Likewise.
24489         [C99-based-standards] (PRIiFAST32): Likewise.
24490         [C99-based-standards] (PRIoFAST32): Likewise.
24491         [C99-based-standards] (PRIuFAST32): Likewise.
24492         [C99-based-standards] (PRIxFAST32): Likewise.
24493         [C99-based-standards] (PRIXFAST32): Likewise.
24494         [C99-based-standards] (SCNdFAST32): Likewise.
24495         [C99-based-standards] (SCNiFAST32): Likewise.
24496         [C99-based-standards] (SCNoFAST32): Likewise.
24497         [C99-based-standards] (SCNuFAST32): Likewise.
24498         [C99-based-standards] (SCNxFAST32): Likewise.
24499         [C99-based-standards] (PRId64): Likewise.
24500         [C99-based-standards] (PRIi64): Likewise.
24501         [C99-based-standards] (PRIo64): Likewise.
24502         [C99-based-standards] (PRIu64): Likewise.
24503         [C99-based-standards] (PRIx64): Likewise.
24504         [C99-based-standards] (PRIX64): Likewise.
24505         [C99-based-standards] (SCNd64): Likewise.
24506         [C99-based-standards] (SCNi64): Likewise.
24507         [C99-based-standards] (SCNo64): Likewise.
24508         [C99-based-standards] (SCNu64): Likewise.
24509         [C99-based-standards] (SCNx64): Likewise.
24510         [C99-based-standards] (PRIdLEAST64): Likewise.
24511         [C99-based-standards] (PRIiLEAST64): Likewise.
24512         [C99-based-standards] (PRIoLEAST64): Likewise.
24513         [C99-based-standards] (PRIuLEAST64): Likewise.
24514         [C99-based-standards] (PRIxLEAST64): Likewise.
24515         [C99-based-standards] (PRIXLEAST64): Likewise.
24516         [C99-based-standards] (SCNdLEAST64): Likewise.
24517         [C99-based-standards] (SCNiLEAST64): Likewise.
24518         [C99-based-standards] (SCNoLEAST64): Likewise.
24519         [C99-based-standards] (SCNuLEAST64): Likewise.
24520         [C99-based-standards] (SCNxLEAST64): Likewise.
24521         [C99-based-standards] (PRIdFAST64): Likewise.
24522         [C99-based-standards] (PRIiFAST64): Likewise.
24523         [C99-based-standards] (PRIoFAST64): Likewise.
24524         [C99-based-standards] (PRIuFAST64): Likewise.
24525         [C99-based-standards] (PRIxFAST64): Likewise.
24526         [C99-based-standards] (PRIXFAST64): Likewise.
24527         [C99-based-standards] (SCNdFAST64): Likewise.
24528         [C99-based-standards] (SCNiFAST64): Likewise.
24529         [C99-based-standards] (SCNoFAST64): Likewise.
24530         [C99-based-standards] (SCNuFAST64): Likewise.
24531         [C99-based-standards] (SCNxFAST64): Likewise.
24532         [C99-based-standards] (PRIdMAX): Likewise.
24533         [C99-based-standards] (PRIiMAX): Likewise.
24534         [C99-based-standards] (PRIoMAX): Likewise.
24535         [C99-based-standards] (PRIuMAX): Likewise.
24536         [C99-based-standards] (PRIxMAX): Likewise.
24537         [C99-based-standards] (PRIXMAX): Likewise.
24538         [C99-based-standards] (SCNdMAX): Likewise.
24539         [C99-based-standards] (SCNiMAX): Likewise.
24540         [C99-based-standards] (SCNoMAX): Likewise.
24541         [C99-based-standards] (SCNuMAX): Likewise.
24542         [C99-based-standards] (SCNxMAX): Likewise.
24543         [C99-based-standards] (PRIdPTR): Likewise.
24544         [C99-based-standards] (PRIiPTR): Likewise.
24545         [C99-based-standards] (PRIoPTR): Likewise.
24546         [C99-based-standards] (PRIuPTR): Likewise.
24547         [C99-based-standards] (PRIxPTR): Likewise.
24548         [C99-based-standards] (PRIXPTR): Likewise.
24549         [C99-based-standards] (SCNdPTR): Likewise.
24550         [C99-based-standards] (SCNiPTR): Likewise.
24551         [C99-based-standards] (SCNoPTR): Likewise.
24552         [C99-based-standards] (SCNuPTR): Likewise.
24553         [C99-based-standards] (SCNxPTR): Likewise.
24554         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24555         allow.
24556         * conform/data/stdint.h-data: Update comments to clarify
24557         requirements.
24558         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
24559         type.
24560         [C99-based standards] (INT8_MAX): Likewise.
24561         [C99-based standards] (INT16_MIN): Likewise.
24562         [C99-based standards] (INT16_MAX): Likewise.
24563         [C99-based standards] (INT32_MIN): Likewise.
24564         [C99-based standards] (INT32_MAX): Likewise.
24565         [C99-based standards] (INT64_MIN): Likewise.
24566         [C99-based standards] (INT64_MAX): Likewise.
24567         [C99-based standards] (UINT8_MAX): Likewise.
24568         [C99-based standards] (UINT16_MAX): Likewise.
24569         [C99-based standards] (UINT32_MAX): Likewise.
24570         [C99-based standards] (UINT64_MAX): Likewise.
24571         [C99-based standards] (INT_LEAST8_MIN): Likewise.
24572         [C99-based standards] (INT_LEAST8_MAX): Likewise.
24573         [C99-based standards] (INT_LEAST16_MIN): Likewise.
24574         [C99-based standards] (INT_LEAST16_MAX): Likewise.
24575         [C99-based standards] (INT_LEAST32_MIN): Likewise.
24576         [C99-based standards] (INT_LEAST32_MAX): Likewise.
24577         [C99-based standards] (INT_LEAST64_MIN): Likewise.
24578         [C99-based standards] (INT_LEAST64_MAX): Likewise.
24579         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24580         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24581         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24582         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24583         [C99-based standards] (INT_FAST8_MIN): Likewise.
24584         [C99-based standards] (INT_FAST8_MAX): Likewise.
24585         [C99-based standards] (INT_FAST16_MIN): Likewise.
24586         [C99-based standards] (INT_FAST16_MAX): Likewise.
24587         [C99-based standards] (INT_FAST32_MIN): Likewise.
24588         [C99-based standards] (INT_FAST32_MAX): Likewise.
24589         [C99-based standards] (INT_FAST64_MIN): Likewise.
24590         [C99-based standards] (INT_FAST64_MAX): Likewise.
24591         [C99-based standards] (UINT_FAST8_MAX): Likewise.
24592         [C99-based standards] (UINT_FAST16_MAX): Likewise.
24593         [C99-based standards] (UINT_FAST32_MAX): Likewise.
24594         [C99-based standards] (UINT_FAST64_MAX): Likewise.
24595         [C99-based standards] (INTPTR_MIN): Likewise.
24596         [C99-based standards] (INTPTR_MAX): Likewise.
24597         [C99-based standards] (UINTPTR_MAX): Likewise.
24598         [C99-based standards] (INTMAX_MIN): Likewise.
24599         [C99-based standards] (INTMAX_MAX): Likewise.
24600         [C99-based standards] (UINTMAX_MAX): Likewise.
24601         [C99-based standards] (PTRDIFF_MIN): Likewise.
24602         [C99-based standards] (PTRDIFF_MAX): Likewise.
24603         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24604         [C99-based standards] (SIZE_MAX): Likewise.
24605         [C99-based standards] (WCHAR_MAX): Likewise.
24606         [C99-based standards] (WINT_MAX): Likewise.
24607         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
24608         constraint on value.
24609         [C99-based standards] (WCHAR_MIN): Likewise.
24610         [C99-based standards] (WINT_MIN): Likewise.
24611         [C99-based standards] (*_t): Allow.
24612         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24613         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24614         Include math.h-data and complex.h-data.  Remove all expectations
24615         of math.h and complex.h contents.
24616         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24617         at end of line.
24618         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24619         (struct tm): Expect tag.
24620         [C99-based-standards] (wcstof): Expect function.
24621         [C99-based-standards] (wcstold): Likewise.
24622         [C99-based-standards] (wcstoll): Likewise.
24623         [C99-based-standards] (wcstoull): Likewise.
24624         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24625         macro-int-constant.  Specify type.
24626         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
24627         constraint on value.
24628         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24629         Specify type.
24630         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24631         Specify value.
24632         [ISO C standards]: Do not allow headers.
24633         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24634         wcs[abcdefghijklmnopqrstuvwxyz]*.
24635         [ISO C standards] (*_t): Do not allow.
24636         * conform/data/wctype.h-data [C99-based standards] (iswblank):
24637         Expect function.
24638         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24639         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24640         Specify type.
24641         [ISO C standards]: Do not allow headers.
24642         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24643         is[abcdefghijklmnopqrstuvwxyz]*.
24644         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24645         to[abcdefghijklmnopqrstuvwxyz]*.
24646         [ISO C standards] (*_t): Do not allow.
24647         * conform/data/stdalign.h-data: New file.
24648         * conform/data/stdbool.h-data: Likewise.
24649         * conform/data/stdnoreturn.h-data: Likewise.
24651 2012-11-07  Roland McGrath  <roland@hack.frob.com>
24653         [BZ #14815]
24654         * manual/filesys.texi (Directory Entries): Typo fix.
24655         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24657 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24659         * elf/elf.h (EM_AARCH64): New macro.
24660         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24661         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24662         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24663         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24664         (R_AARCH64_TLSDESC): Likewise.
24665         (NT_ARM_TLS): Likewise.
24666         (NT_ARM_HW_BREAK): Likewise.
24667         (NT_ARM_HW_WATCH): Likewise.
24669 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24671         [BZ #14811]
24672         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24673         (__ieee754_powl): Saturate nonzero exponents with absolute value
24674         below 0x1p-79 to +/- 0x1p-79.
24675         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24676         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24677         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24678         nonzero exponents with absolute value below 0x1p-32 to +/-
24679         0x1p-32.
24680         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24681         (__ieee754_powl): Saturate nonzero exponents with absolute value
24682         below 0x1p-79 to +/- 0x1p-79.
24683         * math/libm-test.inc (pow_test): Add more tests.
24685 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24687         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24688         _dl_s390_cap_flags with kernel. Increase string length.
24689         (_dl_s390_platforms): Add z196 and zEC12.
24691 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24693         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24694         Change XOPEN21K to XOPEN2K.
24696 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
24698         * string/memmove.c: Use memcpy when possible.
24700 2012-11-06  Andreas Jaeger  <aj@suse.de>
24702         * po/eo.po: Update from translation team.
24704 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
24706         [BZ #14793]
24707         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24708         exponent and small x and y exponents, scale x or y up.  Increase
24709         by 2 the exponent used in scaling up.
24710         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24711         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24712         * math/libm-test.inc (fma_test): Add more tests.
24713         (fma_test_towardzero): Likewise.
24714         (fma_test_downward): Likewise.
24715         (fma_test_upward): Likewise.
24717 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
24719         [BZ #14805]
24720         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24721         fenv_t *.
24723         [BZ #14801]
24724         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24725         namespace for names of struct fields.
24726         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24727         fenv_t fields.
24728         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24729         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24731 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24733         [BZ #3665]
24734         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24736 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24738         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24739         PTR_DEMANGLE.
24741         [BZ #5246]
24742         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24743         PTR_DEMANGLE.
24745 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
24747         [BZ #14797]
24748         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24749         definitely overflow as x * y not x * y + z.
24750         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24751         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24752         * math/libm-test.inc (fma_test): Add more tests.
24753         (fma_test_towardzero): Likewise.
24754         (fma_test_downward): Likewise.
24755         (fma_test_upward): Likewise.
24757 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24759         [BZ #157]
24761         * include/stub-tag.h: Remove file.
24762         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24763         '#include' of it.
24764         * manual/maint.texi (Porting): Don't reference it.
24765         * Makerules ($(objpfx)stubs): Likewise.
24766         * dirent/closedir.c: Don't include <stub-tag.h>.
24767         * dirent/dirfd.c: Likewise.
24768         * dirent/fdopendir.c: Likewise.
24769         * dirent/getdents.c: Likewise.
24770         * dirent/getdents64.c: Likewise.
24771         * dirent/opendir.c: Likewise.
24772         * dirent/readdir.c: Likewise.
24773         * dirent/readdir64.c: Likewise.
24774         * dirent/readdir64_r.c: Likewise.
24775         * dirent/readdir_r.c: Likewise.
24776         * dirent/rewinddir.c: Likewise.
24777         * dirent/seekdir.c: Likewise.
24778         * dirent/telldir.c: Likewise.
24779         * gmon/profil.c: Likewise.
24780         * grp/setgroups.c: Likewise.
24781         * inet/if_index.c: Likewise.
24782         * io/access.c: Likewise.
24783         * io/chdir.c: Likewise.
24784         * io/chmod.c: Likewise.
24785         * io/chown.c: Likewise.
24786         * io/close.c: Likewise.
24787         * io/dup.c: Likewise.
24788         * io/dup2.c: Likewise.
24789         * io/dup3.c: Likewise.
24790         * io/euidaccess.c: Likewise.
24791         * io/faccessat.c: Likewise.
24792         * io/fchdir.c: Likewise.
24793         * io/fchmod.c: Likewise.
24794         * io/fchmodat.c: Likewise.
24795         * io/fchown.c: Likewise.
24796         * io/fchownat.c: Likewise.
24797         * io/fcntl.c: Likewise.
24798         * io/flock.c: Likewise.
24799         * io/fstatfs.c: Likewise.
24800         * io/fstatfs64.c: Likewise.
24801         * io/fstatvfs.c: Likewise.
24802         * io/fstatvfs64.c: Likewise.
24803         * io/futimens.c: Likewise.
24804         * io/fxstat.c: Likewise.
24805         * io/fxstat64.c: Likewise.
24806         * io/fxstatat.c: Likewise.
24807         * io/fxstatat64.c: Likewise.
24808         * io/getcwd.c: Likewise.
24809         * io/isatty.c: Likewise.
24810         * io/lchmod.c: Likewise.
24811         * io/lchown.c: Likewise.
24812         * io/link.c: Likewise.
24813         * io/linkat.c: Likewise.
24814         * io/lseek.c: Likewise.
24815         * io/lseek64.c: Likewise.
24816         * io/lxstat64.c: Likewise.
24817         * io/mkdir.c: Likewise.
24818         * io/mkdirat.c: Likewise.
24819         * io/mkfifo.c: Likewise.
24820         * io/mkfifoat.c: Likewise.
24821         * io/open.c: Likewise.
24822         * io/open64.c: Likewise.
24823         * io/openat.c: Likewise.
24824         * io/openat64.c: Likewise.
24825         * io/pipe.c: Likewise.
24826         * io/pipe2.c: Likewise.
24827         * io/poll.c: Likewise.
24828         * io/posix_fadvise.c: Likewise.
24829         * io/posix_fadvise64.c: Likewise.
24830         * io/posix_fallocate.c: Likewise.
24831         * io/posix_fallocate64.c: Likewise.
24832         * io/read.c: Likewise.
24833         * io/readlink.c: Likewise.
24834         * io/readlinkat.c: Likewise.
24835         * io/rmdir.c: Likewise.
24836         * io/sendfile.c: Likewise.
24837         * io/sendfile64.c: Likewise.
24838         * io/statfs.c: Likewise.
24839         * io/statfs64.c: Likewise.
24840         * io/statvfs.c: Likewise.
24841         * io/statvfs64.c: Likewise.
24842         * io/symlink.c: Likewise.
24843         * io/symlinkat.c: Likewise.
24844         * io/ttyname.c: Likewise.
24845         * io/ttyname_r.c: Likewise.
24846         * io/umask.c: Likewise.
24847         * io/unlink.c: Likewise.
24848         * io/unlinkat.c: Likewise.
24849         * io/utime.c: Likewise.
24850         * io/utimensat.c: Likewise.
24851         * io/write.c: Likewise.
24852         * io/xmknod.c: Likewise.
24853         * io/xmknodat.c: Likewise.
24854         * io/xstat.c: Likewise.
24855         * io/xstat64.c: Likewise.
24856         * login/getpt.c: Likewise.
24857         * login/grantpt.c: Likewise.
24858         * login/unlockpt.c: Likewise.
24859         * math/e_acoshl.c: Likewise.
24860         * math/e_acosl.c: Likewise.
24861         * math/e_asinl.c: Likewise.
24862         * math/e_atan2l.c: Likewise.
24863         * math/e_atanhl.c: Likewise.
24864         * math/e_coshl.c: Likewise.
24865         * math/e_expl.c: Likewise.
24866         * math/e_fmodl.c: Likewise.
24867         * math/e_gammal_r.c: Likewise.
24868         * math/e_hypotl.c: Likewise.
24869         * math/e_j0l.c: Likewise.
24870         * math/e_j1l.c: Likewise.
24871         * math/e_jnl.c: Likewise.
24872         * math/e_lgammal_r.c: Likewise.
24873         * math/e_log10l.c: Likewise.
24874         * math/e_log2l.c: Likewise.
24875         * math/e_logl.c: Likewise.
24876         * math/e_powl.c: Likewise.
24877         * math/e_rem_pio2l.c: Likewise.
24878         * math/e_sinhl.c: Likewise.
24879         * math/e_sqrtl.c: Likewise.
24880         * math/fclrexcpt.c: Likewise.
24881         * math/fedisblxcpt.c: Likewise.
24882         * math/feenablxcpt.c: Likewise.
24883         * math/fegetenv.c: Likewise.
24884         * math/fegetexcept.c: Likewise.
24885         * math/fegetround.c: Likewise.
24886         * math/feholdexcpt.c: Likewise.
24887         * math/fesetenv.c: Likewise.
24888         * math/fesetround.c: Likewise.
24889         * math/feupdateenv.c: Likewise.
24890         * math/fgetexcptflg.c: Likewise.
24891         * math/fraiseexcpt.c: Likewise.
24892         * math/fsetexcptflg.c: Likewise.
24893         * math/ftestexcept.c: Likewise.
24894         * math/k_cosl.c: Likewise.
24895         * math/k_rem_pio2l.c: Likewise.
24896         * math/k_sinl.c: Likewise.
24897         * math/k_tanl.c: Likewise.
24898         * math/s_asinhl.c: Likewise.
24899         * math/s_atanl.c: Likewise.
24900         * math/s_cbrtl.c: Likewise.
24901         * math/s_erfl.c: Likewise.
24902         * math/s_expm1l.c: Likewise.
24903         * math/s_log1pl.c: Likewise.
24904         * math/s_tanhl.c: Likewise.
24905         * misc/acct.c: Likewise.
24906         * misc/brk.c: Likewise.
24907         * misc/chflags.c: Likewise.
24908         * misc/chroot.c: Likewise.
24909         * misc/fchflags.c: Likewise.
24910         * misc/fgetxattr.c: Likewise.
24911         * misc/flistxattr.c: Likewise.
24912         * misc/fremovexattr.c: Likewise.
24913         * misc/fsetxattr.c: Likewise.
24914         * misc/fsync.c: Likewise.
24915         * misc/ftruncate.c: Likewise.
24916         * misc/futimes.c: Likewise.
24917         * misc/futimesat.c: Likewise.
24918         * misc/getdomain.c: Likewise.
24919         * misc/getdtsz.c: Likewise.
24920         * misc/gethostid.c: Likewise.
24921         * misc/gethostname.c: Likewise.
24922         * misc/getloadavg.c: Likewise.
24923         * misc/getpagesize.c: Likewise.
24924         * misc/getsysstats.c: Likewise.
24925         * misc/getxattr.c: Likewise.
24926         * misc/gtty.c: Likewise.
24927         * misc/ioctl.c: Likewise.
24928         * misc/lgetxattr.c: Likewise.
24929         * misc/listxattr.c: Likewise.
24930         * misc/llistxattr.c: Likewise.
24931         * misc/lremovexattr.c: Likewise.
24932         * misc/lsetxattr.c: Likewise.
24933         * misc/lutimes.c: Likewise.
24934         * misc/madvise.c: Likewise.
24935         * misc/mincore.c: Likewise.
24936         * misc/mlock.c: Likewise.
24937         * misc/mlockall.c: Likewise.
24938         * misc/mmap.c: Likewise.
24939         * misc/mprotect.c: Likewise.
24940         * misc/msync.c: Likewise.
24941         * misc/munlock.c: Likewise.
24942         * misc/munlockall.c: Likewise.
24943         * misc/munmap.c: Likewise.
24944         * misc/preadv.c: Likewise.
24945         * misc/preadv64.c: Likewise.
24946         * misc/ptrace.c: Likewise.
24947         * misc/pwritev.c: Likewise.
24948         * misc/pwritev64.c: Likewise.
24949         * misc/readv.c: Likewise.
24950         * misc/reboot.c: Likewise.
24951         * misc/remap_file_pages.c: Likewise.
24952         * misc/removexattr.c: Likewise.
24953         * misc/revoke.c: Likewise.
24954         * misc/select.c: Likewise.
24955         * misc/setdomain.c: Likewise.
24956         * misc/setegid.c: Likewise.
24957         * misc/seteuid.c: Likewise.
24958         * misc/sethostid.c: Likewise.
24959         * misc/sethostname.c: Likewise.
24960         * misc/setregid.c: Likewise.
24961         * misc/setreuid.c: Likewise.
24962         * misc/setxattr.c: Likewise.
24963         * misc/sstk.c: Likewise.
24964         * misc/stty.c: Likewise.
24965         * misc/swapoff.c: Likewise.
24966         * misc/swapon.c: Likewise.
24967         * misc/sync.c: Likewise.
24968         * misc/syncfs.c: Likewise.
24969         * misc/syscall.c: Likewise.
24970         * misc/truncate.c: Likewise.
24971         * misc/ualarm.c: Likewise.
24972         * misc/usleep.c: Likewise.
24973         * misc/ustat.c: Likewise.
24974         * misc/utimes.c: Likewise.
24975         * misc/vhangup.c: Likewise.
24976         * misc/writev.c: Likewise.
24977         * posix/_exit.c: Likewise.
24978         * posix/alarm.c: Likewise.
24979         * posix/execve.c: Likewise.
24980         * posix/fexecve.c: Likewise.
24981         * posix/fork.c: Likewise.
24982         * posix/fpathconf.c: Likewise.
24983         * posix/getaddrinfo.c: Likewise.
24984         * posix/getegid.c: Likewise.
24985         * posix/geteuid.c: Likewise.
24986         * posix/getgid.c: Likewise.
24987         * posix/getgroups.c: Likewise.
24988         * posix/getlogin.c: Likewise.
24989         * posix/getlogin_r.c: Likewise.
24990         * posix/getpgid.c: Likewise.
24991         * posix/getpid.c: Likewise.
24992         * posix/getppid.c: Likewise.
24993         * posix/getresgid.c: Likewise.
24994         * posix/getresuid.c: Likewise.
24995         * posix/getsid.c: Likewise.
24996         * posix/getuid.c: Likewise.
24997         * posix/glob64.c: Likewise.
24998         * posix/nanosleep.c: Likewise.
24999         * posix/pathconf.c: Likewise.
25000         * posix/pause.c: Likewise.
25001         * posix/posix_madvise.c: Likewise.
25002         * posix/pread.c: Likewise.
25003         * posix/pread64.c: Likewise.
25004         * posix/pwrite.c: Likewise.
25005         * posix/pwrite64.c: Likewise.
25006         * posix/sched_getaffinity.c: Likewise.
25007         * posix/sched_getp.c: Likewise.
25008         * posix/sched_gets.c: Likewise.
25009         * posix/sched_primax.c: Likewise.
25010         * posix/sched_primin.c: Likewise.
25011         * posix/sched_rr_gi.c: Likewise.
25012         * posix/sched_setaffinity.c: Likewise.
25013         * posix/sched_setp.c: Likewise.
25014         * posix/sched_sets.c: Likewise.
25015         * posix/sched_yield.c: Likewise.
25016         * posix/setgid.c: Likewise.
25017         * posix/setlogin.c: Likewise.
25018         * posix/setpgid.c: Likewise.
25019         * posix/setresgid.c: Likewise.
25020         * posix/setresuid.c: Likewise.
25021         * posix/setsid.c: Likewise.
25022         * posix/setuid.c: Likewise.
25023         * posix/sleep.c: Likewise.
25024         * posix/spawni.c: Likewise.
25025         * posix/sysconf.c: Likewise.
25026         * posix/times.c: Likewise.
25027         * posix/wait.c: Likewise.
25028         * posix/wait3.c: Likewise.
25029         * posix/wait4.c: Likewise.
25030         * posix/waitpid.c: Likewise.
25031         * resolv/gai_sigqueue.c: Likewise.
25032         * resource/getpriority.c: Likewise.
25033         * resource/getrlimit.c: Likewise.
25034         * resource/getrusage.c: Likewise.
25035         * resource/nice.c: Likewise.
25036         * resource/setpriority.c: Likewise.
25037         * resource/setrlimit.c: Likewise.
25038         * resource/ulimit.c: Likewise.
25039         * rt/aio_cancel.c: Likewise.
25040         * rt/aio_fsync.c: Likewise.
25041         * rt/aio_read.c: Likewise.
25042         * rt/aio_sigqueue.c: Likewise.
25043         * rt/aio_suspend.c: Likewise.
25044         * rt/aio_write.c: Likewise.
25045         * rt/clock_getres.c: Likewise.
25046         * rt/clock_gettime.c: Likewise.
25047         * rt/clock_nanosleep.c: Likewise.
25048         * rt/clock_settime.c: Likewise.
25049         * rt/lio_listio.c: Likewise.
25050         * rt/mq_close.c: Likewise.
25051         * rt/mq_getattr.c: Likewise.
25052         * rt/mq_notify.c: Likewise.
25053         * rt/mq_open.c: Likewise.
25054         * rt/mq_receive.c: Likewise.
25055         * rt/mq_send.c: Likewise.
25056         * rt/mq_setattr.c: Likewise.
25057         * rt/mq_timedreceive.c: Likewise.
25058         * rt/mq_timedsend.c: Likewise.
25059         * rt/mq_unlink.c: Likewise.
25060         * rt/shm_open.c: Likewise.
25061         * rt/shm_unlink.c: Likewise.
25062         * rt/timer_create.c: Likewise.
25063         * rt/timer_delete.c: Likewise.
25064         * rt/timer_getoverr.c: Likewise.
25065         * rt/timer_gettime.c: Likewise.
25066         * rt/timer_settime.c: Likewise.
25067         * setjmp/__longjmp.c: Likewise.
25068         * setjmp/setjmp.c: Likewise.
25069         * signal/kill.c: Likewise.
25070         * signal/killpg.c: Likewise.
25071         * signal/raise.c: Likewise.
25072         * signal/sigaction.c: Likewise.
25073         * signal/sigaltstack.c: Likewise.
25074         * signal/sigblock.c: Likewise.
25075         * signal/sigignore.c: Likewise.
25076         * signal/sigintr.c: Likewise.
25077         * signal/signal.c: Likewise.
25078         * signal/sigpause.c: Likewise.
25079         * signal/sigpending.c: Likewise.
25080         * signal/sigqueue.c: Likewise.
25081         * signal/sigreturn.c: Likewise.
25082         * signal/sigset.c: Likewise.
25083         * signal/sigsetmask.c: Likewise.
25084         * signal/sigstack.c: Likewise.
25085         * signal/sigsuspend.c: Likewise.
25086         * signal/sigtimedwait.c: Likewise.
25087         * signal/sigvec.c: Likewise.
25088         * signal/sigwait.c: Likewise.
25089         * signal/sigwaitinfo.c: Likewise.
25090         * signal/sysv_signal.c: Likewise.
25091         * socket/accept.c: Likewise.
25092         * socket/accept4.c: Likewise.
25093         * socket/bind.c: Likewise.
25094         * socket/connect.c: Likewise.
25095         * socket/getpeername.c: Likewise.
25096         * socket/getsockname.c: Likewise.
25097         * socket/getsockopt.c: Likewise.
25098         * socket/isfdtype.c: Likewise.
25099         * socket/listen.c: Likewise.
25100         * socket/recv.c: Likewise.
25101         * socket/recvfrom.c: Likewise.
25102         * socket/recvmsg.c: Likewise.
25103         * socket/send.c: Likewise.
25104         * socket/sendmsg.c: Likewise.
25105         * socket/sendto.c: Likewise.
25106         * socket/setsockopt.c: Likewise.
25107         * socket/shutdown.c: Likewise.
25108         * socket/sockatmark.c: Likewise.
25109         * socket/socket.c: Likewise.
25110         * socket/socketpair.c: Likewise.
25111         * stdio-common/ctermid.c: Likewise.
25112         * stdio-common/cuserid.c: Likewise.
25113         * stdio-common/remove.c: Likewise.
25114         * stdio-common/rename.c: Likewise.
25115         * stdio-common/renameat.c: Likewise.
25116         * stdio-common/tempname.c: Likewise.
25117         * stdlib/getcontext.c: Likewise.
25118         * stdlib/makecontext.c: Likewise.
25119         * stdlib/setcontext.c: Likewise.
25120         * stdlib/swapcontext.c: Likewise.
25121         * stdlib/system.c: Likewise.
25122         * streams/fattach.c: Likewise.
25123         * streams/fdetach.c: Likewise.
25124         * streams/getmsg.c: Likewise.
25125         * streams/getpmsg.c: Likewise.
25126         * streams/putmsg.c: Likewise.
25127         * streams/putpmsg.c: Likewise.
25128         * sysdeps/unix/bsd/getpt.c: Likewise.
25129         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25130         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25131         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25133         Likewise.
25134         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25135         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25136         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25137         * sysvipc/msgctl.c: Likewise.
25138         * sysvipc/msgget.c: Likewise.
25139         * sysvipc/msgrcv.c: Likewise.
25140         * sysvipc/msgsnd.c: Likewise.
25141         * sysvipc/semctl.c: Likewise.
25142         * sysvipc/semget.c: Likewise.
25143         * sysvipc/semop.c: Likewise.
25144         * sysvipc/semtimedop.c: Likewise.
25145         * sysvipc/shmat.c: Likewise.
25146         * sysvipc/shmctl.c: Likewise.
25147         * sysvipc/shmdt.c: Likewise.
25148         * sysvipc/shmget.c: Likewise.
25149         * termios/tcdrain.c: Likewise.
25150         * termios/tcflow.c: Likewise.
25151         * termios/tcflush.c: Likewise.
25152         * termios/tcgetattr.c: Likewise.
25153         * termios/tcgetpgrp.c: Likewise.
25154         * termios/tcsendbrk.c: Likewise.
25155         * termios/tcsetattr.c: Likewise.
25156         * termios/tcsetpgrp.c: Likewise.
25157         * time/adjtime.c: Likewise.
25158         * time/clock.c: Likewise.
25159         * time/getitimer.c: Likewise.
25160         * time/gettimeofday.c: Likewise.
25161         * time/setitimer.c: Likewise.
25162         * time/settimeofday.c: Likewise.
25163         * time/stime.c: Likewise.
25164         * time/time.c: Likewise.
25166 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
25168         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25169         /usr/old/bin.
25171         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25172         instead of spaces.
25173         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25175 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
25177         [BZ #14796]
25178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25179         FE_TONEAREST before applying Dekker multiplication and Knuth
25180         addition.  Clear inexact exceptions and check for exact zero
25181         results afterwards.
25182         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25183         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25184         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25185         * math/libm-test.inc (fma_test): Add more tests.
25186         (fma_test_towardzero): Likewise.
25187         (fma_test_downward): Likewise.
25188         (fma_test_upward): Likewise.
25189         * sysdeps/generic/math_private.h (default_libc_fesetround): New
25190         function.
25191         (libc_fesetround): New macro.
25192         (libc_fesetroundf): Likewise.
25193         (libc_fesetroundl): Likewise.
25194         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25195         function.
25196         (libc_fesetround_387): Likewise.
25197         (libc_fesetroundf): New macro.
25198         (libc_fesetround): Likewise.
25199         (libc_fesetroundl): Likewise.
25200         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25201         function.
25202         (libc_fesetroundf): New macro.
25203         (libc_fesetround): Likewise.
25204         (libc_fesetroundl): Likewise.
25205         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25206         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25207         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25208         libm_hidden_ver.
25209         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25210         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25211         libm_hidden_def.
25212         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25213         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25214         libm_hidden_ver.
25215         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25216         libm_hidden_def.
25218         [BZ #3439]
25219         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25220         integer constant usable in #if and use that to give value to enum
25221         constant.
25222         (FE_DIVBYZERO): Likewise.
25223         (FE_UNDERFLOW): Likewise.
25224         (FE_OVERFLOW): Likewise.
25225         (FE_INVALID): Likewise.
25226         (FE_INVALID_SNAN): Likewise.
25227         (FE_INVALID_ISI): Likewise.
25228         (FE_INVALID_IDI): Likewise.
25229         (FE_INVALID_ZDZ): Likewise.
25230         (FE_INVALID_IMZ): Likewise.
25231         (FE_INVALID_COMPARE): Likewise.
25232         (FE_INVALID_SOFTWARE): Likewise.
25233         (FE_INVALID_SQRT): Likewise.
25234         (FE_INVALID_INTEGER_CONVERSION): Likewise.
25235         (FE_TONEAREST): Likewise.
25236         (FE_TOWARDZERO): Likewise.
25237         (FE_UPWARD): Likewise.
25238         (FE_DOWNWARD): Likewise.
25239         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25240         (FE_DIVBYZERO): Likewise.
25241         (FE_OVERFLOW): Likewise.
25242         (FE_UNDERFLOW): Likewise.
25243         (FE_INEXACT): Likewise.
25244         (FE_TONEAREST): Likewise.
25245         (FE_DOWNWARD): Likewise.
25246         (FE_UPWARD): Likewise.
25247         (FE_TOWARDZERO): Likewise.
25248         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25249         (FE_UNDERFLOW): Likewise.
25250         (FE_OVERFLOW): Likewise.
25251         (FE_DIVBYZERO): Likewise.
25252         (FE_INVALID): Likewise.
25253         (FE_TONEAREST): Likewise.
25254         (FE_TOWARDZERO): Likewise.
25255         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25256         (FE_OVERFLOW): Likewise.
25257         (FE_UNDERFLOW): Likewise.
25258         (FE_DIVBYZERO): Likewise.
25259         (FE_INEXACT): Likewise.
25260         (FE_TONEAREST): Likewise.
25261         (FE_TOWARDZERO): Likewise.
25262         (FE_UPWARD): Likewise.
25263         (FE_DOWNWARD): Likewise.
25264         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25265         (FE_DIVBYZERO): Likewise.
25266         (FE_OVERFLOW): Likewise.
25267         (FE_UNDERFLOW): Likewise.
25268         (FE_INEXACT): Likewise.
25269         (FE_TONEAREST): Likewise.
25270         (FE_DOWNWARD): Likewise.
25271         (FE_UPWARD): Likewise.
25272         (FE_TOWARDZERO): Likewise.
25274 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
25276         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25278 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
25280         * scripts/cross-test-ssh.sh (command): Use newlines to separate
25281         commands.  Quote $PWD.
25282         (blacklist_exports): Don't use remove_newlines.  Replace "declare
25283         -x" by "export".
25284         (remove_newlines): Remove.
25286 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
25288         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25289         * stdlib/stdlib.h (atof): Moved to ...
25290         * include/bits/stdlib-float.h: Here.  New file.
25291         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25292         * stdlib/bits/stdlib-float.h: New file.
25293         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25294         -mno-sse -mno-mmx.
25295         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25296         <xmmintrin.h>.
25298 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25300         * conform/conformtest.pl (@headers): Add fenv.h.
25301         * conform/data/fenv.h-data: New file.
25302         * include/fenv.h [_ISOMAC]: Disable all contents of file except
25303         include of <math/fenv.h>.
25305         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25306         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25307         && !UNIX98].  Enables tests for XOPEN2K8.
25308         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25309         POSIX2008]: Likewise.
25311         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25312         (struct rusage): Do not expect type or its members.
25314         [BZ #3439]
25315         * math/math.h (FP_NAN): Define macro to integer constant usable in
25316         #if and use that to give value to enum constant.
25317         (FP_INFINITE): Likewise.
25318         (FP_ZERO): Likewise.
25319         (FP_SUBNORMAL): Likewise.
25320         (FP_NORMAL): Likewise.
25322 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
25324         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25325         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25326         arguments.
25328 2012-11-02  Roland McGrath  <roland@hack.frob.com>
25330         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25331         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25332         autoconf-time if not.
25333         * configure.in: Remove AC_PREREQ.
25335 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25337         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25338         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25339         of the internal implementation.
25341 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25343         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25344         except include of <misc/sys/syslog.h>.
25346 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25349         function returns with a NULL context exit with zero.
25351 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25353         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25355 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
25357         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25358         (run_program_cmd): This.
25359         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25360         (tst_langinfo): New variable.  Use it.
25362 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
25364         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25365         floating point opcodes.
25367 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25369         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25370         variable.
25372         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25374         * sysdeps/mach/hurd/powerpc: Remove directory.
25375         * sysdeps/mach/powerpc: Likewise.
25377 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25379         * scripts/check-local-headers.sh: Ignore c++ headers.
25381 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25383         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25384         __libc_cleanup_region_start argument.
25386 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
25388         [BZ #14784]
25389         [BZ #14785]
25390         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25391         x * y using scaling, not as x * y + z.
25392         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25393         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25394         * math/libm-test.inc (fma_test): Add more tests.
25395         (fma_test_towardzero): Likewise.
25396         (fma_test_downward): Likewise.
25397         (fma_test_upward): Likewise.
25399 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25401         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25403 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25405         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25406         New variable.
25408 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
25410         * rt/tst-shm.c (worker): Correct checking for mmap failure.
25412 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25415         Fix sort order.
25416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25417         Likewise.
25419 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25422         Fix the order of the list for glibc 2.17.
25423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25424         Likewise.
25426 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25430 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25432         [BZ #14610]
25433         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25434         for low part of x being zero before using __atanl (y).
25435         * math/libm-test.inc (atan2_test): Add another test.
25437         * manual/install.texi (Configuring and compiling): Document
25438         general use of test-wrapper and test-wrapper-env.
25439         * INSTALL: Regenerated.
25441         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25442         (__fma): Do not extract and scale down low bits on after-rounding
25443         systems when result rounded to normal precision would have normal
25444         exponent.
25445         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25446         (__fmal): Do not extract and scale down low bits on after-rounding
25447         systems when result rounded to normal precision would have normal
25448         exponent.
25449         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25450         (__fmal): Do not extract and scale down low bits on after-rounding
25451         systems when result rounded to normal precision would have normal
25452         exponent.
25453         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25454         macro.
25455         (fma_test): Add more tests.
25456         (fma_test_towardzero): Likewise.
25457         (fma_test_downward): Likewise.
25458         (fma_test_upward): Likewise.
25460 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
25462         * sysdeps/i386/tininess.h: Renamed to ...
25463         * sysdeps/x86/tininess.h: This.
25464         * sysdeps/x86_64/tininess.h: Removed.
25466 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25468         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25469         input.  Use $(build-program-cmd).
25470         ($(objpfx)tst-array1-static.out): Likewise.
25471         ($(objpfx)tst-array2.out): Likewise.
25472         ($(objpfx)tst-array3.out): Likewise.
25473         ($(objpfx)tst-array4.out): Likewise.
25474         ($(objpfx)tst-array5.out): Likewise.
25475         ($(objpfx)tst-array5-static.out): Likewise.
25477 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
25479         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25480         if defined.
25482         * nss/nsswitch.h (nss_interface_function): Provide new
25483         macro for use with NSS functions.
25484         * grp/initgroups.c: Use new macro.
25485         * nss/getXXbyYY.c: Likewise.
25486         * nss/getXXbyYY_r.c: Likewise.
25487         * nss/getXXent.c: Likewise.
25488         * nss/getXXent_r.c: Likewise.
25489         * sysdeps/posix/getaddrinfo.c: Likewise.
25491 2012-10-30  Andreas Jaeger  <aj@suse.de>
25493         * po/ru.po: Update Russion translation from translation project.
25495 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25497         [BZ #14152]
25498         [BZ #14783]
25499         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25500         result and shift together with sticky bit instead of replicating
25501         round-to-nearest rounding.
25502         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25503         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25504         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
25505         missing underflow exceptions.
25506         (fma_test_towardzero): Add more tests.
25507         (fma_test_downward): Likewise.
25508         (fma_test_upward): Likewise.
25510         [BZ #14047]
25511         * sysdeps/generic/tininess.h: New file.
25512         * sysdeps/i386/tininess.h: Likewise.
25513         * sysdeps/sh/tininess.h: Likewise.
25514         * sysdeps/x86_64/tininess.h: Likewise.
25515         * stdlib/tst-strtod-underflow.c: Likewise.
25516         * stdlib/tst-tininess.c: Likewise.
25517         * stdlib/strtod_l.c: Include <tininess.h>.
25518         (round_and_return): Do not set errno for exact underflow cases.
25519         Force an underflow exception when setting errno for underflow.
25520         Determine underflow based on rounding to normal precision if
25521         TININESS_AFTER_ROUNDING.
25522         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25523         ERANGE for exact underflow cases.
25524         * stdlib/Makefile (tests): Add tst-tininess and
25525         tst-strtod-underflow.
25526         ($(objpfx)tst-tininess): Use $(link-libm).
25527         ($(objpfx)tst-strtod-underflow): Likewise.
25529 2012-10-30  Andreas Jaeger  <aj@suse.de>
25531         [BZ#14767]
25532         * elf/Makefile (tests): Remove conditional for have-initfini-array
25533         since this is now always required and the variable does not exist
25534         anymore.
25535         (tests-static): Likewise.
25536         (modules-names): Likewise.
25538         * po/eo.po: Add Esperanto translation from translation project.
25540         * elf/tst-array1.c (fini_array): Make writeable so that it can be
25541         merged with constructor/destructor.
25542         (init_array): Likewise.
25543         * elf/tst-array2dep.c (fini_array): Likewise.
25544         (init_array): Likewise.
25546 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
25548         * manual/message.texi: Delete @cartouche tags.
25550 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
25552         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25553         EOPNOTSUPP.
25554         * sysdeps/mach/hurd/fsync.c: Likewise.
25556         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25557         [_POSIX_REALTIME_SIGNALS]: Change condition to
25558         [_POSIX_REALTIME_SIGNALS > 0].
25560 2012-10-27  Andreas Jaeger  <aj@suse.de>
25562         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25563         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25564         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25565         [__WORDSIZE != 64]: Likewise.
25567 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
25569         *  iconvdata/tst-table.sh: Remove ${SHELL}.
25570         *  iconvdata/tst-tables.sh: Likewise.
25572 2012-10-25  David S. Miller  <davem@davemloft.net>
25574         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25575         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25576         of strtoull.
25578         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25579         ifunc-impl-list.c
25580         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25581         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25582         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25583         file.
25585 2012-10-25  Roland McGrath  <roland@hack.frob.com>
25587         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25588         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25589         __getdirentries.
25591 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25592             Jim Blandy  <jimb@codesourcery.com>
25594         * scripts/cross-test-ssh.sh: New file.
25595         * manual/install.texi (Configuring and compiling): Document use of
25596         cross-test-ssh.sh.
25597         * INSTALL: Regenerated.
25599 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
25601         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25602         EOPNOTSUPP.
25604 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25606         * Makeconfig (run-program-prefix): Fix comment.
25608 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25609             Jim Blandy  <jimb@codesourcery.com>
25611         * Makeconfig (test-wrapper): New variable,
25612         (test-wrapper-env): Likewise.
25613         [$(cross-compiling) = yes && $(test-wrapper) != ""]
25614         (run-built-tests): Define to yes.
25615         (run-program-prefix): Use $(test-wrapper).
25616         (built-program-cmd): Likewise.
25617         * Rules (make-test-out): Use $(test-wrapper-env) and
25618         $(host-built-program-cmd).
25619         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25620         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25621         tst-pathopt.sh.
25622         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25623         $(test-wrapper-env) to tst-rtld-load-self.sh.
25624         ($(objpfx)order2.out): Use $(test-wrapper).
25625         ($(objpfx)tst-initorder.out): Likewise.
25626         ($(objpfx)tst-initorder2.out): Likewise.
25627         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25628         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25629         (test_wrapper_env): New variable.  Use it to run ld.so.
25630         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25631         Use it to run ld.so.
25632         (test_wrapper_env): Likewise.
25633         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25634         $(test-wrapper) to run-iconv-test.sh.
25635         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25636         (ICONV): Use $test_wrapper.
25637         * posix/Makefile ($(objpfx)globtest.out): Pass
25638         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25639         globtest.sh, not $(run-program-prefix).
25640         * posix/globtest.sh (run_via_rtld_prefix): New variable.
25641         (test_wrapper): Likewise.
25642         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
25643         set together with run_via_rtld_prefix.
25644         (run_program_prefix): Define in terms of test_wrapper and
25645         run_via_rtld_prefix.
25647 2012-10-24  Roland McGrath  <roland@hack.frob.com>
25649         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25650         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25651         Targets removed.
25653         [BZ #14743]
25654         * include/time.h: Remove librt_hidden_proto (clock_gettime).
25655         Declare __clock_getres, __clock_gettime, __clock_settime,
25656         __clock_nanosleep, and __clock_getcpuclockid.
25657         * rt/clock_gettime.c: Define __clock_gettime as an alias.
25658         Remove librt_hidden_def (clock_gettime).
25659         * sysdeps/unix/clock_gettime.c: Likewise.
25660         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25661         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25662         * rt/clock_getres.c: Define __clock_getres as an alias.
25663         * sysdeps/posix/clock_getres.c: Likewise.
25664         * rt/clock_settime.c: Define __clock_settime as an alias.
25665         * sysdeps/unix/clock_settime.c: Likewise.
25666         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25667         * sysdeps/unix/clock_nanosleep.c: Likewise.
25668         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25669         * rt/clock-compat.c: New file.
25670         * rt/Makefile (librt-routines): Add clock-compat and move
25671         $(clock-routines) to ...
25672         (routines): ... here, new variable.
25673         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25674         Don't add get_clockfreq here.
25675         * rt/Versions (libc: GLIBC_2.17): New version set.
25676         Add clock_* symbols here.
25677         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
25678         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25679         (GLIBC_2.17): Add clock_* symbols.
25680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25682         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25684         Likewise.
25685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25686         Likewise.
25687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25691         * NEWS: Mention the move.
25693         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25694         Use __open, __read, __close rather than their public counterparts.
25695         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25696         (__get_clockfreq_via_cpuinfo): Likewise.
25697         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25698         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25700         * config.h.in (HAVE_IFUNC): New #undef.
25701         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25702         was successful.
25703         * configure: Regenerated.
25705 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25707         * configure.in: Move READELF check to start of file.
25708         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25709         libc_cv_asm_gnu_indirect_function in the process.
25710         * configure: Regenerated.
25712 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25714         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25715         send the output to /dev/null.
25716         (libc_cv_cc_with_libunwind): Likewise.
25717         (libc_cv_as_noexecstack): Likewise.
25718         * configure: Regenerate.
25720 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25722         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25724         * posix/globtest.sh (TMPDIR): Do not set.
25725         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25726         (testout): Likewise.
25728 2012-10-24  Andreas Jaeger  <aj@suse.de>
25730         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25731         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25732         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25733         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25734         posix_fadvise64, posix_fallocate64.
25736         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25737         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25738         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25739         Likewise.
25740         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25741         Likewise.
25742         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25744         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25745         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25746         <bits/fcntl-linux.h>.
25747         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25749         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25750         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25751         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25752         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25753         [__WORDSIZE != 64]: Likewise.
25755 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25757         * Makeconfig (run-built-tests): New variable.
25758         * Rules [$(cross-compiling) = yes]: Change condition to
25759         [$(run-built-tests) = no].
25760         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25761         to [$(run-built-tests) = yes].
25762         * elf/Makefile [$(cross-compiling) = no]: Likewise
25763         * grp/Makefile [$(cross-compiling) = no]: Likewise.
25764         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25765         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25766         * intl/Makefile [$(cross-compiling) = no]: Likewise.
25767         * io/Makefile [$(cross-compiling) = no]: Likewise.
25768         * libio/Makefile [$(cross-compiling) = no]: Likewise.
25769         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25770         * misc/Makefile [$(cross-compiling) = no]: Likewise.
25771         * posix/Makefile [$(cross-compiling) = no]: Likewise.
25772         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25773         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25774         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25775         * string/Makefile [$(cross-compiling) = no]: Likewise.
25777         * posix/Makefile ($(objpfx)globtest.out): Pass
25778         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25779         $(rtld-installed-name).
25780         * posix/globtest.sh (elf_objpfx): Remove variable.
25781         (rtld_installed_name): Likewise.
25782         (library_path): Likewise.
25783         (run_program_prefix): New variable.  Use for running globtest
25784         binary.
25786 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
25787             Joseph Myers  <joseph@codesourcery.com>
25789         * Makeconfig (host-built-program-cmd): New variable.
25790         * elf/Makefile (tst-stackguard1-ARGS): Use
25791         $(host-built-program-cmd).
25792         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25793         (tst-spawn-ARGS): Likewise.
25794         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25796 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25797             Jim Blandy  <jimb@codesourcery.com>
25799         * Makeconfig (run-via-rtld-prefix): New variable.
25800         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25801         (built-program-cmd): Likewise.
25803 2012-10-22  Andreas Jaeger  <aj@suse.de>
25805         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25806         __O_RSYNC if it exists, otherwise to O_SYNC.
25808 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
25809             Joseph Myers  <joseph@codesourcery.com>
25811         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25812         /dev/null.
25813         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25814         from /dev/null
25815         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25816         /dev/null.
25818 2012-10-22  Andreas Jaeger  <aj@suse.de>
25820         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25821         Define always.
25822         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25824         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25825         bits/fcntl-linux.h.
25827         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25828         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25830         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25831         to __O_LARGEFILE.
25832         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25833         to __O_LARGEFILE.
25835 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
25836             Joseph Myers  <joseph@codesourcery.com>
25838         * config.make.in (NM): New variable.
25840 2012-10-21  Andreas Jaeger  <aj@suse.de>
25842         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25843         definitions and declarations that are provided by
25844         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25846 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25848         [BZ #14683]
25849         * elf/Makefile (tests-static): Add tst-leaks1-static.
25850         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25851         ($(objpfx)tst-leaks1-static): New rule.
25852         ($(objpfx)tst-leaks1-static-mem): Likewise.
25853         (tst-leaks1-static-ENV): New macro.
25854         * elf/dl-open.c (dl_open_worker): Check the main application
25855         only if SHARED is defined.
25856         * elf/tst-leaks1-static.c: New file.
25858 2012-10-20  Andreas Jaeger  <aj@suse.de>
25860         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25861         generic values for Linux.
25862         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25863         and declarations that are provided by <bits/fcntl-linux.h> and
25864         include <bits/fcntl-linux.h>.
25865         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25866         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25868 2012-10-20  Roland McGrath  <roland@hack.frob.com>
25870         * io/fcntl.h: Move include of <bits/types.h> to the top and
25871         include it unconditionally.
25873 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25875         * wcsmbs/Makefile (tests-ifunc): New variable.
25876         (tests): Add $(tests-ifunc).
25877         * wcsmbs/test-wcschr-ifunc.c: New file.
25878         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25879         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25880         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25881         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25882         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25884         * string/Makefile (tests-ifunc): New variable.
25885         (tests): Add $(tests-ifunc).
25886         * string/test-memccpy.c (TEST_NAME): New macro.
25887         * string/test-memchr.c (TEST_NAME): Likewise.
25888         * string/test-memcmp.c (TEST_NAME): Likewise.
25889         * string/test-memcpy.c (TEST_NAME): Likewise.
25890         * string/test-memmem.c (TEST_NAME): Likewise.
25891         * string/test-memmove.c (TEST_NAME): Likewise.
25892         * string/test-memset.c (TEST_NAME): Likewise.
25893         * string/test-rawmemchr.c (TEST_NAME): Likewise.
25894         * string/test-stpcpy.c (TEST_NAME): Likewise.
25895         * string/test-stpncpy.c (TEST_NAME): Likewise.
25896         * string/test-strcasecmp.c (TEST_NAME): Likewise.
25897         * string/test-strcasestr.c (TEST_NAME): Likewise.
25898         * string/test-strcat.c (TEST_NAME): Likewise.
25899         * string/test-strchr.c (TEST_NAME): Likewise.
25900         * string/test-strcmp.c(TEST_NAME): Likewise.
25901         * string/test-strcpy.c (TEST_NAME): Likewise.
25902         * string/test-strcspn.c (TEST_NAME): Likewise.
25903         * string/test-strlen.c (TEST_NAME): Likewise.
25904         * string/test-strncasecmp.c (TEST_NAME): Likewise.
25905         * string/test-strncmp.c (TEST_NAME): Likewise.
25906         * string/test-strncpy.c (TEST_NAME): Likewise.
25907         * string/test-strnlen.c (TEST_NAME): Likewise.
25908         * string/test-strpbrk.c (TEST_NAME): Likewise.
25909         * string/test-strrchr.c (TEST_NAME): Likewise.
25910         * string/test-strspn.c (TEST_NAME): Likewise.
25911         * string/test-strstr.c (TEST_NAME): Likewise.
25912         * string/test-bcopy-ifunc.c: New file.
25913         * string/test-bzero-ifunc.c: Likewise.
25914         * string/test-memccpy-ifunc.c: Likewise.
25915         * string/test-memchr-ifunc.c: Likewise.
25916         * string/test-memcmp-ifunc.c: Likewise.
25917         * string/test-memcpy-ifunc.c: Likewise.
25918         * string/test-memmem-ifunc.c: Likewise.
25919         * string/test-memmove-ifunc.c: Likewise.
25920         * string/test-mempcpy-ifunc.c: Likewise.
25921         * string/test-memset-ifunc.c: Likewise.
25922         * string/test-rawmemchr-ifunc.c: Likewise.
25923         * string/test-stpcpy-ifunc.c: Likewise.
25924         * string/test-stpncpy-ifunc.c: Likewise.
25925         * string/test-strcasecmp-ifunc.c: Likewise.
25926         * string/test-strcasestr-ifunc.c: Likewise.
25927         * string/test-strcat-ifunc.c: Likewise.
25928         * string/test-strchr-ifunc.c: Likewise.
25929         * string/test-strchrnul-ifunc.c: Likewise.
25930         * string/test-strcmp-ifunc.c: Likewise.
25931         * string/test-strcpy-ifunc.c: Likewise.
25932         * string/test-strcspn-ifunc.c: Likewise.
25933         * string/test-strlen-ifunc.c: Likewise.
25934         * string/test-strncasecmp-ifunc.c: Likewise.
25935         * string/test-strncat-ifunc.c: Likewise.
25936         * string/test-strncmp-ifunc.c: Likewise.
25937         * string/test-strncpy-ifunc.c: Likewise.
25938         * string/test-strnlen-ifunc.c: Likewise.
25939         * string/test-strpbrk-ifunc.c: Likewise.
25940         * string/test-strrchr-ifunc.c: Likewise.
25941         * string/test-strspn-ifunc.c: Likewise.
25942         * string/test-strstr-ifunc.c: Likewise.
25944         * debug/Makefile (tests-ifunc): New variable.
25945         (tests): Add $(tests-ifunc).
25946         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25947         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25948         * debug/test-stpcpy_chk-ifunc.c: New file.
25949         * debug/test-strcpy_chk-ifunc.c: Likewise.
25951 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25953         [BZ #13601]
25954         * elf/dl-load.c (open_verify): Retry read if the entire ELF
25955         header is not read in.
25957 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
25959         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
25960         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
25961         directly.  Pass built executable to script as
25962         $(built-program-cmd).
25963         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
25964         $testprogram without using LD_LIBRARY_PATH and $ldso.
25966         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25967         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25968         $(rtld-installed-name).
25969         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25970         (rtld_installed_name): Likewise.
25971         (library_path): Likewise.
25972         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
25973         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25974         $(run-program-prefix) to tst-tables.sh.
25975         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
25976         it to run tst-table-from and tst-table-to.
25977         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25978         Pass it to tst-table.sh.
25979         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25980         $(run-program-prefix) to tst-gettext.sh.
25981         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25982         tst-translit.sh.
25983         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25984         tst-gettext2.sh.
25985         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
25986         to run tst-gettext.
25987         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
25988         to run tst-gettext2.
25989         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
25990         to run tst-translit.
25991         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25992         $(run-program-prefix) to tst-mtrace.sh.
25993         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
25994         to run tst-mtrace.
25995         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25996         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25997         $(rtld-installed-name).
25998         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25999         (rtld_installed_name): Likewise.
26000         (run_program_prefix): New variable.  Use it to run wordexp-test.
26002         * Makeconfig (ARCH): Remove all definitions.
26003         (machine): Likewise.
26004         [ARCH]: Remove conditional code.
26005         [!objdir]: Give error.
26006         [!objdir] (objpfx): Remove.
26007         [!objdir] (common-objpfx): Likewise.
26008         [!objdir] (common-objdir): Likewise.
26009         * configure.in (config_makefile): Remove.  Hardcode Makefile in
26010         AC_CONFIG_FILES call.
26011         * configure: Regenerated.
26013         [BZ #13888]
26014         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26015         or TMPDIR.
26016         (testout): Likewise.
26018         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26019         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26020         $(rtld-installed-name).
26021         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26022         (rtld_installed_name): Likwise.
26023         (runit): Remove function.
26024         (run_getconf): New variable,  Use it for running getconf binary.
26026 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
26028         [BZ #14716]
26029         * string/test-memmem.c (check_result): New function.
26030         (do_one_test): Use it.
26031         (check1): New function.
26032         (test_main): Use it.
26034 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
26036         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26038 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
26040         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26041         (_G_LSEEK64): Likewise.
26042         (_G_MMAP64): Likewise.
26043         (_G_FSTAT64): Likewise.
26044         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26045         (_G_LSEEK64): Likewise.
26046         (_G_MMAP64): Likewise.
26047         (_G_FSTAT64): Likewise.
26048         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26049         unconditional.  Call __mmap64 directly.
26050         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26051         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
26052         __lseek64 directly.
26053         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26054         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
26055         __mmap64 directly.
26056         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26057         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26058         __lseek64 directly.
26059         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26060         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26061         __lseek64 directly.
26062         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26063         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
26064         __lseek64 directly.
26065         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26066         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
26067         __fxstat64 directly.
26068         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26069         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26070         unconditional.
26071         (freopen64) [!_G_OPEN64]: Remove conditional code.
26072         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26073         unconditional.
26074         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26075         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26076         unconditional.
26077         (ftello64) [!_G_LSEEK64]: Remove conditional code.
26078         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26079         unconditional.
26080         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26081         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26082         unconditional.
26083         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26084         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26085         unconditional.
26086         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26087         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26088         unconditional.
26089         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26090         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26091         unconditional.
26092         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26094 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26096         [BZ #12140]
26097         * manual/memory.texi (Malloc Tunable Parameters): Add note
26098         about free list pointers overwriting some perturb bytes.
26099         Wording suggested by Roland McGrath.
26101 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
26103         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26104         (lgamma_test): Likewise.
26105         (tgamma_test): Likewise.
26107 2012-10-16  Florian Weimer  <fweimer@redhat.com>
26109         [BZ #14700]
26110         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26111         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26113 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
26115         * NEWS: Mention BZ #14716.
26116         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26117         when removing AVAILABLE1_USES_J macro.
26119 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
26121         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26122         (__bswap_64): __uint64_t for unsigned 64-bit int.
26124 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
26126         * include/string.h (memmem): Declare libc hidden alias.
26127         * string/memmem.c (memmem): Define libc hidden alias.
26128         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26129         __read, __close instead of open, read, close.
26131 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
26133         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26134         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26135         global and hidden.
26136         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26137         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26138         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26139         Likewise.
26140         (__rawmemchr_sse2): Likewise.
26141         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26142         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26143         (__strchr_sse2): Likewise.
26144         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26145         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26146         (__strcasecmp_sse2): Likewise.
26147         (__strncasecmp_sse2): Likewise.
26148         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26149         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26150         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26151         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26152         (__strrchr_sse2): Likewise.
26153         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26154         ifunc-impl-list.c.
26155         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26156         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26157         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26158         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26159         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26160         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26161         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26162         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26163         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26164         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26165         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26166         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26167         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26168         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26169         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26170         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26171         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26172         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26173         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26174         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26175         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26176         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26177         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26178         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26179         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26180         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26181         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26182         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26183         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26184         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26186         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26187         global and hidden.
26188         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26189         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26190         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26191         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26192         Likewise.
26193         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26194         Likewise.
26195         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26196         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26197         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26198         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26199         ifunc-impl-list.c.
26200         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26201         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26202         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26203         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26204         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26205         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26206         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26207         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26208         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26209         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26210         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26211         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26212         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26213         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26214         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26215         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26216         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26217         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26218         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26219         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26220         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26221         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26222         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26223         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26224         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26225         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26226         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26227         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26228         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26229         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26230         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26231         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26232         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26233         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26234         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26235         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26236         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26237         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26238         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26239         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26240         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26242         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26243         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26244         * include/ifunc-impl-list.h: New file.
26245         * misc/ifunc-impl-list.c: Likewise.
26246         * misc/Makefile (routines): Add ifunc-impl-list.
26247         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26248         * string/test-string.h: Include <ifunc-impl-list.h>.
26249         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26250         TEST_NAME]: New variables.
26251         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26252         are defined.
26253         (test_init): Call __libc_ifunc_impl_list to initialize
26254         func_list if TEST_IFUNC and TEST_NAME are defined.
26256         * string/Makefile (strop-tests): Add bcopy and bzero.
26257         * string/test-bcopy.c: New file.
26258         * string/test-bzero.c: Likewise.
26259         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26260         defined.
26261         * string/test-memset.c: Support bzero test if TEST_BZERO is
26262         defined.
26263         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26264         __libc_memmove.
26265         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26266         __libc_memset.
26267         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26268         of memset.
26270 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
26272         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26273         * configure: Regenerated.
26275         * Makeconfig (+link-static-before-libc): Don't include
26276         $(link-static-libc).
26278         * libio/libio.h (_IO_pos_t): Remove.
26280 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26282         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
26283         McGrath.
26285 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26287         * crypt/crypt-entry.c: Include fips-private.h.
26288         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26289         * crypt/md5c-test.c (main): Tolerate disabled MD5.
26290         * sysdeps/unix/sysv/linux/fips-private.h: New file.
26291         * sysdeps/generic/fips-private.h: New file, dummy fallback.
26293 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26295         * crypt/crypt-private.h: Include stdbool.h.
26296         (_ufc_setup_salt_r): Return bool.
26297         * crypt/crypt-entry.c: Include errno.h.
26298         (__crypt_r): Return NULL with EINVAL for bad salt.
26299         * crypt/crypt_util.c (bad_for_salt): New.
26300         (_ufc_setup_salt_r): Check that salt is long enough and within
26301         the specified alphabet.
26302         * crypt/badsalttest.c: New file.
26303         * crypt/Makefile (tests): Add it.
26304         ($(objpfx)badsalttest): New.
26306 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
26308         * NEWS: Add entry for BZ #14602.
26310 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26312         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26313         type-generic.
26314         * math/libm-test.inc: Update comment listing what functions and
26315         macros are tested.
26316         (isgreater_test): New function.
26317         (isgreaterequal_test): Likewise.
26318         (isless_test): Likewise.
26319         (islessequal_test): Likewise.
26320         (islessgreater_test): Likewise.
26321         (isunordered_test): Likewise.
26322         (main): Call the new functions.
26324 2012-10-09  Roland McGrath  <roland@hack.frob.com>
26326         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26327         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26328         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26329         * sysdeps/i386/configure: Regenerated.
26330         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26331         * sysdeps/mach/configure: Regenerated.
26332         * sysdeps/mach/hurd/configure: Regenerated.
26333         * sysdeps/powerpc/configure: Regenerated.
26334         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26335         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26336         * sysdeps/s390/s390-32/configure: Regenerated.
26337         * sysdeps/s390/s390-64/configure: Regenerated.
26338         * sysdeps/sh/configure: Regenerated.
26339         * sysdeps/sparc/configure: Regenerated.
26340         * sysdeps/unix/sysv/linux/configure: Regenerated.
26341         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26342         * sysdeps/x86_64/configure: Regenerated.
26344         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26345         defined.  Don't check if MAP is NULL.
26347 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26349         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26350         (_G_stat64): Likewise.
26351         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26352         (_G_stat64): Likewise.
26353         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26354         instead of struct _G_stat64.
26355         * libio/fileops.c (mmap_remap_check): Likewise.
26356         (decide_maybe_mmap): Likewise.
26357         (_IO_new_file_seekoff): Likewise.
26358         (_IO_file_stat): Likewise.
26359         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26360         _G_off64_t.
26361         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26362         instead of struct _G_stat64.
26363         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26365 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
26367         [BZ #14602]
26368         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26369         Replace with ...
26370         (CHECK_EOL): New macro.
26371         (two_way_short_needle): Check beginning of haystack for EOL.  Use
26372         CHECK_EOL.
26373         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26374         Replace with CHECK_EOL.
26375         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26376         Replace with CHECK_EOL.
26378 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
26380         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26381         type-generic.
26382         * math/libm-test.inc: Update comment listing what functions and
26383         macros are tested.
26384         (finite_test): New function.
26385         (isinf_test): Likewise.
26386         (isnan_test): Likewise.
26387         (fpclassify_test): Test subnormal input.
26388         (isfinite_test): Likewise.
26389         (isnormal_test): Likewise.
26390         (main): Call the new functions.
26392 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
26394         [BZ #14660]
26395         * Makerules (%.dynsym): Force C locale when running
26396         $(OBJDUMP) --dynamic-syms.
26398 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
26400         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26401         <stdint.h>.
26403 2012-10-06  David S. Miller  <davem@davemloft.net>
26405         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26406         upper 32-bits of the length value in %o2 since we use branch-on-register
26407         tests which consider the entire 64-bit register.
26409 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
26411         * string/test-strstr.c (check2): Add a test for page boundary.
26413 2012-10-05  David S. Miller  <davem@davemloft.net>
26415         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26416         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26417         file.
26418         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26419         sysdep_routines.
26420         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26421         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26422         and bzero when HWCAP_SPARC_CRYPTO is present.
26424 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
26426         [BZ #14602]
26427         * string/test-strstr.c (check2): New function.
26428         (test_main): Call check2.
26430         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26431         and bug-strchr1.
26432         * string/bug-strcasestr1.c (do_test): Moved to ...
26433         * string/test-strcasestr.c (check1): Here.  New function.
26434         (do_one_test): Break out result checking code into ...
26435         (check_result): This.  New function.
26436         (do_one_test): Call check_result.
26437         (test_main): Call check1.
26438         * string/bug-strchr1.c (do_test): Moved to ...
26439         * string/test-strchr.c (check1): Here.  New function.
26440         (do_one_test): Break out result checking code into ...
26441         (check_result): This.  New function.
26442         (do_one_test): Call check_result.
26443         (test_main): Call check1.
26444         * string/bug-strstr1.c (main): Moved to ...
26445         * string/test-strstr.c (check1): Here.  New function.
26446         (do_one_test): Break out result checking code into ...
26447         (check_result): This.  New function.
26448         (do_one_test): Call check_result.
26449         (test_main): Call check1.
26450         * string/bug-strcasestr1.c: Removed.
26451         * string/bug-strchr1.c: Likewise.
26452         * string/bug-strstr1.c: Likewise.
26454         * elf/Makefile (dl-routines): Add hwcaps.
26455         * elf/dl-support.c (_dl_important_hwcaps): Removed.
26456         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26457         (_dl_important_hwcaps): Moved to ...
26458         * elf/dl-hwcaps.c: Here.  New file.
26459         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26461         [BZ #14557]
26462         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26463         if IS_IN_rtld isn't defined.
26465         * elf/dl-support.c (_dl_sysinfo_map): New.
26466         Include "get-dynamic-info.h" and "setup-vdso.h".
26467         (_dl_non_dynamic_init): Call setup_vdso.
26468         * elf/dynamic-link.h: Don't include <assert.h>.
26469         (elf_get_dynamic_info): Moved to ...
26470         * elf/get-dynamic-info.h: Here.  New file.
26471         * elf/dynamic-link.h: Include "get-dynamic-info.h".
26472         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26473         * elf/setup-vdso.h: Here.  New file.
26474         * elf/rtld.c: Include "setup-vdso.h".
26475         (dl_main): Call setup_vdso.
26477 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
26479         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26480         creal in comment listing functions tested.  List finite, isinf,
26481         isnan, isless, islessequal, isgreater, isgreaterequal,
26482         islessgreater, isunordered, lgamma_r and pow10 as functions and
26483         macros not tested.  Mention which functions not tested are aliases
26484         for other functions.  Fix typo.  Note that signs of NaNs are not
26485         tested.
26487         * scripts/config.guess: Update from config.git.
26488         * scripts/config.sub: Likewise.
26490 2012-10-04  Roland McGrath  <roland@hack.frob.com>
26492         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26493         * misc/madvise.c (madvise): Renamed to __madvise.
26494         Make madvise a weak alias.
26495         * include/sys/mman.h: Declare __madvise.
26496         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26497         * sysdeps/unix/syscalls.list
26498         (madvise): Make __madvise the strong name, and madvise a weak alias.
26499         * sysdeps/unix/sysv/linux/syscalls.list
26500         (madvise, mmap): Remove redundant entries.
26501         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26502         * malloc/malloc.c (mtrim): Likewise.
26503         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26505 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26507         * sysdeps/mach/hurd/dl-cache.c: File removed.
26508         * config.h.in (USE_LDCONFIG): New #undef.
26509         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26510         * configure: Regenerated.
26511         * elf/Makefile (dl-routines): Add dl-cache only under
26512         [$(use-ldconfig) = yes].
26513         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26514         cache on [USE_LDCONFIG].
26515         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26516         [USE_LDCONFIG].
26517         * elf/rtld.c (dl_main): Likewise.
26519 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
26521         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26522         _SC_LEVEL4_CACHE_LINESIZE.
26524 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26526         * sysdeps/unix/bsd/confstr.h: File removed.
26528 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
26530         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26531         sys/sdt-config.h.
26533 2012-10-02  Roland McGrath  <roland@hack.frob.com>
26535         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26536         Make 'mapoff' field ElfW(Off) rather than off_t.
26538 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
26540         * nscd/Makefile: Remove nscd-cflags and all its users.
26541         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26542         (CFLAGS-nonlib): Add compiler flags for nscd modules.
26544         [BZ #10631]
26545         * malloc.c (malloc_printerr): Clarify error message.
26547 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
26549         [BZ #14648]
26550         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26551         Set bit_FMA_Usable if FMA is supported.
26552         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26553         macro.
26554         (bit_FMA4_Usable): Updated.
26555         (index_FMA_Usable): New macro.
26556         (CPUID_FMA): Likewise
26557         (HAS_FMA): Defined with bit_FMA_Usable.
26559 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26561         * bits/types.h (__swblk_t): Type removed.
26562         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26563         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26564         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26565         (__SWBLK_T_TYPE): Likewise.
26566         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26567         (__SWBLK_T_TYPE): Likewise.
26568         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26569         (__SWBLK_T_TYPE): Likewise.
26570         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26571         (__SWBLK_T_TYPE): Likewise.
26573 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
26574             Honza Horak <hhorak@redhat.com>
26576         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26577         (xdr_mapname): Use YPMAXMAP as maxsize.
26578         (xdr_peername): Use YPMAXPEER as maxsize.
26579         (xdr_keydat): Use YPAXRECORD as maxsize.
26580         (xdr_valdat): Use YPMAXRECORD as maxsize.
26582 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26584         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26586         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26587         * csu/init-first.c: ... here.
26588         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26589         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26590         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26591         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26592         * sysdeps/i386/init-first.c: File removed.
26593         * sysdeps/sh/init-first.c: File removed.
26595 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
26597         [BZ #14645]
26598         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26599         if x * y might underflow to zero and z is zero.
26600         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26601         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26602         * math/libm-test.inc (min_subnorm_value): New variable.
26603         (fma_test): Add more tests.
26604         (fma_test_towardzero): Likewise.
26605         (fma_test_downward): Likewise
26606         (fma_test_upward): Likewise.
26607         (initialize): Set min_subnorm_value.
26609 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
26611         [BZ #14638]
26612         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26613         0 + 0.
26614         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26615         mode for addition resulting in exact zero.
26616         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26617         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26618         exact 0 + 0.
26619         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26620         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26621         * math/libm-test.inc (fma_test): Add more tests.
26622         (fma_test_towardzero): New function.
26623         (fma_test_downward): Likewise.
26624         (fma_test_upward): Likewise.
26625         (main): Call the new functions.
26627 2012-09-28  David S. Miller  <davem@davemloft.net>
26629         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26631 2012-09-28  Roland McGrath  <roland@hack.frob.com>
26633         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26634         instead of SIGALRM.
26636         * sysdeps/gnu/_G_config.h: Moved to ...
26637         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26638         * sysdeps/mach/hurd/_G_config.h: Moved to ...
26639         * sysdeps/generic/_G_config.h: ... here.
26641         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
26643         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26645         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26646         Conditionalize target on [libnss_test1.so-version].
26648         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26650         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26651         (elfobjdir): Move out of conditionals.
26653         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26654         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26655         (__nss_lookup_function): Conditionalize label remove_from_tree on
26656         [!DO_STATIC_NSS || SHARED], matching its only use.
26658 2012-09-28  David S. Miller  <davem@davemloft.net>
26660         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26661         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26662         file.
26663         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26664         sysdep_routines.
26665         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26666         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26667         when HWCAP_SPARC_CRYPTO is present.
26669 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26671         * io/tst-mknodat.c: Create a FIFO instead of a socket.
26673 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
26675         [BZ #6530]
26676         * stdio-common/vfprintf.c (process_string_arg): Revert
26677         2000-07-22 change.
26679 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
26681         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26682         for testcase.
26683         * stdio-common/tst-sprintf.c: Include <locale.h>
26684         (main): Test sprintf's handling of incomplete multibyte
26685         characters.
26687 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
26689         * elf/dl-runtime.c (VERSYMIDX): Removed.
26690         * elf/dl-version.c (VERSYMIDX): Likewise.
26691         * elf/do-rel.h (VERSYMIDX): Likewise.
26692         (VALIDX): Likewise.
26693         * elf/dynamic-link.h (VERSYMIDX): Likewise.
26694         * elf/rtld.c (VALIDX): Likewise.
26695         (ADDRIDX): Likewise.
26696         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26697         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26698         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26699         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26700         (VALIDX): Likewise.
26701         (ADDRIDX): Likewise.
26703 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26705         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26707 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
26709         [BZ #11438]
26710         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26711         to global scope.
26712         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26713         addresses are in the same scope as 192.0.2/24.
26714         * posix/gai.conf: Document new scope table defaults.
26716 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26718         [BZ #5298]
26719         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26720         for ftell.  Compute offsets from write pointers instead.
26721         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26723 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26725         [BZ #14543]
26726         * libio/Makefile (tests): New test case tst-fseek.
26727         * libio/tst-fseek.c: New test case to verify that fseek/ftell
26728         combination works in wide mode.
26729         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26730         state when the external buffer state changes.
26732 2012-09-27  David S. Miller  <davem@davemloft.net>
26734         [BZ #14376]
26735         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26736         pass reloc->r_addend in as the 'high' argument to
26737         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26741 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26743         * rt/tst-aio2.c: Include <pthread.h>.
26744         * rt/tst-aio3.c: Likewise.
26746 2012-09-27  Steve Ellcey  <sellcey@mips.com>
26748         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26750 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
26752         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26753         contents on [SHARED].
26755 2012-09-26  Marek Polacek  <polacek@redhat.com>
26757         [BZ #14530]
26758         [BZ #13741]
26759         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26760         for C++ and GCC <4.3 as well as for non GCC compilers.
26762 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26764         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26766 2012-09-25  Roland McGrath  <roland@hack.frob.com>
26768         * Makefile.in (all, install): Declare with .PHONY.
26769         Reported by Michael Hope <michael.hope@linaro.org>.
26771 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26773         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26774         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26775         system header.
26776         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26777         Likewise.
26778         (sydep_routines): Add the new and the internal functions.
26779         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26780         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26782         (GLIBC_2.17): Add the new function.
26783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26784         (GLIBC_2.17): Likewise.
26785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26786         (GLIBC_2.17): Likewise.
26787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26788         (GLIBC_2.17): Likewise.
26789         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26791 2012-09-25  Alan Modra  <amodra@gmail.com>
26793         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26794         Add release barrier before setting once_control to say
26795         initialisation is done.  Add hints on lwarx.  Use macro in
26796         place of isync.
26797         (clear_once_control): Add release barrier.
26799 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26801         [BZ #13629]
26802         * math/s_clog.c (__clog): Handle more values close to |z| = 1
26803         specially.
26804         * math/s_clog10.c (__clog10): Likewise.
26805         * math/s_clog10f.c (__clog10f): Likewise.
26806         * math/s_clog10l.c (__clog10l): Likewise.
26807         * math/s_clogf.c (__clogf): Likewise.
26808         * math/s_clogl.c (__clogl): Likewise.
26809         * math/Makefile (libm-calls): Add x2y2m1.
26810         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26811         (__x2y2m1): Likewise.
26812         (__x2y2m1l): Likewise.
26813         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26814         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26815         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26816         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26817         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26818         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26819         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26820         * sysdeps/i386/fpu/libm-test-ulps: Update.
26821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26823         [BZ #14621]
26824         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26825         int as type of variable DEPTH.
26826         (glob): Use size_t instead of int as type of variables NEWCOUNT
26827         and OLD_PATHC.
26829 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26831         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26832         Add s_sincosf-sse2.
26833         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26834         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26835         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26836         macros for using routine as __sincosf_ia32.
26837         Use macro for function declaration and weak_alias.
26838         * sysdeps/i386/fpu/libm-test-ulps: Update.
26840         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26841         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26843         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26844         subnormal argument.
26845         * math/s_cexpf.c (__cexpf): Likewise.
26846         * math/s_csinf.c (__csinf): Likewise.
26847         * math/s_csinhf.c (__csinhf): Likewise.
26848         * math/s_ctanf.c (__ctanf): Likewise.
26849         * math/s_ctanhf.c (__ctanhf): Likewise.
26850         * math/s_ccosh.c (__ccoshf): Likewise.
26851         * math/s_cexp.c (__cexpl): Likewise.
26852         * math/s_csin.c (__csin): Likewise.
26853         * math/s_csinh.c (__csinh): Likewise.
26854         * math/s_ctan.c (__ctan): Likewise.
26855         * math/s_ctanh.c (ctanh): Likewise.
26856         * math/s_ccoshl.c (__ccoshl): Likewise.
26857         * math/s_cexpl.c (__cexpl): Likewise.
26858         * math/s_csinl.c (__csinl): Likewise.
26859         * math/s_csinhl.c (__csinhl): Likewise.
26860         * math/s_ctanl.c (__ctanl): Likewise.
26861         * math/s_ctanhl.c (__ctanhl): Likewise.
26863 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26865         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26866         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26867         (_IO_off_t): Define to __off_t, not _G_off_t.
26868         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26869         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26870         (_IO_wint_t): Define to wint_t, not _G_wint_t.
26871         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26872         type of __dummy and __dummy2 fields.
26873         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26874         (_G_ssize_t): Likewise.
26875         (_G_off_t): Likewise.
26876         (_G_pid_t): Likewise.
26877         (_G_uid_t): Likewise.
26878         (_G_wchar_t): Likewise.
26879         (_G_wint_t): Likewise.
26880         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26881         (_G_ssize_t): Likewise.
26882         (_G_off_t): Likewise.
26883         (_G_pid_t): Likewise.
26884         (_G_uid_t): Likewise.
26885         (_G_wchar_t): Likewise.
26886         (_G_wint_t): Likewise.
26887         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26888         (_G_ssize_t): Likewise.
26889         (_G_off_t): Likewise.
26890         (_G_pid_t): Likewise.
26891         (_G_uid_t): Likewise.
26892         (_G_wchar_t): Likewise.
26893         (_G_wint_t): Likewise.
26895 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26897         * malloc/arena.c: Include malloc-sysdep.h.
26898         (shrink_heap): Use check_may_shrink_heap to decide if madvise
26899         is sufficient to shrink the heap or an unmap is needed.
26900         * sysdeps/generic/malloc-sysdep.h: New file.  Define
26901         new function check_may_shrink_heap.
26902         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
26903         new function check_may_shrink_heap.
26905 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26907         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26908         comments.
26910 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
26912         * catgets/test-gencat.sh: Add "set -e".
26913         * elf/tst-pathopt.sh: Likewise.
26914         * grp/tst_fgetgrent.sh: Likewise.
26915         * iconvdata/run-iconv-test.sh: Likewise.
26916         * intl/tst-gettext.sh: Likewise.
26917         * intl/tst-gettext2.sh: Likewise.
26918         * intl/tst-gettext4.sh: Likewise.
26919         * intl/tst-gettext6.sh: Likewise.
26920         * intl/tst-translit.sh: Likewise.
26921         * io/ftwtest-sh: Likewise.
26922         * libio/test-freopen.sh: Likewise.
26923         * malloc/tst-mtrace.sh: Likewise.
26924         * posix/globtest.sh: Likewise.
26925         * posix/tst-getconf.sh: Likewise.
26926         * posix/wordexp-tst.sh: Likewise.
26927         * stdio-common/tst-printf.sh: Likewise.
26928         * stdio-common/tst-unbputc.sh: Likewise.
26929         * stdlib/tst-fmtmsg.sh: Likewise.
26930         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26931         * catgets/Makefile: Do not specify -e option when running
26932         testsuite shell scripts.
26933         * elf/Makefile: Likewise.
26934         * grp/Makefile: Likewise.
26935         * iconvdata/Makefile: Likewise.
26936         * intl/Makefile: Likewise.
26937         * io/Makefile: Likewise.
26938         * libio/Makefile: Likewise.
26939         * malloc/Makefile: Likewise.
26940         * posix/Makefile: Likewise.
26941         * stdio-common/Makefile: Likewise.
26942         * stdlib/Makefile: Likewise.
26943         * sysdeps/x86_64/Makefile: Likewise.
26945         * io/ftwtest-sh: Add copyright header.
26946         * posix/globtest.sh: Likewise.
26947         * posix/tst-getconf.sh: Likewise.
26948         * posix/wordexp-tst.sh: Likewise.
26949         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26951 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
26953         [BZ #13679]
26954         * Makeconfig (+link): Defined as $(+link-static) if
26955         $(build-shared) isn't yes.
26956         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26957         isn't yes.
26958         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26960         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26962         [BZ #14562]
26963         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26964         new chunk size with MALLOC_ALIGN_MASK.
26966 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
26968         [BZ #5044]
26969         * stdio-common/printf_fphex.c: Include <stdbool.h> and
26970         <rounding-mode.h>.
26971         (__printf_fphex): Determine rounding using get_rounding_mode and
26972         round_away.
26973         * stdio-common/tst-printf-round.c (struct hex_test): New
26974         structure.
26975         (hex_tests): New variable.
26976         (test_hex_in_one_mode): New function.
26977         (do_test): Also run tests for hex float output.
26979 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
26981         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26982         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26983         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26984         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26985         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26986         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26987         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26988         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26990 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
26992         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26993         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26994         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26995         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26997 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
26999         [BZ #14579]
27000         * elf/rtld.c (dl_main): Limit the check for self loading to normal
27001         mode only.
27002         * elf/tst-rtld-load-self.sh: New test.
27003         * elf/Makefile: Run it.
27005 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
27007         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27008         (tst-writev-ENV): Remove.
27009         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27011 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
27013         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27015 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
27017         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27018         unconditional.
27019         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27020         Likewise.
27021         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27022         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27023         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27024         Likewise.
27026 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
27028         [BZ #14587]
27029         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27030         * config.make.in (have-cpp-asm-debuginfo): Removed.
27031         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27032         * configure: Regenerated.
27034 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
27036         [BZ #5044]
27037         * stdio-common/printf_fp.c: Include <stdbool.h> and
27038         <rounding-mode.h>.
27039         (___printf_fp): Determine rounding using get_rounding_mode and
27040         round_away.
27041         * stdio-common/tst-printf-round.c: New file.
27042         * stdio-common/Makefile (tests): Add tst-printf-round.
27043         (link-libm): New variable.
27044         ($(objpfx)tst-printf-round): Depend in $(link-libm).
27046 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
27048         [BZ #14576]
27049         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27050         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27051         Likewise.
27052         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27053         Likewise.
27055 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
27057         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27058         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27059         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27060         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27062 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
27064         [BZ #14518]
27065         * include/rounding-mode.h: New file.
27066         * sysdeps/generic/get-rounding-mode.h: Likewise.
27067         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27068         * stdlib/strtod_l.c: Include <rounding-mode.h>.
27069         (MAX_VALUE): New macro.
27070         (MIN_VALUE): Likewise.
27071         (overflow_value): New function.
27072         (underflow_value): Likewise.
27073         (round_and_return): Use overflow_value and underflow_value to
27074         determine return values in overflow and underflow cases.  Use
27075         round_away to determine rounding depending on rounding mode.
27076         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27077         determine return values in overflow and underflow cases.
27078         * stdlib/tst-strtod-round.c: Include <fenv.h>.
27079         (struct test_results): New structure.
27080         (struct test): Use struct test_results to store expected results
27081         for all rounding modes.
27082         (TEST): Include expected results for all rounding modes.
27083         (test_in_one_mode): New function.
27084         (do_test): Use test_in_one_mode to compute and check results.
27085         Check results for all rounding modes.
27086         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27087         $(link-libm).
27089 2012-12-09  Allan McRae  <allan@archlinux.org>
27091         * sysdeps/i386/fpu/libm-test-ulps: Update
27093 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
27095         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27096         (_G_int32_t): Likewise.
27097         (_G_uint16_t): Likewise.
27098         (_G_uint32_t): Likewise.
27099         (_G_HAVE_BOOL): Likewise.
27100         (_G_HAVE_ATEXIT): Likewise.
27101         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27102         (_G_HAVE_IO_FILE_OPEN): Likewise.
27103         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27104         (_G_int32_t): Likewise.
27105         (_G_uint16_t): Likewise.
27106         (_G_uint32_t): Likewise.
27107         (_G_HAVE_BOOL): Likewise.
27108         (_G_HAVE_ATEXIT): Likewise.
27109         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27110         (_G_HAVE_IO_FILE_OPEN): Likewise.
27111         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27112         (_G_int32_t): Likewise.
27113         (_G_uint16_t): Likewise.
27114         (_G_uint32_t): Likewise.
27115         (_G_HAVE_BOOL): Likewise.
27116         (_G_HAVE_ATEXIT): Likewise.
27117         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27118         (_G_HAVE_IO_FILE_OPEN): Likewise.
27120 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
27122         * csu/libc-tls.c: Update copyright years.
27124 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
27126         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27127         [!_G_USING_THUNKS]: Remove conditional code.
27128         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27129         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27131         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27132         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27133         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27134         (_G_VTABLE_LABEL_PREFIX): Likewise.
27135         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27136         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27137         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27138         (_G_VTABLE_LABEL_PREFIX): Likewise.
27139         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27140         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27141         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27142         (_G_VTABLE_LABEL_PREFIX): Likewise.
27143         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27145 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
27147         * libio/Makefile: Include ../Makeconfig before tests.
27148         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27149         only if $(build-shared) is yes.
27151         * iconv/gconv_db.c: Update copyright years.
27153 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27155         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27156         unwind info if defined PIC. Fix special cases description.
27157         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27159         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27160         DP_HI_MASK entry.
27161         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27163 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
27165         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27167         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27168         is NULL.
27170         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27171         (LDLIBS-tst-chk4): This.
27172         (LDFLAGS-tst-chk5): Renamed to ...
27173         (LDLIBS-tst-chk5): This.
27174         (LDFLAGS-tst-chk6): Renamed to ...
27175         (LDLIBS-tst-chk6): This.
27176         (LDFLAGS-tst-lfschk4): Renamed to ...
27177         (LDLIBS-tst-lfschk4): This.
27178         (LDFLAGS-tst-lfschk5): Renamed to ...
27179         (LDLIBS-tst-lfschk5): This.
27180         (LDFLAGS-tst-lfschk6): Renamed to ...
27181         (LDLIBS-tst-lfschk6): This.
27183         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27184         on $(common-objpfx)soversions.mk.
27186 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
27188         [BZ #10014]
27189         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27190         example host name.
27192 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27194         * malloc/arena.c (arena_get_retry): New function that gets
27195         another arena for the caller to try its request on.
27196         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27197         current arena cannot fulfill the request.
27198         (__libc_memalign): Likewise.
27199         (__libc_memalign): Likewise.
27200         (__libc_pvalloc): Likewise.
27201         (__libc_calloc): Likewise.
27203 2012-09-05  John Tobey  <john.tobey@gmail.com>
27205         [BZ #13542]
27206         * manual/arith.texi (Operations on Complex): Fix description
27207         of carg branch cut.
27209 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27211         [BZ #10014]
27212         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27213         host name.
27215         [BZ #10038]
27216         * manual/memory.texi (Memory): Make order of menu items match
27217         order of sections.
27219 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27221         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27222         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
27223         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27225 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27227         * csu/libc-tls.c (static_dtv): Renamed to ...
27228         (_dl_static_dtv): This.  Make it global.
27229         (_dl_initial_dtv): Removed.
27230         (__libc_setup_tls): Updated.
27231         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27232         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27233         DL_INITIAL_DTV.
27235 2012-09-06  Petr Machata  <pmachata@redhat.com>
27237         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27238         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27239         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27240         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27242 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27244         [BZ #14545]
27245         * csu/libc-tls.c (_dl_initial_dtv): New variable.
27246         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27247         freeing dtv[-1].
27249 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27251         [BZ #14544]
27252         * Makeconfig (link-static-before-libc): Replace $(+prector)
27253         with $(+prectorT).
27254         (link-static-after-libc): Replace $(+postctor) with
27255         $(+postctorT).
27256         (link-bounded): Replace $(+prector)/$(+postctor) with
27257         $(+prectorT)/$(+postctorT).
27258         (+prectorT): New macro.
27259         (+postctorT): Likewise.
27261 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27263         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27264         (round_str): Handle values above the maximum for IBM long double
27265         as inexact.
27266         * stdlib/tst-strtod-round.c (tests): Regenerated.
27268 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27270         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27271         assembler flag.
27272         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27273         zarch_nohighgprs around the zarch optimized routines.
27274         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27275         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27276         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27277         for zarch.
27279 2012-09-05  David S. Miller  <davem@davemloft.net>
27281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27283         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27284         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27285         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27286         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27287         entries.
27289 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27291         * malloc/arena.c: Fold copyright years.
27292         * malloc/mcheck.c, malloc/memusage.c: Likewise.
27294 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27296         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27298 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27300         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
27302 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27304         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27305         change internal state upon failure.
27307 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27309         * malloc/mcheck.c (mcheck_check_all): Fix typo.
27310         * malloc/memusage.c (mmap): Likewise.
27311         (mmap64, mremap): Likewise.  Adjust name in comment.
27313 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27315         * libio/fileops.c: Fix typos in comments.
27316         * libio/oldfileops.c: Likewise.
27317         * libio/wfileops.c: Likewise.
27319 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27321         [BZ #1349]
27322         * malloc/Makefile (tests): Add tst-malloc-usable test case.
27323         (tst-malloc-usable-ENV): Set environment for test case.
27324         * malloc/hooks.c (malloc_check_get_size): New function to get
27325         requested size.
27326         * malloc/malloc.c (musable): Use malloc_check_get_size.
27327         * malloc/tst-malloc-usable.c: New test case.
27329 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27331         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27333 2012-09-05  Allan McRae  <allan@archlinux.org>
27335         [BZ #13966]
27336         * configure.in (CXX_SYSINCLUDES): Use compiler output to
27337         determine header location.
27338         * configure: Regenerated.
27340 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27342         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27343         float format.
27344         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27345         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27346         format.
27347         (test): Regenerate.
27349 2012-09-04  David S. Miller  <davem@davemloft.net>
27351         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27352         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27353         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27355 2012-09-04  Florian Weimer  <fweimer@redhat.com>
27357         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27358         failures.
27360         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27362 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
27364         [BZ #9914]
27365         * libio/iogetdelim.c: Include <limits.h>.
27366         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27367         + len + 1 would overflow.
27369 2012-09-03  Andreas Jaeger  <aj@suse.de>
27371         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27372         * sysdeps/i386/fpu/libm-test-ulps: Update.
27374 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27376         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27377         Add s_sinf-sse2, s_conf-sse2.
27379         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27380         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27381         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27382         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27384         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27385         for using routine as __sinf_ia32.
27386         Use macro for function declaration and weak_alias.
27387         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27388         for using routine as __cosf_ia32.
27389         Use macro for function declaration and weak_alias.
27391         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27392         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27394         * sysdeps/x86_64/fpu/s_sinf.S: New file.
27395         * sysdeps/x86_64/fpu/s_cosf.S: New file.
27396         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27398         * math/libm-test.inc (cos_test): Add more test cases.
27399         (sin_test): Likewise.
27400         (sincos_test): Likewise.
27402 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27404         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27405         (IFUNC_RESOLVE): Make pointers to the specialized implementations
27406         hidden.
27407         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27409 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
27411         [BZ #14538]
27412         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27413         first element of the GOT.
27414         (elf_machine_load_address): Return the difference between
27415         the runtime address of _DYNAMIC and elf_machine_dynamic ().
27417 2012-09-01  Allan McRae  <allan@archlinux.org>
27419         [BZ #13412]
27420         * configure.in (AWK): Require gawk version 3.0 or later.
27421         * configure: Regenerated.
27423 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
27425         * sysdeps/unix/sysv/linux/kernel-features.h
27426         (__ASSUME_POSIX_CPU_TIMERS): Remove.
27427         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27428         [__NR_clock_getres]: Make code unconditional.
27429         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27430         (clock_getcpuclockid): Remove code left unreachable by removal of
27431         conditionals.
27432         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27433         code unconditional.
27434         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27435         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27436         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27437         Make code unconditional.
27438         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27439         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27440         * sysdeps/unix/sysv/linux/clock_settime.c
27441         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27442         conditional code.
27443         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27444         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27446 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
27448         [BZ #14476]
27449         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27450         scripts/test-installation.pl.
27452         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27453         and $ld_so_version if it is set.
27455 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27457         [BZ #14516]
27458         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27459         failure if reading from procfs failed.
27460         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27462 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27464         * sysdeps/unix/sysv/linux/kernel-features.h
27465         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27466         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27467         Remove conditional code.
27468         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27469         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27470         Remove conditional code.
27471         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27472         * sysdeps/unix/sysv/linux/i386/fxstat.c
27473         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27474         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27475         * sysdeps/unix/sysv/linux/i386/fxstatat.c
27476         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27477         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27478         * sysdeps/unix/sysv/linux/i386/lxstat.c
27479         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27480         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27481         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27482         Remove conditional code.
27483         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27484         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27485         Remove conditional code.
27486         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27487         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27488         <kernel-features.h>.
27489         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27490         Remove.
27491         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27492         Remove conditional code.
27493         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27494         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27495         Remove conditional.
27497 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
27499         [BZ #5400]
27500         * NEWS: Add fixed bug number.
27502 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27504         [BZ #14519]
27505         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27506         underflowing exponent in case of negative sign.
27507         * stdlib/tst-strtod-round-data: Add more tests.
27508         * stdlib/tst-strtod-round.c (tests): Regenerated.
27510         [BZ #3479]
27511         * stdlib/strtod_l.c (NDIG): Remove.
27512         (HEXNDIG): Likewise.
27513         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27514         smallest representable value.
27515         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27516         lie within an exact representation of 1/2 ulp of the result.
27517         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27518         unconditionally.
27519         (TENS_P9_IDX): Define unconditionally.
27520         (TENS_P9_SIZE): Likewise.
27521         (TENS_P10_IDX): Likewise.
27522         (TENS_P10_SIZE): Likewise.
27523         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27524         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27525         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27526         entries for 10^2^13 and 10^2^14.
27527         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27528         (TENS_P13_IDX): Define.
27529         (TENS_P13_SIZE): Likewise.
27530         (TENS_P14_IDX): Likewise.
27531         (TENS_P14_SIZE): Likewise.
27532         (_fpioconst_pow10): Change array size to
27533         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
27534         unconditional.
27535         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27536         1024]: Add entries for 10^2^13 and 10^2^14.
27537         [LAST_POW10 > _LAST_POW10]: Remove #error.
27538         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27539         (_fpioconst_pow10): Change array size to
27540         FPIOCONST_POW10_ARRAY_SIZE.
27541         * stdlib/gen-fpioconst.c: New file.
27542         * stdlib/gen-tst-strtod-round.c: Likewise.
27543         * stdlib/tst-strtod-round-data: Likewise.
27544         * stdlib/tst-strtod-round.c: Likewise.
27545         * stdlib/Makefile (tests): Add tst-strtod-round.
27547         [BZ #14459]
27548         * stdlib/strtod_l.c: Include <stdint.h>.
27549         (NDEBUG): Do not define.
27550         (round_and_return): Change EXPONENT parameter to type intmax_t.
27551         Rearrange calculations to avoid internal overflow possibilities.
27552         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27553         Rearrange calculations to avoid internal overflow possibilities.
27554         Assert that number fits inside MPNSIZE limbs.
27555         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27556         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
27557         calculations and add assertions to avoid internal overflow
27558         possibilities.  Add casts to avoid signed/unsigned operations.
27559         * stdlib/tst-strtod-overflow.c: New file.
27560         * stdlib/Makefile (tests): Add tst-strtod-overflow.
27562 2012-08-25  Marek Polacek  <polacek@redhat.com>
27564         * time/time.h: Fix some typos in comments.
27566 2012-08-23  Roland McGrath  <roland@hack.frob.com>
27568         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27569         * posix/tst-rfc3484-2.c: Likewise.
27570         * posix/tst-rfc3484-3.c: Likewise.
27572 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
27574         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27575         (EF_ARM_ABI_FLOAT_HARD): Likewise.
27577 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
27579         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27580         #include of fxstatat64.c.
27582 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27584         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27585         * shadow/getspent_r.c: Likewise.
27586         * shadow/getspnam.c: Likewise.
27587         * shadow/getspnam_r.c: Likewise.
27588         * gshadow/getsgent.c: Likewise.
27589         * gshadow/getsgent_r.c: Likewise.
27590         * gshadow/getsgnam.c: Likewise.
27591         * gshadow/getsgnam_r.c: Likewise.
27592         * inet/getnetbyad.c: Likewise.
27593         * inet/getnetbyad_r.c: Likewise.
27594         * inet/getnetbynm.c: Likewise.
27595         * inet/getnetbynm_r.c: Likewise.
27596         * inet/getnetent.c: Likewise.
27597         * inet/getnetent_r.c: Likewise.
27598         * inet/getproto.c: Likewise.
27599         * inet/getproto_r.c: Likewise.
27600         * inet/getprtent.c: Likewise.
27601         * inet/getprtent_r.c: Likewise.
27602         * inet/getprtname.c: Likewise.
27603         * inet/getprtname_r.c: Likewise.
27604         * inet/getrpcbyname.c: Likewise.
27605         * inet/getrpcbyname_r.c: Likewise.
27606         * inet/getrpcbynumber.c: Likewise.
27607         * inet/getrpcbynumber_r.c: Likewise.
27608         * inet/getrpcent.c: Likewise.
27609         * inet/getrpcent_r.c: Likewise.
27610         * inet/getaliasent.c: Likewise.
27611         * inet/getaliasent_r.c: Likewise.
27612         * inet/getaliasname.c: Likewise.
27613         * inet/getaliasname_r.c: Likewise.
27614         * nscd/getgrgid_r.c: Likewise.
27615         * nscd/getgrnam_r.c: Likewise.
27616         * nscd/gethstbyad_r.c: Likewise.
27617         * nscd/gethstbynm3_r.c: Likewise.
27618         * nscd/getpwnam_r.c: Likewise.
27619         * nscd/getpwuid_r.c: Likewise.
27620         * nscd/getsrvbynm_r.c: Likewise.
27621         * nscd/getsrvbypt_r.c: Likewise.
27622         * nscd/gai.c: Likewise.
27624         * configure.in (build_nscd): New substituted variable, set
27625         by --disable-build-nscd and defaults to $use_nscd.
27626         * configure: Regenerated.
27627         * config.make.in (build-nscd): New substituted variable.
27628         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27629         Change conditional to require [$(build-nscd) = yes] as well.
27630         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27632         [BZ# 13696]
27633         * configure.in (use_nscd): New substituted variable, set by
27634         --disable-nscd.  If enabled, define USE_NSCD.
27635         * configure: Regenerated.
27636         * config.h.in: Add USE_NSCD.
27637         * config.make.in (use-nscd): New substituted variable.
27638         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27639         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27640         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27641         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27642         (CFLAGS-getgrnam_r.c): Likewise.
27643         (CFLAGS-initgroups.c): Likewise.
27644         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27645         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27646         Variables removed.
27647         * inet/getnetgrent_r.c
27648         (nscd_setnetgrent): New function, broken out of ...
27649         (setnetgrent): ... here.  Call it.
27650         (innetgr): Conditionalize nscd bits on [USE_NSCD].
27651         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27652         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27653         * nscd/Makefile (routines, aux): Move definitions after include of
27654         Makeconfig.  Conditionalize on [$(use-nscd) != no].
27655         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27656         Conditionalize on [USE_NSCD].
27657         (is_nscd, nscd_init_cb): Likewise.
27658         (nss_load_library): Conditionalize init callback on [USE_NSCD].
27659         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27660         * nss/nss_db/db-init.c: Likewise.
27661         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27662         [USE_NSCD].
27663         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27664         (make_request): Use it.
27665         (cache_valid_p): New function.
27666         (__check_pf): Use it.
27667         * NEWS: Add item for --disable-nscd.
27669 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
27671         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27672         to support sed >= 4.2.1-20-ga9bf076.
27673         * configure: Regenerated.
27675 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27677         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27678         Conditionalize whole body on [IREL].
27680 2012-08-22  Jeff Law <law@redhat.com>
27682         [BZ #14505]
27683         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27684         if the family is PF_UNSPEC.
27686 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
27688         * Makerules (lib-version): Rename from V.
27689         (install-lib-nosubdir): Change V to lib-version.
27691 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
27693         [BZ #14252]
27694         * powerpc32/power6/wcschr.c: New file.
27695         * powerpc32/power6/wcscpy.c: New file.
27696         * powerpc32/power6/wcsrchr.c: New file.
27697         * powerpc64/power6/wcschr.c: New file.
27698         * powerpc64/power6/wcscpy.c: New file.
27699         * powerpc64/power6/wcsrchr.c: New file.
27701 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27703         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27704         (two_way_short_needle): Use it.
27705         * string/strstr.c (AVAILABLE1_USES_J): Define.
27706         * string/strcasestr.c: Likewise.
27708         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27709         array references.
27710         * string/strcasestr.c (TOLOWER): Make side-effect safe.
27712         [BZ #11607]
27713         * NEWS: Add an entry.
27714         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27715         define their defaults.
27716         (two_way_short_needle): Detect end-of-string on-the-fly.
27717         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27718         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27719         * string/bug-strcasestr1.c: New test.
27720         * string/Makefile: Run it.
27722 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27724         [BZ #11607]
27725         * string/str-two-way.h (two_way_short_needle): Optimize matching of
27726         the first character.
27728 2012-08-21  Roland McGrath  <roland@hack.frob.com>
27730         * csu/elf-init.c (__libc_csu_irel): Function removed.
27731         * csu/libc-start.c (apply_irel): New function.
27732         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27734 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
27736         * sysdeps/unix/sysv/linux/kernel-features.h
27737         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27738         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27739         <kernel-features.h>.
27740         [__NR_fadvise64_64]: Make code unconditional.
27741         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27742         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27743         !__NR_fadvise64_64)]: Likewise.
27744         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27745         !__NR_fadvise64_64))]: Likewise.
27746         [__NR_fadvise64]: Make code unconditional.
27747         [!__NR_fadvise64]: Remove conditional code.
27748         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27749         <kernel-features.h>.
27750         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27751         unconditional.
27752         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27753         conditional code.
27754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27755         not include <kernel-features.h>.
27756         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27757         unconditional.
27758         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27759         conditional code.
27760         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27761         include <kernel-features.h>.
27762         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27763         unconditional.
27764         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27765         conditional code.
27767 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27769         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27770         slight instruction rearrangements per scrollpipe analysis.
27771         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27773 2012-08-20  Roland McGrath  <roland@hack.frob.com>
27775         * manual/syslog.texi (syslog; vsyslog, closelog):
27776         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27777         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27779         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27780         DSOCAPS to match condition on defining it.
27782 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
27784         * sysdeps/unix/sysv/linux/kernel-features.h
27785         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27787         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27788         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27790         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27791         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27793         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27794         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27796         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27797         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27799         * sysdeps/unix/sysv/linux/kernel-features.h
27800         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27801         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27802         unconditional.
27803         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27804         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27805         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27806         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27807         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27808         Make code unconditional.
27809         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27810         (__mmap64) [!__NR_mmap2]: Likewise.
27811         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27812         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27813         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27814         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27815         [__NR_mmap2]: Make code unconditional.
27816         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27817         (__mmap64) [!__NR_mmap2]: Likewise.
27819 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27821         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27823 2012-08-18  Andreas Jaeger  <aj@suse.de>
27825         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27827 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27829         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27830         * include/unistd.h (__have_sock_cloexec): Likewise.
27831         (__have_pipe2): Likewise.
27832         (__have_dup3): Likewise.
27834 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27836         [BZ #9685]
27837         * include/unistd.h (__have_pipe2): Change define into an extern int.
27838         (__have_dup3): Likewise.
27839         * socket/have_sock_cloexec.c: Include fcntl.h.
27840         (__have_pipe2): New variable.
27841         (__have_dup3): Likewise.
27843 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
27845         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27847 2012-08-17  Marek Polacek  <polacek@redhat.com>
27849         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27850         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27852 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27854         * configure.in: Add AC_SUBST for sysheaders.
27855         * configure: Regenerated.
27856         * config.make.in (sysheaders): New substituted variable.
27858         * sysdeps/unix/mkfifo.c: Moved ...
27859         * sysdeps/posix/mkfifo.c: ... here.
27860         * sysdeps/unix/mkfifoat.c: Moved ...
27861         * sysdeps/posix/mkfifoat.c: ... here.
27863         * sysdeps/unix/utime.c: Moved ...
27864         * sysdeps/posix/utime.c: ... here.
27866         * sysdeps/unix/time.c: Moved ...
27867         * sysdeps/posix/time.c: ... here.
27868         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27869         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27871         * sysdeps/unix/nice.c: Moved ...
27872         * sysdeps/posix/nice.c: ... here.
27874         * sysdeps/unix/alarm.c: Moved ...
27875         * sysdeps/posix/alarm.c: ... here.
27877         * intl/Makefile ($(codeset_mo)): Depend on the input file.
27879 2012-08-17  Jeff Law <law@redhat.com>
27881         * intl/Makefile (codeset_mo): New variable.
27882         ($(codeset_mo)): New target.
27883         (tst-codeset.out): Depend on that.  Remove explicit rule.
27884         (tst-gettext3.out, tst-gettext5.out): Likewise.
27885         (LOCPATH-ENV, tst-codeset-ENV): New variables.
27886         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27887         * intl/tst-codeset.sh: Remove.
27888         * intl/tst-gettext3.sh: Likewise.
27889         * intl/tst-gettext5.sh: Likewise.
27891 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27893         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
27894         * sysdeps/unix/syscalls.list: ... here.
27896         * sysdeps/posix/getaddrinfo.c
27897         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27898         (gaiconf_init, gaiconf_reload): Use them.
27899         [!_STATBUF_ST_NSEC]
27900         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27901         Define using time_t rather than struct timespec.
27903         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27904         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27905         Macros removed.
27906         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27907         [!NO_THREADS].
27908         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27909         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27910         Likewise.
27912         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27913         __libc_cleanup_push argument.
27915         * bits/param.h: New file.
27916         * misc/sys/param.h: New file.
27917         * include/sys/param.h: New file.
27918         * misc/Makefile (headers): Add bits/param.h.
27919         * sysdeps/generic/sys/param.h: File removed.
27920         * sysdeps/unix/sysv/linux/bits/param.h: New file.
27921         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27922         * sysdeps/mach/hurd/bits/param.h: New file.
27923         * sysdeps/mach/hurd/sys/param.h: File removed.
27925         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27926         last change.
27928         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27929         [_IO_MTSAFE_IO].
27930         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27931         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27932         New macros.
27934         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27935         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27936         rather than -D_IO_MTSAFE_IO conditionally.
27937         * stdio-common/Makefile (CPPFLAGS): Likewise.
27938         * wcsmbs/Makefile (CPPFLAGS): Likewise.
27939         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27940         Use $(libio-mtsafe).
27941         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27942         of -D_IO_MTSAFE_IO.
27943         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27944         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27945         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27946         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27947         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27948         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27949         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27950         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27951         (CFLAGS-fread_u_chk.c): Likewise.
27952         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27953         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27954         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27955         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27956         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27957         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27958         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27959         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27960         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27962         * libio/Makefile: Test [$(libc-reentrant) = yes]
27963         instead of [$(filter %REENTRANT, $(defines)) nonempty].
27965         * Makeconfig
27966         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27967         * sysdeps/pthread/configure: File removed.
27968         * sysdeps/pthread/Makeconfig: New file.
27969         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27970         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27972 2012-08-16  Gary Benson  <gbenson@redhat.com>
27974         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27975         unmapping the first object in a namespace.
27977 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27979         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27980         (__internal_setnetgrent): ... this.  Add internal_function to
27981         definition.  Add libc_hidden_def.
27982         (setnetgrent): Update caller.
27983         (internal_endnetgrent): Renamed to ...
27984         (__internal_endnetgrent): ... this.  Add internal_function to
27985         definition.  Add libc_hidden_def.
27986         (endnetgrent): Update caller.
27987         (internal_getnetgrent_r): Renamed to ...
27988         (__internal_getnetgrent_r): ... this.  Add internal_function to
27989         definition.  Add libc_hidden_def.
27990         (__getnetgrent_r): Update caller.
27991         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
27993 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27995         * stdlib/longlong.h: Update from GCC.
27997 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27999         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28000         on _QL, which is set by umul_ppmm but never used.
28001         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28002         variables, which are set by GMP macros but never used.
28003         * stdio-common/_itowa.c (_itowa): Likewise.
28004         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28005         * stdlib/mod_1.c (mpn_mod_1): Likewise.
28007 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
28009         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28010         struct La_sh_regs is not constant.
28011         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28012         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28013         and struct La_sparc64_regs are not constant.
28015 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
28017         * sysdeps/unix/sysv/linux/kernel-features.h
28018         (__ASSUME_POSIX_TIMERS): Remove.
28019         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28020         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28021         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28022         Make code unconditional.
28023         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28024         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28025         Make code unconditional.
28026         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28027         * sysdeps/unix/sysv/linux/clock_nanosleep.c
28028         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28029         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28030         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28031         Make code unconditional.
28032         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28033         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28034         (__libc_missing_posix_timers): Remove.
28036 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28038         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28039         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28041         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28043         * elf/dl-sym.c: Include <stdlib.h>.
28045         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28046         constants, which avoids warnings in 32-bit builds.
28048         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28049         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28051         * misc/lseek.c: File moved to ...
28052         * io/lseek.c: ... here.
28054         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28056         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28057         shifting LEN more than 31 bits at once.
28059 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28061         [BZ #14195]
28062         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28063         segmentation fault for a case of two empty input strings.
28064         * string/test-strncasecmp.c (check1): Renamed to...
28065         (bz12205): ...this.
28066         (bz14195): Add new testcase for two empty input strings and N > 0.
28067         (test_main): Call new testcase, adapt for renamed function.
28069 2012-08-15  Andreas Jaeger  <aj@suse.de>
28071         [BZ #14090]
28072         * crypt/md5test2.c: New test, based on test supplied by Serge
28073         Belyshev <belyshev@depni.sinp.msu.ru>.
28074         * crypt/Makefile (xtests): Add md5test-giant..
28075         * crypt/Makefile ($(objpfx)md5test-giant): Add.
28077 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
28079         [BZ #14090]
28080         * crypt/md5.c (md5_process_block): Don't assume the buffer
28081         length is less than 2**32.
28082         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28083         length is less than 2**64.
28085 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28087         * string/str-two-way.h: Include <sys/param.h>.
28088         (MAX): Macro removed.
28090         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28091         Move #define and #undef of memmove to just before and after
28092         including <string.h>.
28094         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28095         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28096         and after including <string.h>.  Move declarations of
28097         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28098         to before #include "string/memmove.c".
28100         * include/dirent.h: Declare __getdirentries.
28102         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28103         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28105 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
28107         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28108         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28109         * sysdeps/i386/configure: Regenerated.
28110         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28111         STABS_CURRENT_FILE, and STABS_FUN.
28112         (END): Remove call to STABS_FUN_END.
28113         (STABS_CURRENT_FILE1): Delete.
28114         (STABS_CURRENT_FILE): Likewise.
28115         (STABS_FUN): Likewise.
28116         (STABS_FUN_END): Likewise.
28117         (STABS_FUN2): Likewise.
28118         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28119         * sysdeps/x86_64/configure: Regenerated.
28121 2012-08-14  Roland McGrath  <roland@hack.frob.com>
28123         * elf/dl-open.c: Include <atomic.h>.
28124         * elf/dl-lookup.c: Likewise.
28126 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
28128         * sysdeps/unix/sysv/linux/kernel-features.h
28129         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28130         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28131         unconditionally.
28132         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28133         unconditionally.
28134         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28135         condition on __ASSUME_CLONE_THREAD_FLAGS.
28137 2012-08-14  Andreas Jaeger  <aj@suse.de>
28139         * sysdeps/i386/fpu/libm-test-ulps: Update.
28141 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
28143         * include/atomic.h (atomic_exchange_and_add): Split into ...
28144         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28145         New atomic macros.
28147 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
28149         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28151 2012-08-13  Jeff Law <law@redhat.com>
28153         * manual/stdio.texi (snprintf): Clarify handling of the trailing
28154         null byte in the output string.
28156 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
28158         * sysdeps/unix/sysv/linux/kernel-features.h
28159         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28160         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28161         (__ASSUME_ARG_MAX_STACK_BASED): Define.
28162         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28163         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28164         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
28165         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28167 2012-08-09  Jeff Law <law@redhat.com>
28169         [BZ #13939]
28170         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28171         When avoid_arena is set, don't retry in the that arena.  Pick the
28172         next one, whatever it might be.
28173         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28174         (arena_lock): Pass in new parameter to arena_get2.
28175         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28176         arena_get2.
28177         (__libc_malloc): Unify retrying after main arena failure with
28178         __libc_memalign version.
28179         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28181 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
28183         [BZ #14166]
28184         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28185         to __redirect_strstr.
28186         (__strstr_sse42): Use typeof __redirect_strstr.
28187         (__strstr_ia32): Likewise.
28188         (__libc_strstr): New prototype.
28189         (strstr): Renamed to ...
28190         (__libc_strstr): This.
28191         (strstr): New strong alias of __libc_strstr.
28192         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28193         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28194         __redirect_time.
28195         Include <time.h>.
28196         (__libc_time): New prototype.
28197         (time_ifunc): Replace time with __libc_time.
28198         (time): New strong alias and hidden definition of __libc_time.
28199         (__GI_time): Remove strong alias.
28200         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28201         Include <stddef.h>.
28202         (memmove): Redefined to __redirect_memmove.
28203         (__memmove_sse2): Use typeof __redirect_memmove.
28204         (__memmove_ssse3): Likewise.
28205         (__memmove_ssse3_back): Likewise.
28206         (__libc_memmove): New prototype.
28207         (memmove): Renamed to ...
28208         (__libc_memmove): This.
28209         (memmove): New strong alias of __libc_memmove.
28211 2012-08-08  Mark Salter  <msalter@redhat.com>
28213         * elf/elf.h
28214         (R_MN10300_TLS_GD): Define.
28215         (R_MN10300_TLS_LD): Likewise.
28216         (R_MN10300_TLS_LDO): Likewise.
28217         (R_MN10300_TLS_GOTIE): Likewise.
28218         (R_MN10300_TLS_IE): Likewise.
28219         (R_MN10300_TLS_LE): Likewise.
28220         (R_MN10300_TLS_DTPMOD): Likewise.
28221         (R_MN10300_TLS_DTPOFF): Likewise.
28222         (R_MN10300_TLS_TPOFF): Likewise.
28223         (R_MN10300_SYM_DIFF): Likewise.
28224         (R_MN10300_ALIGN): Likewise.
28225         (R_MN10300_NUM): Update.
28227 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
28229         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28230         Remove.
28232 2012-08-08  Roland McGrath  <roland@hack.frob.com>
28234         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28236         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28237         sysdeps/unix -> sysdeps/posix move.
28238         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28240 2012-08-07      Allan McRae     <allan@archlinux.org>
28242         [BZ #14303]
28243         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28244         (SUNOS_CPP): Likewise.
28245         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28246         not found.
28247         (open_input): Call CPP using execvp.
28249 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28251         * sysdeps/unix/sysv/linux/kernel-features.h
28252         (__ASSUME_PROT_GROWSUPDOWN): Remove.
28253         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28254         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28255         (__ASSUME_WAITID_SYSCALL): Likewise.
28256         * sysdeps/unix/sysv/linux/dl-execstack.c
28257         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28258         code unconditional.
28259         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28260         conditional code.
28261         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28262         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28263         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28264         code.
28265         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28266         unconditional.
28267         [__ASSUME_WAITID_SYSCALL]: Likewise.
28268         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28270 2012-08-07  Roland McGrath  <roland@hack.frob.com>
28272         * sysdeps/unix/closedir.c: Renamed to ...
28273         * sysdeps/posix/closedir.c: ... here.
28274         * sysdeps/unix/dirfd.c: Renamed to ...
28275         * sysdeps/posix/dirfd.c: ... here.
28276         * sysdeps/unix/dirstream.h: Renamed to ...
28277         * sysdeps/posix/dirstream.h: ... here.
28278         * sysdeps/unix/fdopendir.c: Renamed to ...
28279         * sysdeps/posix/fdopendir.c: ... here.
28280         * sysdeps/unix/opendir.c: Renamed to ...
28281         * sysdeps/posix/opendir.c: ... here.
28282         * sysdeps/unix/readdir.c: Renamed to ...
28283         * sysdeps/posix/readdir.c: ... here.
28284         * sysdeps/unix/readdir_r.c: Renamed to ...
28285         * sysdeps/posix/readdir_r.c: ... here.
28286         * sysdeps/unix/rewinddir.c: Renamed to ...
28287         * sysdeps/posix/rewinddir.c: ... here.
28288         * sysdeps/unix/seekdir.c: Renamed to ...
28289         * sysdeps/posix/seekdir.c: ... here.
28290         * sysdeps/unix/telldir.c: Renamed to ...
28291         * sysdeps/posix/telldir.c: ... here.
28292         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28293         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28294         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28295         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28297         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28298         * bits/fcntl.h: ... here.
28300         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28301         not 0.
28302         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28303         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28304         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28305         (struct flock): Move l_start, l_len to the beginning.
28306         Use __pid_t for l_pid.
28307         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28308         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28309         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28310         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28311         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28312         [__USE_LARGEFILE64] (struct flock64): New type.
28313         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28315         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28316         * bits/dirent.h: ... here.
28318         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28319         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28321 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28323         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28324         Change from 2.6.0 to 2.6.16.
28325         * sysdeps/unix/sysv/linux/configure: Regenerated.
28326         * sysdeps/unix/sysv/linux/kernel-features.h
28327         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28328         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28329         version.
28330         (__ASSUME_UTIMES): Likewise.
28331         (__ASSUME_CLONE_STOPPED): Remove.
28332         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28333         architectures, not kernel version.
28334         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28335         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28336         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28337         (__ASSUME_WAITID_SYSCALL): Likewise.
28338         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28339         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28340         * README: State 2.6.16 as minimum Linux kernel version.  Do not
28341         refer to older versions.
28343 2012-08-06  Roland McGrath  <roland@hack.frob.com>
28345         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28346         Define alphasort64 as an alias.
28347         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28348         Define versionsort64 as an alias.
28349         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28350         Define scandir64 as an alias.
28351         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28352         Define scandirat64 as an alias.
28353         * dirent/alphasort64.c (alphasort64):
28354         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28355         * dirent/versionsort64.c: Likewise.
28356         * dirent/scandir64.c: Likewise.
28357         * dirent/scandirat64.c: Likewise.
28358         * sysdeps/wordsize-64/alphasort.c: File removed.
28359         * sysdeps/wordsize-64/alphasort64.c: File removed.
28360         * sysdeps/wordsize-64/scandir.c: File removed.
28361         * sysdeps/wordsize-64/scandir64.c: File removed.
28362         * sysdeps/wordsize-64/scandirat.c: File removed.
28363         * sysdeps/wordsize-64/scandirat64.c: File removed.
28364         * sysdeps/wordsize-64/versionsort.c: File removed.
28365         * sysdeps/wordsize-64/versionsort64.c: File removed.
28366         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28367         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28368         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28369         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28370         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28371         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28372         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28373         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28375         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28376         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28377         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28378         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28379         [defined __arch64__ || defined __sparcv9]
28380         (__INO_T_MATCHES_INO64_T): New macro.
28381         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28382         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28383         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28384         * sysdeps/unix/sysv/linux/bits/dirent.h
28385         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28386         (_DIRENT_MATCHES_DIRENT64): New macro.
28388         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28389         Define lockf64 as an alias.
28390         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28391         Define fseeko64 as an alias.
28392         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28393         Define ftello64 as an alias.
28394         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28395         Define _IO_fgetpos64 and fgetpos64 as aliases.
28396         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28397         Define _IO_fsetpos64 and fsetpos64 as aliases.
28398         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28399         Conditionalize body on this.
28400         * libio/fseeko64.c: Likewise.
28401         * libio/ftello64.c: Likewise.
28402         * libio/iofgetpos64.c: Likewise.
28403         * libio/iofsetpos64.c: Likewise.
28404         * sysdeps/wordsize-64/lockf.c: File removed.
28405         * sysdeps/wordsize-64/lockf64.c: File removed.
28406         * sysdeps/wordsize-64/fseeko.c: File removed.
28407         * sysdeps/wordsize-64/fseeko64.c: File removed.
28408         * sysdeps/wordsize-64/ftello.c: File removed.
28409         * sysdeps/wordsize-64/ftello64.c: File removed.
28410         * sysdeps/wordsize-64/iofgetpos.c: File removed.
28411         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28412         * sysdeps/wordsize-64/iofsetpos.c: File removed.
28413         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28414         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28415         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28416         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28417         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28418         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28419         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28420         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28421         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28422         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28423         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28425         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28426         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28427         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28428         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28429         [defined __arch64__ || defined __sparcv9]
28430         (__OFF_T_MATCHES_OFF64_T): New macro.
28431         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28432         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28433         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28434         (__OFF_T_MATCHES_OFF64_T): New macro.
28436 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28438         * stdlib/secure-getenv.c (__secure_getenv): Replace
28439         GLIBC_2_16 with GLIBC_2_17.
28441 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28443         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28444         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28446 2012-08-03  David S. Miller  <davem@davemloft.net>
28448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28450 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28452         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28453         Remove.
28454         (__ASSUME_CORRECT_SI_PID): Likewise.
28455         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28456         (__ASSUME_TMPFS_NAME): Likewise.
28457         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28458         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28459         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28460         (HAVE_AUX_SECURE): Make definition unconditional.
28461         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28462         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28464 2012-08-03  Roland McGrath  <roland@hack.frob.com>
28466         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28467         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28468         * sysdeps/mach/hurd/eloop-threshold.h: New file.
28469         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28470         __eloop_threshold instead of SYMLOOP_MAX.
28472         * sysdeps/generic/eloop-threshold.h: New file.
28473         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28474         of MAXSYMLINKS.
28475         * elf/chroot_canon.c (chroot_canon): Likewise.
28477 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28479         [BZ #13717]
28480         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28481         Change to 2.6.0 everywhere.
28482         * sysdeps/unix/sysv/linux/configure: Regenerated.
28483         * sysdeps/unix/sysv/linux/kernel-features.h
28484         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28485         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28486         kernel versions.
28487         (__ASSUME_POSIX_TIMERS): Define unconditionally.
28488         (__ASSUME_FUTEX_REQUEUE): Remove.
28489         (__ASSUME_STATFS64): Define unconditionally.
28490         (__ASSUME_AT_SECURE): Likewise.
28491         (__ASSUME_CORRECT_SI_PID): Likewise.
28492         (__ASSUME_TGKILL): Define without depending on kernel version for
28493         i386.
28494         (__ASSUME_UTIMES): Likewise.
28495         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28496         kernel version.
28497         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28498         (__ASSUME_TMPFS_NAME): Likewise.
28499         * README: Update reference to Linux kernel versions.
28501 2012-08-02  Marek Polacek  <polacek@redhat.com>
28503         [BZ# 14150]
28504         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
28505         libc_cv_asm_type_prefix with %.
28506         * configure: Regenerated.
28507         * include/libc-symbols.h: Remove comment about
28508         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28509         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28510         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28511         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28512         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28513         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28514         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28515         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28516         * elf/tst-unique2mod1.c: Likewise.
28517         * elf/tst-unique1mod2.c: Likewise.
28518         * elf/tst-unique1mod1.c: Likewise.
28519         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28520         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28521         Replace ASM_TYPE_DIRECTIVE with .type.
28522         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28523         * sysdeps/i386/sysdep.h: Likewise.
28524         * sysdeps/x86_64/sysdep.h: Likewise.
28525         * sysdeps/sh/sysdep.h: Likewise.
28526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28527         Do not define ASM_TYPE_DIRECTIVE.
28528         * sysdeps/powerpc/sysdep.h: Likewise.
28529         * sysdeps/powerpc/powerpc32/sysdep.h:
28530         Replace ASM_TYPE_DIRECTIVE with .type.
28531         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28532         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28533         * sysdeps/i386/fpu/e_powf.S: Likewise.
28534         * sysdeps/i386/fpu/e_expl.S: Likewise.
28535         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28536         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28537         * sysdeps/i386/fpu/e_pow.S: Likewise.
28538         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28539         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28540         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28541         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28542         * sysdeps/i386/fpu/e_log2.S: Likewise.
28543         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28544         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28545         * sysdeps/i386/fpu/e_powl.S: Likewise.
28546         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28547         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28548         * sysdeps/i386/fpu/e_logl.S: Likewise.
28549         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28550         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28551         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28552         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28553         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28554         * sysdeps/i386/fpu/e_log.S: Likewise.
28555         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28556         * sysdeps/i386/fpu/e_logf.S: Likewise.
28557         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28558         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28559         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28560         * sysdeps/i386/fpu/e_log10.S: Likewise.
28561         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28562         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28563         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28564         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28565         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28566         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28567         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28568         * sysdeps/i386/i686/strtok.S: Likewise.
28569         * sysdeps/i386/i386-mcount.S: Likewise.
28570         * sysdeps/i386/strtok.S: Likewise.
28571         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28572         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28573         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28574         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28575         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28576         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28577         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28578         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28579         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28580         * sysdeps/x86_64/_mcount.S: Likewise.
28581         * sysdeps/x86_64/strtok.S: Likewise.
28582         * sysdeps/sh/_mcount.S: Likewise.
28584 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28586         * libio/iofopen.c: Include <fcntl.h>.
28587         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28588         (_IO_fopen64, fopen64): Define as aliases.
28589         * libio/iofopen64.c: Include <fcntl.h>.
28590         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28591         Conditionalize body on this.
28592         * sysdeps/wordsize-64/iofopen.c: File removed.
28593         * sysdeps/wordsize-64/iofopen64.c: File removed.
28595 2012-08-01  Marek Polacek  <polacek@redhat.com>
28597         * libc/Makeconfig: Use elf in place of binfmt-subdir.
28598         Use dlfcn directly instead of a variable.
28599         (binfmt-subdir): Do not define.
28600         (dlfcn): Likewise.
28602 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
28604         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28605         Remove all definitions.
28606         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28607         <kernel-features.h>.
28608         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28609         (miss_F_GETOWN_EX): Remove all definitions.
28610         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28611         macro definition.
28612         [!__ASSUME_FCNTL64]: Remove conditional code.
28613         [__ASSUME_FCNTL64]: Make code unconditional.
28614         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28615         <kernel-features.h>.
28616         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28617         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28618         (lockf64) [__NR_fcntl64]: Make code unconditional.
28619         (lockf64) [__ASSUME_FCNTL64]: Likewise.
28621         * sysdeps/unix/sysv/linux/kernel-features.h
28622         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28623         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28624         Make code unconditional.
28625         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28626         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28628         [__NR_vfork]: Make code unconditional.
28629         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28630         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28632         [__NR_vfork]: Make code unconditional.
28633         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28634         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28636 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28638         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28639         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28641         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28642         Define mkstemp64 as an alias.
28643         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28644         Define mkstemps64 as an alias.
28645         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28646         Define mkostemp64 as an alias.
28647         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28648         Define mkostemps64 as an alias.
28649         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28650         Conditionalize body on this.
28651         * misc/mkostemp64.c: Likewise.
28652         * misc/mkostemps64.c: Likewise.
28653         * misc/mkstemps64.c: Likewise.
28654         * sysdeps/wordsize-64/mkstemp64.c: File removed.
28655         * sysdeps/wordsize-64/mkostemp64.c: File removed.
28656         * sysdeps/wordsize-64/mkostemp.c: File removed.
28657         * sysdeps/wordsize-64/mkstemp.c: File removed.
28658         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28659         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28660         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28661         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28663         [BZ #14138]
28664         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28665         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28666         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28667         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28669         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28670         compat_symbol macros from <shlib-compat.h> rather than the underlying
28671         default_symbol_version and symbol_version macros, so that DEFAULT
28672         lines in shlib-versions are respected.
28673         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28675 2012-08-01  Florian Weimer  <fweimer@redhat.com>
28677         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28678         Declare with warn_unused_result.
28679         (setgid, setregid, setegid, setresgid): Likewise.
28680         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28681         Likewise.
28682         * WUR-REPORT: Remove set*id functions.
28684 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
28686         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28688 2012-07-31  Roland McGrath  <roland@hack.frob.com>
28690         [BZ #10191]
28691         * include/sys/socket.h (__libc_accept, __libc_accept4):
28692         Add attribute_hidden.
28693         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28695         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28696         use of PTR_MANGLE.
28697         * inet/getnetgrent_r.c (setup): Likewise.
28699         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28701 2012-07-31  David S. Miller  <davem@davemloft.net>
28703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28705 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
28707         [BZ #13629]
28708         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28709         value between 1.0 and 2.0 and smaller part has absolute value less
28710         than 1.0.
28711         * math/s_clog10.c (__clog10): Likewise.
28712         * math/s_clog10f.c (__clog10f): Likewise.
28713         * math/s_clog10l.c (__clog10l): Likewise.
28714         * math/s_clogf.c (__clogf): Likewise.
28715         * math/s_clogl.c (__clogl): Likewise.
28716         * math/libm-test.inc (clog_test): Add more tests.
28717         (clog10_test): Likewise.
28718         * sysdeps/i386/fpu/libm-test-ulps: Update.
28719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28721 2012-07-31  Florian Weimer  <fweimer@redhat.com>
28723         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28724         Exit with zero in case no suitable GID is found, and write a
28725         message to standard error.
28727 2012-07-30  Roland McGrath  <roland@hack.frob.com>
28729         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28730         rather than to 1.
28731         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28732         (MAXPATHLEN): Removed.
28733         (NOGROUP, NODEV): New macros.
28734         (setbit, clrbit, isset, isclr): New macros.
28735         (howmany, roundup, powerof2): New macros.
28736         (DEV_BSIZE): New macro.
28738         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28739         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28741         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28742         definition on [!__NO_LONG_DOUBLE_MATH].
28744         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28745         PTR_MANGLE and PTR_DEMANGLE.
28747         * socket/accept4.c (accept4): Rename to __libc_accept4.
28748         Define accept4 as a weak alias.
28750         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28751         on [_DIRENT_HAVE_D_TYPE].
28752         * io/ftw.c (ftw_dir): Likewise.
28754         * io/xmknod.c (__xmknod): Don't check PATH for being null.
28756         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28758         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28759         Use the BSD numbers rather than the arbitrary ones we had.
28760         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28761         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28762         (SIGXCPU, SIGXFSZ): New macros.
28763         (_NSIG): Now 32.
28765         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28766         initializer on [_LIBC_REENTRANT].
28768         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28769         definitions inside [_POSIX_MAPPED_FILES].
28771         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28773         * dirent/opendir.c: Include <fcntl.h>.
28775         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28776         (__libc_getspecific): Likewise.
28777         (__libc_key_create): Likewise.
28779         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28780         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28781         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28782         (tmpfile64): Define as alias.
28783         * sysdeps/wordsize-64/tmpfile.c: File removed.
28784         * sysdeps/wordsize-64/tmpfile64.c: File removed.
28785         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28786         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28788         * stdio-common/vfscanf.c: Include <stdbool.h>.
28789         * nss/makedb.c: Likewise.
28790         * stdio-common/_i18n_number.h: Likewise.
28791         * argp/argp-help.c: Likewise.
28792         * posix/wordexp.c: Likewise.
28793         * sysdeps/posix/spawni.c: Likewise.
28794         * nss/nss_files/files-initgroups.c: Likewise.
28795         * stdio-common/reg-modifier.c: Include <stdlib.h>.
28796         * nss/nss_files/files-initgroups.c: Likewise.
28797         * nss/nss_db/db-netgrp.c: Likewise.
28798         * nss/nss_db/db-initgroups.c: Likewise.
28799         * io/fchmodat.c: Include <sys/stat.h>.
28801         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28802         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28804         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28805         [HAVE_MMAP].
28807         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28808         Add multiple inclusion protection.
28810 2012-07-27  David S. Miller  <davem@davemloft.net>
28812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28814 2012-07-27  Gary Benson  <gbenson@redhat.com>
28816         [BZ #14298]
28817         * elf/rtld.c: Include <stap-probe.h>.
28818         (dl_main): Added static probes "init_start" and "init_complete".
28819         * elf/dl-load.c: Include <stap-probe.h>.
28820         (lose): Take new parameter "nsid".
28821         Added static probe "map_failed".
28822         (_dl_map_object_from_fd): Pass namespace id to lose.
28823         Added static probe "map_start".
28824         (open_verify): Pass namespace id to lose.
28825         * elf/dl-open.c: Include <stap-probe.h>.
28826         (dl_open_worker) Added static probes "map_complete", "reloc_start"
28827         and "reloc_complete".
28828         * elf/dl-close.c: Include <stap-probe.h>.
28829         (_dl_close_worker): Added static probes "unmap_start" and
28830         "unmap_complete".
28831         * elf/rtld-debugger-interface.txt: New file documenting the above.
28833 2012-07-26  Roland McGrath  <roland@hack.frob.com>
28835         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28836         rather than a string variable.
28837         * sunrpc/rpc_main.c (h_output): Likewise.
28838         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28840 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
28842         * inet/check_native.c: New file.
28844 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
28846         [BZ #13629]
28847         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28848         if larger part has absolute value 1.0.
28849         * math/s_clog10.c (__clog10): Likewise.
28850         * math/s_clog10f.c (__clog10f): Likewise.
28851         * math/s_clog10l.c (__clog10l): Likewise.
28852         * math/s_clogf.c (__clogf): Likewise.
28853         * math/s_clogl.c (__clogl): Likewise.
28854         * math/libm-test.inc (clog_test): Add more tests.
28855         (clog10_test): Likewise.
28856         * sysdeps/i386/fpu/libm-test-ulps: Update.
28857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28859         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28860         (pltexit): Likewise.
28861         (La_regs): Likewise.
28862         (La_retval): Likewise.
28863         (int_retval): Likewise.
28864         Update #error for removed macros to refer only to definitions in
28865         tst-audit.h.
28866         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28867         macro.
28868         (pltexit): Likewise.
28869         (La_regs): Likewise.
28870         (La_retval): Likewise.
28871         (int_retval): Likewise.
28872         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28873         macro.
28874         (pltexit): Likewise.
28875         (La_regs): Likewise.
28876         (La_retval): Likewise.
28877         (int_retval): Likewise.
28878         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28879         macro.
28880         (pltexit): Likewise.
28881         (La_regs): Likewise.
28882         (La_retval): Likewise.
28883         (int_retval): Likewise.
28884         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28885         macro.
28886         (pltexit): Likewise.
28887         (La_regs): Likewise.
28888         (La_retval): Likewise.
28889         (int_retval): Likewise.
28890         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28891         macro.
28892         (pltexit): Likewise.
28893         (La_regs): Likewise.
28894         (La_retval): Likewise.
28895         (int_retval): Likewise.
28896         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28897         macro.
28898         (pltexit): Likewise.
28899         (La_regs): Likewise.
28900         (La_retval): Likewise.
28901         (int_retval): Likewise.
28902         * sysdeps/generic/tst-audit.h: Update comment to refer only to
28903         macro definitions in tst-audit.h.
28904         * sysdeps/i386/tst-audit.h: New file.
28905         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28906         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28907         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28908         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28909         * sysdeps/sh/tst-audit.h: Likewise.
28910         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28911         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28912         * sysdeps/x86_64/tst-audit.h: Likewise.
28914 2012-07-26  Andreas Jaeger  <aj@suse.de>
28916         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28917         ptrace.
28919         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28920         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28921         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28922         PTRACE_O_MASK.
28923         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28924         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28925         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28927         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28928         value.
28930         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28931         _sigsys.
28932         (si_call_addr, si_syscall, si_arch): Define new macro.
28933         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28934         _sigsys.
28935         (si_call_addr, si_syscall, si_arch): Define new marcro.
28936         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28937         _sigsys.
28938         (si_call_addr, si_syscall, si_arch): Define new macro.
28939         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28940         _sigsys.
28941         (si_call_addr, si_syscall, si_arch): Define new macro.
28943 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28945         [BZ #13717]
28946         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28947         Change to 2.4.21 where previously 2.4.1.
28948         * sysdeps/unix/sysv/linux/configure: Regenerated.
28949         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28950         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28951         Linux kernel version.
28952         (__ASSUME_STD_AUXV): Remove.
28953         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28954         kernel version.
28955         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28956         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28957         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28958         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28959         (__ASSUME_NETLINK_SUPPORT): Likewise.
28960         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28961         (__no_netlink_support): Remove conditional definition.
28962         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28963         Remove.
28964         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28965         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28966         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28967         (if_nameindex_ioctl): Remove.
28968         (if_nameindex_netlink): Do not handle __no_netlink_support.
28969         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28970         code.
28971         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28972         Remove conditional code.
28973         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28974         code.
28975         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28976         unconditional.
28977         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28978         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28979         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28980         Remove.
28981         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28982         [!__ASSUME_STD_AUXV]: Remove conditional code.
28983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28984         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28985         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28987         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28988         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28989         code.
28990         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28992         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28993         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28994         conditional code.
28995         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28997         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28998         code.
28999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29000         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29001         conditional code.
29002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29003         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29004         code unconditional.
29005         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29006         conditional code.
29007         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29008         unconditional.
29009         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29010         conditional code.
29011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29012         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29013         unconditional.
29014         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29015         conditional code.
29016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29017         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29018         code unconditional.
29019         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29020         conditional code.
29021         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29022         unconditional.
29023         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29024         conditional code.
29025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29026         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29027         code unconditional.
29028         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29029         conditional code.
29030         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29031         unconditional.
29032         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29033         conditional code.
29035 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
29037         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29038         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29039         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29040         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29041         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29042         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29043         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29044         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29045         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29046         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29047         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29048         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29049         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29050         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29051         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29052         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29053         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29054         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29055         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29056         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29057         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29058         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29059         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29061 2012-07-25  Florian Weimer  <fweimer@redhat.com>
29063         * Versions.def: Add GLIBC_2.17.
29064         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29065         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29066         Introduce __libc_secure_getenv.
29067         * stdlib/Versions (2.17): Add secure_getenv
29068         (GLIBC_PRIVATE): Add __libc_secure_getenv.
29069         * stdlib/secure-getenv.c: Rename __secure_getenv to
29070         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
29071         symbol __secure_getenv for GLIBC_2.0.
29072         * stdlib/tst-secure-getenv.c: New.
29073         * stdlib/Makefile (tests): Add testcase.
29074         * manual/startup.texi (Environment Access): Document
29075         secure_getenv.
29076         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29077         __libc_secure_getenv.
29078         * inet/ruserpass.c (ruserpass): Likewise.
29079         * malloc/mtrace.c (mtrace): Likewise.
29080         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29081         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29082         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29083         * sysdeps/posix/tempname.c: Likewise.  Evaluate
29084         HAVE_SECURE_GETENV.
29085         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29086         __secure_getenv to __libc_secure_getenv.
29087         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29089         Likewise.
29090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29091         Likewise.
29092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29094         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29100 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29102         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29103         (struct La_i86_retval): Likewise.
29104         (struct La_x86_64_regs): Likewise.
29105         (struct La_x86_64_retval): Likewise.
29106         (struct La_x32_regs): Likewise.
29107         (struct La_x32_retval): Likewise.
29108         (struct La_ppc32_regs): Likewise.
29109         (struct La_ppc32_retval): Likewise.
29110         (struct La_ppc64_regs): Likewise.
29111         (struct La_ppc64_retval): Likewise.
29112         (struct La_sh_regs): Likewise.
29113         (struct La_sh_retval): Likewise.
29114         (struct La_s390_32_regs): Likewise.
29115         (struct La_s390_32_retval): Likewise.
29116         (struct La_s390_64_regs): Likewise.
29117         (struct La_s390_64_retval): Likewise.
29118         (struct La_sparc32_regs): Likewise.
29119         (struct La_sparc32_retval): Likewise.
29120         (struct La_sparc64_regs): Likewise.
29121         (struct La_sparc64_retval): Likewise.
29122         (struct audit_ifaces): Remove architecture-specific pltenter and
29123         pltexit members.
29124         * sysdeps/i386/ldsodefs.h: New file.
29125         * sysdeps/powerpc/ldsodefs.h: Likewise.
29126         * sysdeps/s390/ldsodefs.h: Likewise.
29127         * sysdeps/sh/ldsodefs.h: Likewise.
29128         * sysdeps/sparc/ldsodefs.h: Likewise.
29129         * sysdeps/x86_64/ldsodefs.h: Likewise.
29131 2012-07-25  Marek Polacek  <polacek@redhat.com>
29133         [BZ #6808]
29134         * math/libm-test.inc (yn_test): Add another test.
29135         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29136         to ERANGE when the result is +-Inf.
29137         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29138         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29139         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29140         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29142 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
29144         * conform/data/time.h-data (NULL): Use macro-constant.  Require
29145         equal to 0.
29146         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
29147         clock_t.
29148         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
29150 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
29152         * configure.in <sysdeps resolving>: Correct printing
29153         Implies_before.
29154         * configure: Regenerate.
29156 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
29158         * math/w_ilogb.c: Include <limits.h>.
29159         * math/w_ilogbl.c: Likewise.
29161 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29163         * manual/lang.texi (__va_copy): Document primarily as ISO C99
29164         va_copy.  Document allowing for unavailable va_copy only as
29165         pre-C99 compatibility.
29166         * manual/string.texi (Copying and Concatenation): Use va_copy
29167         instead of __va_copy in concat example.
29169 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
29171         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29172         (__sendto): Use create_address_port.  Initialize APORT and deallocate
29173         it if not null.
29175         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29176         with O_NOLINK passed to __file_name_lookup.
29178         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29179         with O_NOLINK passed to __file_name_lookup.
29181         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29182         negative N or less than NGIDS.
29184         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29185         type to string_t.  Set ERANGE as errno and return it if NAME is not big
29186         enough.  Use memcpy instead of strncpy.
29188 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29190         * elf/Makefile (check-data): Remove.
29191         (localplt.data): New vpath directive.
29192         ($(objpfx)check-localplt.out): Use localplt.data from vpath
29193         instead of $(check-data).
29194         * scripts/data/localplt-generic.data: Move to ...
29195         * sysdeps/generic/localplt.data: ... here.
29196         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29197         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29198         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29200         ... here.
29201         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29203         ... here.
29204         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29206         ... here.
29207         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29209         ... here.
29210         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29211         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29212         ... here.
29213         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29215         ... here.
29217 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29219         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29220         PPC32 and PPC64 files.
29221         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29222         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29224 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29226         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29227         __makecontext_ret to ...
29228         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29229         ... here and call exit if uc_link is NULL.  New file.
29230         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29231         __makecontext_ret.S.
29232         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29233         __makecontext_ret to ...
29234         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29235         ... here and call exit if uc_link is NULL.  New file.
29236         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29237         __makecontext_ret.S.
29239 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29241         * elf/elf.h (R_390_IRELATIVE): New definition.
29242         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29243         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
29244         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29245         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29246         (elf_machine_lazy_rel): Likewise.
29247         * sysdeps/s390/dl-irel.h: New file.
29248         * sysdeps/s390/s390-64/memcpy.S: New asm code.
29249         * sysdeps/s390/s390-64/memset.S: New asm code.
29250         * sysdeps/s390/s390-64/memcmp.S: New asm code.
29251         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29252         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29253         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29254         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29255         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29256         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29257         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29258         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29259         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29260         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29261         * sysdeps/s390/s390-32/memcpy.S: New asm code.
29262         * sysdeps/s390/s390-32/memset.S: New asm code.
29263         * sysdeps/s390/s390-32/memcmp.S: New asm code.
29265 2012-07-17  Marek Polacek  <polacek@redhat.com>
29267         [BZ #14349]
29268         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29269         * sysdeps/s390/s390-64/configure.in: Likewise.
29270         * sysdeps/sparc/configure.in: Likewise.
29271         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29272         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29273         * sysdeps/i386/configure.in: Likewise.
29274         * sysdeps/x86_64/configure.in: Likewise.
29275         * sysdeps/sh/configure.in: Likewise.
29276         * sysdeps/s390/s390-32/configure: Regenerated.
29277         * sysdeps/s390/s390-64/configure: Likewise.
29278         * sysdeps/x86_64/configure: Likewise.
29279         * sysdeps/sh/configure: Likewise.
29280         * sysdeps/powerpc/powerpc64/configure: Likewise.
29281         * sysdeps/powerpc/powerpc32/configure: Likewise.
29282         * sysdeps/sparc/configure: Likwise.
29283         * sysdeps/i386/configure: Likewise.
29285         * elf/dl-open.c: Comment fixes.
29287 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
29289         * Makefile [CXX] (check-data): Remove.
29290         [CXX] (c++-types.data): New vpath directive.
29291         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29292         vpath.  Do not allow for C++ type data being missing.
29293         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29294         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29295         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29296         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29297         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29298         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29299         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29301         ... here.
29302         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29304         ... here.
29305         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29307         ... here.
29308         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29310         ... here.
29311         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29313         ... here.
29314         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29315         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29316         ... here.
29317         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29319         ... here.
29320         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29321         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29323         * elf/tls-macros.h (TLS_LE): Move architecture-specific
29324         definitions to architecture-specific files.
29325         (TLS_IE): Likewise.
29326         (TLS_LD): Likewise.
29327         (TLS_GD): Likewise.
29328         * sysdeps/i386/tls-macros.h: New file.
29329         * sysdeps/powerpc/tls-macros.h: Likewise.
29330         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29331         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29332         * sysdeps/sh/tls-macros.h: Likewise.
29333         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29334         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29335         * sysdeps/x86_64/tls-macros.h: Likewise.
29337 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29339         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29340         zero value for regular exit case.
29342         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29343         (__start_context): Preserve zero value for regular exit case.
29345 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29346             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29348         * manual/setjmp.texi (setcontext): Clarify normal process
29349         termination when uc_link is the null pointer.
29350         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29351         exit call.
29353 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
29355         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29356         preprocessor.  Test for each exception mask separately.
29358 2012-07-16  Andreas Jaeger  <aj@suse.de>
29360         * po/ru.po: Update from translation team.
29362 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
29364         * conform/data/string.h-data (NULL): Use macro-constant.  Require
29365         equal to 0.
29366         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29367         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29368         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29369         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29370         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29372 2012-07-13  Andreas Jaeger  <aj@suse.de>
29374         * po/fr.po: Update from translation team.
29376 2012-07-12  Marek Polacek  <polacek@redhat.com>
29378         [BZ #14173]
29379         * math/libm-test.inc (yn_test): Add test for BZ #14173.
29380         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29381         loop condition.
29383 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
29385         [BZ #13717]
29386         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29387         Change to 2.4.1 where previously 2.4.0.
29388         * sysdeps/unix/sysv/linux/configure: Regenerated.
29389         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29390         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29391         version.
29392         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29393         (__ASSUME_AT_CLKTCK): Remove.
29394         (__ASSUME_AT_PAGESIZE): Likewise.
29395         (__ASSUME_AT_XID): Likewise.
29396         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29397         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29398         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29399         unconditionally.
29400         (HAVE_AUX_PAGESIZE): Likewise.
29401         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29402         [__ASSUME_AT_CLKTCK]: Make code unconditional.
29403         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29405 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
29407         [BZ #14307]
29408         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29409         the temporary buffer used to invoke __gethostbyname2_r,
29410         __gethostbyaddr_r and gethostbyname4_r to make room for struct
29411         host_data / struct gaih_addrtuple.
29412         * resolv/nss_dns/dns-host.c (global scope): Move definition of
29413         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29414         header file nss/nsswitch.h.
29415         * nss/nsswitch.h (global scope): Add definition of implementation
29416         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29417         resolv/nss_dns/dns-host.c).
29419 2012-07-11  Andreas Jaeger  <aj@suse.de>
29421         * po/fr.po: Update from translation team.
29423         * po/sv.po: Update from translation team
29424         * po/fr.po: Another update from translation team.
29426 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29428         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29429         for subnormals or multiply small sinh result by itself.
29430         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29433 2012-07-11  David S. Miller  <davem@davemloft.net>
29435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29437 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
29439         [BZ #14347]
29440         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29441         (INTERNAL_MARK): Shift it here.
29443 2012-07-10  Marek Polacek  <polacek@redhat.com>
29445         [BZ #14151]
29446         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
29447         libc_cv_asm_global_directive with .globl.
29448         * configure: Regenerated.
29449         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29450         with .globl.
29451         * sysdeps/i386/configure: Regenerated.
29452         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29453         with .globl.
29454         * sysdeps/x86_64/configure: Regenerated.
29455         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29456         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29457         * elf/tst-unique2mod2.c: Likewise.
29458         * elf/tst-unique2mod1.c: Likewise.
29459         * elf/tst-unique1mod2.c: Likewise.
29460         * elf/tst-unique1mod1.c: Likewise.
29461         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29462         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29463         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29464         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29465         * sysdeps/mach/sysdep.h: Likewise.
29466         * sysdeps/i386/sysdep.h: Likewise.
29467         * sysdeps/i386/i386-mcount.S: Likewise.
29468         * sysdeps/x86_64/_mcount.S: Likewise.
29469         * sysdeps/x86_64/sysdep.h: Likewise.
29470         * sysdeps/sh/_mcount.S: Likewise.
29471         * sysdeps/sh/sysdep.h: Likewise.
29472         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29473         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29474         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29475         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29476         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29477         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29478         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29479         * locale/localeinfo.h: Likewise.
29480         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29481         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29483 2012-07-09  Roland McGrath  <roland@hack.frob.com>
29485         [BZ #14336]
29486         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29487         system".
29488         * manual/message.texi (The Uniforum approach): Likewise.
29489         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29490         (glibc iconv Implementation): Likewise.
29492 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
29494         [BZ #14337]
29495         * math/s_clog.c (__clog): Avoid scaling a value down where that
29496         could result in underflow.
29497         * math/s_clog10.c (__clog10): Likewise.
29498         * math/s_clog10f.c (__clog10f): Likewise.
29499         * math/s_clog10l.c (__clog10l): Likewise.
29500         * math/s_clogf.c (__clogf): Likewise.
29501         * math/s_clogl.c (__clogl): Likewise.
29502         * math/libm-test.inc (clog_test): Add more tests.
29503         (clog10_test): Likewise.
29504         * sysdeps/i386/fpu/libm-test-ulps: Update.
29505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29507 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
29509         [BZ #14283]
29510         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29511         by 7 not 8 to examine high bit of fractional part.
29513         [BZ #14042]
29514         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29515         for call to __mcount_internal.
29516         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29517         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29518         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29520 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
29522         [BZ #14154]
29523         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29524         approximation for values within 0x1p-13f of an odd multiple of
29525         pi/4.
29526         * math/libm-test.inc (tan_test): Do not allow spurious underflow
29527         exception.  Add more tests.
29528         * sysdeps/i386/fpu/libm-test-ulps: Update.
29530         [BZ #6778]
29531         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29532         inputs and return -1 for them.  Do not check for +Inf in case not
29533         reachable for +Inf.
29534         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29535         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29536         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29537         and return -1 for them.  Do not check for +Inf in case not
29538         reachable for +Inf.
29539         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29540         define.
29541         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29542         and return -1 for them.  Do not check for +Inf in case not
29543         reachable for +Inf.
29544         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
29545         spurious underflow.
29546         * sysdeps/i386/fpu/libm-test-ulps: Update.
29547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29549 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
29551         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29553 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
29555         [BZ #14157]
29556         [BZ #14331]
29557         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29558         could result in spurious underflow.  Scale down values above
29559         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29560         * math/s_csqrtf.c (__csqrtf): Likewise.
29561         * math/s_csqrtl.c (__csqrtl): Likewise.
29562         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
29563         spurious underflow.
29564         * sysdeps/i386/fpu/libm-test-ulps: Update.
29565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29567 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
29569         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29570         xopen-msg.sed.
29571         * catgets/xopen-msg.awk: New file.
29572         * catgets/xopen-msg.sed: Removed.
29574         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29575         po2text.sed.
29576         * intl/po2test.awk: New file.
29577         * intl/po2test.sed: Removed.
29579 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
29581         [BZ #14328]
29582         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29583         or multiply small sinh result by itself.
29584         * math/s_ctanf.c (__ctanf): Likewise.
29585         * math/s_ctanh.c (__ctanh): Likewise.
29586         * math/s_ctanhf.c (__ctanhf): Likewise.
29587         * math/s_ctanhl.c (__ctanhl): Likewise.
29588         * math/s_ctanl.c (__ctanl): Likewise.
29589         * math/libm-test.inc (ctan_test_tonearest): New function.
29590         (ctan_test_towardzero): Likewise.
29591         (ctan_test_downward): Likewise.
29592         (ctan_test_upward): Likewise.
29593         (ctanh_test_tonearest): Likewise.
29594         (ctanh_test_towardzero): Likewise.
29595         (ctanh_test_downward): Likewise.
29596         (ctanh_test_upward): Likewise.
29597         (main): Call these new functions.
29598         * sysdeps/i386/fpu/libm-test-ulps: Update.
29599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29601 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
29603         * .gitignore: Delete /ports entry.
29605 2012-07-03  Andreas Jaeger  <aj@suse.de>
29607         * po/bg.po: Update from translation team.
29608         * po/cs.po: Likewise.
29609         * po/de.po: Likewise.
29610         * po/hr.po: Likewise.
29611         * po/nl.pl: Likewise.
29612         * po/pl.po: Likewise.
29613         * po/vi.po: Likewise.
29615 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
29617         * Makeconfig [!+link] (+link-before-libc): New variable.
29618         [!+link] (+link-after-libc): Likewise.
29619         [!+link] (+link-tests): Likewise.
29620         [!+link] (+link): Define in terms of $(+link-before-libc) and
29621         $(+link-after-libc).
29622         [!+link-static] (+link-static-before-libc): New variable.
29623         [!+link-static] (+link-static-after-libc): Likewise.
29624         [!+link-static] (+link-static-tests): Likewise.
29625         [!+link-static] (+link-static): Define in terms of
29626         $(+link-static-before-libc) and $(+link-static-after-libc).
29627         [build-shared] (link-libc-before-gnulib): New variable.
29628         [build-shared] (link-libc-tests): Likewise.
29629         [build-shared] (link-libc): Define in terms of
29630         $(link-libc-before-gnulib).
29631         [!build-shared] (link-libc-tests): New variable.
29632         (link-libc-static-tests): New variable.
29633         [!gnulib] (gnulib-arch): New variable.
29634         [!gnulib] (gnulib-tests): Likewise.
29635         [!gnulib] (static-gnulib-arch): Likewise.
29636         [!gnulib] (static-gnulib-tests): Likewise.
29637         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
29638         Define with "=" instead of ":=".
29639         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
29640         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
29641         * Rules (binaries-all-notests): New variable.
29642         (binaries-all-tests): Likewise.
29643         (binaries-static-notests): Likewise.
29644         (binaries-static-tests): Likewise.
29645         (binaries-all): Define using $(binaries-all-notests) and
29646         $(binaries-all-tests).
29647         (binaries-static): Define using $(binaries-static-notests) and
29648         $(binaries-static-tests).
29649         (binaries-shared-tests): New variable.
29650         (binaries-shared-notests): Likewise.
29651         (binaries-shared): Remove variable.
29652         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29653         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29654         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29655         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29656         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29657         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29658         * elf/Makefile (sln-modules): New variable.
29659         (extra-objs): Add $(sln-modules:=.o).
29660         (ldconfig-modules): Add static-stubs.
29661         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29662         * elf/static-stubs.c: New file.
29664         [BZ #14283]
29665         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29666         by 7 not 8 to examine high bit of fractional part.  Use volatile
29667         variables when splitting into final array of floats if
29668         __FLT_EVAL_METHOD__ != 0.
29669         * math/libm-test.inc (cos_test): Add another test.
29670         (sin_test): Likewise.
29671         * sysdeps/i386/fpu/libm-test-ulps: Update.
29673         [BZ #14273]
29674         * math/libm-test.inc (cosh_test): Add more tests.
29676         * version.h (RELEASE): Set to "development".
29677         (VERSION): Set to "2.16.90".
29679 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
29681         * NEWS: Update copyright. Remove last-updated date.
29682         Mention math library bug fixes and timezone data changes.
29683         * README: Mention GNU/Hurd, x32, and HPPA support status.
29685 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
29687         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29689 2012-06-27  Andreas Jaeger  <aj@suse.de>
29691         * manual/contrib.texi (Contributors): Add Samuel Thibault.
29693 2012-06-25  Andreas Jaeger  <aj@suse.de>
29695         * sysdeps/s390/fpu/libm-test-ulps: Update.
29697 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
29698             Thomas Schwinge  <thomas@codesourcery.com>
29700         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29701         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29702         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29703         fanotify_mark.
29705 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
29707         * sysdeps/mach/start.c: Remove file.
29708         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29709         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29710         * sysdeps/sh/init-first.c: Likewise.
29712         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29713         registers for frame unwinding purposes, add CFI directives.
29714         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29715         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29716         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29717         Likewise.
29719         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29720         __fortify_fail returning.
29721         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29723         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29724         sysdeps/sh/____longjmp_chk.S.
29725         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29726         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29727         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29728         (gen-as-const-headers): Append sigaltstack-offsets.sym.
29730         * sysdeps/sh/abort-instr.h: New file.
29731         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29732         process in case exit returns.
29734         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29735         initialize the GOT register before use.
29737         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29738         calculation of ARGC > 4.
29740         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29741         meaningful names to some local labels.
29743 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29744             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29746         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29747         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29748         (__arch_compare_and_exchange_val_16_acq): Likewise.
29749         (__arch_compare_and_exchange_val_32_acq): Likewise.
29750         (atomic_exchange_and_add): Fix gUSA sequence.
29751         (atomic_add): Likewise.
29752         (atomic_add_negative): Likewise.
29753         (atomic_add_zero): Likewise.
29754         (atomic_bit_test_set): Likewise.
29756 2012-06-22  Andreas Schwab  <schwab@redhat.com>
29758         [BZ #13579]
29759         * include/link.h (struct link_map): Add l_free_initfini.
29760         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29761         l_initfini.
29762         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29763         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29764         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29765         set.
29767 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
29769         * configure.in: Use AC_LANG_SOURCE.
29770         * configure: Regenerate.
29772 2012-06-22  Roland McGrath  <roland@hack.frob.com>
29774         * configure.in (libc_cv_localstatedir): New substituted variable.
29775         * configure: Regenerated.
29776         * config.make.in (localstatedir): New variable, substituted from
29777         libc_cv_localstatedir.
29778         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29779         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29780         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29781         * sysdeps/gnu/configure: Regenerated.
29783 2012-06-21  Jeff Law  <law@redhat.com>
29785         [BZ #14277]
29786         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29787         free.  Simplify list management for _LIBC case.
29789 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
29791         [BZ #14273]
29792         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29793         Clear sign bit of 64-bit integer value before comparing against
29794         overflow value.
29796         * sysdeps/mach/configure: Regenerated.
29798 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
29800         [BZ #14278]
29801         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29803 2012-06-21  Jeff Law  <law@redhat.com>
29805         [BZ #13882]
29806         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
29807         uint16_t for elements in the "seen" array to avoid char overflows.
29808         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29809         * elf/dl-open.c (dl_open_worker): Likewise.
29811 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
29813         * scripts/list-sources.sh: Scan PORTS for translations.
29814         * po/libc.pot: Regenerated.
29816 2012-06-21  Andreas Jaeger  <aj@suse.de>
29818         [BZ #12194]
29819         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29820         warning.
29821         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29822         * bits/byteswap-16.h (__bswap_16): Likewise.
29823         * bits/byteswap.h (__bswap_constant_16): Likewise.
29825 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
29827         [BZ #14117]
29828         * sysdeps/i386/fpu_control.h: Removed.
29829         * sysdeps/x86_64/fpu_control.h: Moved to ...
29830         * sysdeps/x86/fpu_control.h: Here.
29832         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29833         (_FPU_SETCW): Likewise.
29835 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
29837         [BZ #14117]
29838         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29839         * sysdeps/x86/fpu/bits/mathinline.h: This.
29840         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29842         [BZ #14050]
29843         [BZ #14117]
29844         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29845         functions if __x86_64__ is defined.
29847 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
29849         * string/endian.h: Add !__ASSEMBLER__ condition for including
29850         conversion interfaces.
29852 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
29854         [BZ #14241]
29855         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29856         of ABS(x) in calculating zero to negative powers other than odd
29857         integers.
29858         * math/libm-test.inc (pow_test): Add more tests.
29860 2012-06-15  Andreas Jaeger  <aj@suse.de>
29862         * manual/contrib.texi (Contributors): Update entry of Liubov
29863         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29864         Machado Filho.
29866 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
29868         * string/string.h: Add __wur to GNU version of strerror_r.
29870 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
29872         [BZ #14229]
29873         * string/Makefile (tests): Add tst-strtok_r.
29874         * string/tst-strtok_r.c: New file.
29875         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29876         RAX_LP/RDX_LP on SAVE_PTR.
29878 2012-06-14  Roland McGrath  <roland@hack.frob.com>
29880         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29882 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
29884         * libm_test.inc (csqrt_test): Allow more spurious underflow
29885         exceptions.
29886         (j0_test): Likewise.
29887         (j1_test): Likewise.
29888         (y0_test): Likewise.
29889         (y1_test): Likewise.
29891 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
29893         * po/Makefile (libc.pot): Use UTF-8 charset.
29895 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
29897         [BZ #14210]
29898         Suppress sign-conversion warning from FD_SET.
29899         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29900         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29901         not unsigned long int.
29902         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29904 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
29906         [BZ #14050]
29907         [BZ #14117]
29908         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29909         __extern_always_inline instead of __extern_inline.
29910         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29911         (__signbit): Likewise.
29912         (__signbitl): Support C++ namespace.
29913         (lrintf): New inline function.
29914         (lrint): Likewise.
29915         (llrintf): Likewise.
29916         (llrint): Likewise.
29917         (fmaxf): Likewise.
29918         (fmax): Likewise.
29919         (fminf): Likewise.
29920         (fmin): Likewise.
29921         (rint): Likewise.
29922         (rintf): Likewise.
29923         (ceil): Likewise.
29924         (ceilf): Likewise.
29925         (floor): Likewise.
29926         (floorf): Likewise.
29927         (nearbyint): Likewise.
29928         (nearbyintf): Likewise.
29930 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
29932         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29933         non-default versions.
29935 2012-06-11  Roland McGrath  <roland@hack.frob.com>
29937         [BZ #14218]
29938         * manual/argp.texi (Argp): Reword argp_parse description slightly.
29940 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
29942         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29943         (FE_UPWARD, FE_DOWNWARD): Don't define.
29944         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29945         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29947         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29948         reading it.
29949         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29950         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29952 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29954         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29955         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29956         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29957         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29959 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
29961         [BZ #14117]
29962         * sysdeps/i386/fpu/bits/fenv.h: Removed.
29963         * sysdeps/i386/fpu/Implies: New file.
29964         * sysdeps/x86_64/fpu/Implies: Likewise.
29965         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29966         * sysdeps/x86/fpu/bits/fenv.h: This.
29968         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29969         __SSE_MATH__.
29971 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29973         [BZ #14134]
29974         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29975         character 0xffff that matches the last element of the
29976         conversion table.
29978 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29980         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29981         fmodl commit.
29983 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29985         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29986         values higher than 25.6283.
29988 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29990         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29991         subnormal exponent extraction and add some __builtin_expect.
29992         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29993         Fix for subnormal mantissa calculation.
29995 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
29997         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29998         cpu2 is -1 and errno is not ENOSYS.
30000 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
30002         [BZ #14117]
30003         * sysdeps/i386/i486/bits/string.h: Renamed to ...
30004         * sysdeps/x86/bits/string.h: This.
30005         * sysdeps/x86_64/bits/string.h: Removed.
30007         * sysdeps/i386/i486/bits/string.h: Define inline functions only
30008         if not compiling for x86-64, but compiling for >= i486.
30010         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30011         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30013         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30014         New macro from Linux kernel 3.4.0.
30015         (FP_XSTATE_MAGIC2): Likewise.
30016         (FP_XSTATE_MAGIC2_SIZE): Likewise.
30017         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30018         (struct _fpx_sw_bytes): New struct.
30019         (struct _xsave_hdr): Likewise.
30020         (struct _ymmh_state): Likewise.
30021         (struct _xstate): Likewise.
30023         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30024         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30025         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30026         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30027         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30028         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30030         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30031         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30032         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30033         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30034         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30035         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30037 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30039         [BZ #13743]
30040         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30041         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30042         (sysdep_headers): Include sys/platform/ppc.h.
30043         * sysdeps/powerpc/test-gettimebase.c: Test for
30044         __ppc_get_timebase() to catch future ISA opcode/insn changes.
30045         * manual/Makefile (appendices): Include platform.texi.
30046         * manual/contrib.texi (Contributors): Update @node pointers.
30047         * manual/maint.texi (Maintenance): Likewise.
30048         (Platform): New node.
30049         * manual/platform.texi: New file.  Document the new features.
30051 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30052             Jakub Jelinek  <jakub@redhat.com>
30054         [BZ #14188]
30055         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30056         where __builtin_expect is unavailable.
30058 2012-06-03  David S. Miller  <davem@davemloft.net>
30060         * stdlib/longlong.h: Updated from GCC.
30062 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
30064         [BZ #14042]
30065         * sysdeps/powerpc/powerpc32/mcount.c: New file.
30066         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30067         __mcount_internal.
30068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30069         (GLIBC_2.16): Likewise.
30071 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30073         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30075 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30078         (default-abi): New variable.
30079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30080         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30081         variable.
30082         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30083         Likewise.
30084         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30085         Likewise.
30086         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30087         Likewise.
30089         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30090         definition.  Document in comment.
30092 2012-06-01  David S. Miller  <davem@davemloft.net>
30094         * stdlib/longlong.h: Updated from GCC.
30096 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30098         [BZ #14117]
30099         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30100         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30101         sys/debugreg.h sys/io.h here.
30102         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30103         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30104         sys/io.h.
30105         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30106         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30107         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30108         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30109         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30110         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30112         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30113         Define only if __x86_64__ is defined.
30115 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30117         [BZ #14048]
30118         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30119         Use int64_t for variable i.
30120         * math/libm-test.inc (fmod_test): Add more tests.
30122         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30123         z computation is not scheduled after fetestexcept.
30124         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30125         Use math_force_eval instead of asm to ensure calculation scheduled
30126         before exception test.
30127         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30128         Ensure a1 + u.d computation is not scheduled after fetestexcept.
30130 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
30132         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30133         computation is not scheduled after fetestexcept.
30135 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30137         [BZ #14117]
30138         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30139         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30141 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30143         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30144         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30146 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30148         [BZ #14117]
30149         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30150         <bits/wordsize.h>.
30151         (__WCHAR_MIN): Support __WORDSIZE == 64.
30152         (__WCHAR_MAX): Likewise.
30154         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30155         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30157         [BZ #14183]
30158         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30159         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30161         [BZ #14117]
30162         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30163         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30165         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30166         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30168         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30169         Defined to 1 if __x86_64__ isn't defined.
30170         (_STAT_VER_LINUX_OLD): New.
30171         (st_atime): Remove duplicate.
30172         (st_mtime): Likewise.
30173         (st_ctime): Likewise.
30175 2012-05-31  David S. Miller  <davem@davemloft.net>
30177         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30178         entries.
30180 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
30182         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30183         gen-libm-test.pl.
30185         [BZ #14132]
30186         * elf/dl-reloc.c: Include <_itoa.h>.
30187         (_dl_reloc_bad_type): Remove use of INTUSE.
30188         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30189         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30190         * stdio-common/psiginfo.c (psiginfo): Likewise.
30191         * stdio-common/psignal.c (psignal): Likewise.
30192         * string/strsignal.c (strsignal): Likewise.
30193         * include/signal.h (_sys_siglist): Declare hidden proto.
30194         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
30195         INTVARDEF with libc_hidden_data_def.
30196         * stdio-common/itoa-udigits.c: Likewise.
30197         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30198         (_itoa_lower_digits_internal): Remove declaration.
30199         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30200         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30201         (_sys_sigabbrev_internal): Remove aliases.
30202         (_sys_siglist): Define hidden alias.
30204 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
30206         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30207         bits/sysctl.h.
30209 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30211         [BZ #14117]
30212         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30213         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30215         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30216         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30217         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30218         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30219         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30220         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30222         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30223         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30224         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30226         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30227         with __addr.
30228         (insw): Likewise.
30229         (insl): Likewise.
30230         (outsb): Likewise.
30231         (outsw): Likewise.
30232         (outsl): Likewise.
30234         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30235         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30236         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30238         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30239         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30240         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30241         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30242         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30243         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30245         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30246         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30248         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30249         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30251         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30252         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30253         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30255         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30256         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30257         to ...
30258         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30260         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30261         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30262         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30264         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30265         for x86-64.
30266         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30268 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
30270         * math/math.h (M_El): Use two more decimal places.
30271         (M_LOG2El): Likewise.
30272         (M_LOG10El): Likewise.
30273         (M_LN2l): Likewise.
30274         (M_LN10l): Likewise.
30275         (M_PIl): Likewise.
30276         (M_PI_2l): Likewise.
30277         (M_PI_4l): Likewise.
30278         (M_1_PIl): Likewise.
30279         (M_2_PIl): Likewise.
30280         (M_2_SQRTPIl): Likewise.
30281         (M_SQRT2l): Likewise.
30282         (M_SQRT1_2l): Likewise.
30284 2012-05-31  David S. Miller  <davem@davemloft.net>
30286         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30287         values between float registers.
30288         * sysdeps/sparc/sparc64/memset.S: Likewise.
30289         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30291 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
30293         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30294         -D_FORTIFY_SOURCE=1.
30295         (CPPFLAGS-tst-longjmp_chk.c): Define.
30296         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30297         (CPPFLAGS-tst-longjmp_chk2.c): Define.
30298         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30299         CFLAGS-tst-wchar-h.c.
30301 2012-05-31  Marek Polacek  <polacek@redhat.com>
30303         [BZ #14132]
30304         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30305         __endmntent_internal): Remove declaration.
30306         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30307         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30308         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30310 2012-05-30  David S. Miller  <davem@davemloft.net>
30312         * sysdeps/sparc/sparc32/soft-fp/q_util.c
30313         (___Q_simulate_exceptions): Use real FP ops rather than writing
30314         into the %fsr.
30315         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30316         Likewise.
30318 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30320         [BZ #14117]
30321         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30322         * sysdeps/x86/bits/xtitypes.h: This.
30324         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30325         * sysdeps/x86/bits/wordsize.h: This.
30327         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30328         * sysdeps/x86/bits/huge_vall.h: This.
30330         * sysdeps/i386/bits/select.h: Removed.
30331         * sysdeps/x86_64/bits/select.h: Renamed to ...
30332         * sysdeps/x86/bits/select.h: This.
30334         * sysdeps/i386/bits/setjmp.h: Removed.
30335         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30336         * sysdeps/x86/bits/setjmp.h: This.
30338         * sysdeps/i386/bits/mathdef.h: Removed.
30339         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30340         * sysdeps/x86/bits/mathdef.h: This.
30342 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
30344         [BZ #14132]
30345         * include/sys/socket.h (__connect_internal)
30346         (__libc_sa_len_internal): Remove declaration.
30347         (__connect, __libc_sa_len): Declare hidden_proto.
30348         (SA_LEN): Remove use of INTUSE.
30349         * socket/connect.c: Add libc_hidden_def.
30350         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30351         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30352         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30353         alias.
30354         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30355         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30356         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30357         of adding _internal alias.
30359 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30361         [BZ #14117]
30362         * sysdeps/i386/bits/link.h: Removed.
30363         * sysdeps/i386/bits/linkmap.h: Likewise.
30364         * sysdeps/x86_64/bits/link.h: Renamed to ...
30365         * sysdeps/x86/bits/link.h: This.
30366         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30367         * sysdeps/x86/bits/linkmap.h: This.
30369         * sysdeps/i386/bits/endian.h: Removed.
30370         * sysdeps/x86_64/bits/endian.h: Renamed to ...
30371         * sysdeps/x86/bits/endian.h: This.
30373         * sysdeps/i386/bits/byteswap.h: Removed.
30374         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30375         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30376         * sysdeps/x86/bits/byteswap.h: This.
30377         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30378         * sysdeps/x86/bits/byteswap-16.h: This.
30379         * sysdeps/i386/Implies: Add x86.
30380         * sysdeps/x86_64/Implies: Likewise.
30382 2012-05-30  David S. Miller  <davem@davemloft.net>
30384         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30385         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30386         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30387         (FP_TRAPPING_EXCEPTIONS): Define.
30388         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30389         (FP_TRAPPING_EXCEPTIONS): Define.
30390         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30391         subnormals only when inexact has been signalled or underflow
30392         exceptions are enabled.
30393         (_FP_PACK_CANONICAL): Likewise.
30395 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30397         [BZ #14183]
30398         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30399         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30401 2012-05-30  Richard Henderson  <rth@twiddle.net>
30403         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30404         with #ifndef NOT_IN_libc.
30406         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
30407         marked to avoid plt entry.
30409 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30411         [BZ #14112]
30412         * Makeconfig (default-abi): New macro.
30413         (abi-includes): Likewise.
30414         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
30415         $(abi-$(default-abi)-lib-soname) for soname if defined.
30416         ($(common-objpfx)gnu/lib-names.stmp): Generate from
30417         abi-variants.
30418         * Makefile (installed-stubs): Likewise.
30419         * include/stubs-biarch.h: Removed.
30420         * scripts/lib-names.awk: Only handle one library at a time.
30421         * scripts/soversions.awk: Remove WORDSIZE support.
30422         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30423         entries.
30424         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30425         Removed.
30426         (syscall-list-default-condition): Likewise.
30427         (syscall-list-default-condition): Likewise.
30428         (syscall-list-includes): Likewise.
30429         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30430         syscall-list-* with abi-*.  Handle undefined abi-variants.
30431         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30432         * sysdeps/unix/sysv/linux/i386/Implies: New file.
30433         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30434         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30435         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30436         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30437         Removed.
30438         (syscall-list-32-options): Likewise.
30439         (syscall-list-32-condition): Likewise.
30440         (syscall-list-64-options): Likewise.
30441         (syscall-list-64-condition): Likewise.
30442         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30443         macro.
30444         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30445         Renamed to ...
30446         (abi-*): This.
30447         (abi-64-ld-soname): New macro.
30448         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30449         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30450         Renamed to ...
30451         (abi-*): This.
30452         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30453         * sysdeps/x86_64/x32/shlib-versions: Likewise.
30455 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
30457         * sysdeps/unix/sysv/linux/kernel-features.h
30458         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30459         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30460         include <kernel-features.h>.
30461         [!__NR_ftruncate64]: Remove conditional code.
30462         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30463         [__NR_ftruncate64]: Make code unconditional.
30464         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30465         * sysdeps/unix/sysv/linux/truncate64.c: Do not
30466         include <kernel-features.h>.
30467         [!__NR_ftruncate64]: Remove conditional code.
30468         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30469         [__NR_ftruncate64]: Make code unconditional.
30470         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30472         include <kernel-features.h>.
30473         [!__NR_ftruncate64]: Remove conditional code.
30474         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30475         [__NR_ftruncate64]: Make code unconditional.
30476         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30478         include <kernel-features.h>.
30479         [!__NR_ftruncate64]: Remove conditional code.
30480         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30481         [__NR_ftruncate64]: Make code unconditional.
30482         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30484         * configure.in (libc_cv_fpie): Weaken to a compile test using
30485         LIBC_TRY_CC_OPTION.
30486         * configure: Regenerated.
30488 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30494         Refreshed.
30495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30501         Refreshed.
30503 2012-05-27  David S. Miller  <davem@davemloft.net>
30505         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30506         (___Q_zero): New.
30507         (__Q_simulate_exceptions): Return void.  Change to simulate
30508         exceptions by writing into the %fsr.
30509         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30510         (__Qp_handle_exceptions): Likewise.
30511         (numbers): Delete.
30512         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30513         __Qp_handle_exceptions.
30514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30515         __Qp_handle_exceptions.
30516         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30517         as unused and give dummy FP_RND_NEAREST initializer.
30518         (FP_INHIBIT_RESULTS): Define.
30519         (___Q_simulate_exceptions): Update declaration.
30520         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30521         formatting.
30522         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30523         as unused and give dummy FP_RND_NEAREST initializer.
30524         (__Qp_handle_exceptions): Update declaration.
30525         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30526         formatting.
30528 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
30530         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30531         the temporary FPU control word.
30532         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30533         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30534         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30535         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30536         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30537         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30538         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30539         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30540         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30541         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30542         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30544 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30546         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30547         fields.
30549 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
30551         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30552         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30553         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30554         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30555         Likewise.
30556         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30557         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30558         Likewise.
30560 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
30562         * po/h.po: Update from translation team.
30564 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
30566         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30568         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30569         handling of denormals.
30570         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30571         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30572         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30573         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30574         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30575         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30576         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30577         Likewise.
30579 2012-05-26  Marek Polacek  <polacek@redhat.com>
30581         [BZ #14152]
30582         * math/libm-test.inc (fma_test): Don't always expect underflow
30583         exception.
30585 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30587         [BZ #12416]
30588         * elf/tst-execstack.c: Include stackinfo.h.
30589         (do_test): Adjust test case to ensure that pthread_getattr_np
30590         behaviour remains the same after marking stack executable.
30592 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30594         * sysdeps/unix/sysv/linux/kernel-features.h
30595         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30596         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30597         kernel-features.h.
30598         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30599         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30600         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30601         kernel-features.h.
30602         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30603         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30605 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
30607         * configure.in: Define the default includes to being none.
30608         * configure: Regenerated.
30610 2012-05-25  Roland McGrath  <roland@hack.frob.com>
30612         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30613         * sysdeps/x86_64/setjmp.S: Likewise.
30614         * sysdeps/i386/bsd-setjmp.S: Likewise.
30615         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30616         * sysdeps/i386/setjmp.S: Likewise.
30617         * sysdeps/i386/__longjmp.S: Likewise.
30618         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30619         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30621         * include/stap-probe.h: New file.
30622         * configure.in: Handle --enable-systemtap.
30623         * configure: Regenerated.
30624         * config.h.in (USE_STAP_PROBE): New #undef.
30625         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30626         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30627         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30629 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30631         [BZ #13717]
30632         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30633         to 2.4.0 where earlier.
30634         * sysdeps/unix/sysv/linux/configure: Regenerated.
30635         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30636         <kernel-features.h>.
30637         [__ASSUME_32BITUIDS]: Make code unconditional.
30638         [!__ASSUME_32BITUIDS]: Remove conditional code.
30639         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30640         <kernel-features.h>.
30641         [__ASSUME_32BITUIDS]: Make code unconditional.
30642         [!__ASSUME_32BITUIDS]: Remove conditional code.
30643         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30644         [__ASSUME_32BITUIDS]: Make code unconditional.
30645         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30646         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30647         <kernel-features.h>.
30648         [__ASSUME_32BITUIDS]: Make code unconditional.
30649         [!__ASSUME_32BITUIDS]: Remove conditional code.
30650         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30651         <kernel-features.h>.
30652         [__ASSUME_32BITUIDS]: Make code unconditional.
30653         [!__ASSUME_32BITUIDS]: Remove conditional code.
30654         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30655         <kernel-features.h>.
30656         [__ASSUME_32BITUIDS]: Make code unconditional.
30657         [!__ASSUME_32BITUIDS]: Remove conditional code.
30658         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30659         <kernel-features.h>.
30660         [__ASSUME_32BITUIDS]: Make code unconditional.
30661         [!__ASSUME_32BITUIDS]: Remove conditional code.
30662         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30663         <kernel-features.h>.
30664         [__ASSUME_32BITUIDS]: Make code unconditional.
30665         [!__ASSUME_32BITUIDS]: Remove conditional code.
30666         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30667         <kernel-features.h>.
30668         [__ASSUME_32BITUIDS]: Make code unconditional.
30669         [!__ASSUME_32BITUIDS]: Remove conditional code.
30670         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30671         <kernel-features.h>.
30672         [__ASSUME_32BITUIDS]: Make code unconditional.
30673         [!__ASSUME_32BITUIDS]: Remove conditional code.
30674         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30675         <kernel-features.h>.
30676         [__ASSUME_32BITUIDS]: Make code unconditional.
30677         [!__ASSUME_32BITUIDS]: Remove conditional code.
30678         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30679         <kernel-features.h>.
30680         [__ASSUME_32BITUIDS]: Make code unconditional.
30681         [!__ASSUME_32BITUIDS]: Remove conditional code.
30682         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30683         <kernel-features.h>.
30684         [__ASSUME_32BITUIDS]: Make code unconditional.
30685         [!__ASSUME_32BITUIDS]: Remove conditional code.
30686         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30687         <kernel-features.h>.
30688         [__NR_setresgid] (__setresgid): Do not declare.
30689         [__ASSUME_32BITUIDS]: Make code unconditional.
30690         [!__ASSUME_32BITUIDS]: Remove conditional code.
30691         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30692         <kernel-features.h>.
30693         [__NR_setresuid] (__setresuid): Do not declare.
30694         [__ASSUME_32BITUIDS]: Make code unconditional.
30695         [!__ASSUME_32BITUIDS]: Remove conditional code.
30696         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30697         <kernel-features.h>.
30698         [__ASSUME_32BITUIDS]: Make code unconditional.
30699         [!__ASSUME_32BITUIDS]: Remove conditional code.
30700         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30701         <kernel-features.h>.
30702         [__ASSUME_32BITUIDS]: Make code unconditional.
30703         [!__ASSUME_32BITUIDS]: Remove conditional code.
30704         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30705         <kernel-features.h>.
30706         [__ASSUME_32BITUIDS]: Make code unconditional.
30707         [!__ASSUME_32BITUIDS]: Remove conditional code.
30708         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30709         <kernel-features.h>.
30710         [__ASSUME_32BITUIDS]: Make code unconditional.
30711         [!__ASSUME_32BITUIDS]: Remove conditional code.
30712         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30713         <kernel-features.h>.
30714         [__ASSUME_32BITUIDS]: Make code unconditional.
30715         [!__ASSUME_32BITUIDS]: Remove conditional code.
30716         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30717         <kernel-features.h>.
30718         [__ASSUME_32BITUIDS]: Make code unconditional.
30719         [!__ASSUME_32BITUIDS]: Remove conditional code.
30720         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30721         <kernel-features.h>.
30722         [__ASSUME_32BITUIDS]: Make code unconditional.
30723         [!__ASSUME_32BITUIDS]: Remove conditional code.
30724         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30725         <kernel-features.h>.
30726         [__ASSUME_32BITUIDS]: Make code unconditional.
30727         [!__ASSUME_32BITUIDS]: Remove conditional code.
30728         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30729         <kernel-features.h>.
30730         [__ASSUME_32BITUIDS]: Make code unconditional.
30731         [!__ASSUME_32BITUIDS]: Remove conditional code.
30732         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30733         <kernel-features.h>.
30734         [__ASSUME_32BITUIDS]: Make code unconditional.
30735         [!__ASSUME_32BITUIDS]: Remove conditional code.
30736         * sysdeps/unix/sysv/linux/kernel-features.h
30737         (__ASSUME_SETRESUID_SYSCALL): Remove.
30738         (__ASSUME_SETRESGID_SYSCALL): Likewise.
30739         (__ASSUME_32BITUIDS): Likewise.
30740         (__ASSUME_LDT_WORKS): Likewise.
30741         (__ASSUME_O_DIRECTORY): Likewise.
30742         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30743         architecture but not kernel version.
30744         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30745         (__ASSUME_MMAP2_SYSCALL): Likewise.
30746         (__ASSUME_STAT64_SYSCALL): Likewise.
30747         (__ASSUME_IPC64): Likewise.
30748         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30749         <kernel-features.h>.
30750         [__ASSUME_32BITUIDS]: Make code unconditional.
30751         [!__ASSUME_32BITUIDS]: Remove conditional code.
30752         * sysdeps/unix/sysv/linux/opendir.c: Do not include
30753         <kernel-features.h>.
30754         [__ASSUME_O_DIRECTORY]: Make code unconditional.
30755         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30756         132096]: Remove conditional code.
30757         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30758         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30759         <kernel-features.h>.
30760         [__ASSUME_32BITUIDS]: Make code unconditional.
30761         [!__ASSUME_32BITUIDS]: Remove conditional code.
30762         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30763         <kernel-features.h>.
30764         [__ASSUME_32BITUIDS]: Make code unconditional.
30765         [!__ASSUME_32BITUIDS]: Remove conditional code.
30766         * sysdeps/unix/sysv/linux/setegid.c: Do not include
30767         <kernel-features.h>.
30768         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30769         unconditional.
30770         (__setresgid): Do not declare.
30771         [__ASSUME_32BITUIDS]: Make code unconditional.
30772         [!__ASSUME_32BITUIDS]: Remove conditional code.
30773         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30774         <kernel-features.h>.
30775         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30776         unconditional.
30777         (__setresuid): Do not declare.
30778         [__ASSUME_32BITUIDS]: Make code unconditional.
30779         [!__ASSUME_32BITUIDS]: Remove conditional code.
30780         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30781         <kernel-features.h>.
30782         [__ASSUME_32BITUIDS]: Make code unconditional.
30783         [!__ASSUME_32BITUIDS]: Remove conditional code.
30784         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30785         <kernel-features.h>.
30786         [__ASSUME_32BITUIDS]: Make code unconditional.
30787         [!__ASSUME_32BITUIDS]: Remove conditional code.
30789 2012-05-25  Richard Henderson  <rth@twiddle.net>
30791         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30792         dl_hwcap to ifunc resolver.
30793         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30794         elf_ifunc_invoke.
30795         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30796         dl_hwcap to ifunc resolver.
30797         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30799 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30801         [BZ #14153]
30802         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30803         for |x| <= 2**-26, not 2**-57.
30804         * math/libm-test.inc (acos_test): Do not allow spurious underflow
30805         exception.
30807 2012-05-24  Jeff Law  <law@redhat.com>
30809         * stdio-common/Makefile (tests): Add bug25.
30810         * stdio-common/bug25.c: New test.
30812 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30814         [BZ #13576]
30815         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30816         multiple of MALLOC_ALIGNMENT in size.
30817         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30819 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30821         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30822         Require >= 256.
30823         (FILENAME_MAX): Use macro-int-constant.
30824         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
30825         (_IOFBF): Use macro-int-constant.
30826         (_IOLBF): Likewise.
30827         (_IONBF): Likewise.
30828         (SEEK_CUR): Likewise.
30829         (SEEK_END): Likewise.
30830         (SEEK_SET): Likewise.
30831         (TMP_MAX): Likewise.
30832         (EOF): Use macro-int-constant.  Require < 0.
30833         (NULL): Use macro-constant.  Require == 0.
30834         (stdin): Require type to be FILE *.
30835         (stdout): Likewise.
30836         (stderr): Likewise.
30837         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30838         macro-int-constant.
30839         (EXIT_SUCCESS): Likewise.
30840         (NULL): Use macro-constant.  Require == 0.
30841         (RAND_MAX): Use macro-int-constant.
30842         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30843         [C99-based standards] (strtof): Require function.
30844         [C99-based standards] (strtold): Likewise.
30845         [C99-based standards] (strtoll): Likewise.
30846         [C99-based standards] (strtoull): Likewise.
30847         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30848         [ISO || ISO99 || ISO11] (limits.h): Likewise.
30849         [ISO || ISO99 || ISO11] (math.h): Likewise.
30850         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30851         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30852         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30854 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
30856         [BZ #14132]
30857         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30858         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30859         * intl/dgettext.c (DCGETTEXT): Likewise.
30860         * intl/gettext.c (DCGETTEXT): Likewise.
30861         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30862         * posix/regex_internal.h (gettext): Likewise.
30863         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30864         Remove declaration.
30865         * include/argz.h (__argz_count_internal)
30866         (__argz_stringify_internal): Remove declaration.
30867         (__argz_count, __argz_stringify): Declare hidden proto.
30868         * intl/dcgettext.c: Remove use of INTDEF.
30869         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30870         * string/argz-stringify.c: Likewise.
30871         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30872         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30873         Declare hidden proto.
30874         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30875         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30876         Declare hidden proto.
30877         * include/stdio.h (__asprintf_internal): Don't declare.
30878         (__asprintf): Don't define as macro.  Declare hidden proto.
30879         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30880         (__fsetlocking): Declare hidden proto.
30881         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30882         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30883         hidden proto.
30884         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30885         (_IO_setlinebuf): Remove use of INTUSE.
30886         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30887         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30888         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30889         Remove declaration.
30890         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30891         (_IO_do_flush): Remove use of INTUSE.
30892         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30893         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30894         (_IO_adjust_column, _IO_least_wmarker)
30895         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30896         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30897         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30898         (_IO_default_doallocate, _IO_wdefault_doallocate)
30899         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30900         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30901         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30902         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30903         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30904         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30905         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30906         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30907         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30908         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30909         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30910         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30911         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30912         proto.
30913         (_IO_flush_all_internal, _IO_adjust_column_internal)
30914         (_IO_default_uflow_internal, _IO_default_finish_internal)
30915         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30916         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30917         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30918         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30919         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30920         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30921         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30922         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30923         (_IO_file_close_internal, _IO_file_close_it_internal)
30924         (_IO_file_underflow_internal, _IO_file_overflow_internal)
30925         (_IO_file_init_internal, _IO_file_attach_internal)
30926         (_IO_file_fopen_internal, _IO_file_read_internal)
30927         (_IO_file_sync_internal, _IO_file_seek_internal)
30928         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30929         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30930         (_IO_str_underflow_internal, _IO_str_overflow_internal)
30931         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30932         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30933         (_IO_list_all_internal, _IO_link_in_internal)
30934         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30935         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30936         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30937         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30938         (_IO_do_write_internal, _IO_padn_internal)
30939         (_IO_getline_info_internal, _IO_getline_internal)
30940         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30941         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30942         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30943         (_IO_vfscanf_internal, _IO_vfprintf_internal)
30944         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30945         (_IO_init_internal, _IO_un_link_internal): Don't declare.
30946         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30947         with libc_hidden_ver, remove use of INTUSE.
30948         * libio/genops.c: Likewise.
30949         * libio/freopen.c: Likewise.
30950         * libio/freopen64.c: Likewise.
30951         * libio/iofclose.c: Likewise.
30952         * libio/iofdopen.c: Likewise.
30953         * libio/iofflush.c: Likewise.
30954         * libio/iofflush_u.c: Likewise.
30955         * libio/iofgets.c: Likewise.
30956         * libio/iofgets_u.c: Likewise.
30957         * libio/iofopen.c: Likewise.
30958         * libio/iofopncook.c: Likewise.
30959         * libio/iofread.c: Likewise.
30960         * libio/iofread_u.c: Likewise.
30961         * libio/ioftell.c: Likewise.
30962         * libio/iofwrite.c: Likewise.
30963         * libio/iogetline.c: Likewise.
30964         * libio/iogets.c: Likewise.
30965         * libio/iogetwline.c: Likewise.
30966         * libio/iopadn.c: Likewise.
30967         * libio/iopopen.c: Likewise.
30968         * libio/ioseekoff.c: Likewise.
30969         * libio/ioseekpos.c: Likewise.
30970         * libio/iosetbuffer.c: Likewise.
30971         * libio/iosetvbuf.c: Likewise.
30972         * libio/ioungetc.c: Likewise.
30973         * libio/ioungetwc.c: Likewise.
30974         * libio/iovdprintf.c: Likewise.
30975         * libio/iovsprintf.c: Likewise.
30976         * libio/iovsscanf.c: Likewise.
30977         * libio/memstream.c: Likewise.
30978         * libio/obprintf.c: Likewise.
30979         * libio/oldfileops.c: Likewise.
30980         * libio/oldiofclose.c: Likewise.
30981         * libio/oldiofdopen.c: Likewise.
30982         * libio/oldiofopen.c: Likewise.
30983         * libio/oldiopopen.c: Likewise.
30984         * libio/oldstdfiles.c: Likewise.
30985         * libio/putc.c: Likewise.
30986         * libio/setbuf.c: Likewise.
30987         * libio/setlinebuf.c: Likewise.
30988         * libio/stdfiles.c: Likewise.
30989         * libio/strops.c: Likewise.
30990         * libio/vasprintf.c: Likewise.
30991         * libio/vscanf.c: Likewise.
30992         * libio/vsnprintf.c: Likewise.
30993         * libio/vswprintf.c: Likewise.
30994         * libio/wfiledoalloc.c: Likewise.
30995         * libio/wfileops.c: Likewise.
30996         * libio/wgenops.c: Likewise.
30997         * libio/wmemstream.c: Likewise.
30998         * libio/wstrops.c: Likewise.
30999         * libio/__fpurge.c: Likewise.
31000         * libio/__fsetlocking.c: Likewise.
31001         * assert/assert.c: Likewise.
31002         * debug/fgets_chk.c: Likewise.
31003         * debug/fgets_u_chk.c: Likewise.
31004         * debug/fread_chk.c: Likewise.
31005         * debug/fread_u_chk.c: Likewise.
31006         * debug/gets_chk.c: Likewise.
31007         * debug/obprintf_chk.c: Likewise.
31008         * debug/vasprintf_chk.c: Likewise.
31009         * debug/vdprintf_chk.c: Likewise.
31010         * debug/vsnprintf_chk.c: Likewise.
31011         * debug/vsprintf_chk.c: Likewise.
31012         * malloc/mtrace.c: Likewise.
31013         * misc/error.c: Likewise.
31014         * misc/syslog.c: Likewise.
31015         * stdio-common/asprintf.c: Likewise.
31016         * stdio-common/fxprintf.c: Likewise.
31017         * stdio-common/getw.c: Likewise.
31018         * stdio-common/isoc99_fscanf.c: Likewise.
31019         * stdio-common/isoc99_scanf.c: Likewise.
31020         * stdio-common/isoc99_vfscanf.c: Likewise.
31021         * stdio-common/isoc99_vscanf.c: Likewise.
31022         * stdio-common/isoc99_vsscanf.c: Likewise.
31023         * stdio-common/printf-prs.c: Likewise.
31024         * stdio-common/printf_fp.c: Likewise.
31025         * stdio-common/printf_fphex.c: Likewise.
31026         * stdio-common/printf_size.c: Likewise.
31027         * stdio-common/putw.c: Likewise.
31028         * stdio-common/scanf.c: Likewise.
31029         * stdio-common/sprintf.c: Likewise.
31030         * stdio-common/tmpfile.c: Likewise.
31031         * stdio-common/vfprintf.c: Likewise.
31032         * stdio-common/vfscanf.c: Likewise.
31033         * stdlib/strfmon_l.c: Likewise.
31034         * sunrpc/openchild.c: Likewise.
31035         * sunrpc/xdr_stdio.c: Likewise.
31036         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31037         * sysdeps/mach/hurd/tmpfile.c: Likewise.
31039 2012-05-24  Roland McGrath  <roland@hack.frob.com>
31041         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31043         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31044         in the third column, to generate for the shared library an IFUNC
31045         that uses _dl_vdso_vsym.
31046         * Makerules (COMPILE.c, compile-stdin.c): New variables.
31047         * Makeconfig (object-suffixes-noshared): New variable.
31049         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31050         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31051         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31052         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31054         [BZ #14132]
31055         * include/sys/time.h (__gettimeofday): Remove macro.
31056         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31057         * time/gettimeofday.c (__gettimeofday): Remove #undef.
31058         Remove INTDEF.
31059         (__gettimeofday): Add libc_hidden_def.
31060         (gettimeofday): Add libc_hidden_weak.
31061         * sysdeps/mach/gettimeofday.c: Likewise.
31062         * sysdeps/posix/gettimeofday.c: Likewise.
31063         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31064         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31065         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31066         (__gettimeofday_internal): Remove strong_alias.
31067         (__gettimeofday): Add libc_hidden_def.
31068         (gettimeofday): Add libc_hidden_weak.
31069         * sysdeps/unix/syscalls.list (gettimeofday):
31070         Remove __gettimeofday_internal alias.
31072 2012-05-24  Daniel Jacobowitz  <drow@false.org>
31073             H.J. Lu  <hongjiu.lu@intel.com>
31075         [BZ #12495]
31076         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31077         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31078         (largebin_index_32_big): New.
31079         (largebin_index): Use it for 16-byte alignment.
31080         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
31081         correction with front_misalign.
31083 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31087         Likewise.
31088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31089         Likewise.
31090         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31091         Likewise.
31092         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31093         Likewise.
31094         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31095         Likewise.
31096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31097         Likewise.
31098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31099         Likewise.
31100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31101         Likewise.
31102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31103         Likewise.
31104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31105         Likewise.
31106         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31107         Likewise.
31108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31109         Likewise.
31111         * scripts/data/c++-types-x32-linux-gnu.data: New file.
31112         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31114 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31116         [BZ #10846]
31117         [BZ #14036]
31118         * math/libm-test.inc (exp_test): Add test from bug 14036.
31119         (pow_test): Add test from bug 10846.
31121         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31122         and other flags.
31123         (special_function): Do not include flags in test name.
31124         (parse_args): Likewise.
31125         * sysdeps/i386/fpu/libm-test-ulps: Update.
31126         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31127         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31128         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31131         * math/gen-libm-test.pl (%beautify): Add entries for underflow
31132         exceptions.
31133         * math/libm-test.inc ("Philosophy"): Update comment about
31134         exception testing.
31135         (UNDERFLOW_EXCEPTION): New macro.
31136         (UNDERFLOW_EXCEPTION_OK): Likewise.
31137         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31138         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31139         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31140         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31141         (INVALID_EXCEPTION_OK): Update value.
31142         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31143         (OVERFLOW_EXCEPTION_OK): Likewise.
31144         (IGNORE_ZERO_INF_SIGN): Likewise.
31145         (test_exceptions): Handle underflow exceptions.
31146         (acos_test): Update for underflow exception expectations.
31147         (cexp_test): Likewise.
31148         (clog_test): Likewise.
31149         (clog10_test): Likewise.
31150         (csqrt_test): Likewise.
31151         (ctan_test): Likewise.
31152         (ctanh_test): Likewise.
31153         (exp_test): Likewise.
31154         (exp10_test): Likewise.
31155         (exp2_test): Likewise.
31156         (expm1_test): Likewise.
31157         (fma_test): Likewise.
31158         (j0_test): Likewise.
31159         (jn_test): Likewise.
31160         (nexttoward_test): Likewise.
31161         (pow_test): Likewise.
31162         (scalbn_test): Likewise.
31163         (scalbln_test): Likewise.
31164         (tan_test): Likewise.
31165         (y1_test): Likewise.
31166         * sysdeps/i386/fpu/libm-test-ulps: Update.
31167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31169 2012-05-23  David S. Miller  <davem@davemloft.net>
31171         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31172         (__libc_sigaction): Remove unused local variables.
31174 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31176         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31178 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
31180         mktime: avoid signed integer overflow
31181         * time/mktime.c (__mktime_internal): Do not mishandle the case
31182         where diff == INT_MIN.
31184         mktime: simplify computation of average
31185         * time/mktime.c (ranged_convert): Use new time_t_avg function
31186         instead of rolling our own (probably-slower) code.
31188         mktime: do not assume signed right shift propagates sign bit
31189         * time/mktime.c (isdst_differ): New static function.
31190         (__mktime_internal): No need to normalize tm_isdst now.
31191         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31192         tm_isdst values.
31194         mktime: merge another wrapv change from gnulib
31195         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31196         from some compilers.
31198         mktime: remove incorrect attempt at unusual arithmetics
31199         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31200         The code didn't really work on such machines anyway.
31201         (TYPE_MINIMUM): Assume two's complement.
31202         (twos_complement_arithmetic): Verify that long_int and time_t
31203         are two's complement (or unsigned, in the latter case).
31205         mktime: check signed shifts on long_int and time_t, too
31206         * time/mktime.c (SHR): Check that shifts work as desired
31207         on the types long_int and time_t too, as SHR is used on
31208         such types.
31210         mktime: do not assume 'long' is wide enough
31211         * time/mktime.c (verify): Move decl up.
31212         (long_int): New type.
31213         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31214         to remove assumption in the code that 'long' is wide enough to
31215         store year values.  This assumption is not true on x32 and on
31216         some non-glibc platforms.
31218         mktime: merge wrapv change from gnulib
31219         * time/mktime.c (WRAPV): New macro.
31220         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31221         (guess_time_tm, __mktime_internal): Do not assume that signed
31222         integer overflow wraps around; modern compilers generate code
31223         where this assumption is no longer valid.
31225 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31227         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31228         Replace "jmp L(pseudo_end)" with "ret".
31229         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31230         Likewise.
31232 2012-05-23  Andreas Jaeger  <aj@suse.de>
31234         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31235         * sysdeps/unix/sysv/linux/poll.c: Remove file.
31237 2012-05-23  Andreas Jaeger  <aj@suse.de>
31238             Maximilian Attems  <max@stro.at>
31240         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31241         New macros.
31243 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31245         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31246         code so that pseudo_end is just ret and the stack pointer is
31247         correct also for static library in error case.
31249 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
31251         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31252         move to syscalls.list.
31253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31258         * manual/install.texi (Running make install): Do not mention Linux
31259         kernel version for which pt_chown is not needed.
31260         (Linux): Do not mention problems with nscd with 2.0 kernels.
31261         * INSTALL: Regenerated.
31263 2012-05-23  Andreas Jaeger  <aj@suse.de>
31265         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31266         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31267         macro.
31268         * sysdeps/unix/sysv/linux/s390/bits/mman.h
31269         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31270         * sysdeps/unix/sysv/linux/sh/bits/mman.h
31271         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31272         * sysdeps/unix/sysv/linux/i386/bits/mman.h
31273         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31274         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31275         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31276         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31277         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31278         * sysdeps/unix/sysv/linux/bits/in.h
31279         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31281 2012-05-22  Roland McGrath  <roland@hack.frob.com>
31283         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31284         (PREPARE_VERSION): Just use assert instead, it will be elided
31285         under [NDEBUG] anyway.
31287 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31289         * sysdeps/unix/sysv/linux/Makefile: Include
31290         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31291         (sysdep_routines): Remove sysctl.
31292         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31293         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31294         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31295         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31296         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31298 2012-05-22  Andreas Jaeger  <aj@suse.de>
31300         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31301         that pseudo_end is just ret and the stack pointer is correct also
31302         for static library in error case.
31304 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31306         [BZ #14122]
31307         * nss/nsswitch.c (defconfig_entries): New variable.
31308         (__nss_database_lookup): Don't leak defconfig entries.
31309         (nss_parse_service_list): Don't leak on error paths.
31310         (free_database_entries): New function.
31311         (free_defconfig): New function.
31312         (free_mem): Move common code to free_database_entries.
31314 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31316         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31317         Add arch_prctl.
31318         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31320         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31321         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31322         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31323         New macro.
31324         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31325         (INTERNAL_SYSCALL_TYPES): Likewise.
31326         (LOAD_ARGS_TYPES_[1-6]): Likewise.
31327         (LOAD_REGS_TYPES_[1-6]): Likewise.
31328         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31329         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31331 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31333         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31334         copysignl for GLIBC_2_0.
31335         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31336         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31337         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31338         logbl for GLIBC_2_0.
31339         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31340         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31342 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31344         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31345         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31347         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31348         Use "neg %eax".
31350         * time/mktime.c: Update copyright years.
31352 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31354         mktime: merge comment-quoting-style change from gnulib
31355         * time/mktime.c: Quote 'like this' in comments.
31356         The GNU coding standards suggest that we no longer quote `like this',
31357         as "`" and "'" are typically rendered asymmetrically nowadays.
31358         The typical gnulib style is to quote 'like this' when quoting
31359         code, and "like this" when quoting English.
31361         * time/mktime.c (compile-command): Add "-I.".
31363         mktime: merge mktime-internal.h change from gnulib
31364         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31366         mktime: merge time_r change from gnulib
31367         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31369         mktime: merge DEBUG change from gnulib
31370         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31371         case system <time.h> has a #define.
31373         mktime: merge <sys/types.h> change from gnulib
31374         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31375         since <time.t> is now guaranteed to define time_t.
31377         mktime: merge HAVE_CONFIG_H change from gnulib
31378         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31380 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31382         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31383         Use "neg %eax".
31385         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31386         __rlim_t cast.
31387         (struct rusage): Use anonymous union to pad each field to
31388         __syscall_slong_t.
31390 2012-05-21  David S. Miller  <davem@davemloft.net>
31392         * Makefules (o-iterator): Remove .s cases.
31393         (compile-command.s): Delete.
31394         (COMPILE.s): Delete.
31395         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31397 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
31399         * configure.in (libc_cv_predef_stack_protector): Only consider
31400         "foobar" and "__stack_chk_fail" lines in libc_undefs.
31401         * configure: Regenerated.
31403 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31405         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31406         New macro.  Use R*LP on int and pointer.
31407         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31408         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31409         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31410         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31412         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31413         [__WORDSIZE_TIME64_COMPAT32] instead of
31414         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31415         (struct utmp): Likewise.
31416         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31417         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31418         Renamed to ...
31419         (__WORDSIZE_TIME64_COMPAT32): This.
31420         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31421         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31422         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31423         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31424         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31425         (__WORDSIZE_TIME64_COMPAT32): New macro.
31427 2012-05-21  Andreas Jaeger  <aj@suse.de>
31429         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31430         only if [SHARED]. Add prototype for __wcschr_ia32.
31432 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31434         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31435         of %rbp unmolested in the jmp_buf while mangling the low bits.
31436         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31437         unmolested high bits of %rbp while demangling the low bits.
31438         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31440 2012-05-21  Andreas Jaeger  <aj@suse.de>
31442         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31443         * sunrpc/svc_simple.c: Use it for registerrpc.
31444         * sunrpc/xcrypt.c: Use it for passwd2des.
31446         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31448 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31450         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31451         Don't define if [__SYSCALL_WORDSIZE != 32].
31452         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31453         New macro.
31455 2012-05-21  Bruno Haible  <bruno@clisp.org>
31456             Andreas Jaeger  <aj@suse.de>
31458         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31459         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31460         inptr and inend for must_buffer_ch.
31461         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31462         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31463         * stdio-common/Makefile (tests): Remove bug15.
31464         (bug15-ENV): Remove macro.
31465         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31466         anymore.
31468 2012-05-19  Andreas Jaeger  <aj@suse.de>
31469             Roland McGrath  <roland@hack.frob.com>
31471         * manual/contrib.texi: Completely rewritten. It contains now an
31472         alphabetical list of contributors and their contributions.
31474 2012-05-21  Richard Henderson  <rth@twiddle.net>
31476         * misc/getauxval.c (__getauxval): Use unsigned long int.
31477         * misc/sys/auxv.h: Include <sys/cdefs.h>.
31478         (getauxval): Use unsigned long int.
31480 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31482         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31484 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31486         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31487         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31488         __alignof__ (long double).
31490 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31494 2012-05-20  Richard Henderson  <rth@twiddle.net>
31496         * misc/getauxval.c: New file.
31497         * misc/sys/auxv.h: New file.
31498         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31499         (routines): Add getauxval.
31500         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31501         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31502         * elf/dl-sysdep.c (_dl_auxv): Remove.
31503         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31504         * elf/dl-support.c (_dl_auxv): New variable.
31505         (_dl_aux_init): Initialize it.
31506         * manual/startup.texi (Auxiliary Vector): New node.
31507         * sysdeps/generic/bits/hwcap.h: New file.
31508         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31509         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
31510         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31511         * sysdeps/sparc/sysdep.h: ... here.  Include it.
31512         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31513         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31515         Update.
31516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31519         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31520         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31521         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31523         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31525 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31527         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31529 2012-05-19  David S. Miller  <davem@davemloft.net>
31531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31533 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31535         [BZ #14123]
31536         * math/s_ccosh.c: Include <float.h>
31537         (__ccosh): Avoid internal overflow calculating sinh and cosh
31538         values before multiplying by sin and cos values.
31539         * math/s_ccoshf.c: Likewise.
31540         * math/s_ccoshl.c: Likewise.
31541         * math/s_csin.c: Likewise.
31542         * math/s_csinf.c: Likewise.
31543         * math/s_csinl.c: Likewise.
31544         * math/s_csinh.c: Likewise.
31545         * math/s_csinhf.c: Likewise.
31546         * math/s_csinhl.c: Likewise.
31547         * math/libm-test.inc (ccos_test): Add more tests.
31548         (ccosh_test): Likewise.
31549         (csin_test): Likewise.
31550         (csinh_test): Likewise.
31551         * sysdeps/i386/fpu/libm-test-ulps: Update.
31552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31554 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
31556         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31557         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31559         * sysdeps/x86_64/x32/_itoa.h: Add comment.
31561 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31563         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31564         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31565         * sysdeps/powerpc/soft-fp/Versions: Likewise.
31566         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31567         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31568         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31569         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31570         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31571         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31572         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31573         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31574         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31575         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31576         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31577         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31578         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31579         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31580         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31581         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31582         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31583         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31584         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31585         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31586         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31587         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31588         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31589         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31590         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31591         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31592         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31593         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31595 2012-05-18  Andreas Jaeger  <aj@suse.de>
31597         * csu/.gitignore: Delete.
31599 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31601         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31602         (timex): Use __syscall_slong_t.
31604 2012-05-18  Andreas Jaeger  <aj@suse.de>
31605             Carlos O'Donell  <carlos_odonell@mentor.com>
31607         * manual/install.texi (Configuring and compiling): Update
31608         description about files modified in the source directory.
31609         * INSTALL: Regenerated.
31611 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31613         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31614         value.  Use "or" to set return value to -1.
31615         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31616         negate return value.
31618 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31620         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31621         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31622         failure if the compiler has Graphite support disabled.
31623         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31624         Likewise.
31625         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31626         (CFLAGS-memmove.c): Likewise.
31627         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31628         Likewise.
31630 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31632         * sysdeps/x86_64/x32/_itoa.h: New file.
31634         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31635         getdents system call only if kernel and user dirents have the
31636         same d_ino and d_off.
31638         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31639         LLONG_MAX != LONG_MAX.
31640         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31641         (_fitoa_word): Likewise.
31643         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31644         years.
31645         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31646         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31647         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31649         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31650         include <bits/wordsize.h>.  Check __x86_64__ instead of
31651         __WORDSIZE.
31652         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31653         if __x86_64__ is defined.  Use anonymous union on fpstate.
31655         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31656         anonymous union.
31658 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
31660         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31661         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31662         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31663         Refer to _rtld_local_ro instead of _rtld_global_ro.
31664         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31665         Likewise.
31666         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31667         Likewise.
31668         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31669         Likewise.
31670         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31671         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31672         of _rtld_global, and rtld_progname instead of _dl_argv[0].
31674         * sysdeps/powerpc/powerpc32/dl-machine.c
31675         (__elf_machine_runtime_setup) [PROF]: Don't reference
31676         _dl_prof_resolve.
31678 2012-05-18  Andreas Jaeger  <aj@suse.de>
31680         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31681         function only available for GCCs before 3.4 since GCC 3.4
31682         introduced a builtin.
31683         (lrint): Likewise.
31684         (llrintf): Likewise.
31685         (llrint): Likewise.
31686         (fmaxf): Likewise.
31687         (fmax): Likewise.
31688         (fminf): Likewise.
31689         (fmin): Likewise.
31690         (rint): Likewise.
31691         (rintf): Likewise.
31692         (nearbyint): Likewise.
31693         (nearbyintf): Likewise.
31694         (ceil): Likewise.
31695         (ceilf): Likewise.
31696         (floor): Likewise.
31697         (floorf): Likewise.
31699 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31701         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31702         on both fields and cast pointer to __syscall_ulong_t.
31704         * bits/types.h (__fsword_t): New type.
31705         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31706         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31707         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31708         (__FSWORD_T_TYPE): Likewise.
31709         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31710         (__FSWORD_T_TYPE): Likewise.
31711         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31712         (__FSWORD_T_TYPE): Likewise.
31713         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31714         (__FSWORD_T_TYPE): Likewise.
31715         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31716         __SWORD_TYPE with __fsword_t.
31717         (statfs64): Likewise.
31719 2012-05-17  David S. Miller  <davem@davemloft.net>
31721         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31723 2012-05-17  Andreas Jaeger  <aj@suse.de>
31725         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31726         warning.
31728 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31730         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31732 2012-05-17  Andreas Jaeger  <aj@suse.de>
31734         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31735         when it is used.
31737 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31739         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31741 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31743         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31744         * sysdeps/x86_64/tst-mallocalign1.c: New file.
31746 2012-05-17  Andreas Jaeger  <aj@suse.de>
31747             Carlos O'Donell  <carlos_odonell@mentor.com>
31749         [BZ #14059]
31750         * sysdeps/x86_64/multiarch/init-arch.h
31751         (bit_YMM_Usable): Rename to...
31752         (bit_AVX_Usable): ... this.
31753         (bit_FMA4_Usable): New macro.
31754         (bit_XMM_state): New macro.
31755         (bit_YMM_state): New macro.
31756         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31757         [__ASSEMBLER__] (index_AVX_Usable): ... this.
31758         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31759         (CPUID_OSXSAVE): New macro.
31760         (CPUID_AVX): New macro.
31761         (CPUID_FMA4): New macro.
31762         (index_YMM_Usable): Rename to...
31763         (index_AVX_Usable): ... this.
31764         (HAS_AVX): Use HAS_ARCH_FEATURE.
31765         (HAS_FMA4): Likewise.
31766         (HAS_YMM_USABLE): Remove.
31767         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31768         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31769         are present.
31770         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31771         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31772         * sysdeps/x86_64/multiarch/Makefile: Likewise.
31773         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31774         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31776 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31778         * math/libm-test.c: Support platforms without multiple rounding modes.
31779         * math/bug-nextafter.c: Support platforms without FP exceptions.
31780         * math/bug-nexttoward.c: Likewise.
31781         * math/test-fenv.c: Likewise.
31782         * math/test-misc.c: Likewise.
31783         * stdlib/bug-getcontext.c: Likewise.
31785 2012-05-17  Andreas Jaeger  <aj@suse.de>
31787         * manual/examples/search.c (critter_cmp): Change signature to
31788         avoid warnings.
31789         * manual/string.texi (Collation Functions): Likewise.
31791 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31793         * bits/types.h: Fold copyright years.
31794         * bits/typesizes.h: Likewise.
31795         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31796         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31797         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31798         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31799         * time/time.h: Likewise.
31801 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
31803         [BZ #208]
31804         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31805         in instead of returning them.  Return void.
31806         (__libc_mallinfo): Accumulate over all arenas.
31807         (__malloc_stats): Adjust for change in int_mallinfo interface.
31809 2012-05-16  Roland McGrath  <roland@hack.frob.com>
31811         [BZ #10375]
31812         * configure.in (NM): Add AC_CHECK_TOOL for it.
31813         (libc_extra_cflags): New substituted variable.
31814         Check for -fstack-protector being used implicitly.
31815         * configure: Regenerated.
31816         * config.make.in (config-extra-cflags): New variable,
31817         gets @libc_extra_cflags@.
31818         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31820         [BZ #10375]
31821         * configure.in: Check for _FORTIFY_SOURCE being predefined.
31822         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31823         * configure: Regenerated.
31824         * config.make.in (CPPUNDEFS): New substituted variable.
31825         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31826         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31827         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31829 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31831         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31832         (mq_attr): Use __syscall_slong_t.
31834 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31836         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31837         Check __x86_64__ instead of __WORDSIZE.
31838         (_STAT_VER_LINUX): Likewise.
31839         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
31840         __syscall_ulong_t and __syscall_slong_t.
31841         (stat64): Likewise.
31843 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31845         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31847 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31849         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31851 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31853         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31854         __syscall_ulong_t.
31856         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31857         include <bits/wordsize.h>.  Check __x86_64__ instead of
31858         __WORDSIZE.
31859         (greg_t): Use "__extension__ long long int" if __x86_64__ is
31860         defined.
31861         (mcontext_t): Replace "unsigned long" with "unsigned long long".
31863         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31864         include <bits/wordsize.h>.  Check __x86_64__ instead of
31865         __WORDSIZE.
31866         (user_regs_struct): Use "__extension__ unsigned long long"
31867         instead of "unsigned long" if __x86_64__ is defined.
31868         (user): Likewise.  Pad after pointer field if __ILP32__ is
31869         defined.
31871 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
31873         * configure.in (makeinfo): Require version 4.5 or later.  Allow
31874         versions 5 to 9.
31875         * configure: Regenerated.
31876         * manual/install.texi (texinfo): Increase version requirement to
31877         4.5 or later.
31878         * INSTALL: Regenerated.
31880         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31882 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31884         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31886         * sysdeps/x86_64/x32/ffs.c: New file.
31888         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31889         __syscall_ulong_t.
31890         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31891         defined.  Use __syscall_ulong_t.
31892         (shminfo): Use __syscall_ulong_t.
31893         (shm_info): Likewise.
31895         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31896         __syscall_ulong_t.
31898         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31899         <bits/wordsize.h>.
31900         (msgqnum_t): Use __syscall_ulong_t.
31901         (msglen_t): Likewise.
31902         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
31903         __syscall_ulong_t.
31905         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31906         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31908         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31910         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31911         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31913         * sysvipc/sys/msg.h (msgbuf): Replace long int with
31914         __syscall_slong_t.
31916         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31917         include <bits/wordsize.h>.  Check __x86_64__ instead of
31918         __WORDSIZE.
31920         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31921         "unsigned long long int" if __x86_64__ is defined.
31922         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31924         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31925         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31926         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31928         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31929         <stdint.h>.
31930         (GET_PC): Cast to uintptr_t first.
31931         (GET_FRAME): Likewise.
31932         (GET_STACK): Likewise.
31934         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31935         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31936         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31937         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31938         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31939         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31940         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31941         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31942         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31943         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31944         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31945         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31946         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31947         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31948         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31949         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31950         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31951         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31952         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31953         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31954         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31955         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31956         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31957         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31958         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31959         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31960         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31961         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31962         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31964 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
31966         * Makerules (+depfiles): Also collect depfiles from .oS in
31967         $(extra-objs).
31968         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31969         .oS, $(libnldbl-routines)).
31971         * Makerules (native-compile-mkdep-flags): Define.
31972         * sunrpc/Makefile (extra-objs): Add $(addprefix
31973         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31974         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31975         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
31976         calling $(make-target-directory).
31978 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31980         * bits/types.h (__snseconds_t): Removed.
31981         * time/time.h (struct timespec): Replace __snseconds_t with
31982         __syscall_slong_t.
31983         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31984         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31985         Likewise.
31986         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31987         (__SNSECONDS_T_TYPE): Likewise.
31988         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31989         (__SNSECONDS_T_TYPE): Likewise.
31990         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31991         (__SNSECONDS_T_TYPE): Likewise.
31993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31995         * sysdeps/mach/hurd/bits/typesizes.h
31996         (__SYSCALL_SLONG_TYPE): New macro.
31997         (__SYSCALL_ULONG_TYPE): Likewise.
31999 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32001         * bits/types.h (__syscall_slong_t): New type.
32002         (__syscall_ulong_t): Likewise.
32004         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32005         (__SYSCALL_ULONG_TYPE): Likewise.
32006         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32007         (__SYSCALL_SLONG_TYPE): Likewise.
32008         (__SYSCALL_ULONG_TYPE): Likewise.
32009         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32010         (__SYSCALL_SLONG_TYPE): Likewise.
32011         (__SYSCALL_ULONG_TYPE): Likewise.
32012         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32013         (__SYSCALL_SLONG_TYPE): Likewise.
32014         (__SYSCALL_ULONG_TYPE): Likewise.
32016 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32018         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32019         Add sigaltstack-offsets.sym.
32020         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32021         <sigaltstack-offsets.h>.
32022         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
32023         longjmp_msg pointer.
32024         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
32025         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32026         signal stack.
32027         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32029 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32031         * elf/stackguard-macros.h: Remove file.
32032         * sysdeps/generic/stackguard-macros.h: New file.
32033         * sysdeps/i386/stackguard-macros.h: Likewise.
32034         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32035         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32036         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32037         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32038         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32039         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32040         * sysdeps/x86_64/stackguard-macros.h: Likewise.
32041         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32042         <elf/stackguard-macros.h>.
32044         [BZ #14109]
32045         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32046         __aligned__ in attribute.
32047         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32048         (gregset_t): Likewise.
32050 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32052         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32053         * sysdeps/x86_64/64/Implies-after: Here.  New file.
32054         * sysdeps/x86_64/x32/Implies-after: New file.
32056 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32058         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32059         and access return value for _dl_profile_fixup.  Use R10_LP to
32060         load frame size.
32062 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32064         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32066 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32068         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32069         * sysdeps/x86_64/x32/sysdep.h: New file.
32071 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32073         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32074         * sysdeps/x86_64/setjmp.S: Likewise.
32076 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32078         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32079         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32080         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32081         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32082         remove unused global constant.
32084 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
32086         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32087         include of <not-cancel.h>.
32089 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32091         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32093 2012-05-15  Jeff Law  <law@redhat.com>
32094             Andreas Jaeger  <aj@suse.de>
32096         [BZ #13594]
32097         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32098         out from...
32099         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32100         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32101         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32102         code changing __hst_map_handle.map.
32104 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32106         * configure.in (sysnames): Look for Implies-before and Implies-after
32107         files.
32108         * configure: Regenerated.
32110 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32112         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32113         8-byte data alignment with LP_SIZE alignment.
32115 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32117         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32118         into R10_LP.
32120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32122         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32124 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32126         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32127         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32128         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32129         Likewise.
32130         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32132 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32134         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32135         (stackinfo_sub_sp): Likewise.
32137 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32139         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32140         RAX_LP.
32142 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32144         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32145         into R*_LP.
32147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32149         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32150         sizes into R*_LP.
32152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32154         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32158         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32159         into R11_LP and load __x86_64_shared_cache_size_half into
32160         R8_LP.
32162 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32164         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32165         R8_LP.
32167 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32169         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32170         logb for POWER7.
32171         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32172         logbf for POWER7.
32173         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32174         logbl for POWER7.
32175         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32176         powerpc32/power7/fpu/s_logb.c via #include.
32177         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32178         powerpc32/power7/fpu/s_logbf.c via #include.
32179         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32180         powerpc32/power7/fpu/s_logbl.c via #include.
32182 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32184         * README.libm: Remove file.
32186 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32188         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32189         count for x32.  Use R*_LP and omit operand-size suffix.
32191 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32193         * shlib-versions: Move x86_64-.*-linux.* entries to ...
32194         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
32195         * sysdeps/x86_64/x32/shlib-versions: New file.
32197 2012-05-14  Roland McGrath  <roland@hack.frob.com>
32199         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32200         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32201         Use _dl_fatal_printf instead.
32203 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32205         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32206         set if not set by the user.  Do not allow for being unset.
32207         * sysdeps/unix/sysv/linux/configure: Regenerated.
32209 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32211         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32212         the `q' suffix from lea and replace .quad with ASM_ADDR.
32214 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32216         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32217         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
32218         instead of $17.
32219         (PTR_DEMANGLE): Likewise.
32221 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32223         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32224         (LP_OP): Likewise.
32225         (ASM_ADDR): Likewise.
32226         (RAX_LP): Likewise.
32227         (RBP_LP): Likewise.
32228         (RBX_LP): Likewise.
32229         (RCX_LP): Likewise.
32230         (RDI_LP): Likewise.
32231         (RSI_LP): Likewise.
32232         (RSP_LP): Likewise.
32233         (R8_LP): Likewise.
32234         (R9_LP): Likewise.
32235         (R10_LP): Likewise.
32236         (R10_LP): Likewise.
32237         (R11_LP): Likewise.
32238         (R12_LP): Likewise.
32239         (R13_LP): Likewise.
32240         (R14_LP): Likewise.
32241         (R15_LP): Likewise.
32243 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32245         * sysdeps/x86_64/x32/dl-machine.h: New file.
32247 2012-05-14  Andreas Jaeger  <aj@suse.de>
32249         * manual/Makefile (subdir): Remove export of subdir.
32250         (all): Remove target.
32251         (.PHONY): Remove all from list.
32252         (mkinstalldirs): Remove.
32253         (.PHONY): Remove installdirs from list.
32254         ($(inst_infodir)/libc.info): Use make-target-directory.
32255         (installdirs): Remove.
32256         (subdir_%): Remove.
32257         (glibc-targets): Remove.
32258         (lib): Remove.
32259         (stubs): Remove.
32260         ($(objpfx)stubs ../po/manual.pot): Remove.
32261         ($(objpfx)stamp%): Remove.
32262         (make-target-directory): Remove.
32263         (subdir_install): Remove.
32264         (routines): Remove.
32265         (aux): Remove.
32266         (sources): Remove.
32267         (objects): Remove.
32268         (headers): Remove.
32270         [BZ #13750]
32271         * manual/.gitignore: Remove, it's not needed anymore.
32272         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32273         all files in it.
32274         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32275         directory.
32276         (texis): Renamed to $(objpfx)texis.
32277         (texis-path): New, contains path to generated files.
32278         (chapters.%): Use texis-path for complete path, add extra argument
32279         libc-texinfo.sh.
32280         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32281         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32282         (summary,texi, stamp-summary): Use complete path of
32283         files. Generate files in build dir.
32284         (dir-add.texi): Build in build dir.
32285         (libm-err.texi,stamp-libm-err): Likewise.
32286         (version.texi, stamp-version): Likewise.
32287         (.%c.texi): Likewise.
32288         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32289         (mostlyclean): Remove target.
32290         (realclean): Remove target.
32291         (generated): Add new variable with contents from mostlyclean and
32292         realclean, remove entries duplicated in common-mostlyclean, add
32293         stamp-libm-err and stamp-version.
32294         (generated-dirs): Add libc directory.
32295         ($(inst_infodir)/libc.info): Install files from build dir.
32297         * manual/install.texi (Configuring and compiling): Adjust since
32298         the info files are not part of the tar ball anymore.
32300 2012-05-14  Andreas Jaeger  <aj@suse.de>
32302         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32303         variable.
32305 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32307         [BZ #13717]
32308         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32309         to 2.2.0 where earlier.
32310         * sysdeps/unix/sysv/linux/configure: Regenerated.
32311         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32312         Remove conditional code.
32313         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32314         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32315         Remove conditional code.
32316         [!__NR_lchown]: Likewise.
32317         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32318         [__NR_lchown]: Likewise.
32319         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32320         comment referencing __ASSUME_LCHOWN_SYSCALL.
32321         * sysdeps/unix/sysv/linux/i386/sigaction.c
32322         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32323         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32324         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32325         Remove conditional code.
32326         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32327         (__protocol_available): Remove #if 0 code.
32328         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32329         conditional code.
32330         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32331         * sysdeps/unix/sysv/linux/kernel-features.h
32332         (__ASSUME_GETCWD_SYSCALL): Don't define.
32333         (__ASSUME_REALTIME_SIGNALS): Likewise.
32334         (__ASSUME_PREAD_SYSCALL): Likewise.
32335         (__ASSUME_PWRITE_SYSCALL): Likewise.
32336         (__ASSUME_POLL_SYSCALL): Likewise.
32337         (__ASSUME_LCHOWN_SYSCALL): Likewise.
32338         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32339         non-SPARC.
32340         (__ASSUME_SIOCGIFNAME): Don't define.
32341         (__ASSUME_MSG_NOSIGNAL): Likewise.
32342         (__ASSUME_SENDFILE): Define unconditionally.
32343         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32344         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32345         conditional code.
32346         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32347         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32348         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32349         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32350         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32351         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32352         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32354         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32355         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32357         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32358         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32360         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32361         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32363         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32364         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32366         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32367         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32369         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32370         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32372         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32373         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32375         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32376         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32377         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32378         Remove conditional code.
32379         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32380         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32381         Remove conditional code.
32382         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32383         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32384         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32385         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32386         Remove conditional code.
32387         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32388         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32389         Remove conditional code.
32390         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32391         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32392         Remove conditional code.
32393         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32394         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32395         Remove conditional code.
32396         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32397         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32398         Remove conditional code.
32399         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32400         * sysdeps/unix/sysv/linux/sh/pwrite64.c
32401         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32402         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32403         * sysdeps/unix/sysv/linux/sigaction.c
32404         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32405         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32406         * sysdeps/unix/sysv/linux/sigpending.c
32407         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32408         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32409         * sysdeps/unix/sysv/linux/sigprocmask.c
32410         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32411         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32412         * sysdeps/unix/sysv/linux/sigsuspend.c
32413         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32414         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32415         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32416         (__libc_missing_rt_sigs): Remove.
32417         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32418         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32419         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32420         Remove conditional code.
32421         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32422         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32423         return 1.
32424         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32425         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32426         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32427         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32429 2012-05-14  Andreas Jaeger  <aj@suse.de>
32431         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32432         it's not used in glibc.
32433         (__coshm1): Likewise.
32434         (__acosh1p): Likewise.
32435         (__sgn): Likewise.
32437         * manual/string.texi (Copying and Concatenation): Add missing
32438         variable in concat example.
32439         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32441 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32443         [BZ #14103]
32444         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32445         __builtin_clzl with __builtin_clzll.
32447 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32449         [BZ #14104]
32450         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32451         libc_freeres_ptr.
32453 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32455         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32456         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32457         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32458         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32460 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
32462         * NEWS: Update ia64 info.
32464 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
32466         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32467         used as bcopy.
32469 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
32471         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32472         * sysdeps/unix/syscalls.list (dup3): Likewise.
32473         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32474         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32476 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32478         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32479         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32481 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32483         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32484         thread pointer.
32485         (TLS_IE): Use mov/add instead of movq/addq to load thread
32486         pointer.
32487         (TLS_GD_PREFIX): New.
32488         (TLS_GD): Use it.
32490 2012-05-11  David S. Miller  <davem@davemloft.net>
32492         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32493         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32494         (_FPU_SETCW): Likewise.
32496 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32498         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32499         is 32-byte aligned.
32501 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
32503         [BZ #11837]
32504         * iconvdata/gb18030.c: Update tables.
32505         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
32506         characters specially.
32507         (BODY for TO_LOOP): Add encoding of missing ranges.
32509 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
32511         [BZ #13673]
32512         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32513         * sysdeps/mach/hurd/dup3.c: Likewise.
32514         * sysdeps/mach/hurd/readlinkat.c: Likewise.
32515         * sysdeps/powerpc/memmove.c:: Likewise.
32517 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32519         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32520         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32522 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32524         * elf/elf.h (R_X86_64_RELATIVE64): New.
32525         (R_X86_64_NUM): Updated.
32526         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32527         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
32528         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32529         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32530         tst-quad1pie tst-quad2pie
32531         (modules-names): Add tst-quadmod1 tst-quadmod2.
32532         ($(objpfx)tst-quad1): New dependency.
32533         ($(objpfx)tst-quad2): Likewise.
32534         ($(objpfx)tst-quad1pie): Likewise.
32535         ($(objpfx)tst-quad2pie): Likewise.
32536         * sysdeps/x86_64/tst-quad1.c: New file.
32537         * sysdeps/x86_64/tst-quad1pie.c: New file.
32538         * sysdeps/x86_64/tst-quad2.c: Likewise.
32539         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32540         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32541         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32542         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32543         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32545 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32547         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32548         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32549         * streams/stropts.h (t_scalar_t): Define type.
32551         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32552         (_PATH_PRESERVE): Set to "/var/lib".
32553         (_PATH_RWHODIR): Set to "/var/spool/rwho".
32555         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32556         instead of int.
32558         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32559         if __dir_mkfile succeeded.
32561         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32562         checking for _hurd_dtablesize.  Unlock it right after having
32563         finished _hurd_dtable allocation.
32565 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32567         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32568         * sysdeps/mach/hurd/configure: Regenerated.
32569         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32570         special-casing to...
32571         * sysdeps/gnu/configure.in: ... this new file.
32572         * sysdeps/unix/sysv/linux/configure: Regenerated.
32573         * sysdeps/gnu/configure: New generated file.
32575         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32576         for Linux: use nsec instead of usec, as well as:
32577         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32578         members of type struct timespec.
32579         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32580         New macros.
32581         (struct stat64): Likewise.
32582         (_STATBUF_ST_NSEC): New macro.
32583         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32585         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32586         __strtoul_internal rather than strtoul.
32588 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32590         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32591         and reject them.
32593 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32595         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32596         which preserves existing values.
32597         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32599 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32601         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32602         TIMEOUT values.  Return EINVAL for NFDS values either negative or
32603         greater than FD_SETSIZE.
32605 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32607         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32608         allocated, call __vm_protect to finish enabling the existing space, and
32609         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32610         allocate the remainder.
32612 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32614         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32615         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
32617 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32619         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32620         sysdeps/mach/hurd/readlink.c.
32622         * posix/tst-sysconf.c (posix_options): Only use
32623         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32624         _POSIX_SYNCHRONIZED_IO when they are defined
32625         * sysdeps/mach/hurd/bits/posix_opt.h:
32626         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32627         (_XOPEN_REALTIME): Undefine macro.
32628         (_XOPEN_REALTIME_THREADS): Undefine macro.
32629         (_XOPEN_SHM): Undefine macro.
32630         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32631         macro to -1.
32632         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32633         macro to -1.
32634         (_POSIX_ASYNC_IO): Undefine macro.
32635         (_POSIX_PRIORITIZED_IO): Undefine macro.
32636         (_POSIX_SPIN_LOCKS): Define macro to -1.
32638         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32639         SA_NODEFER, SA_RESETHAND.
32640         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32641         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32642         F_DUPFD_CLOEXEC.
32644 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32646         * elf/Makefile (pldd-modules): Define unconditionally.
32648 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32650         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32652 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32654         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32655         Return ENOENT when name is empty.
32656         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32658 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32660         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32662         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32664 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32666         Fix mlock in all cases except non-readable pages.
32667         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32668         instead of VM_PROT_ALL as parameter to __vm_wire function.
32670         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32671         (__mkdir): When path is `/', just fail with EEXIST.
32672         * sysdeps/mach/hurd/mkdirat.c: Likewise.
32674 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32676         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32677         <sys/uio.h> (for writev).
32678         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32679         and <sys/param.h> (for MIN).
32681 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32683         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32684         REQUESTED_TIME.  Properly set the remaining time and return EINTR
32685         if interrupted.
32687 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32689         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32690         Depend on against $(link-rpcuserlibs).
32692 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32694         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32695         (__libc_stack_end): Do not use attribute_relro.
32696         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32697         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32698         to libthread-provided value.
32699         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32700         attribute_relro.
32702 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32704         [BZ #3748]
32705         * bits/libc-lock.h (__libc_once_get): New macro.
32706         * sysdeps/mach/bits/libc-lock.h: Likewise.
32707         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32708         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32709         instead of using implementation details.
32711         * libio/fileops.c: Unconditionally include <kernel-features.h>.
32712         * libio/freopen.c: Likewise.
32713         * libio/freopen64.c: Likewise.
32714         * misc/syslog.c: Likewise.
32715         * nscd/connections.c: Likewise.
32716         * nscd/netgroupcache.c: Likewise.
32717         * sysdeps/posix/getcwd.c: Likewise.
32719 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32721         * math/w_ilogbf.c: Add #include <limits.h>.
32723 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32725         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32726         path instead of returning without unlocking.
32728         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32729         immediate-write ioctls.
32730         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32732 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32734         * sysdeps/mach/hurd/i386/init-first.c (init): Use
32735         __builtin_frame_address instead of making assumptions about the
32736         location of the return address relative to DATA.  Force early load of
32737         the return address.
32738         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32739         __builtin_frame_address.
32741         dup3 for GNU Hurd.
32742         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32743         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
32744         implement dup3 and do some further code clean-ups.
32745         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32746         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32748 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32750         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32752         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32753         HURD_CRITICAL_END around holding _hurd_dtable_lock.
32754         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32755         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32756         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32757         d->port.lock.
32759         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32760         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
32761         when handler == SIG_ERR, not when handler != SIG_ERR.
32763 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32765         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32766         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32767         definitions.
32769         accept4 for GNU Hurd.
32770         * include/sys/socket.h (__libc_accept4): New prototype.
32771         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
32772         to implement __libc_accept4.
32773         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32774         __libc_accept4.
32775         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32777         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32778         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32779         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32780         signal-defines.sym.
32782 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32784         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32786 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32788         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32789         assertion on O_CLOEXEC flag.
32790         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32791         * hurd/intern-fd.c: Likewise.
32792         * hurd/port2fd.c: Likewise.
32794 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32796         [BZ #3906]
32797         * bits/in.h (IPV6_PKTINFO): Define new macro.
32798         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32800 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32802         [BZ #13954]
32803         [BZ #13955]
32804         [BZ #13956]
32805         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32806         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32807         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32808         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32809         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32810         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32811         * math/libm-test.inc (logb_test) : Additional logb tests.
32813 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
32814             Andreas Jaeger  <aj@suse.de>
32816         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32817         * configure: Regenerated.
32818         * config.h.in (LINK_OBSOLETE_RPC): New macro.
32819         * config.make.in (link-obsolete-rpc): New substituted variable.
32820         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32821         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32822         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32823         (shared-only-routines): Don't set it under [link-obsolete-rpc],
32824         so that libc.a contains the symbols.
32825         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32826         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32827         * sunrpc/auth_none.c: Likewise.
32828         * sunrpc/auth_unix.c: Likewise.
32829         * sunrpc/authdes_prot.c: Likewise.
32830         * sunrpc/authuxprot.c: Likewise.
32831         * sunrpc/clnt_gen.c: Likewise.
32832         * sunrpc/clnt_perr.c: Likewise.
32833         * sunrpc/clnt_raw.c: Likewise.
32834         * sunrpc/clnt_simp.c: Likewise.
32835         * sunrpc/clnt_tcp.c: Likewise.
32836         * sunrpc/clnt_udp.c: Likewise.
32837         * sunrpc/clnt_unix.c: Likewise.
32838         * sunrpc/des_crypt.c: Likewise.
32839         * sunrpc/des_soft.c: Likewise.
32840         * sunrpc/get_myaddr.c: Likewise.
32841         * sunrpc/key_call.c: Likewise.
32842         * sunrpc/key_prot.c: Likewise.
32843         * sunrpc/netname.c: Likewise.
32844         * sunrpc/pm_getmaps.c: Likewise.
32845         * sunrpc/pm_getport.c: Likewise.
32846         * sunrpc/pmap_clnt.c: Likewise.
32847         * sunrpc/pmap_prot.c: Likewise.
32848         * sunrpc/pmap_prot2.c: Likewise.
32849         * sunrpc/pmap_rmt.c: Likewise.
32850         * sunrpc/publickey.c: Likewise.
32851         * sunrpc/rpc_cmsg.c: Likewise.
32852         * sunrpc/rpc_common.c: Likewise.
32853         * sunrpc/rpc_dtable.c: Likewise.
32854         * sunrpc/rpc_prot.c: Likewise.
32855         * sunrpc/rpc_thread.c: Likewise.
32856         * sunrpc/rtime.c: Likewise.
32857         * sunrpc/svc.c: Likewise.
32858         * sunrpc/svc_auth.c: Likewise.
32859         * sunrpc/svc_raw.c: Likewise.
32860         * sunrpc/svc_run.c: Likewise.
32861         * sunrpc/svc_tcp.c: Likewise.
32862         * sunrpc/svc_udp.c: Likewise.
32863         * sunrpc/svc_unix.c: Likewise.
32864         * sunrpc/svcauth_des.c: Likewise.
32865         * sunrpc/xcrypt.c: Likewise.
32866         * sunrpc/xdr.c: Likewise.
32867         * sunrpc/xdr_array.c: Likewise.
32868         * sunrpc/xdr_float.c: Likewise.
32869         * sunrpc/xdr_intXX_t.c: Likewise.
32870         * sunrpc/xdr_mem.c: Likewise.
32871         * sunrpc/xdr_rec.c: Likewise.
32872         * sunrpc/xdr_ref.c: Likewise.
32873         * sunrpc/xdr_sizeof.c: Likewise.
32874         * sunrpc/xdr_stdio.c: Likewise.
32876 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32878         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32879         change.  Update copyright years.
32881 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32883         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32885 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
32886             Joseph Myers  <joseph@codesourcery.com>
32887             Paul Pluzhnikov  <ppluzhnikov@google.com>
32889         [BZ #14012]
32890         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32891         requiring rpcgen.
32892         [cross-compiling] (extra-libs): Likewise.
32893         [cross-compiling] (extra-libs-others): Likewise.
32894         [cross-compiling] (librpcsvc-routines): Likewise.
32895         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32896         [cross-compiling] (omit-deps): Likewise.
32897         (sunrpc-CPPFLAGS): New variable.
32898         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32899         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32900         (cross-rpcgen-objs): New variable.
32901         (extra-objs): Append $(cross-rpcgen-objs).
32902         ($(cross-rpcgen-objs)): New rule.
32903         ($(objpfx)cross-rpcgen): Likewise.
32904         (rpcgen-cmd): Define to use $(built-program-file).  Expand
32905         comment.
32906         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32907         ($(objpfx)x%.stmp): Likewise.
32908         * sunrpc/proto.h [IS_IN_build] (_): Define.
32909         [IS_IN_build] (_libc_intl_domainname): Likewise.
32911 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32913         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32914         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32915         and R_X86_64_TPOFF64.
32917 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32919         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32920         sysdeps/unix/sysv/syscalls.list.
32921         (stime): Likewise.
32922         (utime): Likewise.
32923         * sysdeps/unix/sysv/syscalls.list: Remove file.
32925 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
32927         [BZ #3440]
32928         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32929         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32930         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32931         (__LC_IDENTIFICATION): Make these macros useful in #if
32932         expressions, as required by C99.
32934 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
32936         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32937         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
32938         after this.
32940 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
32942         * stdlib/longlong.h: Updated from GCC.
32944 2012-05-09  Andreas Jaeger  <aj@suse.de>
32946         * nscd/nscd.c (run_modes): Make named enum, reorder so that
32947         default is first entry.
32948         (run_mode): Set type.
32949         (main): Remove informal message about syslog.
32950         (options): Fix typo.
32952         [BZ #14053]
32953         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32954         to asm.
32955         (lrint): Likewise.
32956         (llrintf): Likewise.
32957         (llrint): Likewise.
32958         (rint): Likewise.
32959         (rintf): Likewise.
32960         (nearbyint): Likewise.
32961         (nearbyintf): Likewise.
32963 2012-05-09  Andreas Jaeger  <aj@suse.de>
32964             Pedro Alves  <palves@redhat.com>
32966         * nscd/nscd.c (run_mode): Use enum.
32967         (main): Cleanup coding style issue.
32969 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
32970             Andreas Jaeger  <aj@suse.de>
32972         * nscd/nscd.c (go_background): Replaced with...
32973         (run_mode): ... this.
32974         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32975         (options): Add -F --foreground.
32976         (main): Implement it.
32977         (parse_opt): Parse it.
32979 2012-05-09  Andreas Jaeger  <aj@suse.de>
32981         [BZ #14083]
32982         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32983         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32984         -Wconversion warning.
32985         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32986         Likewise.
32988 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
32990         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
32991         == 0.
32992         (LC_ALL): Use macro-int-constant.
32993         (LC_COLLATE): Likewise.
32994         (LC_CTYPE): Likewise.
32995         (LC_MESSAGES): Likewise.
32996         (LC_MONETARY): Likewise.
32997         (LC_NUMERIC): Likewise.
32998         (LC_TIME): Likewise.
32999         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33000         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33001         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33002         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33003         Specify type.
33004         [C99-based standards] (float_t): Expect type.
33005         [C99-based standards] (double_t): Expect type.
33006         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
33007         type.
33008         [C99-based standards] (HUGE_VALL): Likewise.
33009         [C99-based standards] (INFINITY): Likewise.
33010         [C99-based standards] (NAN): Likewise.
33011         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33012         [C99-based standards] (FP_NAN): Likewise.
33013         [C99-based standards] (FP_NORMAL): Likewise.
33014         [C99-based standards] (FP_SUBNORMAL): Likewise.
33015         [C99-based standards] (FP_ZERO): Likewise.
33016         [C99-based standards] (FP_FAST_FMA): Use
33017         optional-macro-int-constant.  Specify type.  Require == 1.
33018         [C99-based standards] (FP_FAST_FMAF): Likewise.
33019         [C99-based standards] (FP_FAST_FMAL): Likewise.
33020         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33021         [C99-based standards] (FP_ILOGBNAN): Likewise.
33022         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33023         Specify type.
33024         [C99-based standards] (MATH_ERREXCEPT): Likewise.
33025         [C99-based standards] (math_errhandling): Specify type.
33026         [ISO99 || ISO11] (signgam): Do not allow.
33027         [non-C99-based standards] (copysignf): Do not allow.
33028         [non-C99-based standards] (exp2f): Likewise.
33029         [non-C99-based standards] (log2f): Likewise.
33030         [non-C99-based standards] (modff): Allow.
33031         [non-C99-based standards] (erff): Do not allow.
33032         [non-C99-based standards] (erfcf): Likewise.
33033         [non-C99-based standards] (gammaf): Likewise.
33034         [non-C99-based standards] (hypotf): Likewise.
33035         [non-C99-based standards] (j0f): Likewise.
33036         [non-C99-based standards] (j1f): Likewise.
33037         [non-C99-based standards] (jnf): Likewise.
33038         [non-C99-based standards] (lgammaf): Likewise.
33039         [non-C99-based standards] (tgammaf): Likewise.
33040         [non-C99-based standards] (y0f): Likewise.
33041         [non-C99-based standards] (y1f): Likewise.
33042         [non-C99-based standards] (ynf): Likewise.
33043         [non-C99-based standards] (isnanf): Likewise.
33044         [non-C99-based standards] (acoshf): Likewise.
33045         [non-C99-based standards] (asinhf): Likewise.
33046         [non-C99-based standards] (atanhf): Likewise.
33047         [non-C99-based standards] (cbrtf): Likewise.
33048         [non-C99-based standards] (expm1f): Likewise.
33049         [non-C99-based standards] (ilogbf): Likewise.
33050         [non-C99-based standards] (log1pf): Likewise.
33051         [non-C99-based standards] (logbf): Likewise.
33052         [non-C99-based standards] (nextafterf): Likewise.
33053         [non-C99-based standards] (remainderf): Likewise.
33054         [non-C99-based standards] (rintf): Likewise.
33055         [non-C99-based standards] (scalbf): Likewise.
33056         [non-C99-based standards] (copysignl): Likewise.
33057         [non-C99-based standards] (exp2l): Likewise.
33058         [non-C99-based standards] (log2l): Likewise.
33059         [non-C99-based standards] (modfl): Allow.
33060         [non-C99-based standards] (erfl): Do not allow.
33061         [non-C99-based standards] (erfcl): Likewise.
33062         [non-C99-based standards] (gammal): Likewise.
33063         [non-C99-based standards] (hypotl): Likewise.
33064         [non-C99-based standards] (j0l): Likewise.
33065         [non-C99-based standards] (j1l): Likewise.
33066         [non-C99-based standards] (jnl): Likewise.
33067         [non-C99-based standards] (lgammal): Likewise.
33068         [non-C99-based standards] (tgammal): Likewise.
33069         [non-C99-based standards] (y0l): Likewise.
33070         [non-C99-based standards] (y1l): Likewise.
33071         [non-C99-based standards] (ynl): Likewise.
33072         [non-C99-based standards] (isnanl): Likewise.
33073         [non-C99-based standards] (acoshl): Likewise.
33074         [non-C99-based standards] (asinhl): Likewise.
33075         [non-C99-based standards] (atanhl): Likewise.
33076         [non-C99-based standards] (cbrtl): Likewise.
33077         [non-C99-based standards] (expm1l): Likewise.
33078         [non-C99-based standards] (ilogbl): Likewise.
33079         [non-C99-based standards] (log1pl): Likewise.
33080         [non-C99-based standards] (logbl): Likewise.
33081         [non-C99-based standards] (nextafterl): Likewise.
33082         [non-C99-based standards] (remainderl): Likewise.
33083         [non-C99-based standards] (rintl): Likewise.
33084         [non-C99-based standards] (scalbl): Likewise.
33085         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33086         [non-C99-based standards] (FP_*): Do not allow.
33087         [C99-based standards] (FP_*): Change to
33088         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33089         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33090         allow.
33091         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33092         (SIG_ERR): Likewise.
33093         [X/Open-based standards] (SIG_HOLD): Likewise.
33094         (SIG_IGN): Likewise.
33095         (SIGABRT): Use macro-int-constant.  Specify type.  Require
33096         positive value.
33097         (SIGFPE): Likewise.
33098         (SIGILL): Likewise.
33099         (SIGINT): Likewise.
33100         (SIGSEGV): Likewise.
33101         (SIGTER): Likewise.
33102         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33103         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33104         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33105         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33106         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33107         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33108         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33109         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33110         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33111         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33112         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33113         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33114         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33115         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33116         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33117         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33118         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33119         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33120         [X/Open-based standards] (SIGTRAP): Likewise.
33121         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33122         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33123         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33124         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33125         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33126         allow.
33128 2012-05-08  Ian Wienand  <ianw@vmware.com>
33130         [BZ #14080]
33131         * time/tzset.c (__tzset_parse_tz): Update default rules for
33132         daylight time changes in the Energy Policy Act of 2005.
33134 2012-05-09  Andreas Jaeger  <aj@suse.de>
33136         [BZ #13983]
33137         * elf/ldconfig.c (parse_conf): Change string to make clear that
33138         ldconfig only issued a warning if ld.so.conf does not exist.
33140 2012-05-08  David S. Miller  <davem@davemloft.net>
33142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33143         movxtod instead of popping the value on the stack.
33145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33147 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
33149         * config.h.in: Add HAVE_ARM_PCS_VFP.
33151 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
33153         [BZ #13979]
33154         * include/features.h: Warn if user requests __FORTIFY_SOURCE
33155         checking but the checks are disabled for any reason.
33157 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
33159         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33160         and ELF64_R_TYPE with ELFW(R_TYPE).
33162 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
33164         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33165         (ulimit): Likewise.
33167         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33168         (settimeofday): Likewise.
33170 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
33172         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
33173         a struct th_u2 inside the union, and move tu_block/tu_code into
33174         a new th_u3 union of tu_block/tu_code inside of that.  Move
33175         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
33176         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
33177         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33178         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33179         (th_stuff): Change to th_u1.tu_stuff.
33180         (th_data): Define.
33181         (th_msg): Change to th_u1.th_u2.tu_data.
33183 2012-05-07  David S. Miller  <davem@davemloft.net>
33185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33187         [BZ #14074]
33188         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33189         (SETUP_PIC_REG): Use it.
33190         (SETUP_PIC_REG_LEAF): Use it.
33192 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
33194         [BZ #13885]
33195         [BZ #13923]
33196         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33197         USE_AS_EXPM1L.
33198         (EXPL_FINITE): Likewise.
33199         (FLDLOG): Likewise.
33200         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33201         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33202         e_expl.S.
33203         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33204         USE_AS_EXPM1L.
33205         (EXPL_FINITE): Likewise.
33206         (FLDLOG): Likewise.
33207         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33208         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33209         e_expl.S.
33210         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
33211         test of -max_value argument for long double.
33212         * sysdeps/i386/fpu/libm-test-ulps: Update.
33213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33215 2012-05-06  David S. Miller  <davem@davemloft.net>
33217         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33218         quad soft-float symbols whose references which are compiler
33219         generated.
33220         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33222 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
33224         [BZ #13884]
33225         [BZ #13914]
33226         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33227         USE_AS_EXP10L.
33228         (EXPL_FINITE): Likewise.
33229         (FLDLOG): Likewise.
33230         (c0): Likewise.
33231         (c1): Likewise.
33232         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33233         Adjust comments for base varying.
33234         (__expl_finite): Change alias to EXPL_FINITE.
33235         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33236         e_expl.S.
33237         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33238         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33239         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33240         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33241         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33242         USE_AS_EXP10L.
33243         (EXPL_FINITE): Likewise.
33244         (FLDLOG): Likewise.
33245         (c0): Likewise.
33246         (c1): Likewise.
33247         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33248         Adjust comments for base varying.
33249         (__expl_finite): Change alias to EXPL_FINITE.
33250         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
33251         tests for bugs.
33252         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33254         [BZ #14064]
33255         * math/libm-test.inc (check_float_internal): Correct ulp
33256         calculation for subnormal expected results.
33258 2012-05-06  Andreas Jaeger  <aj@suse.de>
33260         * Makeconfig (+math-flags): New, set to -frounding-math.
33261         (+cflags): Add +math-flags so that all of glibc gets compiled with
33262         it.
33264         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33266 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
33268         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33269         Disable one test.
33271         [BZ #13787]
33272         [BZ #13922]
33273         [BZ #14036]
33274         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33275         (__ieee754_expl): Allow for and saturate large arguments.
33276         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33277         (u_threshold): Likewise.
33278         (__exp): Call __ieee754_exp before checking for overflow and
33279         underflow.
33280         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33281         (u_threshold): Likewise.
33282         (__expf): Call __ieee754_expf before checking for overflow and
33283         underflow.
33284         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33285         (u_threshold): Likewise.
33286         (__expl): Call __ieee754_expl before checking for overflow and
33287         underflow.
33288         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33289         (__ieee754_expl): Allow for and saturate large arguments.
33290         * math/libm-test.inc (exp_test): Add another test.  Do not allow
33291         missing overflow exception on overflow.
33292         (expm1_test): Do not allow missing overflow exception on overflow.
33294         * sysdeps/i386/fpu/e_expl.c: Move to ...
33295         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
33296         rather than using inline asm.
33297         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33298         * sysdeps/x86_64/fpu/e_expl.S: Copy from
33299         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33301         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33302         (nice): Likewise.
33303         (poll): Likewise.
33304         (signal): Likewise.
33305         (time): Likewise.
33306         (times): Likewise.
33308 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33310         * sysdeps/unix/syscalls.list (adjtime): Add entry from
33311         sysdeps/unix/common/syscalls.list.
33312         (fchmod): Likewise.
33313         (fchown): Likewise.
33314         (ftruncate): Likewise.
33315         (getrusage): Likewise.
33316         (gettimeofday): Likewise.
33317         (setpgid): Likewise.
33318         (setregid): Likewise.
33319         (setreuid): Likewise.
33320         (sigaction): Likewise.
33321         (truncate): Likewise.
33322         (vhangup): Likewise.
33323         * sysdeps/unix/common/syscalls.list: Remove file.
33324         * sysdeps/unix/bsd/Implies: Don't include unix/common.
33325         * sysdeps/unix/sysv/linux/Implies: Likewise.
33327 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
33329         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33330         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33331         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33332         Moved to ...
33333         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33334         Here.
33335         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33336         to ...
33337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33338         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33339         to ...
33340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33341         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33342         to ...
33343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33344         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33345         to ...
33346         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33347         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33348         to ...
33349         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33350         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33351         to ...
33352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33353         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33354         to ...
33355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33356         Here.
33357         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33358         to ...
33359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33360         Here.
33361         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33362         to ...
33363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33364         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33365         Moved to ...
33366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33367         Here.
33368         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33369         to ...
33370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33372 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33374         * sysdeps/unix/common/bits/dirent.h: Remove file.
33375         * sysdeps/unix/common/bits/fcntl.h: Likewise.
33377         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33378         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33379         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33380         * sysdeps/unix/bsd/isatty.c: Likewise.
33381         * sysdeps/unix/bsd/tcdrain.c: Likewise.
33382         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33383         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33385 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33387         [BZ #13563]
33388         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33389         long double comparison inaccuracies.
33390         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33393 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
33395         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33396         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33398 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33400         [BZ #14049]
33401         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33402         nonzero digits before rounding a hex value.
33403         * stdlib/tst-strtod.c (tests): Add another test.
33405 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33407         * sysdeps/s390/fpu/libm-test-ulps: Update.
33409 2012-05-03  Andreas Jaeger  <aj@suse.de>
33411         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33412         does not get optimized out.
33413         (malloc_opt_barrier): New.
33415 2012-05-03  Andreas Jaeger  <aj@suse.de>
33416             Roland McGrath  <roland@hack.frob.com>
33418         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33419         intermediate file deletion.
33420         (generated): Add .symlist files.
33422 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
33424         [BZ #13775]
33425         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33426         Redirect under this condition.
33427         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33428         [__USE_GNU] (__dprintf_chk): Not under this condition.
33429         [__USE_GNU] (__vdprintf_chk): Likewise.
33430         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33431         under this condition.
33432         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33433         [__USE_XOPEN2K8] (dprintf): Define under this condition.
33434         [__USE_XOPEN2K8] (vdprintf): Likewise.
33435         [__USE_GNU] (__dprintf_chk): Not under this condition.
33436         [__USE_GNU] (__vdprintf_chk): Likewise.
33437         [__USE_GNU] (dprintf): Likewise.
33438         [__USE_GNU] (vdprintf): Likewise.
33440 2012-05-03  Roland McGrath  <roland@hack.frob.com>
33442         * elf/Makefile (common-generated): Set this instead of generated for
33443         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
33444         $(all-built-dso)-derived lists.
33446 2012-05-03  Andreas Jaeger  <aj@suse.de>
33448         * sysdeps/i386/fpu/libm-test-ulps: Update.
33450         * FAQ: Removed.
33451         * FAQ.in: Likewise.
33452         * scripts/gen-FAQ.pl: Likewise.
33453         * manual/install.texi (Installation): Point to online location of
33454         FAQ.
33455         * Makefile (files-for-dist): Remove FAQ.
33456         (FAQ): Remove.
33458 2012-05-02  Allan McRae  <allan@archlinux.org>
33460         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33461         (LDFLAGS-reldepmod5.so): Likewise.
33462         (LDFLAGS-reldep6mod1.so): Likewise.
33463         (LDFLAGS-reldep6mod4.so): Likewise.
33464         (LDFLAGS-reldep8mod3.so): Likewise.
33465         (LDFLAGS-unload4mod1.so): Likewise.
33466         (LDFLAGS-unload4mod2.so): Likewise.
33467         (LDFLAGS-tst-initorder): Likewise.
33468         (LDFLAGS-tst-initordera2.so): Likewise.
33469         (LDFLAGS-tst-initordera3.so): Likewise.
33470         (LDFLAGS-tst-initordera4.so): Likewise.
33471         (LDFLAGS-tst-initorderb2.so): Likewise.
33472         (LDFLAGS-noload): Likewise.
33473         (LDFLAGS-next): Likewise.
33474         (LDFLAGS-order2mod1.so): Likewise.
33475         (LDFLAGS-order2mod2.so): Likewise.
33476         (LDFLAGS-tst-initorder2): Likewise.
33477         (LDFLAGS-tst-initorder2a.so): Likewise.
33478         (LDFLAGS-tst-initorder2b.so): Likewise.
33479         (LDFLAGS-tst-initorder2c.so): Likewise.
33480         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33482 2012-05-02  David S. Miller  <davem@davemloft.net>
33484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33486 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33488         [BZ #14055]
33489         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33491 2012-05-02  Andreas Jaeger  <aj@suse.de>
33493         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33494         since we manipulate rounding mode.
33495         (CPPFLAGS-test-idouble.c): Likewise.
33496         (CPPFLAGS-test-ifloat.c): Likewise.
33497         (CFLAGS-test-ldouble.c): Likewise.
33498         (CFLAGS-test-double.c): Likewise.
33499         (CFLAGS-test-float.c): Likewise.
33500         (CFLAGS-test-misc.c): Likewise.
33501         (CFLAGS-test-test-fenv.c): Likewise.
33503 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33505         [BZ #2550]
33506         [BZ #2570]
33507         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33508         comparisons to determine direction to adjust input.
33510 2012-05-01  Roland McGrath  <roland@hack.frob.com>
33512         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33513         output to the target.
33515         * scripts/localplt.awk: New file.
33516         * elf/Makefile ($(objpfx)check-localplt): Target removed.
33517         (check-localplt-CFLAGS): Variable removed.
33518         ($(all-built-dso:=.jmprel)): New static pattern rule.
33519         (generated): Add those targets.
33520         (localplt-built-dso): New variable.
33521         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33523         * elf/check-localplt.c: File removed.
33525         * scripts/check-execstack.awk: New file.
33526         * elf/Makefile ($(objpfx)check-execstack): Target removed.
33527         (check-execstack-CFLAGS): Variable removed.
33528         ($(objpfx)check-execstack.h): Target removed.
33529         ($(objpfx)execstack-default): New target.
33530         (generated): Add that instead of check-execstack.h.
33531         ($(all-built-dso:=.phdr)): New static pattern rule.
33532         (generated): Add those targets.
33533         * elf/check-execstack.c: File removed.
33535         * scripts/check-textrel.awk: New file.
33536         * elf/Makefile ($(objpfx)check-textrel): Target removed.
33537         (check-textrel-CFLAGS): Variable removed.
33538         (all-built-dso): Use := to define.o
33539         ($(all-built-dso:=.dyn)): New static pattern rule.
33540         (generated): Add those targets.
33541         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33542         * config.make.in (READELF): New substituted variable.
33543         * elf/check-textrel.c: File removed.
33545 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33547         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33548         allow.
33549         * conform/data/ctype.h-data [C99-based standards] (isblank):
33550         Expect function.
33551         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33552         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33553         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33554         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33555         Specify type.  Require positive value.
33556         (EILSEQ): Likewise.
33557         (ERANGE): Likewise.
33558         [ISO || POSIX] (EILSEQ): Do not expect.
33559         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33560         Specify type.  Require positive value.
33561         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33562         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33563         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33564         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33565         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33566         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33567         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33568         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33569         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33570         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33571         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33572         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33573         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33574         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33575         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33576         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33577         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33578         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33579         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33580         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33581         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33582         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33583         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33584         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33585         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33586         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33587         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33588         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33589         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33590         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33591         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33592         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33593         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33594         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33595         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33596         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33597         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33598         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33599         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33600         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33601         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33602         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33603         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33604         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33605         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33606         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33607         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33608         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33609         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33610         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33611         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33612         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33613         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33614         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33615         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33616         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33617         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33618         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33619         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33620         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33621         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33622         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33623         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33624         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33625         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33626         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33627         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33628         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33629         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33630         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33631         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33632         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33633         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33634         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33635         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33636         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33637         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33638         Require >= 2.
33639         (FLT_ROUNDS): Expect as macro, not constant.
33640         (FLT_MANT_DIG): Use macro-int-constant.
33641         (DBL_MANT_DIG): Likewise.
33642         (LDBL_MANT_DIG): Likewise.
33643         (FLT_DIG): Likewise.
33644         (DBL_DIG): Likewise.
33645         (LDBL_DIG): Likewise.
33646         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
33647         (DBL_MIN_EXP): Likewise.
33648         (LDBL_MIN_EXP): Likewise.
33649         (FLT_MAX_EXP): Use macro-int-constant.
33650         (DBL_MAX_EXP): Likewise.
33651         (LDBL_MAX_EXP): Likewise.
33652         (FLT_MAX_10_EXP): Likewise.
33653         (DBL_MAX_10_EXP): Likewise.
33654         (LDBL_MAX_10_EXP): Likewise.
33655         (FLT_MAX): Use macro-constant.
33656         (DBL_MAX): Likewise.
33657         (LDBL_MAX): Likewise.
33658         (FLT_EPSILON): Use macro-constant.  Give upper bound.
33659         (DBL_EPSILON): Likewise.
33660         (LDBL_EPSILON): Likewise.
33661         (FLT_MIN): Likewise.
33662         (DBL_MIN): Likewise.
33663         (LDBL_MIN): Likewise.
33664         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33665         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33666         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33667         [ISO11] (FLT_HAS_SUBNORM): Likewise.
33668         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33669         [ISO11] (DBL_DECIMAL_DIG): Likewise.
33670         [ISO11] (FLT_DECIMAL_DIG): Likewise.
33671         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33672         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33673         [ISO11] (FLT_TRUE_MIN): Likewise.
33674         [ISO11] (LDBL_TRUE_MIN): Likewise.
33675         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33676         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33677         (SCHAR_MIN): Use macro-int-constant.  Specify type.
33678         (SCHAR_MAX): Likewise.
33679         (UCHAR_MAX): Likewise.
33680         (CHAR_MIN): Likewise.
33681         (CHAR_MAX): Likewise.
33682         (MB_LEN_MAX): Use macro-int-constant.
33683         (SHRT_MIN): Use macro-int-constant.  Specify type.
33684         (SHRT_MAX): Likewise.
33685         (USHRT_MAX): Likewise.
33686         (INT_MAX): Likewise.
33687         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
33688         bound negative.
33689         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33690         bound with "U".
33691         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33692         bound with "L".
33693         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
33694         bound negative.  Suffix upper bound with "L".
33695         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33696         bound with "UL".
33697         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33698         Specify type.
33699         [C99-based standards] (LLONG_MAX): Likewise.
33700         [C99-based standards] (ULLONG_MAX): Likewise.
33701         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
33702         == 0.
33703         [ISO11] (max_align_t): Require type.
33704         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33706         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33707         from $CFLAGS, without defining away __attribute__ calls.
33708         (checknamespace): Use $CFLAGS_namespace.
33710         * conform/conformtest.pl (@keywords): Only include C99 keywords
33711         for standards based on C99 or C11.
33713         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33714         Disable tests.
33715         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33716         UNIX98]: Likewise.
33718         * conform/conformtest.pl: Handle "macro-int-constant" and test for
33719         usability of symbols in #if.
33721         * conform/conformtest.pl: If macro or constant types start
33722         "promoted:", expect the symbol to be of the following type
33723         promoted by the integer promotions.
33725         * conform/conformtest.pl: Parse all "constant" and "macro" lines
33726         in one place.  Also handle "macro-constant".
33728         * conform/conformtest.pl: Only accept expected macro values with
33729         "==".  Parse all "macro" lines in one place.
33730         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33732         * conform/conformtest.pl: Handle braced types on "constant" lines
33733         instead of handling "typed-constant".
33734         * conform/data/signal.h-data: Use "constant" instead of
33735         "typed-constant".
33737         * conform/conformtest.pl: Handle "optional-" at start of lines in
33738         one place rather than duplicating several cases.  Handle each
33739         format of "macro" line with initial "optional-".
33741         * conform/conformtest.pl: Only accept expected constant or
33742         optional-constant values with "==".  Parse all "constant" lines in
33743         one place.  Parse all "optional-constant" lines in one place.
33744         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33745         * conform/data/fmtmsg.h-data: Likewise.
33746         * conform/data/netinet/in.h-data: Likewise.
33747         * conform/data/tar.h-data: Likewise.
33748         * conform/data/limits.h-data: Use "==" form on "constant" and
33749         "optional-constant" lines.
33751         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33752         Use -std=c99 for XOPEN2K.
33753         (@knownproblems): Remove.
33754         (newtoken): Don't check %isknown.
33756         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33757         Do not expect macro.
33758         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33759         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33760         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33761         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33762         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33763         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33764         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33765         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33766         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33767         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33768         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33769         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33770         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33771         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33772         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33773         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33774         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33775         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33776         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33777         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33778         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33779         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33780         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33781         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33782         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33783         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33784         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33785         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33786         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33787         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33788         [XPG3] (acosh): Likewise.
33789         [XPG3] (asinh): Likewise.
33790         [XPG3] (atanh): Likewise.
33791         [XPG3] (cbrt): Likewise.
33792         [XPG3] (expm1): Likewise.
33793         [XPG3] (ilogb): Likewise.
33794         [XPG3] (log1p): Likewise.
33795         [XPG3] (logb): Likewise.
33796         [XPG3] (nextafter): Likewise.
33797         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33798         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33799         [XPG3] (remainder): Likewise.
33800         [XPG3] (rint): Likewise.
33801         [XPG3 || XPG4 || UNIX98] (round): Likewise.
33802         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33803         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33804         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33805         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33806         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33807         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33808         [UNIX98 || XOPEN2K] (scalb): Expect.
33809         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33810         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33811         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33812         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33813         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33814         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33815         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33816         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33817         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33818         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33819         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33820         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33821         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33822         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33823         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33824         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33825         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33826         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33827         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33828         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33829         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33830         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33831         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33832         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33833         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33834         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33835         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33836         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33837         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33838         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33839         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33840         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33841         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33842         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33843         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33844         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33845         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33846         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33847         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33848         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33849         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33850         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33851         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33852         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33853         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33854         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33855         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33856         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33857         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33858         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33859         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33860         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33861         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33862         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33863         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33864         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33865         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33866         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33867         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33868         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33869         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33870         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33871         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33872         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33873         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33874         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33875         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33876         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33877         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33878         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33879         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33880         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33881         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33882         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33883         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33884         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33885         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33886         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33887         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33888         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33889         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33890         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33891         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33892         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33893         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33894         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33895         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33896         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33897         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33898         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33899         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33900         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33901         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33902         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33903         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33904         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33905         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33906         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33907         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33908         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33909         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33910         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33911         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33912         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33913         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33914         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33915         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33916         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33917         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33918         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33919         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33920         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33921         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33922         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33923         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33924         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33925         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33926         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33927         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33928         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33929         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33930         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33931         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33932         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33933         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33934         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33935         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33936         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33937         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33938         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33939         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33940         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33941         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33942         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33943         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33944         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33945         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33947         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33948         _XOPEN_SOURCE_EXTENDED for XPG4.
33950         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33952         * Makeconfig (localtime): Remove variable.
33953         (inst_localtime-file): Likewise.
33955 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33958         Update.
33959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33960         Update.
33961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33962         Update.
33963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33964         Update.
33965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33966         Update.
33967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33968         Update.
33969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33970         Update.
33971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33972         Update.
33973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33974         Update.
33976 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33978         [BZ #2550]
33979         [BZ #2570]
33980         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33981         comparisons to determine direction to adjust input.
33982         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33983         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33984         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33985         Likewise.
33986         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33987         Likewise.
33988         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33989         Likewise.
33990         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33991         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33992         Likewise.
33993         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33994         Likewise.
33995         * math/libm-test.inc (nexttoward_test): Add more tests.
33997 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33999         [BZ #14040]
34000         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34001         in version GLIBC_2.1, not GLIBC_2.0.
34002         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34003         Likewise.
34005 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
34007         [BZ #13942]
34008         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34009         (1 - x) * (1 + x).
34010         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34011         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34012         * math/libm-test.inc (acos_test): Add more tests.
34013         (asin_test): Likewise.
34014         * sysdeps/i386/fpu/libm-test-ulps: Update.
34015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34017         [BZ #14034]
34018         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34019         of square root.
34020         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34021         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34022         * math/libm-test.inc (acos_test_tonearest): New function.
34023         (acos_test_towardzero): Likewise.
34024         (acos_test_downward): Likewise.
34025         (acos_test_upward): Likewise.
34026         (asin_test_tonearest): Likewise.
34027         (asin_test_towardzero): Likewise.
34028         (asin_test_downward): Likewise.
34029         (asin_test_upward): Likewise.
34030         (main): Call the new functions.
34031         * sysdeps/i386/fpu/libm-test-ulps: Update.
34032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34034         [BZ #13884]
34035         [BZ #13924]
34036         * math/e_exp10.c: Include <float.h>.
34037         (__ieee754_exp10): Handle underflow here rather than multiplying
34038         large negative argument by M_LN10.
34039         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34040         of __ieee754_expf.
34041         * math/e_exp10l.c: Include <float.h>.
34042         (__ieee754_exp10l): Handle underflow here rather than multiplying
34043         large negative argument by M_LN10l.
34044         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
34045         spurious overflow exception on underflow.
34047 2012-04-29  Marek Polacek  <polacek@redhat.com>
34049         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34050         (__fortify_function): New macro.
34051         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34052         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34053         __extern_always_inline.
34054         * libio/bits/stdio2.h: Likewise.
34055         * libio/bits/stdio.h: Likewise.
34056         * string/string.h: Likewise.
34057         * string/bits/string3.h: Likewise.
34058         * include/stdio.h: Likewise.
34059         * stdlib/bits/stdlib.h: Likewise.
34060         * stdlib/stdlib.h: Likewise.
34061         * rt/bits/mqueue2.h: Likewise.
34062         * rt/mqueue.h: Likewise.
34063         * posix/bits/unistd.h: Likewise.
34064         * posix/unistd.h: Likewise.
34065         * io/bits/poll2.h: Likewise.
34066         * io/bits/fcntl2.h: Likewise.
34067         * io/fcntl.h: Likewise.
34068         * io/sys/poll.h: Likewise.
34069         * misc/bits/syslog.h: Likewise.
34070         * misc/bits/syslog-ldbl.h: Likewise.
34071         * misc/sys/syslog.h: Likewise.
34072         * socket/bits/socket2.h: Likewise.
34073         * socket/sys/socket.h: Likewise.
34074         * debug/tst-chk1.c: Likewise.
34075         * wcsmbs/bits/wchar2.h: Likewise.
34076         * wcsmbs/bits/wchar-ldbl.h: Likewise.
34077         * wcsmbs/wchar.h: Likewise.
34079 2012-04-29  Andreas Jaeger  <aj@suse.de>
34081         * Makerules (tests): Remove enable-check-abi protection.
34082         (check-abi-warn): Remove.
34083         (check-abi-%): Remove check-abi-warn usage.
34085         * configure.in: Remove check-abi configure option.
34086         * configure: Regenerated.
34087         * config.make.in (enable-check-abi): Remove.
34089 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
34091         [BZ #14033]
34092         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34093         double functions to double *_finite functions.
34095         [BZ #13941]
34096         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34097         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34098         LDBL_MIN_EXP.
34099         * stdio-common/Makefile (tests): Add tst-sprintf3.
34100         * stdio-common/tst-sprintf3.c: New file.
34102         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34103         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34105 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34107         * conform/conformtest.pl: Remove duplicate typed-constant
34108         handling.
34110 2012-04-28  David S. Miller  <davem@davemloft.net>
34112         * Makerules (%.abilist): Add vpath on sysdep_dirs.
34113         (check-abi-%): Remove AWK script prerequisite and explicit
34114         abilist directory.
34115         (check-abi): Rewrite to just diff the symlist with the abilist.
34116         (config-tls, config-abi-config): Delete, no longer used.
34117         (update-abi-%): Remove AWK script and explicit abilist directory.
34118         (update-abi): Rewrite to simply compare and conditionally copy the
34119         symlist and the sysdep abilist file.  Remove update-abi-config
34120         checks.
34121         * abilist/ld.abilist: Remove.
34122         * abilist/libBrokenLocale.abilist: Remove.
34123         * abilist/libanl.abilist: Remove.
34124         * abilist/libcrypt.abilist: Remove.
34125         * abilist/libdl.abilist: Remove.
34126         * abilist/librt.abilist: Remove.
34127         * abilist/libthread_db.abilist: Remove.
34128         * abilist/libutil.abilist: Remove.
34129         * scripts/extract-abilist.awk: Remove.
34130         * scripts/merge-abilist.awk: Remove.
34131         * sysdeps/generic/libcidn.abilist: New file.
34132         * sysdeps/generic/libnss_compat.abilist: New file.
34133         * sysdeps/generic/libnss_db.abilist: New file.
34134         * sysdeps/generic/libnss_dns.abilist: New file.
34135         * sysdeps/generic/libnss_files.abilist: New file.
34136         * sysdeps/generic/libnss_hesiod.abilist: New file.
34137         * sysdeps/generic/libnss_nis.abilist: New file.
34138         * sysdeps/generic/libnss_nisplus.abilist: New file.
34139         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34140         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34141         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34142         file.
34143         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34144         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34145         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34146         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34147         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34148         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34149         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34150         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34151         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34152         file.
34153         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34154         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34155         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34156         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34157         file.
34158         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34159         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34160         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34161         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34162         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34163         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34164         file.
34165         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34166         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34167         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34168         file.
34169         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34170         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34171         New file.
34172         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34173         New file.
34174         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34175         New file.
34176         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34177         New file.
34178         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34179         New file.
34180         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34181         New file.
34182         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34183         New file.
34184         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34185         New file.
34186         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34187         New file.
34188         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34189         New file.
34190         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34191         New file.
34192         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34193         New file.
34194         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34195         New file.
34196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34197         file.
34198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34199         New file.
34200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34201         New file.
34202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34203         file.
34204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34205         New file.
34206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34207         New file.
34208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34209         file.
34210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34211         New file.
34212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34213         New file.
34214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34215         New file.
34216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34217         New file.
34218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34219         New file.
34220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34221         New file.
34222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34224         file.
34225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34226         New file.
34227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34228         file.
34229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34230         file.
34231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34232         file.
34233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34234         file.
34235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34236         file.
34237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34238         New file.
34239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34240         file.
34241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34242         file.
34243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34244         New file.
34245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34246         file.
34247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34249         file.
34250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34251         New file.
34252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34253         file.
34254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34255         file.
34256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34257         file.
34258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34259         file.
34260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34261         file.
34262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34263         New file.
34264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34265         file.
34266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34267         file.
34268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34269         New file.
34270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34271         file.
34272         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34273         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34274         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34275         file.
34276         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34277         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34278         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34279         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34280         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34281         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34282         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34283         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34284         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34285         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34288         file.
34289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34290         New file.
34291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34292         file.
34293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34294         file.
34295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34296         file.
34297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34298         file.
34299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34300         file.
34301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34302         New file.
34303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34304         New file.
34305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34306         file.
34307         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34308         New file.
34309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34310         file.
34311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34313         file.
34314         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34315         New file.
34316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34317         file.
34318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34319         file.
34320         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34321         file.
34322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34323         file.
34324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34325         file.
34326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34327         New file.
34328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34329         New file.
34330         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34331         file.
34332         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34333         New file.
34334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34335         file.
34337 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34339         * conform/conformtest.pl: Fix typo in handling typed-constant from
34340         allow-header.
34342 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34344         * README: Cut down references to pre-2.6 Linux kernels and
34345         Linuxthreads.  Update lists of configurations in libc and ports
34346         and sort alphabetically.  Say "or newer" with Linux kernel version
34347         requirements.
34349         * config.h.in [IS_IN_build]: Allow compiling without optimization.
34351 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34353         [BZ #887]
34354         * math/libm-test.inc (logb_test_downward): New test to expose
34355         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34356         rounding mode.
34358 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34360         [BZ #14027]
34361         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34362         to be done.
34363         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34364         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34366 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
34368         * sysdeps/unix/i386/brk.S: Remove file.
34369         * sysdeps/unix/i386/dl-brk.S: Likewise.
34370         * sysdeps/unix/i386/pipe.S: Likewise.
34371         * sysdeps/unix/i386/sigreturn.S: Likewise.
34372         * sysdeps/unix/i386/syscall.S: Likewise.
34373         * sysdeps/unix/i386/vfork.S: Likewise.
34374         * sysdeps/unix/i386/wait.S: Likewise.
34376         * sysdeps/unix/common/tcsendbrk.c: Move to ...
34377         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34379         * configure.in (arm*-none*): Do not allow without
34380         --enable-hacker-mode.
34381         (netbsd*): Remove case setting base_os.
34382         (386bsd*): Likewise.
34383         (freebsd*): Likewise.
34384         (bsdi*): Likewise.
34385         (osf*): Likewise.
34386         (sunos*): Likewise.
34387         (ultrix*): Likewise.
34388         (newsos*): Likewise.
34389         (dynix*): Likewise.
34390         (*bsd*): Likewise.
34391         (sysv*): Likewise.
34392         (isc*): Likewise.
34393         (esix*): Likewise.
34394         (sco*): Likewise.
34395         (minix*): Likewise.
34396         (irix4*): Likewise.
34397         (irix6*): Likewise.
34398         (solaris[2-9]*): Likewise.
34399         (none): Likewise.
34400         * configure: Regenerated.
34402 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34404         [BZ #11521]
34405         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34406         overflow or cancellation in calculating denominator.
34407         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34408         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34409         down expression to avoid unexpected rounding in newer GCCs.
34410         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34412 2012-04-26  David S. Miller  <davem@davemloft.net>
34414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34415         long-double compat symbols.
34416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34430 2012-04-25  David S. Miller  <davem@davemloft.net>
34432         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34433         HWCAP_* values only after the memory barriers have been defined.
34434         (atomic_full_barrier): Define.
34435         (atomic_read_barrier): Define.
34436         (atomic_write_barrier): Define.
34438 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34440         * shlib-versions: Add libgcc_s version information.
34441         * sysdeps/generic/libgcc_s.h: Remove.
34442         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34443         libgcc_s.h.
34444         * sysdeps/gnu/unwind-resume.c: Likewise.
34445         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34447 2012-04-25  David S. Miller  <davem@davemloft.net>
34449         * sysdeps/unix/sparc/brk.S: Delete.
34450         * sysdeps/unix/sparc/dl-brk.S: Delete.
34451         * sysdeps/unix/sparc/pipe.S: Delete.
34452         * sysdeps/unix/sparc/sysdep.S: Delete.
34453         * sysdeps/unix/sparc/sysdep.h: Delete.
34454         * sysdeps/unix/sparc/vfork.S: Delete.
34455         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34456         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34457         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34458         (ret_ERRVAL, r0, r1, MOVE): Define.
34459         (JUMPTARGET): Remove.
34460         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34461         sysdeps/unix/sparc/sysdep.h
34462         (ENTRY, END): Remove.
34463         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34465 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
34467         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34468         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34469         -DIS_IN_build.
34471         * timezone/README: Update upstream location and email address for
34472         tzcode and tzdata.
34473         * timezone/zdump.c: Update from tzcode 2012b.
34474         * timezone/zic.c: Likewise.
34476         * configure.in (libc_cv_as_needed): Remove test.
34477         * configure: Regenerated.
34478         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34479         conditional definition.
34480         [$(have-as-needed) != yes] (no-as-needed): Likewise.
34481         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34482         * config.make.in (have-as-needed): Remove variable.
34484 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34485             Paul Pluzhnikov  <ppluzhnikov@google.com>
34487         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34488         strings correctly.
34490 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
34492         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34493         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34494         * sysdeps/sh/strlen.S: Likewise.
34496 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34498         * sysdeps/unix/fork.S: Remove file.
34499         * sysdeps/unix/i386/fork.S: Likewise.
34500         * sysdeps/unix/sparc/fork.S: Likewise.
34502         * sysdeps/unix/system.c: Remove file.
34503         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34505         * sysdeps/unix/getegid.S: Remove file.
34506         * sysdeps/unix/geteuid.S: Likewise.
34508 2012-04-24  Roland McGrath  <roland@hack.frob.com>
34510         * scripts/check-localplt.awk: New file.
34511         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34512         of diff.
34513         * scripts/data/localplt-generic.data: Add a comment.
34515         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34516         NODE when __dir_mkfile failed.
34517         * sysdeps/mach/hurd/symlinkat.c: Likewise.
34518         Reported by Ludovic Courtès <ludo@gnu.org>.
34520 2012-04-24  Andreas Jaeger  <aj@suse.de>
34522         * Makerules (common-clean): Also remove gen-as-const-headers
34523         files.
34525 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34527         * Makerules (native-compile): Do not change working directory for
34528         build.  Use $(OUTPUT_OPTION) in command.
34529         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34531 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34533         [BZ #13886]
34534         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34535         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34536         * math/libm-test.inc (floor_test): Add more tests.
34537         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34539 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34541         * sysdeps/unix/getdents.c: Remove file.
34542         * sysdeps/unix/sysv/getdents.c: Likewise.
34543         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34545         * sysdeps/unix/syscalls.list (madvise): Add syscall from
34546         sysdeps/unix/mman/syscalls.list.
34547         (mmap): Likewise.
34548         (mprotect): Likewise.
34549         (msync): Likewise.
34550         (munmap): Likewise.
34551         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34552         * sysdeps/unix/mman/syscalls.list: Remove.
34553         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34555         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34556         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34557         * configure: Regenerated.
34558         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34559         $(libgcc_s_suffix).
34560         * config.make.in (libgcc_s_suffix): Remove variable.
34562 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
34564         * sysdeps/unix/sysv/gethostname.c: Move to ...
34565         * sysdeps/posix/gethostname.c: ... here.
34567         * sysdeps/unix/execve.S: Remove file.
34569         * sysdeps/unix/_exit.S: Remove file.
34571 2012-04-23  Andreas Jaeger  <aj@suse.de>
34573         [BZ #13739]
34574         * manual/Makefile: Remove make dist support, there's no
34575         need for a stand-alone documentation tar ball.
34576         (TEXI2DVI): Define always, it's not in Makeconfig.
34577         (dist): Removed.
34578         (tar-it): Removed.
34579         (edition): Removed.
34580         (glibc-doc-$(edition).tar): Removed
34581         (%.Z): Removed.
34582         (%.gz): Removed.
34583         (%.uu): Removed.
34584         (ETAGS): Remove, it's in Makeconfig.
34585         (move-if-change): Remove, it's in Makeconfig.
34587 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
34589         [BZ #13970]
34590         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34591         (strtod, strtof, strtold, strtol, strtoul, strtoq)
34592         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34593         (strtod_l, strtof_l, strtold_l): Remove __wur.
34594         It is not necessarily an error to ignore strtol's return value.
34595         One can reliably look at the stored endptr to decide whether
34596         the number had valid syntax.
34598 2012-04-21  Andreas Jaeger  <aj@suse.de>
34600         [BZ #13739]
34601         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34603 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
34605         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34606         * sysdeps/unix/sysv/Versions: Remove file.
34608 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
34610         [BZ #13927]
34611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34613 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
34615         [BZ #7064]
34616         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34617         version from __vm86.
34619 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
34621         * sysdeps/unix/common/lxstat.c: Remove file.
34622         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34624         * sysdeps/unix/sysv/Makefile: Remove file.
34626         * sysdeps/unix/sysv/direct.h: Remove file.
34628         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34629         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34630         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34631         * sysdeps/unix/sysv/bits/signum.h: Likewise.
34632         * sysdeps/unix/sysv/bits/stat.h: Likewise.
34633         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34634         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34636         * sysdeps/unix/sysv/setrlimit.c: Remove file.
34638         * sysdeps/unix/xmknod.c: Remove file.
34639         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34641         * sysdeps/unix/sysv/settimeofday.c: Remove file.
34643         * sysdeps/unix/sysv/i386/time.S: Remove file.
34645         * sysdeps/unix/fxstat.c: Remove file.
34646         * sysdeps/unix/xstat.c: Likewise.
34647         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34649         * sysdeps/unix/sysv/sigaction.c: Remove file.
34651         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34652         (sysdep_headers): Remove variable.
34653         [termio.h not in sysdep_headers] (generated): Likewise.
34654         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34655         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34656         * sysdeps/unix/sysv/tcdrain.c: Likewise.
34657         * sysdeps/unix/sysv/tcflow.c: Likewise.
34658         * sysdeps/unix/sysv/tcflush.c: Likewise.
34659         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34660         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34661         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34662         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34663         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34665         * sysdeps/unix/siglist.c: Remove file.
34667         * sysdeps/unix/getppid.S: Remove file.
34669         * sysdeps/unix/mkdir.c: Remove file.
34670         * sysdeps/unix/rmdir.c: Likewise.
34672 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
34674         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34675         ERR_MAX value.
34676         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34677         errlist-compat value.
34679 2012-04-18  David S. Miller  <davem@davemloft.net>
34681         * sysdeps/generic/memcopy.h (reg_char): Delete.
34682         * debug/strcat_chk.c: Use char, not reg_char.
34683         * debug/strcpy_chk.c: Likewise.
34684         * debug/strncat_chk.c: Likewise.
34685         * debug/strncpy_chk.c: Likewise.
34686         * string/memchr.c: Likewise.
34687         * string/memrchr.c: Likewise.
34688         * string/rawmemchr.c: Likewise.
34689         * string/strcat.c: Likewise.
34690         * string/strchr.c: Likewise.
34691         * string/strchrnul.c: Likewise.
34692         * string/strcmp.c: Likewise.
34693         * string/strcpy.c: Likewise.
34694         * string/strncat.c: Likewise.
34695         * string/strncmp.c: Likewise.
34696         * string/strncpy.c: Likewise.
34698 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34700         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34701         __builtin_memcopy is called when src and dest ranges are known to not
34702         overlap.
34704 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34706         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34707         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34708         fwd_align_merge macro call.
34709         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34710         bwd_align_merge macro call.
34711         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34713 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34715         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34716         bwd_align_merge macros.
34717         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34718         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34719         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34721 2012-04-18  David S. Miller  <davem@davemloft.net>
34723         * sysdeps/sparc/sparc64/memcopy.h: Delete.
34725 2012-04-18  Andreas Jaeger  <aj@suse.de>
34727         [BZ# 6794]
34728         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34729         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34730         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34732         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34733         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34734         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34736         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34737         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34738         Adjust for changed ldbl-128 files.
34740         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34741         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34742         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34744 2012-04-17  David S. Miller  <davem@davemloft.net>
34746         * sysdeps/sparc/sparc32/memcopy.h: Delete.
34748 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
34750         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34751         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34752         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34753         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34754         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34755         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34757 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34759         [BZ #6794]
34760         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34761         * math/libm-test.inc: Add ilogb errno and exception tests.
34762         * math/w_ilogb.c: New file: ilogb wrapper.
34763         * math/w_ilogbf.c: New file: ilogbf wrapper.
34764         * math/w_ilogbl.c: New file: ilogbl wrapper.
34765         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34766         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34767         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34768         exception being thrown with 0.0 as argument.
34769         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34770         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34771         exception being thrown with 0.0 as argument.
34772         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34773         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34774         exception being thrown with 0.0 as argument.
34775         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34776         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34777         exception being thrown with 0.0 as argument.
34778         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34779         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34780         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34781         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34782         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34783         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34784         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34785         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34786         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34788 2012-04-17  Petr Baudis  <pasky@ucw.cz>
34790         * include/sys/uio.h: Change __vector to __iovec to avoid clash
34791         with altivec.
34793 2012-04-16  Marek Polacek  <polacek@redhat.com>
34795         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34797 2012-04-16  Marek Polacek  <polacek@redhat.com>
34799         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34800         operands of fdivp instruction.
34802 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34804         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34805         * elf/tst-auditmod3b.c: Likewise.
34806         * elf/tst-auditmod4b.c: Likewise.
34807         * elf/tst-auditmod5b.c: Likewise.
34808         * elf/tst-auditmod6b.c: Likewise.
34809         * elf/tst-auditmod6c.c: Likewise.
34810         * elf/tst-auditmod7b.c: Likewise.
34811         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34812         * sysdeps/x86_64/preconfigure.in: Likewise.
34813         * sysdeps/x86_64/preconfigure: Regenerated.
34815 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34817         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34818         __ILP32__.
34820 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
34822         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34823         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34825 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
34827         [BZ #13973]
34828         * locale/iso-639.def: Fix gl language name. Spotted by
34829         Yaron Shahrabani.
34831 2012-04-12  Roland McGrath  <roland@hack.frob.com>
34833         [BZ #2074]
34834         * libio/libio.h (__io_write_fn): Update comment.
34836 2012-04-12  Petr Baudis  <pasky@ucw.cz>
34838         [BZ #2074]
34839         * stdio.texi (Hook Functions): The user provided writer function
34840         is not allowed to return -1.
34842 2012-04-11  David S. Miller  <davem@davemloft.net>
34844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34846 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
34848         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34849         Add a leading slash to rtkaio.
34851 2012-04-11  Jim Meyering  <meyering@redhat.com>
34853         [BZ #11959]
34854         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34855         It is not necessarily an error to ignore fwrite's return
34856         value.  One can reliably use ferror to test for errors after
34857         the fact.
34859 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34861         * bits/types.h (__snseconds_t): New type.
34862         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34864         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34865         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34866         (__SNSECONDS_T_TYPE): Likewise.
34867         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34868         (__SNSECONDS_T_TYPE): Likewise.
34869         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34870         (__SNSECONDS_T_TYPE): Likewise.
34872 2012-04-10  Andreas Jaeger  <aj@suse.de>
34874         [BZ #2636]
34875         * manual/time.texi (Processor Time): Return type of times is
34876         elapsed real time since an arbitrary point in the past.
34877         (CPU Time): Move CLK_TCK from here...
34878         (Processor Time): ...to here.  Correct description.
34879         * manual/conf.texi (Constants for Sysconf): Correct description of
34880         _SC_CLK_TCK.
34882 2012-04-10  David S. Miller  <davem@davemloft.net>
34884         [BZ #13967]
34885         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34886         where the is a gap between DT_REL(A) and DT_JMPREL.
34888 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34890         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34891         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34892         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34894 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34896         * elf/dl-support.c (_dl_inhibit_cache): New variable.
34897         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34898         (dl_main): Handle --inhibit-cache.
34899         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34900         _dl_inhibit_cache.
34901         * elf/dl-load.c (_dl_map_object): Use it.
34902         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34904 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34906         [BZ #13872]
34907         * sysdeps/i386/fpu/e_powl.S (p78): New object.
34908         (__ieee754_powl): Saturate large exponents rather than testing for
34909         overflow of y*log2(x).
34910         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34911         * math/libm-test.inc (pow_test): Do not permit spurious overflow
34912         exceptions.
34914         [BZ #11521]
34915         * math/s_ctan.c: Include <float.h>.
34916         (__ctan): Avoid internal overflow or cancellation in calculating
34917         denominator.
34918         * math/s_ctanf.c: Likewise.
34919         * math/s_ctanl.c: Likewise.
34920         * math/s_ctanh.c: Likewise.
34921         * math/s_ctanhf.c: Likewise.
34922         * math/s_ctanhl.c: Likewise.
34923         * math/libm-test.inc (ctan_test): Add more tests.
34924         (ctanh_test): Likewise.
34925         * sysdeps/i386/fpu/libm-test-ulps: Update.
34926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34928 2012-04-09  Andreas Jaeger  <aj@suse.de>
34930         [BZ #6894]
34931         * manual/filesys.texi (Directory Entries): Mention that d_namlen
34932         is an optional BSD extension.
34934         [BZ #10254]
34935         * manual/stdio.texi (Opening Streams): Document additional fopen
34936         parameters.
34938 2012-04-09  Roland McGrath  <roland@hack.frob.com>
34940         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34941         %eax without telling the compiler.
34943 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
34945         [BZ # 13963]
34946         * manual/install.texi: Use sourceware.org.
34948 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34950         [BZ #13873]
34951         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34952         (__ieee754_pow): Generate overflow and underflow using huge*huge
34953         and tiny*tiny rather than just returning constant infinity or zero
34954         for large exponents.
34955         * math/libm-test.inc (pow_test): Require overflow exceptions for
34956         applicable cases of large exponents.
34958         [BZ #706]
34959         * sysdeps/i386/fpu/e_pow.S (p10): New object.
34960         (__ieee754_pow): Use iterative multiplication algorithm only for
34961         integer exponents with absolute value below 1024.  Check for odd
34962         integer exponents when using algorithm for real exponents.
34963         * math/libm-test.inc (pow_test): Add more tests.
34964         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34966 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
34968         [BZ #13705]
34969         * math/libm-test.inc (exp_test): Do not allow overflow exception
34970         on underflow test.
34972 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
34974         [BZ #13705]
34975         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34976         instead of __kernel_standard_f.
34978 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
34980         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34981         * sysdeps/x86_64/memset_chk.S: Likewise.
34983 2012-04-08  Andreas Jaeger  <aj@suse.de>
34985         [BZ #10153]
34986         * manual/startup.texi (Environment Access): Describe return value
34987         for putenv and setenv.
34989         [BZ #6895]
34990         * manual/filesys.texi (Directory Entries): Add description for
34991         DT_LNK.
34993         [BZ #6890]
34994         * manual/filesys.texi (Directory Entries): Clarify that it's file
34995         system not operating system in the description of DT_UNKNOWN.
34997         [BZ #6578]
34998         * manual/syslog.texi (closelog): Fix reference, it's openlog.
35000 2012-04-08  Stephen Compall  <s11@member.fsf.org>
35002         [BZ #6649]
35003         * manual/llio.texi (Opening and Closing Files): Add cross
35004         reference to explain mode argument.
35006 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
35008         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35009         * sysdeps/x86_64/memset_chk.S: Likewise.
35011 2012-04-07  David S. Miller  <davem@davemloft.net>
35013         * elf/elf.h (R_SPARC_WDISP10): Define.
35014         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35015         R_SPARC_SIZE32.
35016         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35017         R_SPARC_SIZE64 and R_SPARC_H34.
35019 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
35021         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35022         conditions and remove no longer applicable assertion.
35024 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
35026         * bits/byteswap.h: Include <features.h>.
35027         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35028         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35030 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
35032         * bits/byteswap.h (__bswap_16): Removed.
35033         Include <bits/byteswap-16.h> to get __bswap_16.
35034         * sysdeps/i386/bits/byteswap.h: Likewise.
35035         * sysdeps/s390/bits/byteswap.h: Likewise.
35036         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35037         * bits/byteswap-16.h: New file.
35038         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35039         * sysdeps/s390/bits/byteswap-16.h: Likewise.
35040         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35041         * string/Makefile (headers): Add bits/byteswap-16.h.
35043 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35045         [BZ #13895]
35046         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35047         extra indirection.
35048         * nss/Makefile (tests-static, tests): Add tst-nss-static.
35049         * nss/tst-nss-static.c: New.
35051 2012-04-06  Robert Millan  <rmh@gnu.org>
35053         [BZ #6486]
35054         * manual/llio.texi (File Position Primitive): lseek
35055         refers to WHENCE when it really means OFFSET.
35057 2012-04-06  Andreas Jaeger  <aj@suse.de>
35059         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35060         strncmp declarations.
35062         * abilist/libc.abilist: Add __poll and __ppoll.
35064 2012-04-05  David S. Miller  <davem@davemloft.net>
35066         * scripts/check-local-headers.sh: Accept a host triplet in the
35067         path matched by the exclude regexp.
35069         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35070         definition.
35071         * sysdeps/powerpc/powerpc32/dl-machine.h
35072         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35073         * sysdeps/s390/s390-32/dl-machine.h
35074         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35075         * sysdeps/sparc/sparc32/dl-machine.h
35076         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35077         * sysdeps/sparc/sparc64/dl-machine.h
35078         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35080         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35081         lazy binding.
35082         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35083         undefined symbol errors.
35085         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35086         DT_NEEDED entries.
35088 2012-04-05  Michael Matz  <matz@suse.de>
35090         [BZ #13592]
35091         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35093 2012-04-05  Andreas Jaeger  <aj@suse.de>
35095         [BZ #13908]
35096         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35097         comment.
35099 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35101         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35102         which ROUND is no valid rounding mode.
35104 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35106         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35107         read again.
35108         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35110 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35112         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35113         an exception using FPU order intentionally.
35115 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35117         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35118         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35119         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35120         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35122 2012-04-05  Simon Josefsson  <simon@josefsson.org>
35124         [BZ #12340]
35125         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35126         EINVAL when BUFLEN is too smal.
35128 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35130         [BZ #13553]
35131         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35132         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35134 2012-04-03  Andreas Jaeger  <aj@suse.de>
35136         [BZ #13938]
35137         * manual/setjmp.texi (System V contexts): Fix sentence.
35139         [BZ #13926]
35140         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35141         New macro for this case.
35142         [!__GNUC__] (__bswap_64): New inline function for this case.
35143         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35144         * bits/byteswap.h: Likewise.
35145         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35146         ull, guard with __GLIBC_HAVE_LONG_LONG.
35148         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35149         __GLIBC_HAVE_LONG_LONG.
35151         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35152         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35154 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35156         [BZ #13691]
35157         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35158         inptr and inend, rather than using last_ch.
35160 2012-04-02  David S. Miller  <davem@davemloft.net>
35162         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35163         * stdio-common/printf-parse.h (read_int): Change return type to
35164         'int', return -1 on INT_MAX overflow.
35165         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35166         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
35167         overflows INT_MAX.  Check for overflow of in-format-string precision
35168         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
35169         SIZE_MAX not INT_MAX for integer overflow test.
35170         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35171         skip the construct in the format string but do not record anything.
35172         * stdio-common/bug22.c: Adjust to test both width/prevision
35173         INT_MAX overflow as well as total length INT_MAX overflow.  Check
35174         explicitly for proper errno values.
35176 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35178         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35179         CHAR_MAX.
35180         * string/test-strcmp.c [! WIDE]: Likewise.
35181         * time/tst-mktime2.c: Likewise for INT_MAX.
35182         * string/test-string.h: #include <sys/param.h> for MIN.
35184         * csu/init-first.c (__libc_init_first): Call __ctype_init.
35185         * sysdeps/i386/init-first.c (init): Likewise.
35186         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35187         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35188         * sysdeps/sh/init-first.c (init): Likewise.
35190 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
35192         * po/ru.po: Update from translation team.
35193         * po/vi.po: Likewise.
35195 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35197         * resolv/nss_dns/dns-host.c: Merge copyright years.
35199 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35201         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35202         Optimize memcpy with prefetch if
35203         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
35204         src, dst pointers have unequal 16 byte alignments.
35206 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35208         [BZ #13928]
35209         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35210         from a CNAME entry and return the minimum ttl for the query.
35211         (gaih_getanswer_slice): Likewise.
35213 2012-03-30  Jeff Law  <law@redhat.com>
35215         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35216         due to long keys.
35217         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35218         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35220         * resolv/nss_dns/dns-host.c: Update copyright year.
35222 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
35224         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35225         requests to save a system call.  Fix check that all bytes are sent.
35227         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35228         comments for sendmmsg.
35230 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35232         [BZ #13691]
35233         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35234         with only 1 character between 0x0041 and 0x01b0.
35235         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35236         * wcsmbs/tst-mbsnrtowcs.c: New file.
35238 2012-03-29  David S. Miller  <davem@davemloft.net>
35240         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35241         small copies by hand.
35243 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35245         [BZ #13761]
35246         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35247         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35248         group memberships.
35250 2012-03-28  David S. Miller  <davem@davemloft.net>
35252         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35253         that branches into memcpy.
35254         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35255         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35256         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35257         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35258         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35259         bits.
35260         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35261         implementation too.
35262         * sysdeps/sparc/mempcpy.S: New file.
35264         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35265         the IFUNC routine in the libc case.
35266         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35268         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35269         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35270         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35271         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35272         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35273         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35274         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35275         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35277         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35278         loop to 256 bytes instead of 64 bytes and fix test signedness.
35280         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35281         * sysdeps/sparc/sparc32/Makefile: rather than here...
35282         * sysdeps/sparc/sparc64/Makefile: and here.
35284 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
35286         * malloc/mallocbug.c: Avoid warnings about unused variables.
35288 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35290         [BZ #13760]
35291         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35292         in the right place. Discard and retry query if response is
35293         larger than input buffer size.
35295 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
35297         [BZ #369]
35298         [BZ #2678]
35299         [BZ #3866]
35300         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35301         x for large integer exponent.
35302         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35303         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
35304         sign of result as needed afterwards.
35305         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35306         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35307         result for underflowing pow the same as for overflow.
35308         (__kernel_standard_l): Handle powl overflow and underflow here
35309         rather than calling __kernel_standard.
35310         * math/libm-test.inc (pow_test): Add more tests.
35312         [BZ #3868]
35313         [BZ #13879]
35314         [BZ #13910]
35315         [BZ #13911]
35316         [BZ #13912]
35317         [BZ #13913]
35318         [BZ #13915]
35319         [BZ #13916]
35320         [BZ #13917]
35321         [BZ #13918]
35322         [BZ #13919]
35323         [BZ #13920]
35324         [BZ #13921]
35325         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35326         * sysdeps/ieee754/k_standard.c: Include <float.h>.
35327         (__kernel_standard_l): New function.
35328         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35329         __kernel_standard.
35330         * math/w_acosl.c (__acosl): Likewise.
35331         * math/w_asinl.c (__asinl): Likewise.
35332         * math/w_atan2l.c (__atan2l): Likewise.
35333         * math/w_atanhl.c (__atanhl): Likewise.
35334         * math/w_coshl.c (__coshl): Likewise.
35335         * math/w_exp10l.c (__exp10l): Likewise.
35336         * math/w_exp2l.c (__exp2l): Likewise.
35337         * math/w_fmodl.c (__fmodl): Likewise.
35338         * math/w_hypotl.c (__hypotl): Likewise.
35339         * math/w_j0l.c (__j0l, __y0l): Likewise.
35340         * math/w_j1l.c (__j1l, __y1l): Likewise.
35341         * math/w_jnl.c (__jnl, __ynl): Likewise.
35342         * math/w_lgammal.c (__lgammal): Likewise.
35343         * math/w_log10l.c (__log10l): Likewise.
35344         * math/w_log2l.c (__log2l): Likewise.
35345         * math/w_logl.c (__logl): Likewise.
35346         * math/w_powl.c (__powl): Likewise.
35347         * math/w_remainderl.c (__remainderl): Likewise.
35348         * math/w_scalbl.c (sysv_scalbl): Likewise.
35349         * math/w_sinhl.c (__sinhl): Likewise.
35350         * math/w_sqrtl.c (__sqrtl): Likewise.
35351         * math/w_tgammal.c (__tgammal): Likewise.
35352         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35353         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35354         * math/libm-test.inc (acos_test): Add more tests.
35355         (acosh_test): Likewise.
35356         (asin_test): Likewise.
35357         (atanh_test): Likewise.
35358         (exp_test): Likewise.
35359         (exp10_test): Likewise.
35360         (exp2_test): Likewise.
35361         (expm1_test): Likewise.
35362         (lgamma_test): Likewise.
35363         (log_test): Likewise.
35364         (log10_test): Likewise.
35365         (log1p_test): Likewise.
35366         (log2_test): Likewise.
35367         (pow_test): Do not allow some spurious overflow exceptions.
35368         (sqrt_test): Add more tests.
35369         (tgamma_test): Likewise.
35370         (y0_test): Likewise.
35371         (y1_test): Likewise.
35372         (yn_test): Likewise.
35374 2012-03-27  Anton Blanchard  <anton@samba.org>
35376         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35377         MAP_HUGETLB.
35378         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35379         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35380         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35382 2012-03-27  David S. Miller  <davem@davemloft.net>
35384         * conform/Makefile: Run run-conformtest.sh using $(BASH).
35386         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35387         have-as-vis3 check.
35389 2012-03-27  Andreas Jaeger  <aj@suse.de>
35391         * sysdeps/x86_64/elf/configure.in: Moved to ...
35392         * sysdeps/x86_64/configure.in: ... here.
35393         * sysdeps/x86_64/elf/start.S: Moved to ...
35394         * sysdeps/x86_64/start.S: ... here.
35395         * sysdeps/x86_64/elf/configure: Delete.
35397         * sysdeps/x86_64/configure.in: Merge contents from
35398         sysdeps/i386/configure.in (without i686 check).
35400         * sysdeps/i386/elf/Versions: Merge into ...
35401         * sysdeps/i386/Versions: ... this.
35402         * sysdeps/i386/elf/Versions: Delete file.
35403         * sysdeps/i386/elf/start.S: Moved to ...
35404         * sysdeps/i386/start.S: ...here.
35405         * sysdeps/i386/elf/configure.in: Merge into...
35406         * sysdeps/i386/configure.in: ...here.
35407         * sysdeps/i386/elf/configure.in: Delete file.
35408         * sysdeps/i386/elf/configure: Delete file.
35410         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35411         * debug/backtracesyms.c: ... here.
35412         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35413         * debug/backtracesymsfd.c: ... here.
35414         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35415         * sysdeps/generic/ifunc-sel.h: ... here.
35417         * sysdeps/unix/i386/start.c: Delete file.
35418         * sysdeps/unix/sparc/start.c: Delete file.
35419         * sysdeps/unix/start.c: Delete file.
35421         * sysdeps/sh/elf/configure.in: Moved to ...
35422         * sysdeps/sh/configure.in: ... here.
35423         * sysdeps/sh/elf/start.S: Moved to ...
35424         * sysdeps/sh/start.S: ... here.
35425         * sysdeps/sh/elf/configure: Delete file.
35427         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35428         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35429         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35430         * sysdeps/powerpc/powerpc64/entry.h: ... here.
35431         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35432         * sysdeps/powerpc/powerpc64/start.S: here.
35433         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35434         * sysdeps/powerpc/powerpc64/Makefile: ... this.
35435         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35436         * sysdeps/powerpc/powerpc64/configure.in: ... this.
35437         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35439         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35440         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35441         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35442         * sysdeps/powerpc/powerpc32/start.S: ... here.
35443         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35444         * sysdeps/powerpc/powerpc32/configure.in: ... this.
35445         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35447         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35448         * sysdeps/powerpc/ifunc-sel.h: ... here.
35449         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35450         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35452         * sysdeps/sparc/elf/configure.in: Moved to ...
35453         * sysdeps/sparc/configure.in: ... here.
35454         * sysdeps/sparc/elf/configure: Delete file.
35455         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35456         * sysdeps/sparc/sparc32/start.S: ... here.
35457         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35458         * sysdeps/sparc/sparc64/start.S: ... here.
35459         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35460         * sysdeps/sparc/sparc32/Makefile: ... this.
35461         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35462         * sysdeps/sparc/sparc64/Makefile: ... this.
35464         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35465         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35466         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35467         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35468         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35469         * sysdeps/s390/s390-32/setjmp.S: ... here.
35470         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35471         * sysdeps/s390/s390-32/configure.in: ... here.
35472         * sysdeps/s390/s390-32/elf/configure: Delete file.
35473         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35474         * sysdeps/s390/s390-32/start.S: ... here.
35476         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35477         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35478         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35479         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35480         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35481         * sysdeps/s390/s390-64/setjmp.S: ... here.
35482         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35483         * sysdeps/s390/s390-64/configure.in: ... here
35484         * sysdeps/s390/s390-64/elf/configure: Delete file.
35485         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35486         * sysdeps/s390/s390-64/start.S: ... here.
35487         * sysdeps/s390/s390-64/elf/configure: Delete.
35489         * configure.in: Remove support for elf directories in sysdeps.
35491         * configure: Regenerated.
35492         * sysdeps/i386/configure: Regenerated.
35493         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35494         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35495         * sysdeps/s390/s390-32/configure: Regenerated.
35496         * sysdeps/s390/s390-64/configure: Regenerated.
35497         * sysdeps/sh/configure: Regenerated.
35498         * sysdeps/sparc/configure: Regenerated.
35499         * sysdeps/x86_64/configure: Regenerated.
35501 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
35503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35505         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35506         denormal result into account.
35508 2012-03-25  Roland McGrath  <roland@hack.frob.com>
35510         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35511         Reported by Allan McRae <allan@archlinux.org>.
35513 2012-03-23  Jeff Law  <law@redhat.com>
35515         * nss/getnssent.c (__nss_getent): Fix typo.
35517 2012-03-23  David S. Miller  <davem@davemloft.net>
35519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35521 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
35523         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35524         to pad to uint64_t for each field.
35525         (dl_tls_index): Replace unsigned long with uint64_t.
35527 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
35528         Paul Pluzhnikov  <ppluzhnikov@google.com>
35530         [BZ #6528]
35531         * grp/Makefile (otherlibs): Don't set it.
35532         * inet/Makefile (otherlibs): Likewise.
35533         * login/Makefile (otherlibs): Likewise.
35534         * nscd/Makefile (otherlibs): Likewise.
35535         * posix/Makefile (otherlibs): Likewise.
35536         * pwd/Makefile (otherlibs): Likewise.
35537         * rt/Makefile (otherlibs): Likewise.
35538         * sunrpc/Makefile (otherlibs): Likewise.
35539         * nss/Makefile (otherlibs): Likewise.
35540         Add libnss_files to routines and static-only-routines.
35541         ($(objpfx)getent): Remove rule.
35542         * resolv/Makefile: Add libnss_dns and libresolv to routines and
35543         static-only-routines.
35545 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35547         [BZ #13892]
35548         * math/s_cexp.c: Include <float.h>.
35549         (__cexp): Handle exp result overflowing not necessarily
35550         overflowing both real and imaginary parts of result.
35551         * math/s_cexpf.c: Likewise.
35552         * math/s_cexpl.c: Likewise.
35553         * math/libm-test.inc (cexp_test): Add more tests.
35554         * sysdeps/i386/fpu/libm-test-ulps: Update.
35555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35557 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35559         * include/link.h (ELFW): New macro.
35560         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35561         Replace ELF64_R_TYPE with ELFW(R_TYPE).
35563 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35565         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35566         with uint64_t.
35568 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35570         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35571         declaration.
35572         (struct La_x32_retval): Likewise.
35574 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35576         * sysdeps/x86_64/preconfigure.in: New file.
35577         * sysdeps/x86_64/preconfigure: New generated file.
35579 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35581         [BZ #13824]
35582         * math/e_exp2l.c: Include <float.h>.
35583         (__ieee754_exp2l): Handle overflow and underflow cases
35584         separately.  Only pass fractional part of argument to
35585         __ieee754_expl.
35586         * math/libm-test.inc (exp2_test): Add more tests.
35588         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35589         negating x to take absolute value.
35590         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35591         Likewise.
35592         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35593         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35594         Likewise.
35595         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35596         computing low part if x was negated.
35597         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35599 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35601         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35602         la_x32_gnu_pltexit.
35603         (pltexit): Cast int_retval to ptrdiff_t.
35604         * elf/tst-auditmod3b.c: Likewise.
35605         * elf/tst-auditmod4b.c: Likewise.
35606         * elf/tst-auditmod5b.c: Likewise.
35607         * elf/tst-auditmod6b.c: Likewise.
35608         * elf/tst-auditmod6c.c: Likewise.
35609         * elf/tst-auditmod7b.c: Likewise.
35611         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35612         and x32_gnu_pltexit.
35614         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35615         __ELF_NATIVE_CLASS.
35616         (La_x32_regs): New macro.
35617         (La_x32_retval): Likewise.
35618         (la_x32_gnu_pltenter): New function prototype.
35619         (la_x32_gnu_pltexit): Likewise.
35621 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
35623         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35624         exponent.
35626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35628         * configure.in (libc_cv_cc_nofma): Check for option to disable
35629         generation of FMA instructions.
35630         * configure: Regenerate.
35631         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35632         * sysdeps/ieee754/dbl-64/Makefile: New file.
35633         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35634         Remove brandred-fma4.
35635         (CFLAGS-brandred-fma4.c): Remove.
35636         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35637         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35638         define.
35639         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35640         define.
35642 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35644         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35645         LLONG_MAX != LONG_MAX.
35646         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35647         (_fitoa_word): Likewise.
35648         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35649         LLONG_MAX != LONG_MAX.
35650         * stdio-common/_itowa.h: Include <_itoa.h>.
35651         (_itowa_word): Use _ITOA_WORD_TYPE on value.
35652         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
35653         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
35654         only if not defined.
35655         (_ITOA_WORD_TYPE): Likewise.
35656         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35657         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35659 2012-03-21  David S. Miller  <davem@davemloft.net>
35661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35663 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35665         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35666         of x86_64 when setting libc_cv_slibdir, libdir and
35667         libc_cv_localedir.
35668         * sysdeps/unix/sysv/linux/configure: Regenerated.
35670 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35672         * manual/lang.texi (Old Varargs): Remove section.
35673         (How Variadic): Update menu.
35674         (va_start): Do not mention varargs.h.
35676 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35677             Joseph Myers  <joseph@codesourcery.com>
35679         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35680         link test.
35681         * configure: Regenerated.
35683 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35685         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35686         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35687         conformtest.pl
35689 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35691         * NOTES: Remove.
35692         * Makefile (files-for-dist): Remove NOTES.
35693         (NOTES): Remove rule.
35694         * README: Don't refer to NOTES.
35695         * manual/creature.texi: Don't include macros.texi.
35696         * manual/intro.texi (creature.texi): Remove comment referring to
35697         NOTES.
35699         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35700         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35701         * configure: Regenerated.
35702         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35703         LIBC_TRY_CC_OPTION.
35704         (libc_cv_as_i686): Likewise.
35705         (libc_cv_cc_avx): Likewise.
35706         (libc_cv_cc_sse2avx): Likewise.
35707         (libc_cv_cc_fma4): Likewise.
35708         (libc_cv_cc_novzeroupper): Likewise.
35709         * sysdeps/i386/configure: Regenerated.
35711         [BZ #13883]
35712         * sysdeps/i386/fpu/s_cexp.S: Remove.
35713         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35714         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35715         * math/libm-test.inc (cexp_test): Add more tests.
35716         * sysdeps/i386/fpu/libm-test-ulps: Update.
35717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35719 2012-03-21  Allan McRae  <allan@archlinux.org>
35721         * timezone/Makefile: Do not install iso3166.tab and zone.tab
35723 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35725         [BZ #13871]
35726         * math/w_exp2.c: Do not include <float.h>.
35727         (o_threshold, u_threshold): Remove.
35728         (__exp2): Calculate result before checking finiteness and calling
35729         __kernel_standard.
35730         * math/w_exp2f.c: Likewise.
35731         * math/w_exp2l.c: Likewise.
35732         * math/libm-test.inc (exp2_test): Require overflow exception for
35733         1e6 input.
35735         [BZ #3866]
35736         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35737         range of signed 64-bit integers before using fistpll.  Remove
35738         checks for whether integers fit in mantissa bits.
35739         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35740         the range of signed 32-bit integers before using fistpl.  Remove
35741         checks for whether integers fit in mantissa bits.
35742         * sysdeps/i386/fpu/e_powl.S (p64): New object.
35743         (__ieee754_powl): Test for y outside the range of signed 64-bit
35744         integers before using fistpll.  Reduce 64-bit values to 63-bit
35745         ones as needed.
35746         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35747         divide-by-zero is raised for zero to large negative powers.
35748         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35749         (__ieee754_powl): Test for y outside the range of signed 64-bit
35750         integers before using fistpll.  Reduce 64-bit values to 63-bit
35751         ones as needed.
35752         * math/libm-test.inc (pow_test): Add more tests.
35754 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35756         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35757         <stdio-common/_itoa.h>.
35758         * debug/segfault.c: Likewise.
35759         * elf/dl-cache.c: Likewise.
35760         * elf/dl-minimal.c: Likewise.
35761         * elf/dl-misc.c: Likewise.
35762         * elf/dl-sysdep.c: Likewise.
35763         * elf/dl-version.c: Likewise.
35764         * elf/rtld.c: Likewise.
35765         * hurd/hurdsock.c: Likewise.
35766         * hurd/lookup-retry.c: Likewise.
35767         * malloc/malloc.c: Likewise.
35768         * malloc/mtrace.c: Likewise.
35769         * nscd/nscd_getgr_r.c: Likewise.
35770         * nscd/nscd_getpw_r.c: Likewise.
35771         * nscd/nscd_getserv_r.c: Likewise.
35772         * posix/getopt_init.c: Likewise.
35773         * posix/wordexp.c: Likewise.
35774         * stdio-common/_itoa.c: Likewise.
35775         * stdio-common/printf_fphex.c: Likewise.
35776         * stdio-common/vfprintf.c: Likewise.
35777         * string/_strerror.c: Likewise.
35778         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35779         * sysdeps/i386/i686/hp-timing.h: Likewise.
35780         * sysdeps/mach/_strerror.c: Likewise.
35781         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35782         * sysdeps/mach/hurd/sethostid.c: Likewise.
35783         * sysdeps/mach/hurd/xmknodat.c: Likewise.
35784         * sysdeps/mach/xpg-strerror.c: Likewise.
35785         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35786         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35787         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35788         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35789         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35790         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35791         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35792         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35793         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35794         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35795         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35796         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35797         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35798         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35799         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35800         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35801         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35802         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35803         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35804         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35805         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35807         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35809         * stdio-common/_itoa.h: Moved to ...
35810         * sysdeps/generic/_itoa.h: Here.
35812         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35814         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35815         instead of "_itoa.h" and "_itowa.h".
35816         * stdio-common/vfprintf.: Likewise.
35818 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35820         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35821         <bits/wordsize.h>.
35822         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35823         (__signbit): Likwise.
35824         (llrintf): Likwise.
35825         (llrint): Likwise.
35827 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35829         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35830         __WORDSIZE != 64.
35832 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
35834         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35835         OVERFLOW_EXCEPTION_OK.
35836         * math/libm-test.inc ("Philosophy"): Update comment about
35837         exception testing.
35838         (OVERFLOW_EXCEPTION): Define.
35839         (OVERFLOW_EXCEPTION_OK): Likewise.
35840         (INVALID_EXCEPTION_OK): Renumber.
35841         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35842         (IGNORE_ZERO_INF_SIGN): Likewise.
35843         (test_exceptions): Handle FE_OVERFLOW.
35844         (exp10_test): Expect overflow exceptions.
35845         (exp2_test): Likewise.
35846         (expm1_test): Likewise.
35847         (nextafter_test): Likewise.
35848         (pow_test): Likewise.
35849         (scalbn_test): Likewise.
35850         (scalbln_test): Likewise.
35852 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35854         * sysdeps/x86_64/bits/atomic.h
35855         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35856         64bit integer.
35857         (atomic_exchange_acq): Likewise.
35858         (__arch_exchange_and_add_body): Likewise.
35859         (__arch_add_body): Likewise.
35860         (atomic_add_negative): Likewise.
35861         (atomic_add_zero): Likewise.
35863 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35865         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35866         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35868 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35870         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35871         Check __x86_64__ instead of __WORDSIZE.
35873 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35875         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35877 2012-03-19  David S. Miller  <davem@davemloft.net>
35879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35881         * sysdeps/sparc/fpu/fenv_private.h: New file.
35882         * sysdeps/sparc/fpu/math_private.h: Use it.
35883         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35884         Remove.
35885         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35886         (libc_feholdexcept_setroundl): Remove.
35887         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35888         Remove.
35889         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35890         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35892 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35894         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35895         int64_t instead of long int.
35896         (INSERT_WORDS64): Likwise.
35898 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35900         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35901         _Unwind_GetCFA return to _Unwind_Ptr first.
35903 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
35905         [BZ #13629]
35906         * math/s_clog.c: Include <float.h>.
35907         (__clog): Scale large or subnormal inputs.
35908         * math/s_clogf.c: Likewise.
35909         * math/s_clogl.c: Likewise.
35910         * math/s_clog10.c: Include <float.h>.
35911         (M_LOG10_2): Define.
35912         (__clog10): Scale large or subnormal inputs.
35913         * math/s_clog10f.c: Likewise.
35914         * math/s_clog10l.c: Likewise.
35915         * math/libm-test.inc (clog_test): Add more tests.
35916         (clog10_test): Likewise.
35917         * sysdeps/i386/fpu/libm-test-ulps: Update.
35918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35920         [BZ #11451]
35921         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35922         x and y.
35923         * math/libm-test.inc (atan2_test): Add another test.
35925         * Makerules (common-objdir-compile): Remove.
35926         * sysdeps/unix/Makefile (config-generated): Do not add
35927         $(unix-generated) to variable.
35928         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35929         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35930         Remove rule.
35931         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35932         Likewise.
35933         [generic bits/local_lim.h] (before-compile): Do not append to
35934         variable.
35935         [generic bits/local_lim.h] (common-generated): Likewise.
35936         [generic sys/param.h] (before-compile): Do not append to variable.
35937         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35938         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35939         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35940         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35941         include.
35942         [generic sys/param.h] (sys/param.h-includes): Remove variable.
35943         [generic sys/param.h] (sys/param.h-includes): Remove rule.
35944         [generic sys/param.h] ($(addprefix
35945         $(common-objpfx),$(sys/param.h-includes))): Likewise.
35946         [generic sys/param.h] (common-generated): Do not append to
35947         variable.
35948         [generic sys/param.h] (sysdep_headers): Likewise.
35949         [generic bits/errno.h] (before-compile): Do not append to
35950         variable.
35951         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35952         rule.
35953         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35954         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35955         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35956         [generic bits/errno.h] (common-generated): Do not append to
35957         variable.
35958         [generic bits/ioctls.h] (before-compile): Do not append to
35959         variable.
35960         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35961         rule.
35962         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35963         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35964         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35965         rule.
35966         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35967         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35968         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35969         [generic bits/ioctls.h] (common-generated): Do not append to
35970         variable.
35971         [generic sys/syscall.h] (syscall.h): Remove variable.
35972         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35973         rule.
35974         [generic sys/syscall.h] (before-compile): Do not append to
35975         variable.
35976         [generic sys/syscall.h] (common-generated): Likewise.
35977         * sysdeps/unix/errnos-tmpl.c: Remove file.
35978         * sysdeps/unix/errnos.awk: Likewise.
35979         * sysdeps/unix/ioctls-tmpl.c: Likewise.
35980         * sysdeps/unix/ioctls.awk: Likewise.
35981         * sysdeps/unix/mk-local_lim.c: Likewise.
35982         * sysdeps/unix/snarf-ioctls: Likewise.
35984 2012-03-19  Richard Henderson  <rth@twiddle.net>
35986         * sysdeps/i386/fpu/fenv_private.h: New file.
35987         * sysdeps/i386/fpu/math_private.h: Use it.
35988         (math_opt_barrier, math_force_eval): Remove.
35989         (libc_feholdexcept_setround_53bit): Remove.
35990         (libc_feupdateenv_53bit): Remove.
35991         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35992         (math_opt_barrier, math_force_eval): Remove.
35993         (libc_feholdexcept): Remove.
35994         (libc_feholdexcept_setround): Remove.
35995         (libc_fetestexcept, libc_fesetenv): Remove.
35996         (libc_feupdateenv_test): Remove.
35997         (libc_feupdateenv, libc_feholdsetround): Remove.
35998         (libc_feresetround): Remove.
36000         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36001         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36003         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36004         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36005         (libc_feupdateenv_testl): New.
36006         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36007         (libc_feupdateenv_testf): New.
36008         (libc_feupdateenv): Use libc_feupdateenv_test.
36009         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36010         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36012         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36013         (libc_feholdsetroundf, libc_feholdsetroundl): New.
36014         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36015         (libc_feresetround_noex): New.
36016         (libc_feresetround_noexf): New.
36017         (libc_feresetround_noexl): New.
36018         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36019         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36020         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36021         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36022         SET_RESTORE_ROUND.
36023         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36024         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36025         (__cos): Likewise.
36026         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36027         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36028         SET_RESTORE_ROUND_NOEX.
36029         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36030         SET_RESTORE_ROUND_NOEXF.
36031         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36032         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36033         (libc_feholdsetroundf): New.
36034         (libc_feresetround, libc_feresetroundf): New.
36036         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36037         (libc_feholdexcept_setround_53bit): Convert from macro to function.
36038         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
36040         * sysdeps/generic/math_private.h: Include <fenv.h>.
36041         (default_libc_feholdexcept): New.
36042         (default_libc_feholdexcept_setround): New.
36043         (default_libc_fesetenv, default_libc_feupdateenv): New.
36044         (libc_feholdexcept): Only define if undefined.
36045         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36046         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36047         (libc_feholdexcept_setroundl): Likewise.
36048         (libc_feholdexcept_setround_53bit): Likewise.
36049         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36050         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36051         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36052         (libc_feupdateenv_53bit): Likewise.
36053         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36054         (libc_feholdexcept): Convert from macro to inline function.
36055         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36056         (libc_fesetenv, libc_feupdateenv): Likewise.
36058         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36059         not previously defined.
36060         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36061         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36062         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36063         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36064         * sysdeps/ieee754/flt-32/math_private.h: New file.
36065         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36066         math_private.h below SET_FLOAT_WORD.
36067         (__isnan, __isinf_ns, __finite): Remove.
36068         (__isnanf, __isinf_nsf, __finitef): Remove.
36070 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
36072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36074 2012-03-17  David S. Miller  <davem@davemloft.net>
36076         [BZ #6471]
36077         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36078         for 2.16.
36080 2012-03-16  David S. Miller  <davem@davemloft.net>
36082         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36083         warnings.
36085         [BZ #6471]
36086         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36087         properly.
36088         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36089         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36090         sysdep_routines when subdir is sysvipc.
36091         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36092         __getshmlba helper.
36094         * sysdeps/sparc/fpu/libm-test/ulps: Update.
36096 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36098         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36099         [__LP64__].
36101 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36103         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36104         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36105         (__lround): Renamed to ...
36106         (__llround): This.  Replace long int with long long int.
36107         Define lround functions as aliases of llround functions.
36108         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36110 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36112         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36113         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
36114         adresses to uintptr_t.  Replace "long int" and "unsigned long
36115         int" with "greg_t" on va_arg.
36117 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36119         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36120         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36122         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36123         Move e_machine check before EI_CLASS check.  Handle x32
36124         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36125         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36126         SKIP_EM_IA_64 and include
36127         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36129         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36130         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36131         (add_system_dir): New macro.
36133         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36134         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36136 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36138         [BZ #2551]
36139         [BZ #2552]
36140         [BZ #2553]
36141         [BZ #2554]
36142         [BZ #2562]
36143         [BZ #2563]
36144         [BZ #2565]
36145         [BZ #2566]
36146         [BZ #2576]
36147         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36148         (y0): Likewise.
36149         * math/w_j0f.c (j0f): Likewise.
36150         (y0f): Likewise.
36151         * math/w_j0l.c (__j0l): Likewise.
36152         (__y0l): Likewise.
36153         * math/w_j1.c (j1): Likewise.
36154         (y1): Likewise.
36155         * math/w_j1f.c (j1f): Likewise.
36156         (y1f): Likewise.
36157         * math/w_j1l.c (__j1l): Likewise.
36158         (__y1l): Likewise.
36159         * math/w_jn.c (jn): Likewise.
36160         (yn): Likewise.
36161         * math/w_jnf.c (jnf): Likewise.
36162         (ynf): Likewise.
36163         * math/w_jnl.c (__jnl): Likewise.
36164         (__ynl): Likewise.
36165         * math/libm-test.inc (j0_test): Add more tests.
36166         (j1_test): Likewise.
36167         (jn_test): Likewise.  Add trailing semicolon to existing test.
36168         (y0_test): Likewise.
36169         (y1_test): Likewise.
36170         * sysdeps/i386/fpu/libm-test-ulps: Update.
36171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36173         [BZ #13851]
36174         [BZ #13854]
36175         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36176         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36177         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36178         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36179         (__tanl): Set errno for infinite argument.
36180         * sysdeps/i386/fpu/mptan.c: Remove.
36181         * sysdeps/i386/fpu/s_tan.S: Likewise.
36182         * sysdeps/i386/fpu/s_tanl.S: Likewise.
36183         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36184         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36185         * math/libm-test.inc (tan_test): Add more tests and enable more
36186         tests for double and long double.
36187         * sysdeps/i386/fpu/libm-test-ulps: Update.
36188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36190 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
36192         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36193         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36195 2012-03-16  Roland McGrath  <roland@hack.frob.com>
36197         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36198         * configure.in: Use it for both main tree and add-ons.
36199         * configure: Regenerated.
36201 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36203         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36205 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36207         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36208         in comment.
36210         [BZ #13851]
36211         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36212         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36213         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36214         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36215         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36216         infinite argument.
36217         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36218         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36219         != 0 for prec == 2.
36220         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36221         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36222         * sysdeps/i386/fpu/s_cosl.S: Likewise.
36223         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36224         * sysdeps/i386/fpu/s_sinl.S: Likewise.
36225         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36226         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36227         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36228         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36229         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36230         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36231         * math/libm-test.inc (cos_test): Add more tests and enable more
36232         tests for long double.
36233         (sin_test): Likewise.
36234         (sincos_test): Likewise.
36235         * sysdeps/i386/fpu/libm-test-ulps: Update.
36236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36238 2012-03-16  David S. Miller  <davem@davemloft.net>
36240         * sysdeps/sparc/fpu/math_private.h: New file.
36242 2012-03-15  David S. Miller  <davem@davemloft.net>
36244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36245         file.
36246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36248         file.
36249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36250         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36251         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36253         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36254         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36255         sysdep routines.
36256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36258         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36259         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36261         * sysdeps/sparc/sparc-ifunc.h: New file.
36262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36263         sparc-ifunc.h
36264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36266         Likewise.
36267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36268         Likewise.
36269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36273         Likewise.
36274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36279         Likewise.
36280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36281         Likewise.
36282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36286         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36287         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36288         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36289         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36290         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36291         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36294         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36295         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36296         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36297         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36298         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36299         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36300         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36301         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36302         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36303         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36304         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36305         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36307 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36309         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36310         scaling.
36311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36313 2012-03-15  Andreas Jaeger  <aj@suse.de>
36315         [BZ #13852]
36316         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36317         ieee754/flt-32 implementation for sin, cos and sincos.
36318         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36319         * sysdeps/i386/fpu/s_cosf.S: Likewise.
36320         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36321         * sysdeps/i386/fpu/s_sinf.S: Likewise.
36322         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36323         ieee754/flt-32 implementation for tan.
36325         * math/libm-test.inc (cos_test): Enable some large input tests for
36326         float as well
36327         (sin_test): Likewise.
36328         (sincos_test): Likewise.
36329         (tan_test): Add tests for large input.
36331         * sysdeps/i386/fpu/libm-test-ulps: Update.
36333 2012-03-15  Andreas Jaeger  <aj@suse.de>
36335         [BZ #13658]
36336         * math/libm-test.inc (cos_test): Add more test cases.
36337         (sin_test): Likewise.
36338         (sincos_test): Likewise.
36340 2012-03-15  Andreas Jaeger  <aj@suse.de>
36342         [BZ #13837]
36343         * math/libm-test.inc (cos_test): Add a test case for large input
36344         value.
36345         (sin_test): Likewise.
36346         (sincos_test): Likewise.
36348 2012-03-15  Andreas Jaeger  <aj@suse.de>
36349             Joseph Myers  <joseph@codesourcery.com>
36351         [BZ #13658]
36352         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36353         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36354         * sysdeps/i386/fpu/branred.c: Likewise.
36355         * sysdeps/i386/fpu/dosincos.c: Likewise.
36356         * sysdeps/i386/fpu/mpa.c: Likewise.
36357         * sysdeps/i386/fpu/s_cos.S: Likewise.
36358         * sysdeps/i386/fpu/s_sin.S: Likewise.
36359         * sysdeps/i386/fpu/s_sincos.S: Likewise.
36360         * sysdeps/i386/fpu/sincos32.c: Likewise.
36362         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36363         Define.
36364         (libc_feupdateenv_53bit): Define.
36365         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36366         Define.
36367         (libc_feupdateenv_53bit): Define.
36369         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36370         53 bit (without extend i386 double precision).
36372         * math/libm-test.inc (sincos_test): Add tests for large input.
36373         (sin): Likewise.
36374         (cos): Likewise.
36376         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36378 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36382 2012-03-15  David S. Miller  <davem@davemloft.net>
36384         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36385         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36386         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36387         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36392         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36393         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36394         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36395         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36396         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36397         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36398         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36400         file.
36401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36403         file.
36404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36406         file.
36407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36409         file.
36410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36411         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36412         fmin/fmax sysdep routines.
36413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36415 2012-03-14  David S. Miller  <davem@davemloft.net>
36417         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36418         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36419         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36420         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36421         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36422         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36423         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36424         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36425         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36426         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36427         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36428         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36429         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36430         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36431         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36432         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36433         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36434         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36435         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36436         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36437         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36438         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36439         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36440         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36441         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36442         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36443         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36444         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36445         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36446         routines.
36447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36448         file.
36449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36451         file.
36452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36454         file.
36455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36457         file.
36458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36460         file.
36461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36463         file.
36464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36465         file.
36466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36467         file.
36468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36469         file.
36470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36471         New file.
36472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36473         file.
36474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36475         file.
36476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36478         file.
36479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36481         file.
36482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36484         file.
36485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36487         VIS3 routines.
36489         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36490         New file.
36492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36494         * sysdeps/sparc/configure.in: New file.
36495         * sysdeps/sparc/configure: Generate.
36496         * configure.in (libc_cv_sparc_as_vis3): Substitute.
36497         * configure: Regenerate.
36498         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36499         * config.make.in (have-as-vis3): New.
36500         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36501         available use -Av9d instead of -Av9a.
36502         * sysdeps/sparc/sparc64/Makefile: Likewise.
36503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36505         New file.
36506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36507         file.
36508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36509         New file.
36510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36511         file.
36512         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36513         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36514         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36515         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36516         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36518         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36519         fzeros/fnegs to load 0x80000000 into a float register instead of
36520         using the stack.
36521         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36523 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36525         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36526         bits/syscall.h.
36527         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36528         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36529         ($(inst_includedir)/bits/syscall.h): Remove rule.
36530         ($(objpfx)bits/syscall.d): Include instead of
36531         $(objpfx)syscall-list.d.
36532         (generated): Change syscall-list.h and syscall-list.d to
36533         bits/syscall.h and bits/syscall.d.
36535 2012-03-14  Roland McGrath  <roland@hack.frob.com>
36537         [BZ #13846]
36538         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36540 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36542         [BZ #13841]
36543         * math/s_csqrt.c: Include <float.h>.
36544         (__csqrt): Scale large or subnormal inputs.
36545         * math/s_csqrtf.c: Likewise.
36546         * math/s_csqrtl.c: Likewise.
36547         * math/libm-test.inc (csqrt_test): Add more tests.
36548         * sysdeps/i386/fpu/libm-test-ulps: Update.
36549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36551         [BZ #13840]
36552         * math/libm-test.inc (hypot_test): Add more tests.
36554 2012-03-13  David S. Miller  <davem@davemloft.net>
36556         [BZ #13840]
36557         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36558         double-precision for the calculation instead of scaling.
36560 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
36562         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36563         manipulate bits before adding and subtracting TWO52[sx].
36564         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36565         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36566         Likewise.
36567         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36569 2012-03-13  David S. Miller  <davem@davemloft.net>
36571         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36572         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36573         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36574         rtld-global-offsets.h
36575         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36577         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36578         large parameters.
36580         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36582         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36583         'err' in the ifdef scope in which it is actually used.
36585         * nss/nss_db/db-init.c: Include string.h
36587 2012-03-12  David S. Miller  <davem@davemloft.net>
36589         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36590         masking out of the most significant byte of random value used.
36591         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36592         Fix coding style in previous change.
36594         * sysdeps/unix/sysv/linux/kernel-features.h
36595         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36596         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36597         expression.
36598         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36599         later.
36601 2012-03-11  David S. Miller  <davem@davemloft.net>
36603         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36604         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36605         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36606         for 'resultvar' otherwise things get truncated on 64-bit.
36608         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36609         Fix masking out of the most significant byte of random value used.
36611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36613 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
36615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36617 2012-03-09  David S. Miller  <davem@davemloft.net>
36619         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36620         variables with appropriate CPP guards.
36621         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36622         from the frame pointer, not the stack pointer.  Correct layout
36623         comments.  Fix test on resulting framesize and the management of
36624         the outregs buffer for pltexit.  Preserve floating point return
36625         values across _dl_call_pltexit call.
36626         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36627         framesize and the management of the outregs buffer for pltexit.
36628         Preserve floating point return values across _dl_call_pltexit
36629         call.
36630         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36631         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36632         (la_sparc64_gnu_pltexit): New functions.
36633         (print_exit): Fix format string for return register value.
36635 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
36637         * sunrpc/Makefile (others): Add rpcgen.
36638         ($(objpfx)rpcgen): Remove special build rule and dependency on
36639         libc.
36640         * sunrpc/rpcgen.c: New file.
36642 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
36644         [BZ #13673]
36645         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36646         * stdio-common/bug-vfprintf-nargs.c: Likewise.
36647         * sysdeps/i386/crti.S: Likewise.
36648         * sysdeps/i386/crtn.S: Likewise.
36649         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36650         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36651         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36652         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36653         * sysdeps/sh/crti.S: Likewise.
36654         * sysdeps/sh/crtn.S: Likewise.
36655         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36657         [BZ #13673]
36658         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36659         with URL.
36660         * locale/programs/locfile-kw.gperf: Likewise.
36661         * locale/programs/charmap-kw.h: Regenerated.
36662         * locale/programs/locfile-kw.h: Likewise.
36664         [BZ #13673]
36665         * intl/plural.y: Replace FSF snail mail address with URL.
36666         * intl/plural.c: Regenerated.
36668 2012-03-09  Richard Henderson  <rth@twiddle.net>
36670         * include/math_private.h: Remove file.
36671         * math/math_private.h: Move file ...
36672         * sysdeps/generic/math_private.h: ... here.
36674         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36675         * sysdeps/powerpc/fpu/math_private.h: Likewise.
36676         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36678         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36679         and <math_private.h>.
36680         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36681         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36682         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36683         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36684         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36685         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36686         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36687         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36688         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36689         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36690         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36691         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36692         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36693         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36694         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36695         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36696         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36697         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36698         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36699         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36700         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36701         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36702         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36703         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36704         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36705         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36706         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36707         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36708         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36709         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36710         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36711         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36712         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36713         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36714         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36715         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36716         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36717         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36718         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36719         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36720         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36721         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36722         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36723         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36724         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36725         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36726         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36727         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36728         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36729         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36730         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36731         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36732         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36733         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36734         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36735         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36736         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36737         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36738         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36739         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36740         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36741         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36742         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36743         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36744         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36745         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36746         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36747         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36748         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36749         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36750         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36751         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36752         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36753         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36754         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36755         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36756         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36757         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36758         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36759         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36760         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36761         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36762         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36763         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36764         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36765         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36766         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36767         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36768         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36769         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36770         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36771         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36772         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36773         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36774         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36775         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36776         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36777         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36778         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36779         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36780         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36781         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36782         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36783         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36784         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36785         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36786         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36787         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36788         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36789         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36790         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36791         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36792         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36793         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36794         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36795         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36796         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36797         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36798         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36799         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36800         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36801         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36802         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36803         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36804         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36805         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36806         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36807         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36808         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36809         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36810         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36811         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36812         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36813         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36814         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36815         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36816         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36817         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36818         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36819         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36820         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36821         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36822         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36823         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36824         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36825         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36826         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36827         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36828         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36829         * sysdeps/ieee754/k_standard.c: Likewise.
36830         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36831         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36832         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36833         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36834         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36835         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36836         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36837         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36838         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36839         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36840         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36841         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36842         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36843         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36844         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36845         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36846         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36847         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36848         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36849         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36850         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36851         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36852         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36853         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36854         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36855         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36856         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36857         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36858         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36859         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36860         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36861         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36862         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36863         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36864         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36865         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36866         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36867         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36868         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36869         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36870         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36871         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36872         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36873         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36874         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36875         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36876         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36877         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36878         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36879         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36880         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36881         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36882         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36883         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36884         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36885         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36886         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36887         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36888         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36889         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36890         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36891         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36892         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36893         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36894         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36895         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36896         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36897         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36898         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36899         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36900         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36901         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36902         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36903         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36904         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36905         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36906         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36907         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36908         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36909         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36910         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36911         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36912         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36913         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36914         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36915         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36916         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36917         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36918         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36919         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36920         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36921         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36922         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36923         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36924         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36925         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36926         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36927         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36928         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36929         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36930         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36931         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36932         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36933         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36934         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36935         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36936         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36937         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36938         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36939         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36940         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36941         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36942         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36943         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36944         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36945         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36946         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36947         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36948         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36949         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36950         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36951         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36952         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36953         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36954         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36955         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36956         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36957         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36958         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36959         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36960         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36961         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36962         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36963         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36964         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36965         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36966         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36967         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36968         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36969         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36970         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36971         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36972         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36973         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36974         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36975         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36976         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36977         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36978         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36979         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36980         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36981         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36982         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36983         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36984         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36985         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36986         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36987         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36988         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36989         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36990         * sysdeps/ieee754/s_lib_version.c: Likewise.
36991         * sysdeps/ieee754/s_matherr.c: Likewise.
36992         * sysdeps/ieee754/s_signgam.c: Likewise.
36993         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36994         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36995         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36996         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36997         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36998         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36999         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37000         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37001         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37002         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37003         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37004         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37005         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37006         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37007         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37008         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37009         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37010         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37011         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37012         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37013         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37015 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
37017         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37018         * sunrpc/rpc_main.c: Likewise.
37019         * sunrpc/rpc_svcout.c: Likewise.
37021 2012-03-09  David S. Miller  <davem@davemloft.net>
37023         * include/math_private.h: New file.
37025 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
37027         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37028         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37029         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37030         from <bits/socket_type.h>.
37031         (enum __socket_type): Don't define here.
37032         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37033         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37034         bits/socket_type.h.
37036         [BZ #13566]
37037         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37038         checking __USE_GNU.
37040         * Makerules ($(inst_includedir)/%.h): New rule.
37041         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37042         (install-others): Remove variable setting.
37043         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37045 2012-03-08  Richard Henderson  <rth@twiddle.net>
37047         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37048         from macro to inline function; merge with the
37049         !__LIBC_INTERNAL_MATH_INLINES version.
37050         (__ieee754_sqrtf): Likewise.
37052         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37053         to inline function.
37054         (__rintf, __floor, __floorf): Likewise.
37056         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37057         macro to inline function.
37058         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37060         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37061         not <math/math_private.h>.
37063 2012-03-08  David S. Miller  <davem@davemloft.net>
37065         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37066         copyright year.
37067         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37069 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
37071         * resolv/gai_misc.c (handle_requests): Fix struct timespec
37072         normalization.
37073         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37074         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37076 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
37078         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
37079         be defined individually, they must be defined as a block.  Define
37080         S for printing a string instead of hidint the different by using a
37081         macro for adding the 'l'.
37082         * stdio-common/tst-fphex-wide.c: Adjust.
37084 2012-03-07  Marek Polacek  <polacek@redhat.com>
37086         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37088 2012-03-08  Marek Polacek  <polacek@redhat.com>
37090         [BZ #13806]
37091         * stdio-common/Makefile (tests): Add tst-fphex-wide.
37092         * stdio-common/tst-fphex.c: Define a few macros to make the
37093         test reusable.  Use them.
37094         * stdio-common/tst-fphex-wide.c: New file.
37096 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
37098         [BZ #6911]
37099         * manual/macros.texi (gnusystems): New macro.
37100         (nongnusystems): Likewise.
37101         (gnulinuxhurdsystems): Likewise.
37102         (gnuhurdsystems): Likewise..
37103         (gnulinuxsystems): Likewise.
37104         * manual/charset.texi: Use new macros or @theglibc{} to refer to
37105         variants of the GNU system, not "GNU system".
37106         * manual/conf.texi: Likewise.
37107         * manual/errno.texi: Likewise.  Update example of errno macro
37108         expansion.
37109         * manual/filesys.texi: Likewise.
37110         (getumask): Document as specific to GNU/Hurd.
37111         * manual/install.texi: Likewise.  Reword some references to
37112         GNU/Linux.
37113         * manual/intro.texi: Likewise.
37114         * manual/io.texi: Likewise.
37115         (File Name Portability): Detail which constraints are inapplicable
37116         to all GNU systems and which are only inapplicable to GNU/Hurd.
37117         * manual/job.texi: Likewise.
37118         * manual/llio.texi: Likewise.
37119         (O_NOCTTY): Document as present on GNU/Linux.
37120         * manual/maint.texi: Likewise.
37121         * manual/memory.texi: Likewise.
37122         * manual/pattern.texi: Likewise.
37123         * manual/pipe.texi: Likewise.
37124         * manual/process.texi: Likewise.
37125         * manual/resource.texi: Likewise.
37126         (RUSAGE_CHILDREN): Remove statement about specifying a particular
37127         child on GNU/Hurd.
37128         * manual/setjmp.texi: Likewise.
37129         * manual/signal.texi: Likewise.
37130         * manual/startup.texi: Likewise.
37131         * manual/stdio.texi: Likewise.
37132         * manual/terminal.texi: Likewise.
37133         (ONLCR): Document as POSIX.
37134         (OXTABS): Document availability on GNU/Linux as XTABS.
37135         (ONOEOT): Document availability separately from other bits.
37136         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37137         * manual/time.texi: Likewise.
37138         * manual/users.texi: Likewise.
37139         * INSTALL: Regenerated.
37140         * sysdeps/gnu/errlist.c: Regenerated.
37142         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37143         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37144         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
37145         puts.
37146         * configure: Regenerated.
37148 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
37150         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37151         default includes instead of AC_HEADER_CHECK.
37152         * sysdeps/i386/configure: Regenerated.
37154         [BZ #10716]
37155         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37156         * math/s_cacoshf.c (__cacoshf): Likewise.
37157         * math/s_cacoshl.c (__cacoshl): Likewise.
37158         * math/s_casinh.c (__casinh): Set signs of result from argument.
37159         * math/s_casinhf.c (__casinhf): Likewise.
37160         * math/s_casinhl.c (__casinhl): Likewise.
37161         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37162         (casinh_test): Add more tests.
37163         * sysdeps/i386/fpu/libm-test-ulps: Update.
37164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37166 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
37168         * po/zh_TW.po: Update from translation team.
37170         * login/Makefile (distribute): Remove variable.
37171         * catgets/Makefile: Likewise.
37172         * mach/Makefile: Likewise.
37173         * malloc/Makefile: Likewise.
37174         * misc/Makefile: Likewise.
37175         * iconv/Makefile: Likewise.
37176         * nscd/Makefile: Likewise.
37177         * hurd/Makefile: Likewise.
37178         * manual/Makefile: Likewise.
37179         * locale/Makefile: Likewise.
37180         * intl/Makefile: Likewise.
37181         * conform/Makefile: Likewise.
37182         * nss/Makefile: Likewise.
37183         * time/Makefile: Likewise.
37184         * soft-fp/Makefile: Likewise.
37185         * dirent/Makefile: Likewise.
37186         * gmon/Makefile: Likewise.
37187         * po/Makefile: Likewise.
37188         * rt/Makefile: Likewise.
37189         * socket/Makefile: Likewise.
37190         * math/Makefile: Likewise.
37191         * signal/Makefile: Likewise.
37192         * debug/Makefile: Likewise.
37193         * elf/Makefile: Likewise.
37194         * timezone/Makefile: Likewise.
37195         * stdlib/Makefile: Likewise.
37196         * iconvdata/Makefile: Likewise.
37197         * sunrpc/Makefile: Likewise.
37198         * io/Makefile: Likewise.
37199         * argp/Makefile: Likewise.
37200         * inet/Makefile: Likewise.
37201         * hesiod/Makefile: Likewise.
37202         * grp/Makefile: Likewise.
37203         * csu/Makefile: Likewise.
37204         * wctype/Makefile: Likewise.
37205         * crypt/Makefile: Likewise.
37206         * libio/Makefile: Likewise.
37207         * string/Makefile: Likewise.
37208         * nis/Makefile: Likewise.
37209         * resolv/Makefile: Likewise.
37210         * stdio-common/Makefile: Likewise.
37211         * wcsmbs/Makefile: Likewise.
37212         * dlfcn/Makefile: Likewise.
37213         * posix/Makefile: Likewise.
37215         [BZ #6959]
37216         * timezone/Makefile: Don't install timezone files, just the programs
37217         and scripts.
37219 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
37221         * nss/databases.def: Add missing gshadow entry.
37223         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
37225 2012-03-06  Marek Polacek  <polacek@redhat.com>
37227         [BZ #13726]
37228         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37229         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37230         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37231         * stdio-common/tst-long-dbl-fphex.c: New file.
37233 2012-03-06  David S. Miller  <davem@davemloft.net>
37235         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37236         (set_obp_int): New function.
37237         (get_obp_int): New function.
37238         (__get_clockfreq_via_dev_openprom): Likewise.
37239         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37240         Avoid unused variable warnings on 'val' and use builtin_expect.
37241         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37242         __builtin_expect.
37243         (INLINE_CLONE_SYSCALL): Likewise.
37245 2012-03-05  David S. Miller  <davem@davemloft.net>
37247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37249 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
37251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37253         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37254         only for |x| >= 40.
37255         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37257 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37259         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37260         Replace gettimeofday with __vdso_gettimeofday.
37262         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37263         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37264         __vdso_clock_gettime and __vdso_getcpu.
37266         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37267         time with __vdso_time.
37269 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37271         * manual/lang.texi (size_t): Note types to which size_t may be
37272         equivalent with the GNU C Library, but do not describe when
37273         differences between them are significant.
37275 2012-03-05  Andreas Jaeger  <aj@suse.de>
37277         * sysdeps/i386/fpu/libm-test-ulps: Update.
37279 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37281         [BZ #3976]
37282         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37283         (__ieee754_pow): Save and restore rounding mode and use
37284         round-to-nearest for main computations.
37285         * math/libm-test.inc (pow_test_tonearest): New function.
37286         (pow_test_towardzero): Likewise.
37287         (pow_test_downward): Likewise.
37288         (pow_test_upward): Likewise.
37289         (main): Call the new functions.
37290         * sysdeps/i386/fpu/libm-test-ulps: Update.
37291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37293         [BZ #3976]
37294         * math/libm-test.inc (cosh_test_tonearest): New function.
37295         (cosh_test_towardzero): Likewise.
37296         (cosh_test_downward): Likewise.
37297         (cosh_test_upward): Likewise.
37298         (sinh_test_tonearest): Likewise.
37299         (sinh_test_towardzero): Likewise.
37300         (sinh_test_downward): Likewise.
37301         (sinh_test_upward): Likewise.
37302         (main): Call the new functions.
37303         * sysdeps/i386/fpu/libm-test-ulps: Update.
37304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37306 2012-03-05  Tom de Vries  <tom@codesourcery.com>
37308         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37309         default stack guard is set in last bytes.
37310         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37312 2012-03-05  Kees Cook  <keescook@chromium.org>
37314         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37316         [BZ #13656]
37317         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37318         possibly allocate from heap instead of stack.
37319         * stdio-common/bug-vfprintf-nargs.c: New file.
37320         * stdio-common/Makefile (tests): Add nargs overflow test.
37322 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
37324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37326 2012-03-03  Marek Polacek  <polacek@redhat.com>
37328         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37329         * math/math_private.h: Likewise.
37330         * stdlib/tst-strtod.c: Likewise.
37331         * sysdeps/i386/i486/bits/atomic.h: Likewise.
37332         * sysdeps/x86_64/bits/atomic.h: Likewise.
37334 2012-03-02  David S. Miller  <davem@davemloft.net>
37336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37340         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37341         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37342         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37343         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37345 2012-03-02  Roland McGrath  <roland@hack.frob.com>
37347         [BZ #13792]
37348         * manual/examples/README: New file, says the example source files
37349         can be used under GPL>=2.
37350         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37351         line containing just "*/".
37352         * manual/examples/add.c: Add copyright header (GPL>=2).
37353         * manual/examples/argp-ex1.c: Likewise.
37354         * manual/examples/argp-ex2.c: Likewise.
37355         * manual/examples/argp-ex3.c: Likewise.
37356         * manual/examples/argp-ex4.c: Likewise.
37357         * manual/examples/atexit.c: Likewise.
37358         * manual/examples/db.c: Likewise.
37359         * manual/examples/dir.c: Likewise.
37360         * manual/examples/dir2.c: Likewise.
37361         * manual/examples/execinfo.c: Likewise.
37362         * manual/examples/filecli.c: Likewise.
37363         * manual/examples/filesrv.c: Likewise.
37364         * manual/examples/fmtmsgexpl.c: Likewise.
37365         * manual/examples/genpass.c: Likewise.
37366         * manual/examples/inetcli.c: Likewise.
37367         * manual/examples/inetsrv.c: Likewise.
37368         * manual/examples/isockad.c: Likewise.
37369         * manual/examples/longopt.c: Likewise.
37370         * manual/examples/memopen.c: Likewise.
37371         * manual/examples/memstrm.c: Likewise.
37372         * manual/examples/mkfsock.c: Likewise.
37373         * manual/examples/mkisock.c: Likewise.
37374         * manual/examples/mygetpass.c: Likewise.
37375         * manual/examples/pipe.c: Likewise.
37376         * manual/examples/popen.c: Likewise.
37377         * manual/examples/rprintf.c: Likewise.
37378         * manual/examples/search.c: Likewise.
37379         * manual/examples/select.c: Likewise.
37380         * manual/examples/setjmp.c: Likewise.
37381         * manual/examples/sigh1.c: Likewise.
37382         * manual/examples/sigusr.c: Likewise.
37383         * manual/examples/stpcpy.c: Likewise.
37384         * manual/examples/strdupa.c: Likewise.
37385         * manual/examples/strftim.c: Likewise.
37386         * manual/examples/strncat.c: Likewise.
37387         * manual/examples/subopt.c: Likewise.
37388         * manual/examples/swapcontext.c: Likewise.
37389         * manual/examples/termios.c: Likewise.
37390         * manual/examples/testopt.c: Likewise.
37391         * manual/examples/testpass.c: Likewise.
37392         * manual/examples/timeval_subtract.c: Likewise.
37394         [BZ #13792]
37395         * manual/time.texi (Elapsed Time): Move timeval_subtract example
37396         function to ...
37397         * manual/timeval_subtract.c.texi: ... here, new file.
37399 2012-03-02  David S. Miller  <davem@davemloft.net>
37401         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37403 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
37405         [BZ #3976]
37406         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37407         (__sin): Save and restore rounding mode and use round-to-nearest
37408         for all computations.
37409         (__cos): Save and restore rounding mode and use round-to-nearest
37410         for all computations.
37411         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37412         <fenv.h>.
37413         (tan): Save and restore rounding mode and use round-to-nearest for
37414         all computations.
37415         * math/libm-test.inc (cos_test_tonearest): New function.
37416         (cos_test_towardzero): Likewise.
37417         (cos_test_downward): Likewise.
37418         (cos_test_upward): Likewise.
37419         (sin_test_tonearest): Likewise.
37420         (sin_test_towardzero): Likewise.
37421         (sin_test_downward): Likewise.
37422         (sin_test_upward): Likewise.
37423         (tan_test_tonearest): Likewise.
37424         (tan_test_towardzero): Likewise.
37425         (tan_test_downward): Likewise.
37426         (tan_test_upward): Likewise.
37427         (main): Call the new functions.
37428         * sysdeps/i386/fpu/libm-test-ulps: Update.
37429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37431         [BZ #10135]
37432         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37433         small n, then large n, before computing and testing k+n.
37434         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37435         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37436         Likewise.
37437         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37438         Likewise.
37439         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37440         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37441         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37442         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37443         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37444         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37445         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37446         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37447         * math/libm-test.inc (scalbn_test): Add more tests.
37448         (scalbln_test): Likewise.
37450         * manual/filesys.texi (mode_t): Describe constraints on size and
37451         signedness, not exact equivalence to a particular type.
37452         (ino_t): Likewise.
37453         (ino64_t): Likewise.
37454         (dev_t): Likewise.
37455         (nlink_t): Likewise.
37456         (blkcnt_t): Likewise.
37457         (blkcnt64_t): Likewise.
37458         * manual/llio.texi (off_t): Likewise.
37460         [BZ #3976]
37461         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37462         (__ieee754_exp): Save and restore rounding mode and use
37463         round-to-nearest for all computations.
37464         * math/libm-test.inc (exp_test_tonearest): New function.
37465         (exp_test_towardzero): Likewise.
37466         (exp_test_downward): Likewise.
37467         (exp_test_upward): Likewise.
37468         (main): Call the new functions.
37469         * sysdeps/i386/fpu/libm-test-ulps: Update.
37470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37472 2012-03-01  Chris Demetriou  <cgd@google.com>
37474         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37475         have predictable order.
37477 2012-03-01  David S. Miller  <davem@davemloft.net>
37479         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37481         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37482         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37483         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37484         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37486         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37487         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37488         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37490         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37491         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37492         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37493         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37494         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37498         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37499         * sysdeps/sparc/fpu/libm-test-ulps: to here.
37500         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37502         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37503         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37504         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37505         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37506         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37507         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37508         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37509         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37510         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37511         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37512         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37513         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37514         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37515         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37516         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37517         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37518         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37519         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37520         * sysdeps/sparc/elf/configure: Regenerated.
37522 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
37524         * configure.in (AS, LD): Require binutils 2.20 or later.
37525         * configure: Regenerated.
37526         * manual/install.texi (Tools for Compilation): Give binutils 2.20
37527         as required minimum version.
37528         * INSTALL: Regenerated.
37530         [BZ #2541]
37531         [BZ #4108]
37532         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37533         before squaring exponent.
37534         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37535         bottom long double and 27 bits of top long double before squaring
37536         exponent.
37537         * math/libm-test.inc (erfc_test): Add more tests.
37538         * sysdeps/i386/fpu/libm-test-ulps: Update.
37539         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37542 2012-03-01  Kai Tietz  <ktietz@redhat.com>
37544         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37545         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37546         containing bit-fields.
37547         * soft-fp/extended.h (_FP_UNION_E): Likewise.
37548         * soft-fp/single.h (_FP_UNION_S): Likewise.
37549         * soft-fp/double.h (_FP_UNION_D): Likewise.
37551 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37553         [BZ #13786]
37554         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37555         not include ../strcmp.S.
37556         [USE_AS_STRNCASECMP_L]: Likewise.
37557         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37558         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37559         * sysdeps/i386/i686/multiarch/strncase_l-c.c
37560         (__strncasecmp_l_ia32): Define as alias to
37561         __strncasecmp_l_nonascii.
37563         [BZ #5794]
37564         * math/libm-test.inc (expm1_test): Add test for bug 5794.
37565         * sysdeps/i386/fpu/libm-test-ulps: Update.
37566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37568         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37571 2012-02-29  Jeff Law  <law@redhat.com>
37573         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37574         out of bounds read.
37576 2012-02-29  Marek Polacek  <polacek@redhat.com>
37578         [BZ #13706]
37579         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37580         * elf/Makefile: Add rules to run tst-unused-dep.out.
37582 2012-02-28  David S. Miller  <davem@davemloft.net>
37584         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37585         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37586         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37587         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37588         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37589         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37591 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37593         * math/libm-test.inc (llround_test): Move one test from
37594         lround_test.  Use TEST_f_L in moved test.
37595         (lround_test): Move misplaced test to llround_test.  Add testcase
37596         from bug 2561.
37598 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
37600         * sysdeps/x86_64/fpu/e_expf.S: New file.
37601         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37603 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
37605         [BZ #13637]
37606         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37607         of remain_len that may cause incomplete multi-byte character and
37608         false match.
37609         * posix/bug-regex33.c: New file.
37610         * posix/Makefile (tests): Add bug-regex33.
37612 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
37614         * manual/macros.texi: New file.
37615         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37616         * manual/libc.texinfo: Include macros.texi.
37617         * manual/creatute.texi: Likewise.
37618         * manual/install.texi: Likewise.
37619         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37620         @glibcadj{} in references to the GNU C Library.
37621         * manual/charset.texi: Likewise.
37622         * manual/conf.texi: Likewise.
37623         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
37624         when not using those macros.
37625         * manual/creature.texi: Likewise.
37626         * manual/crypt.texi: Likewise.
37627         * manual/errno.texi: Likewise.
37628         * manual/filesys.texi: Likewise.
37629         * manual/header.texi: Likewise.
37630         * manual/install.texi: Likewise.
37631         * manual/intro.texi: Likewise.
37632         * manual/io.texi: Likewise.
37633         * manual/job.texi: Likewise.
37634         * manual/lang.texi: Likewise.
37635         * manual/libc.texiinfo: Likewise.
37636         * manual/llio.texi: Likewise.
37637         * manual/locale.texi: Likewise.
37638         * manual/maint.texi: Likewise.
37639         * manual/math.texi: Likewise.
37640         * manual/memory.texi: Likewise.
37641         * manual/message.texi: Likewise.
37642         * manual/nss.texi: Likewise.
37643         * manual/pattern.texi: Likewise.
37644         * manual/process.texi: Likewise.
37645         * manual/resource.texi: Likewise.
37646         * manual/search.texi: Likewise.
37647         * manual/setjmp.texi: Likewise.
37648         * manual/signal.texi: Likewise.
37649         * manual/socket.texi: Likewise.
37650         * manual/startup.texi: Likewise.
37651         * manual/stdio.texi: Likewise.
37652         * manual/string.texi: Likewise.
37653         * manual/sysinfo.texi: Likewise.
37654         * manual/syslog.texi: Likewise.
37655         * manual/terminal.texi: Likewise.
37656         * manual/time.texi: Likewise.
37657         * manual/users.texi: Likewise.
37658         * INSTALL: Regenerated.
37659         * NOTES: Regenerated.
37660         * sysdeps/gnu/errlist.c: Regenerated.
37662 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
37664         * include/dirent.h: Include <dirstream.h> before
37665         <dirent/dirent.h>.
37667 2012-02-28  David S. Miller  <davem@davemloft.net>
37669         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37670         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37671         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37672         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37674 2012-02-27  David S. Miller  <davem@davemloft.net>
37676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37678         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37679         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37682         frame pointer instead of stack pointer relative arg slot.
37683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37684         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37685         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37687 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
37689         [BZ #3992]
37690         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37692 2012-02-27  David S. Miller  <davem@davemloft.net>
37694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37698         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37699         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37700         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37701         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37703 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37705         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37706         later.  Allow versions 5-9.
37707         * configure: Regenerated.
37708         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37709         required minimum version and 4.6 as recommended version.  Do not
37710         mention bugs in GCC 2.7 and 2.8.
37711         * INSTALL: Regenerated.
37713 2012-02-27  David S. Miller  <davem@davemloft.net>
37715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37719         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37720         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37721         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37722         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37724         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37725         manipulate bits before adding and subtracting TWO112[sx].
37726         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37728 2012-02-27  Roland McGrath  <roland@hack.frob.com>
37730         [BZ #13775]
37731         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37732         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37733         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37734         being in POSIX, because they are in 1003.1-2008.
37736         * rt/tst-aio.c: Include <fcntl.h>.
37737         * rt/tst-aio7.c: Likewise.
37738         * rt/tst-aio64.c: Likewise.
37740         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37742 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37744         * manual/install.texi (--with-headers): Describe headers as
37745         interface headers, not private headers.
37746         (Specific advice for GNU/Linux systems): Describe use of headers
37747         from "make headers_install", not private headers from older
37748         kernels.
37749         * INSTALL: Regenerated.
37750         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37751         Change to 2.6.19.
37752         * sysdeps/unix/sysv/linux/configure: Regenerated.
37754         * manual/llio.texi (fclean): Remove documentation.
37756         * manual/Makefile (libc-texi-generated): New variable.  Include
37757         version.texi.
37758         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37759         $(libc-texi-generated), not duplicated list of files.
37760         (version.texi, stamp-version): New rules.
37761         (realclean): Remove $(libc-texi-generated), not individual files
37762         from that list.  Do not remove dir-add.texinfo.
37763         * manual/libc.texinfo: Comment out uses of edition numbers and
37764         references to printed manual.  Remove last-updated dates.
37765         (EDITION): Comment out.
37766         (ISBN): Likewise.
37767         (VERSION, UPDATED): Remove.
37768         (version.texi): Include.
37770 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
37772         * sysdeps/posix/spawni.c: Include <signal.h>.
37773         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37774         * sysdeps/pthread/aio_fsync.c: Likewise.
37776 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
37778         * conform/Makefile (tests): Run only when not cross-compiling and
37779         when fast-check is not defined.
37781         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37782         * conform/data/limits.h-data: Fixes for POSIX2008.
37783         * conform/run-conformtest.sh: Run all tests.
37784         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37785         headers.
37786         * include/bits/dlfcn.h: Likewise.
37787         * include/langinfo.h: Likewise.
37788         * include/monetary.h: Likewise.
37789         * include/sys/poll.h: Likewise.
37791         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37792         for __USE_GNU.
37793         * posix/spawn.h: Define __need_sigset_t.
37794         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37795         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37796         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
37797         to get sigevent_t only.
37798         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37799         only for __USE_GNU.
37800         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37801         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37802         process_vm_writev only for __USE_GNU.
37803         * termios/termios.h: Declare tcgetsid also for POSIX2008.
37805         * conform/Makefile: For now ignore errors from run-conformtest.
37806         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
37807         POSIX to avoid namespace pollution.  Don't prepend headers.
37808         * conform/data/aio.h-data: Fixes for POSIX testing.
37809         * conform/data/fcntl.h-data: Likewise.
37810         * conform/data/glob.h-data: Likewise.
37811         * conform/data/grp.h-data: Likewise.
37812         * conform/data/pthread.h-data: Likewise.
37813         * conform/data/pwd.h-data: Likewise.
37814         * conform/data/signal.h-data: Likewise.
37815         * conform/data/spawn.h-data: Likewise.
37816         * conform/data/stdio.h-data: Likewise.
37817         * conform/data/stdlib.h-data: Likewise.
37818         * conform/data/stropts.h-data: Likewise.
37819         * conform/data/sys/mman.h-data: Likewise.
37820         * conform/data/sys/stat.h-data: Likewise.
37821         * conform/data/sys/types.h-data: Likewise.
37822         * conform/data/sys/wait.h-data: Likewise.
37823         * conform/data/time.h-data: Likewise.
37824         * conform/data/unistd.h-data: Likewise.
37825         * conform/data/utime.h-data: Likewise.
37827         * io/sys/stat.h: fchmod was always in POSIX.
37828         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37829         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37830         * rt/aio.h: Define __need_timespec before including <time.h>.
37831         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37832         struct.  Add forward declaration of pthread_attr_t and use it in
37833         sigevent.
37834         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37835         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37836         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37837         always remove CLK_TCK definition.
37839 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
37841         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37843 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
37845         * conform/run-conformtest.sh: New file.
37846         * conform/Makefile: Run run-conformtest for tests.
37847         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
37848         support.
37850         * conform/data/uchar.h-data: New file.
37851         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37852         * conform/data/arpa/inet.h-data: Likewise.
37853         * conform/data/assert.h-data: Likewise.
37854         * conform/data/complex.h-data: Likewise.
37855         * conform/data/cpio.h-data: Likewise.
37856         * conform/data/ctype.h-data: Likewise.
37857         * conform/data/dirent.h-data: Likewise.
37858         * conform/data/dlfcn.h-data: Likewise.
37859         * conform/data/errno.h-data: Likewise.
37860         * conform/data/fcntl.h-data: Likewise.
37861         * conform/data/float.h-data: Likewise.
37862         * conform/data/fmtmsg.h-data: Likewise.
37863         * conform/data/fnmatch.h-data: Likewise.
37864         * conform/data/ftw.h-data: Likewise.
37865         * conform/data/glob.h-data: Likewise.
37866         * conform/data/grp.h-data: Likewise.
37867         * conform/data/iconv.h-data: Likewise.
37868         * conform/data/inttypes.h-data: Likewise.
37869         * conform/data/langinfo.h-data: Likewise.
37870         * conform/data/libgen.h-data: Likewise.
37871         * conform/data/limits.h-data: Likewise.
37872         * conform/data/locale.h-data: Likewise.
37873         * conform/data/math.h-data: Likewise.
37874         * conform/data/monetary.h-data: Likewise.
37875         * conform/data/mqueue.h-data: Likewise.
37876         * conform/data/ndbm.h-data: Likewise.
37877         * conform/data/net/if.h-data: Likewise.
37878         * conform/data/netdb.h-data: Likewise.
37879         * conform/data/netinet/in.h-data: Likewise.
37880         * conform/data/nl_types.h-data: Likewise.
37881         * conform/data/poll.h-data: Likewise.
37882         * conform/data/pthread.h-data: Likewise.
37883         * conform/data/pwd.h-data: Likewise.
37884         * conform/data/regex.h-data: Likewise.
37885         * conform/data/sched.h-data: Likewise.
37886         * conform/data/search.h-data: Likewise.
37887         * conform/data/semaphore.h-data: Likewise.
37888         * conform/data/setjmp.h-data: Likewise.
37889         * conform/data/signal.h-data: Likewise.
37890         * conform/data/spawn.h-data: Likewise.
37891         * conform/data/stdarg.h-data: Likewise.
37892         * conform/data/stdio.h-data: Likewise.
37893         * conform/data/stdlib.h-data: Likewise.
37894         * conform/data/string.h-data: Likewise.
37895         * conform/data/strings.h-data: Likewise.
37896         * conform/data/stropts.h-data: Likewise.
37897         * conform/data/sys/ipc.h-data: Likewise.
37898         * conform/data/sys/mman.h-data: Likewise.
37899         * conform/data/sys/msg.h-data: Likewise.
37900         * conform/data/sys/resource.h-data: Likewise.
37901         * conform/data/sys/select.h-data: Likewise.
37902         * conform/data/sys/sem.h-data: Likewise.
37903         * conform/data/sys/shm.h-data: Likewise.
37904         * conform/data/sys/socket.h-data: Likewise.
37905         * conform/data/sys/stat.h-data: Likewise.
37906         * conform/data/sys/statvfs.h-data: Likewise.
37907         * conform/data/sys/time.h-data: Likewise.
37908         * conform/data/sys/timeb.h-data: Likewise.
37909         * conform/data/sys/times.h-data: Likewise.
37910         * conform/data/sys/types.h-data: Likewise.
37911         * conform/data/sys/uio.h-data: Likewise.
37912         * conform/data/sys/un.h-data: Likewise.
37913         * conform/data/sys/utsname.h-data: Likewise.
37914         * conform/data/sys/wait.h-data: Likewise.
37915         * conform/data/syslog.h-data: Likewise.
37916         * conform/data/tar.h-data: Likewise.
37917         * conform/data/termios.h-data: Likewise.
37918         * conform/data/utime.h-data: Likewise.
37919         * conform/data/utmpx.h-data: Likewise.
37920         * conform/data/varargs.h-data: Likewise.
37921         * conform/data/wchar.h-data: Likewise.
37922         * conform/data/wctype.h-data: Likewise.
37923         * conform/data/wordexp.h-data: Likewise.
37925         * include/stropts.h: New file.
37926         * include/uchar.h: New file.
37927         * include/aio.h: Changes to allow conformtest.pl to use the headers.
37928         * include/assert.h: Likewise.
37929         * include/ctype.h: Likewise.
37930         * include/dirent.h: Likewise.
37931         * include/dlfcn.h: Likewise.
37932         * include/fcntl.h: Likewise.
37933         * include/fnmatch.h: Likewise.
37934         * include/glob.h: Likewise.
37935         * include/grp.h: Likewise.
37936         * include/libio.h: Likewise.
37937         * include/locale.h: Likewise.
37938         * include/math.h: Likewise.
37939         * include/net/if.h: Likewise.
37940         * include/netdb.h: Likewise.
37941         * include/netinet/in.h: Likewise.
37942         * include/pthread.h: Likewise.
37943         * include/pwd.h: Likewise.
37944         * include/regex.h: Likewise.
37945         * include/sched.h: Likewise.
37946         * include/search.h: Likewise.
37947         * include/setjmp.h: Likewise.
37948         * include/signal.h: Likewise.
37949         * include/stdio.h: Likewise.
37950         * include/stdlib.h: Likewise.
37951         * include/string.h: Likewise.
37952         * include/sys/cdefs.h: Likewise.
37953         * include/sys/mman.h: Likewise.
37954         * include/sys/msg.h: Likewise.
37955         * include/sys/resource.h: Likewise.
37956         * include/sys/select.h: Likewise.
37957         * include/sys/socket.h: Likewise.
37958         * include/sys/stat.h: Likewise.
37959         * include/sys/statvfs.h: Likewise.
37960         * include/sys/time.h: Likewise.
37961         * include/sys/times.h: Likewise.
37962         * include/sys/uio.h: Likewise.
37963         * include/sys/utsname.h: Likewise.
37964         * include/sys/wait.h: Likewise.
37965         * include/termios.h: Likewise.
37966         * include/time.h: Likewise.
37967         * include/ulimit.h: Likewise.
37968         * include/unistd.h: Likewise.
37969         * include/utime.h: Likewise.
37970         * include/wchar.h: Likewise.
37971         * include/wctype.h: Likewise.
37972         * include/wordexp.h: Likewise.
37974         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37976         * time/time.h: TIME_UTC must be a macro.
37977         Make timespec_get available for ISO C11 only as well.
37979 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
37981         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37982         Reported by Peng Haitao <penght@cn.fujitsu.com>.
37984 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37986         * configure.in: Use -o not -a in test for unsupported multi-arch.
37988 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37990         * manual/texinfo.tex: Update to version 2012-01-19.16.
37992 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37994         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37996 2012-02-24  Roland McGrath  <roland@hack.frob.com>
37998         [BZ #13738]
37999         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38000         * manual/fdl-1.3.texi: New file.
38001         * manual/fdl-1.1.texi: File removed.
38003         [BZ #13738]
38004         * manual/libc.texinfo (FDL_VERSION): New @set.
38005         Use it for mention of FDL in cover text.
38006         (Documentation License): Use it in @include file name.
38008 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38009             Roland McGrath  <roland@hack.frob.com>
38011         [BZ #5461]
38012         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38013         (not LONG_LONG_MAX and LONG_LONG_MIN.
38014         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38015         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
38016         name.
38017         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38019 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38021         [BZ #2547]
38022         [BZ #11365]
38023         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38024         manipulate bits before adding and subtracting TWO23[sx].
38025         * math/libm-test.inc (nearbyint_test): Add more tests.
38027 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38029         [BZ #2548]
38030         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38031         bits before adding and subtracting TWO23[sx].
38032         * math/libm-test.inc (rint_test): Add more tests.
38033         (rint_test_tonearest): Likewise.
38034         (rint_test_towardzero): Likewise.
38035         (rint_test_downward): Likewise.
38036         (rint_test_upward: Likewise.
38038 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38040         [BZ #10110]
38041         * include/stdc-predef.h: New file.  Extracted from features.h.
38042         * include/features.h: Include stdc-predef.h.
38043         * Makefile (headers): Add stdc-predef.h.
38044         * CONFORMANCE (Compiler limitations): Update.
38046 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38048         * manual/libc.texinfo (VERSION, UPDATED): Revert.
38050 2012-02-21  David S. Miller  <davem@davemloft.net>
38052         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38053         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38055 2012-02-20  David S. Miller  <davem@davemloft.net>
38057         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38058         using a normal save/restore sequence, rather than allocating a
38059         dummy stack frame just to store a frame pointer and restore.
38060         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38062 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38064         * manual/install.texi: Fix stray word in line-wrapped comment.
38066 2012-02-20  David S. Miller  <davem@davemloft.net>
38068         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38069         both binutils and gcc support GOTDATA.
38071         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38072         "rd %pc" in the PIC register setup sequences.
38074         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38075         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38076         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38077         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38078         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38079         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38080         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38081         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38082         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38083         (SYSCALL_ERROR_HANDLER): Likewise.
38084         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38085         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38086         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38087         (SYSCALL_ERROR_HANDLER): Likewise.
38089         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38090         (HAVE_GCC_GOTDATA): New.
38091         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38092         relocation support in both binutils and gcc.
38093         * sysdeps/sparc/elf/configure: Regenerate.
38095         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38096         * sysdeps/sparc/sparc32/elf/configure: Delete.
38097         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38098         * sysdeps/sparc/sparc64/elf/configure: Delete.
38099         * sysdeps/sparc/elf/configure.in: New file.
38100         * sysdeps/sparc/elf/configure: Generate.
38102         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38103         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38104         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38105         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38106         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38108 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38110         * manual/install.texi: Do not mention specific glibc version
38111         numbers.
38112         * manual/libc.texinfo (VERSION, UPDATED): Update.
38113         (@copying): Use @copyright{} and range of years.
38115 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38117         [BZ #13695]
38118         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38119         [crti.S not in sysdirs] (generated): Do not append.
38120         [crti.S not in sysdirs] (omit-deps): Likewise.
38121         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38122         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38123         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38124         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38125         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38126         Likewise.
38127         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38128         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38129         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38130         * csu/defs.awk: Remove file.
38131         * sysdeps/generic/initfini.c: Likewise.
38132         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38133         variable.
38134         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38135         Likewise.
38137 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38139         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38140         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38141         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38142         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38143         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38144         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38145         <bits/epoll.h>.
38146         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38147         (__EPOLL_PACKED): Define to empty if not defined by
38148         <bits/epoll.h>.
38149         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38150         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38151         bits/epoll.h.
38153 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38155         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38156         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38157         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38158         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38159         <bits/timerfd.h>.
38160         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38161         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38162         bits/timerfd.h.
38164 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38166         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38167         in C locale.
38168         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38169         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38170         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38173 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
38175         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38176         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38178 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
38180         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38181         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38182         defined.
38183         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38184         Likewise.
38185         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38186         entry for 2.16.
38188 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
38190         * math/w_acos.c: Use non-signaling floating-point comparisons.
38191         * math/w_acosf.c: Likewise.
38192         * math/w_acosh.c: Likewise.
38193         * math/w_acoshf.c: Likewise.
38194         * math/w_acoshl.c: Likewise.
38195         * math/w_acosl.c: Likewise.
38196         * math/w_asin.c: Likewise.
38197         * math/w_asinf.c: Likewise.
38198         * math/w_asinl.c: Likewise.
38199         * math/w_atanh.c: Likewise.
38200         * math/w_atanhf.c: Likewise.
38201         * math/w_atanhl.c: Likewise.
38202         * math/w_exp2.c: Likewise.
38203         * math/w_exp2f.c: Likewise.
38204         * math/w_exp2l.c: Likewise.
38205         * math/w_j0.c: Likewise.
38206         * math/w_j0f.c: Likewise.
38207         * math/w_j0l.c: Likewise.
38208         * math/w_j1.c: Likewise.
38209         * math/w_j1f.c: Likewise.
38210         * math/w_j1l.c: Likewise.
38211         * math/w_jn.c: Likewise.
38212         * math/w_jnf.c: Likewise.
38213         * math/w_log.c: Likewise.
38214         * math/w_log10.c: Likewise.
38215         * math/w_log10f.c: Likewise.
38216         * math/w_log10l.c: Likewise.
38217         * math/w_log2.c: Likewise.
38218         * math/w_log2f.c: Likewise.
38219         * math/w_log2l.c: Likewise.
38220         * math/w_logf.c: Likewise.
38221         * math/w_logl.c: Likewise.
38222         * math/w_sqrt.c: Likewise.
38223         * math/w_sqrtf.c: Likewise.
38224         * math/w_sqrtl.c: Likewise.
38225         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38226         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38227         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38228         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38229         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38231 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38233         [BZ #9739]
38234         * manual/string.texi (strnlen): Use correct parameter name in
38235         equivalent expression.
38237 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38239         [BZ #11174]
38240         * manual/users.texi (seteuid): Consistently use neweuid for
38241         argument name.
38243 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38245         [BZ #13704]
38246         * manual/nss.texi (Services in the NSS configuration): Correct
38247         list of services in example configuration file.
38249 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
38251         [BZ #11322]
38252         * manual/arith.texi: Remove statements about negative zero
38253         behaving identically to zero.
38255 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38257         [BZ #5993]
38258         * manual/install.texi: Do not document upgrading from libc5.
38260 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38262         [BZ #4596]
38263         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38265 2012-02-18  David S. Miller  <davem@davemloft.net>
38267         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38268         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38269         %o7 across the call.
38270         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38271         instead.
38272         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38273         SETUP_PIC_REG_LEAF.
38274         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38275         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38276         * sysdeps/sparc/crtn.S: Likewise.
38278 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
38280         * aout/Makefile: Remove.
38282 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
38284         [BZ #13058]
38285         * manual/examples/argp-ex1.c (main): Format definition in GNU
38286         style.
38287         * manual/examples/argp-ex2.c (main): Likewise.
38288         * manual/examples/argp-ex3.c (main): Likewise.
38289         * manual/examples/argp-ex4.c (main): Likewise.
38290         * manual/examples/longopt.c (main): Use new-style prototype
38291         definition.
38292         * manual/examples/strncat.c (main): Specify return type and use
38293         (void) for arguments.
38294         * manual/examples/subopt.c (main): Use char **argv argument.
38296 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38298         [BZ #5077]
38299         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38300         rounding modes.
38302 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
38304         [BZ #6907]
38305         * manual/string.texi (strchr): Change when strchrnul is
38306         recommended.
38308 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
38310         [BZ #174]
38311         * manual/locale.texi (setlocale): Document LOCPATH.
38313 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38315         [BZ #10210]
38316         * manual/process.texi (execle): Move @dots{} before last argument.
38318 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
38320         [BZ #12047]
38321         * manual/charset.texi (Generic Charset Conversion): Fix typo
38322         (LC_TYPE -> LC_CTYPE).
38324 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
38326         [BZ #5805]
38327         * manual/arith.texi (scalbn): Use @var{} on parameter names.
38328         (scalbnf): Likewise.
38329         (scalbnl): Likewise.
38330         (scalbln): Likewise.
38331         (scalblnf): Likewise.
38332         (scalblnl): Likewise.
38333         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38334         (vwarnx): Likewise.
38335         (verr): Likewise.
38336         (verrx): Likewise.
38337         * manual/filesys.texi (telldir): Use braces around return type.
38338         * manual/llio.texi (mmap): Add space after comma.
38339         (mmap64): Likewise.
38340         * manual/math.texi (jn): Use @var{} on parameter names.
38341         (jnf): Likewise.
38342         (jnl): Likewise.
38343         (yn): Likewise.
38344         (ynf): Likewise.
38345         (ynl): Likewise.
38346         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38347         line.
38348         * manual/resource.texi (ulimit): Use @dots{} instead of literal
38349         "...".
38350         (sched_get_priority_min): Remove semicolon on @deftypefun line.
38351         (sched_get_priority_max): Likewise.
38352         * manual/signal.texi (sigvec): Add space after comma.
38353         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38354         names.
38355         (if_indextoname): Likewise.
38356         (if_freenameindex): Likewise.
38357         (sendto): Use ',' instead of '.' in prototype.
38358         * manual/startup.texi (syscall): Use @dots{} instead of literal
38359         "...".
38360         * manual/stdio.texi (__fpending): Separate initial words of
38361         paragraph from @deftypefun line.
38362         * manual/syslog.texi (syslog): Use @dots{} instead of literal
38363         "...".
38364         (vsyslog): Use @var{} on parameter names.
38365         * manual/terminal.texi (stty): Use @var{} on parameter names.
38366         * manual/users.texi (getutmp): Use @var{} on parameter names.
38367         (getutmpx): Likewise.
38369 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38371         [BZ #6884]
38372         * manual/stdio.texi (fopen): Fix typos in description of
38373         ",ccs=STRING".
38375 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
38377         [BZ #4026]
38378         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38379         get clock_id definition.
38381 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
38383         [BZ #4822]
38384         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38385         (madvise): Cast every argument to void on its own.
38387 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38389         [BZ #9902]
38390         * manual/startup.texi (Exit Status): Fix typo.
38392 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38394         [BZ #10140]
38395         * manual/examples/argp-ex1.c: Include <stdlib.h>.
38396         * manual/examples/argp-ex2.c: Likewise.
38397         * manual/examples/argp-ex3.c: Likewise.
38399 2012-02-16  Richard Henderson  <rth@redhat.com>
38401         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38402         * sysdeps/s390/s390-32/initfini.c: Remove.
38403         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38404         * sysdeps/s390/s390-64/initfini.c: Remove.
38406 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38408         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38409         compiler output for sysdeps/generic/initfini.c.
38410         * sysdeps/sh/elf/initfini.c: Remove file.
38412 2012-02-16  David S. Miller  <davem@davemloft.net>
38414         [BZ #11494]
38415         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38417         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38418         * sysdeps/sparc/crti.S: New file.
38419         * sysdeps/sparc/crtn.S: New file.
38420         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38421         * sysdeps/sparc/sparc64/Makefile: Likewise.
38423 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
38425         [BZ #3335]
38426         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38428 2012-02-15  Roland McGrath  <roland@hack.frob.com>
38430         [BZ #4822]
38431         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38433         * mach/devstream.c (cookie_io_functions_t): Macro removed.
38434         (write, read, close): Likewise.
38435         Patch by Aurelien Jarno <aurelien@aurel32.net>.
38437 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
38439         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38440         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38441         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38442         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38443         <bits/signalfd.h>.
38444         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38445         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38446         bits/signalfd.h.
38448 2012-02-14  Marek Polacek  <polacek@redhat.com>
38450         * sysdeps/x86_64/crti.S: New file.
38451         * sysdeps/x86_64/crtn.S: New file.
38452         * sysdeps/x86_64/elf/initfini.c: Remove file.
38454 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38456         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38457         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38458         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38459         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38460         <bits/inotify.h>.
38461         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38462         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38463         bits/inotify.h.
38465 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38467         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38468         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38469         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38470         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38471         <bits/eventfd.h>.
38472         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38473         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38474         bits/eventfd.h.
38476 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
38478         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38479         __feraiseexcept instead of feraiseexcept.
38481         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38482         nanosleep invocations.
38483         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38484         strings, and add error checking for a nanosleep invocations.
38486 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
38488         Replace FSF snail mail address with URLs, as per GNU coding standards.
38489         Most of the snail mail addresses were wrong anyway, and omitting
38490         them makes the source code easier to maintain.  Almost all of the
38491         changes are to license notices and to locale LC_IDENTIFICATION
38492         addresses, except for this one:
38493         * manual/libc.texinfo: In "Published by", give the FSF's URL,
38494         not its snail mail address.
38496 2012-02-09  Richard Henderson  <rth@twiddle.net>
38498         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38499         of kernel-features.h.
38501         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38503 2012-02-08  Marek Polacek  <polacek@redhat.com>
38505         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38506         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38507         * sysdeps/gnu/_G_config.h: Likewise.
38508         * sysdeps/generic/_G_config.h: Likewise.
38510 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
38512         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38513         tests.
38514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38516         * sysdeps/powerpc/powerpc32/crti.S: New file.
38517         * sysdeps/powerpc/powerpc32/crtn.S: New file.
38518         * sysdeps/powerpc/powerpc64/crti.S: New file.
38519         * sysdeps/powerpc/powerpc64/crtn.S: New file.
38521         * Makeconfig (have-initfini): Don't set.
38522         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38523         * configure.in (nopic_initfini): Don't substitute.
38524         * config.h.in (HAVE_INITFINI): Don't #undef.
38525         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38526         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38528 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
38530         Support crti.S and crtn.S provided directly by architectures.
38531         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38532         [crti.S in sysdirs] (omit-deps): Likewise.
38533         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38534         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38535         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38536         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38537         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38538         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38539         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38540         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38541         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38542         compiler output for sysdeps/generic/initfini.c.
38543         * sysdeps/i386/elf/Makefile: Remove file.
38544         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38546 2012-02-07  Marek Polacek  <polacek@redhat.com>
38548         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38549         * sysdeps/gnu/_G_config.h: Likewise.
38550         * sysdeps/mach/hurd/_G_config.h: Likewise.
38552 2012-02-07  Marek Polacek  <polacek@redhat.com>
38554         * math/Makefile (tests): Add tst-CMPLX2.
38555         * math/tst-CMPLX2.c: New file.
38557 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
38559         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38561         * math/libm-test.inc (jn_test): Add missing L suffix.
38563 2012-02-06  Marek Polacek  <polacek@redhat.com>
38565         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38566         * sysdeps/i386/fpu/e_powf.S: Likewise.
38567         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38568         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38569         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38570         * sysdeps/i386/fpu/e_pow.S: Likewise.
38571         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38572         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38573         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38574         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38575         * sysdeps/i386/fpu/e_log2.S: Likewise.
38576         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38577         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38578         * sysdeps/i386/fpu/e_powl.S: Likewise.
38579         * sysdeps/i386/fpu/s_log1p.S: Likewise.
38580         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38581         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38582         * sysdeps/i386/fpu/e_logl.S: Likewise.
38583         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38584         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38585         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38586         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38587         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38588         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38589         * sysdeps/i386/fpu/e_log.S: Likewise.
38590         * sysdeps/i386/fpu/s_cexp.S: Likewise.
38591         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38592         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38593         * sysdeps/i386/fpu/e_logf.S: Likewise.
38594         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38595         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38596         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38597         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38598         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38599         * sysdeps/i386/fpu/e_log10.S: Likewise.
38600         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38601         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38602         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38603         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38604         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38605         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38606         * sysdeps/i386/asm-syntax.h: Likewise.
38607         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38608         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38609         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38610         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38611         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38612         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38613         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38614         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38615         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38616         * sysdeps/powerpc/sysdep.h: Likewise.
38617         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38618         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38620 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38622         [BZ #411]
38623         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38625 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38627         * sysdeps/i386/sysdep.h: Include <features.h>.
38628         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38629         version.
38631 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
38633         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38634         Define.
38635         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38636         LOAD_PIC_REG_STR.
38638 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38640         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38641         (SETUP_PIC_REG): Use GET_PC_THUNK.
38642         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38643         macro.
38645 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38647         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38648         for non-PIC compilation.
38649         (SETUP_PIC_REG): Add .p2align directive.
38650         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38651         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38652         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38653         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38654         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38655         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38656         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38657         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38658         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38659         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38660         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38661         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38662         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38663         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38664         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38665         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38666         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38667         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38668         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38669         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38670         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38671         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38672         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38673         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38674         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38675         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38676         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38677         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38678         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38679         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38680         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38681         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38682         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38683         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38684         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38685         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38686         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38687         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38688         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38689         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38690         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38692 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38694         * math/tst-CMPLX.c: Include <stdio.h>.
38696 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
38698         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38699         float.
38700         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38701         * sysdeps/sparc/bits/mathdef.h: Likewise.
38703 2012-01-31  Marek Polacek  <polacek@redhat.com>
38705         * libio/libio.h: Don't define _PARAMS.
38706         * locale/programs/config.h: Don't define PARAMS.
38707         * stdlib/strtol_l.c: Likewise.
38708         (__strtol_l): Remove PARAMS from the prototype.
38710 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
38712         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
38713         names.  Just use the correct names.  Remove unnecessary wrapper
38714         functions.
38715         * malloc/arena.c: Likewise.
38716         * malloc/hooks.c: Likewise.
38718         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38719         ARENA_TEST says not to.  Simplify test for creation of a new arena.
38720         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38722 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
38724         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38725         into tail calls.
38726         (update_get_addr): New function.
38727         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38728         GET_ADDR_MODULE parameter.
38730 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38732         * crypt/cert.c: Remove __STDC__ conditionals.
38733         * crypt/crypt-entry.c: Likewise.
38734         * crypt/crypt_util.c: Likewise.
38735         * libio/filedoalloc.c: Likewise.
38736         * libio/fileops.c: Likewise.
38737         * libio/genops.c: Likewise.
38738         * libio/iofclose.c: Likewise.
38739         * libio/iofdopen.c: Likewise.
38740         * libio/iofopen.c: Likewise.
38741         * libio/iofopen64.c: Likewise.
38742         * libio/iogetdelim.c: Likewise.
38743         * libio/iopopen.c: Likewise.
38744         * libio/obprintf.c: Likewise.
38745         * libio/oldfileops.c: Likewise.
38746         * libio/oldiofclose.c: Likewise.
38747         * libio/oldiofdopen.c: Likewise.
38748         * libio/oldiofopen.c: Likewise.
38749         * libio/oldiopopen.c: Likewise.
38750         * libio/wfiledoalloc.c: Likewise.
38751         * libio/wgenops.c: Likewise.
38752         * locale/programs/xmalloc.c: Likewise.
38753         * misc/syslog.c: Likewise.
38754         * stdio-common/xbug.c: Likewise.
38755         * string/memchr.c: Likewise.
38756         * string/memcmp.c: Likewise.
38757         * string/memrchr.c: Likewise.
38758         * string/rawmemchr.c: Likewise.
38759         * sysdeps/posix/getcwd.c: Likewise.
38760         * time/strftime_l.c: Likewise.
38762 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38764         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38765         * config.make.in (config-cflags-sse2avx): Define.
38766         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38767         Fix typo.
38769 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
38771         * scripts/config.guess: Update from upstream config git repository.
38772         * scripts/config.sub: Likewise.
38774 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
38776         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38777         (EM_NUM): Update.
38778         (R_TILEPRO_*, R_TILEGX_*): New macros.
38780         * scripts/firstversions.awk: Fix bug in version range handling.
38782         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38784         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38786         * include/sys/epoll.h: New file.
38787         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38788         libc_hidden_def.
38790 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
38792         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38793         Avoid unnecessary __WORDSIZE == 64 test.
38794         (fmaxf): Use VEX format if possible.
38795         (fmax): Likewise.
38796         (fminf): Likewise.
38797         (fmin): Likewise.
38799         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38800         * math/math_private.h: Remove libc_fegetround* and
38801         libc_fesetround*.
38802         * sysdeps/i386/configure.in: Check for -msse2avx.
38803         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38804         also if SSE2AVX is defined.
38805         Remove libc_fegetround* and libc_fesetround*.
38806         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38807         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
38808         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38809         of HAS_YMM_USABLE.
38810         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38811         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38812         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38813         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38814         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38816         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38818 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38820         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38821         size is not set.
38822         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38824 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
38826         [BZ #13618]
38827         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38828         relocation.
38829         * Makeconfig (libm): Define.
38830         * elf/Makefile: Add rules to build and run tst-relsort1.
38831         * elf/tst-relsort1.c: New file.
38832         * elf/tst-relsort1mod1.c: New file.
38833         * elf/tst-relsort1mod2.c: New file.
38835 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
38837         * math/s_ldexp.c: Remove __STDC__ conditionals.
38838         * math/s_ldexpf.c: Likewise.
38839         * math/s_ldexpl.c: Likewise.
38840         * math/s_nextafter.c: Likewise.
38841         * math/s_nexttowardf.c: Likewise.
38842         * math/s_significand.c: Likewise.
38843         * math/s_significandf.c: Likewise.
38844         * math/s_significandl.c: Likewise.
38845         * math/w_jnl.c: Likewise.
38846         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38847         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38848         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38849         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38850         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38851         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38852         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38853         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38854         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38855         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38856         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38857         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38858         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38859         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38860         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38861         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38862         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38863         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38864         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38865         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38866         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38867         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38868         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38869         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38870         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38871         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38872         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38873         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38874         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38875         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38876         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38877         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38878         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38879         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38880         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38881         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38882         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38883         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38884         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38885         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38886         * sysdeps/ieee754/k_standard.c: Likewise.
38887         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38888         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38889         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38890         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38891         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38892         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38893         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38894         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38895         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38896         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38897         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38898         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38899         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38900         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38901         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38902         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38903         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38904         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38905         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38906         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38907         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38908         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38909         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38910         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38911         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38912         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38913         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38914         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38915         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38916         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38917         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38918         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38919         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38920         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38921         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38922         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38923         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38924         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38925         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38926         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38927         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38928         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38929         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38930         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38931         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38932         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38933         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38934         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38935         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38936         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38937         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38938         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38939         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38940         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38941         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38942         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38943         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38944         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38945         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38946         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38947         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38948         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38949         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38950         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38951         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38952         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38953         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38954         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38955         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38956         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38957         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38958         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38959         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38960         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38961         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38962         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38963         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38964         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38965         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38966         * sysdeps/ieee754/s_matherr.c: Likewise.
38967         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38968         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38969         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38970         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38972 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38974         * crypt/md5.h: Remove __STDC__ conditionals.
38975         * libio/libioP.h: Likewise.
38976         * locale/programs/config.h: Likewise.
38977         * sysdeps/generic/sysdep.h: Likewise.
38978         * sysdeps/i386/asm-syntax.h: Likewise.
38979         * sysdeps/s390/asm-syntax.h: Likewise.
38980         * sysdeps/unix/sysdep.h: Likewise.
38981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38984 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38986         * libio/libio.h: Remove __STDC__ conditionals.
38987         * malloc/obstack.h: Likewise.
38988         * math/complex.h: Likewise.
38989         * math/math.h: Likewise.
38990         * sysdeps/generic/_G_config.h: Likewise.
38991         * sysdeps/gnu/_G_config.h: Likewise.
38992         * sysdeps/mach/hurd/_G_config.h: Likewise.
38993         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38994         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38995         * sysdeps/sparc/bits/mathdef.h: Likewise.
38997 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
38999         [BZ #13583]
39000         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39001         Clean up HAS_* macros.
39002         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39003         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39004         possible.
39005         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39006         HAS_AVX.
39007         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39008         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39009         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39010         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39011         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39013 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
39015         * elf/tst-unique3.cc (gets): Remove declaration.
39016         * elf/tst-unique3lib.cc (gets): Likewise.
39017         * elf/tst-unique3lib2.cc (gets): Likewise.
39018         * elf/tst-unique4.cc (gets): Likewise.
39020 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
39022         * include/stdio.h: Add C++ protection.  Add gets declarations and
39023         definitions.
39024         * debug/tst-chk1.c: Don't declare gets here.
39025         * stdio-common/tst-gets.c: Likewise.
39027 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39029         * posix/glob: Remove directory.
39031 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39033         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39035 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
39037         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39038         of the non-standard EPFNOSUPPORT.
39040 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39042         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39043         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39044         ANYWHERE set to 1 only on KERN_NO_SPACE error.
39046 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
39048         * wcsmbs/uchar.h: Test __STDC_VERSION__.
39050 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
39052         * nscd/aicache.c (addhstaiX): Do not cache negative results of
39053         transient errors.
39054         * nscd/grpcache.c (cache_addgr): Likewise.
39055         * nscd/hstcache.c (cache_addhst): Likewise.
39056         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39057         * nscd/pwdcache.c (cache_addpw): Likewise.
39058         * nscd/servicescache.c (cache_addserv): Likewise.
39060 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
39062         * malloc/malloc.c: Various cleanups.
39063         * malloc/hooks.c: Likewise.
39065         * stdlib/Makefile (tests): Add bug-fmtmsg1.
39066         * stdlib/bug-fmtmsg1.c: New file.
39068         * stdlib/fmtmsg.c (init): Add missing unlock.
39069         Patch by Peng Haitao <penght@cn.fujitsu.com>.
39071 2012-01-12  Marek Polacek  <polacek@redhat.com>
39073         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39074         and _GNU_SOURCE.
39076 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39078         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39079         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39080         macro to ensure uniqueness of label name.
39081         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39082         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39084 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
39086         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39088         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39089         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39090         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39091         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39093 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
39095         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39097         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39098         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39099         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39101         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39103         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39104         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39105         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39106         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39108         * math/bits/math-finite.h: Add ldexp support.
39110 2012-01-10  Marek Polacek  <polacek@redhat.com>
39112         * locale/programs/localedef.h (show_archive_content): Add noreturn
39113         attribute.
39115 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
39117         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39119 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39121         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39123         * io/Makefile (headers): Add bits/poll2.h.
39125 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
39127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39128         typo #include statement.
39130 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39132         * include/sys/cdefs.h: Define __attribute_alloc_size.
39133         * catgets/gencat.c: Add alloc_size attribute and apply consistently
39134         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39135         * elf/pldd.c: Likewise.
39136         * iconv/iconv_charmap.c: Likewise.
39137         * iconv/iconvconfig.c: Likewise.
39138         * iconv/strtab.c: Likewise.
39139         * locale/programs/locale.c: Likewise.
39140         * locale/programs/localedef.h: Likewise.
39141         * locale/programs/simple-hash.c: Likewise.
39142         * nscd/nscd.h: Likewise.
39143         * nss/makedb.c: Likewise.
39144         * sysdeps/generic/ldconfig.h: Likewise.
39145         * locale/programs/localedef.c: Remove xmalloc prototype.
39146         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39148 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39150         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39151         appropriate.
39153 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39155         * math/Makefile (tests): Add tst-CMPLX.
39156         * math/tst-CMPLX.c: New file.
39158         * math/complex.h (CMPLXL): Fix typo.
39160         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39161         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39162         GLIBC_2.16.
39163         * debug/tst-chk1.c: Add poll and ppoll tests.
39164         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39165         * include/sys/poll.h: Add hidden proto for ppoll.
39166         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39167         * sysdeps/mach/hurd/ppoll.c: Likewise.
39168         * io/ppoll.c: Likewise.
39169         * debug/poll_chk.c: New file.
39170         * debug/ppoll_chk.c: New file.
39171         * include/bits/poll2.h: New file.
39172         * io/bits/poll2.h: New file.
39174         [BZ #1350]
39175         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39177         * configure.in: static is always set to yes.  Remove.
39178         * config.make.in: Don't set build-static.
39179         * Makeconfig: Remove use of build-static.
39180         * dlfcn/Makefile: Likewise.
39181         * elf/Makefile: Likewise.
39182         * math/Makefile: Likewise.
39183         * misc/Makefile: Likewise.
39184         * nptl/Makefile: Likewise.
39185         * sysdeps/mach/hurd/Makefile: Likewise.
39187         * configure.in: PWD_P is not used anymore.
39188         * config.make.in: Remove PWD_P entry.
39190         * configure.in: Remove last remnants of RANLIB.
39191         No need to check for signed size_t anymore.
39192         Don't set libc_commonpagesize and libc_relro_required here for Alpha
39193         and IA-64.
39194         Remove __builtin_expect test because we require at least gcc 3.4.
39195         * aclocal.m4: Likewise.
39197         * wcsmbs/mbrtoc16.c: Implement using towc function.
39198         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39199         * wcsmbs/wcsmbsload.c: Likewise.
39200         * iconv/gconv_simple.c: Likewise.
39201         * iconv/gconv_int.h: Likewise.
39202         * iconv/gconv_builtin.h: Likewise.
39203         * iconv/iconv_prog.c: Remove CHAR16 handling.
39205         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39207         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39209         * configure.in: Remove --with-elf and --enable-bounded options.
39210         Dont set base_machine for ia64.  More non-ELF conditions removed.
39211         Remove testing and setting of leading underscore information.
39212         * config.make.in (build-bounded): Set to no.
39213         * config.h.in: Remove NO_UNDERSCORES entry.
39214         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
39215         them.
39216         * csu/start.c: Remove !NO_UNDERSCORE code.
39217         * locale/localeinfo.h: Likewise.
39218         * sysdeps/generic/machine-gmon.h: Likewise.
39219         * sysdeps/generic/sysdep.h: Likewise.
39220         * sysdeps/i386/sysdep.h: Likewise.
39221         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39222         * sysdeps/mach/sysdep.h: Likewise.
39223         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39224         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39225         * sysdeps/sh/sysdep.h: Likewise.
39226         * sysdeps/sparc/sparc32/alloca.S: Likewise.
39227         * sysdeps/unix/i386/sysdep.S: Likewise.
39228         * sysdeps/unix/sparc/start.c: Likewise.
39229         * sysdeps/unix/sparc/sysdep.S: Likewise.
39230         * sysdeps/unix/sparc/sysdep.h: Likewise.
39231         * sysdeps/unix/start.c: Likewise.
39232         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39233         * sysdeps/x86_64/sysdep.h: Likewise.
39235 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
39237         [BZ #13553]
39238         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39239         for non-gcc.
39240         * argp/argp-fmtstream.h: Use const instead __const.
39241         * argp/argp.h: Likewise.
39242         * assert/assert.h: Likewise.
39243         * bits/fenv.h: Likewise.
39244         * bits/sched.h: Likewise.
39245         * bits/sigset.h: Likewise.
39246         * bits/sigthread.h: Likewise.
39247         * catgets/nl_types.h: Likewise.
39248         * conform/data/pthread.h-data: Likewise.
39249         * crypt/crypt-private.h: Likewise.
39250         * crypt/crypt.h: Likewise.
39251         * crypt/crypt_util.c: Likewise.
39252         * ctype/ctype.h: Likewise.
39253         * debug/execinfo.h: Likewise.
39254         * debug/mbsnrtowcs_chk.c: Likewise.
39255         * debug/mbsrtowcs_chk.c: Likewise.
39256         * debug/wcsnrtombs_chk.c: Likewise.
39257         * debug/wcsrtombs_chk.c: Likewise.
39258         * debug/wcstombs_chk.c: Likewise.
39259         * dirent/dirent.h: Likewise.
39260         * dlfcn/dlfcn.h: Likewise.
39261         * elf/neededtest4.c: Likewise.
39262         * grp/grp.h: Likewise.
39263         * gshadow/gshadow.h: Likewise.
39264         * iconv/gconv.h: Likewise.
39265         * iconv/gconv_int.h: Likewise.
39266         * iconv/gconv_simple.c: Likewise.
39267         * iconv/iconv.h: Likewise.
39268         * iconv/loop.c: Likewise.
39269         * iconv/skeleton.c: Likewise.
39270         * include/aio.h: Likewise.
39271         * include/aliases.h: Likewise.
39272         * include/argz.h: Likewise.
39273         * include/arpa/inet.h: Likewise.
39274         * include/assert.h: Likewise.
39275         * include/dirent.h: Likewise.
39276         * include/dlfcn.h: Likewise.
39277         * include/execinfo.h: Likewise.
39278         * include/fcntl.h: Likewise.
39279         * include/fenv.h: Likewise.
39280         * include/glob.h: Likewise.
39281         * include/grp.h: Likewise.
39282         * include/libintl.h: Likewise.
39283         * include/mntent.h: Likewise.
39284         * include/netdb.h: Likewise.
39285         * include/pwd.h: Likewise.
39286         * include/rpc/netdb.h: Likewise.
39287         * include/sched.h: Likewise.
39288         * include/search.h: Likewise.
39289         * include/shadow.h: Likewise.
39290         * include/signal.h: Likewise.
39291         * include/stdio.h: Likewise.
39292         * include/stdlib.h: Likewise.
39293         * include/string.h: Likewise.
39294         * include/sys/socket.h: Likewise.
39295         * include/sys/stat.h: Likewise.
39296         * include/sys/statfs.h: Likewise.
39297         * include/sys/statvfs.h: Likewise.
39298         * include/sys/syslog.h: Likewise.
39299         * include/sys/time.h: Likewise.
39300         * include/sys/uio.h: Likewise.
39301         * include/time.h: Likewise.
39302         * include/unistd.h: Likewise.
39303         * include/utmp.h: Likewise.
39304         * include/wchar.h: Likewise.
39305         * include/wctype.h: Likewise.
39306         * inet/aliases.h: Likewise.
39307         * inet/arpa/inet.h: Likewise.
39308         * inet/netinet/ether.h: Likewise.
39309         * inet/netinet/in.h: Likewise.
39310         * intl/libintl.h: Likewise.
39311         * io/bits/fcntl2.h: Likewise.
39312         * io/fcntl.h: Likewise.
39313         * io/ftw.h: Likewise.
39314         * io/sys/poll.h: Likewise.
39315         * io/sys/stat.h: Likewise.
39316         * io/sys/statfs.h: Likewise.
39317         * io/sys/statvfs.h: Likewise.
39318         * io/utime.h: Likewise.
39319         * libio/bits/stdio.h: Likewise.
39320         * libio/bits/stdio2.h: Likewise.
39321         * libio/libio.h: Likewise.
39322         * libio/libioP.h: Likewise.
39323         * libio/stdio.h: Likewise.
39324         * locale/lc-ctype.c: Likewise.
39325         * locale/locale.h: Likewise.
39326         * login/utmp.h: Likewise.
39327         * malloc/arena.c: Likewise.
39328         * malloc/malloc.c: Likewise.
39329         * malloc/malloc.h: Likewise.
39330         * malloc/mcheck.c: Likewise.
39331         * malloc/mtrace.c: Likewise.
39332         * math/bits/mathcalls.h: Likewise.
39333         * math/fenv.h: Likewise.
39334         * math/math_private.h: Likewise.
39335         * misc/bits/error.h: Likewise.
39336         * misc/bits/syslog.h: Likewise.
39337         * misc/err.h: Likewise.
39338         * misc/error.h: Likewise.
39339         * misc/fstab.h: Likewise.
39340         * misc/mntent.h: Likewise.
39341         * misc/regexp.h: Likewise.
39342         * misc/search.h: Likewise.
39343         * misc/sgtty.h: Likewise.
39344         * misc/sys/mman.h: Likewise.
39345         * misc/sys/syslog.h: Likewise.
39346         * misc/sys/uio.h: Likewise.
39347         * misc/sys/xattr.h: Likewise.
39348         * misc/ttyent.h: Likewise.
39349         * nis/rpcsvc/ypclnt.h: Likewise.
39350         * nss/nss.h: Likewise.
39351         * posix/bits/unistd.h: Likewise.
39352         * posix/fnmatch.h: Likewise.
39353         * posix/glob.h: Likewise.
39354         * posix/sched.h: Likewise.
39355         * posix/spawn.h: Likewise.
39356         * posix/sys/wait.h: Likewise.
39357         * posix/unistd.h: Likewise.
39358         * posix/wordexp.h: Likewise.
39359         * pwd/pwd.h: Likewise.
39360         * resolv/netdb.h: Likewise.
39361         * resource/sys/resource.h: Likewise.
39362         * rt/aio.h: Likewise.
39363         * rt/bits/mqueue2.h: Likewise.
39364         * rt/mqueue.h: Likewise.
39365         * shadow/shadow.h: Likewise.
39366         * signal/signal.h: Likewise.
39367         * socket/send.c: Likewise.
39368         * socket/sendto.c: Likewise.
39369         * socket/sys/socket.h: Likewise.
39370         * stdio-common/printf.h: Likewise.
39371         * stdlib/bits/stdlib.h: Likewise.
39372         * stdlib/fmtmsg.h: Likewise.
39373         * stdlib/monetary.h: Likewise.
39374         * stdlib/stdlib.h: Likewise.
39375         * stdlib/ucontext.h: Likewise.
39376         * streams/stropts.h: Likewise.
39377         * string/argz.h: Likewise.
39378         * string/bits/string2.h: Likewise.
39379         * string/string.h: Likewise.
39380         * string/strings.h: Likewise.
39381         * sunrpc/rpc/auth.h: Likewise.
39382         * sunrpc/rpc/auth_des.h: Likewise.
39383         * sunrpc/rpc/clnt.h: Likewise.
39384         * sunrpc/rpc/netdb.h: Likewise.
39385         * sunrpc/rpc/pmap_clnt.h: Likewise.
39386         * sunrpc/rpc/xdr.h: Likewise.
39387         * sysdeps/generic/inttypes.h: Likewise.
39388         * sysdeps/generic/net/if.h: Likewise.
39389         * sysdeps/generic/sys/swap.h: Likewise.
39390         * sysdeps/gnu/net/if.h: Likewise.
39391         * sysdeps/gnu/utmpx.h: Likewise.
39392         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39393         * sysdeps/i386/i486/bits/string.h: Likewise.
39394         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39395         * sysdeps/s390/bits/string.h: Likewise.
39396         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39397         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39398         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39399         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39400         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39401         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39402         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39403         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39404         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39405         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39406         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39407         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39408         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39409         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39410         * sysdeps/unix/sysv/linux/readv.c: Likewise.
39411         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39412         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39413         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39414         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39415         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39416         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39417         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39418         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39419         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39420         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39421         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39422         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39423         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39424         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39425         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39426         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39427         * sysvipc/sys/ipc.h: Likewise.
39428         * sysvipc/sys/msg.h: Likewise.
39429         * sysvipc/sys/sem.h: Likewise.
39430         * sysvipc/sys/shm.h: Likewise.
39431         * termios/termios.h: Likewise.
39432         * time/sys/time.h: Likewise.
39433         * time/time.h: Likewise.
39434         * wcsmbs/bits/wchar2.h: Likewise.
39435         * wcsmbs/uchar.h: Likewise.
39436         * wcsmbs/wchar.h: Likewise.
39437         * wctype/wctype.h: Likewise.
39439         [BZ #13551]
39440         * Makeconfig: Remove all but ELF support including AIX support.
39441         * Makerules: Likewise.
39442         * config.h.in: Likewise.
39443         * config.make.in: Likewise.
39444         * configure: Likewise.
39445         * configure.in: Likewise.
39446         * csu/Makefile: Likewise.
39447         * csu/version.c: Likewise.
39448         * debug/Makefile: Likewise.
39449         * dlfcn/Makefile: Likewise.
39450         * elf/Makefile: Likewise.
39451         * extra-lib.mk: Likewise.
39452         * iconv/Makefile: Likewise.
39453         * include/libc-symbols.h: Likewise.
39454         * include/shlib-compat.h: Likewise.
39455         * resolv/Makefile: Likewise.
39456         * resolv/res_libc.c: Likewise.
39457         * rt/Makefile: Likewise.
39458         * sysdeps/i386/asm-syntax.h: Likewise.
39459         * sysdeps/i386/sysdep.h: Likewise.
39460         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39461         * sysdeps/mach/sysdep.h: Likewise.
39462         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39463         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39464         * sysdeps/s390/asm-syntax.h: Likewise.
39465         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39466         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39467         * sysdeps/sh/sysdep.h: Likewise.
39468         * sysdeps/unix/sparc/sysdep.h: Likewise.
39469         * sysdeps/wordsize-32/divdi3.c: Likewise.
39470         * sysdeps/x86_64/sysdep.h: Likewise.
39472         * argp/Versions: Remove _argp_unlock_xxx.
39474         [BZ #13559]
39475         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
39476         * abilist/libBrokenLocale.abilist: Likewise.
39477         * abilist/libanl.abilist: Likewise.
39478         * abilist/libc.abilist: Likewise.
39479         * abilist/libcrypt.abilist: Likewise.
39480         * abilist/libdl.abilist: Likewise.
39481         * abilist/libm.abilist: Likewise.
39482         * abilist/libnsl.abilist: Likewise.
39483         * abilist/libpthread.abilist: Likewise.
39484         * abilist/libresolv.abilist: Likewise.
39485         * abilist/librt.abilist: Likewise.
39486         * abilist/libthread_db.abilist: Likewise.
39487         * abilist/libutil.abilist: Likewise.
39488         * abilist/libnss_db.abilist: New file.
39490         * scripts/abilist.awk: Add support for indirect functions.
39492         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39494         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39496         * shlib-versions: Remove entries for ports architectures.
39498         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
39499         files in ports.
39500         * elf/stackguard-macros.h: Remove support for IA-64.
39501         * elf/tst-auditmod1.c: Likewise.
39502         * sysdeps/generic/ldsodefs.h: Likewise.
39504         * sysdeps/unix/sysv/linux/configure.in: Ports should define
39505         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39506         configure files.
39508         [BZ #13552]
39509         * configure.in: Remove --enable-omitfp support.
39510         * FAQ.in: Adjust.
39511         * config.make.in: Likewise.
39512         * Makeconfig: Likewise.
39513         * manual/install.texi: Likewise.
39515         In case anyone cares, the IA-64 architecture could move to ports.
39516         * sysdeps/ia64/*: Removed.
39517         * sysdeps/unix/sysv/linux/ia64/*: Removed.
39518         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39520         [BZ #13555]
39521         * configure.in: Remove entries for unsupported architectures.
39523         [BZ #13533]
39524         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39525         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
39526         routines.
39527         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39528         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39529         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
39530         fall back to using wcrtomb.
39531         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39532         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
39533         renaming.
39534         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39535         * wcsmbs/tst-c16c32-1.c: New file.
39537         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39538         local variable.
39540         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39542         * elf/tst-unique3.cc: Add explicit declaration of gets.
39543         * elf/tst-unique3lib.cc: Likewise.
39544         * elf/tst-unique3lib2.cc: Likewise.
39545         * elf/tst-unique4.cc: Likewise.
39547         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39549 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
39551         [BZ #13566]
39552         * assert/assert.h (static_assert): Don't define for C++.
39553         * libio/stdio.h (gets): Do declare for C++ <= C++11.
39554         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39556 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
39558         * iconv/loop.c (single loop): Fix assertion in storing of
39559         remaining bytes.
39561         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39563 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
39565         * posix/getconf.c: Update copyright year.
39566         * nss/getent.c: Likewise.
39567         * nss/makedb.c: Likewise.
39568         * iconv/iconvconfig.c: Likewise.
39569         * iconv/iconv_prog.c: Likewise.
39570         * elf/ldconfig.c: Likewise.
39571         * elf/pldd.c: Likewise.
39572         * elf/sotruss.ksh: Likewise.
39573         * catgets/gencat.c: Likewise.
39574         * csu/version.c: Likewise.
39575         * elf/ldd.bash.in: Likewise.
39576         * elf/sprof.c (print_version): Likewise.
39577         * locale/programs/locale.c: Likewise.
39578         * locale/programs/localedef.c: Likewise.
39579         * login/programs/pt_chown.c: Likewise.
39580         * nscd/nscd.c (print_version): Likewise.
39581         * debug/xtrace.sh: Likewise.
39582         * malloc/memusage.sh: Likewise.
39583         * malloc/mtrace.pl: Likewise.
39584         * debug/catchsegv.sh: Likewise.
39586 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
39588         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39589         pure attribute.
39591 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
39593         [BZ #13533]
39594         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39595         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39596         transformations.
39597         * iconv/gconv_int.h: Likewise.
39598         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39599         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39600         from libc for GLIBC_2.16.
39601         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39602         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39603         * wcsmbs/uchar.h: Really define mbstate_t.
39604         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39605         * wcsmbs/c16rtomb.c: New file.
39606         * wcsmbs/mbrtoc16.c: New file.
39607         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39608         for C/POSIX locale.
39609         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39610         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39612         * wcsmbs/wchar.h: Add missing __restrict.
39614 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39616         [BZ #13532]
39617         * time/Makefile (routines): Add timespec_get.
39618         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39619         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
39620         timespec for ISO C11.
39621         * time/timespec_get.c: New file.
39622         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39623         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39625         [BZ #13531]
39626         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39627         * stdlib/stdlib.h: Declare aligned_alloc.
39628         * Versions.def: Add GLIBC_2.16 for libc.
39629         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39631         [BZ 13527]
39632         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39633         ISO C11.
39635         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39636         code.
39638         [BZ #13528]
39639         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39641         [BZ #13529]
39642         * assert/assert.h (static_assert): Define.
39644         * version.h: Update for 2.16 development version.
39646         [BZ #13526]
39647         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39648         _ISOC11_SOURCE.
39650         * version.h (RELEASE): Bump for 2.15 release.
39651         * include/features.h (__GLIBC_MINOR__): Bump to 15.
39653         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39654         Patch by Marek Polacek <mpolacek@redhat.com>.
39656         * bits/byteswap.h: Protect long long constants with __extension__.
39657         * sysdeps/i386/bits/byteswap.h: Likewise.
39658         * sysdeps/ia64/bits/byteswap.h: Likewise.
39659         * sysdeps/s390/bits/byteswap.h: Likewise.
39660         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39662 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39664         [BZ #13540]
39665         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39666         destination buffer.
39667         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39669 2011-12-23  Marek Polacek  <polacek@redhat.com>
39671         * elf/dl-addr.c (determine_info): Add inline keyword.
39672         * elf/tst-auditmod4b.c (check_avx): Likewise.
39673         * elf/tst-auditmod6b.c (check_avx): Likewise.
39674         * elf/tst-auditmod6c.c (check_avx): Likewise.
39675         * elf/tst-auditmod7b.c (check_avx): Likewise.
39677 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39679         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39680         !__SSE_MATH__.
39682 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39684         [BZ #13540]
39685         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39686         processing for last bytes.
39688 2011-08-06  Bruno Haible  <bruno@clisp.org>
39690         [BZ #13061]
39691         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39692         U+0385, not to U+1FEE.
39694         [BZ #13062]
39695         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39696         entry for U+00A5 U+0301.
39698 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39700         [BZ #13166]
39701         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39702         buffer for the output is too small.
39704         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39705         optimization.
39707         [BZ #13185]
39708         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39709         SSE flags if possible.
39711 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39713         [BZ #13540]
39714         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39715         processing for last bytes.
39717 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
39719         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39720         (syscall-list-default-options, syscall-list-default-condition)
39721         (syscall-list-includes): Define.
39722         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39723         list of ABIs and options and #if conditions for each ABI.  Do not
39724         handle common syscalls between ABIs specially.
39725         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39726         Remove.
39727         (syscall-list-variants, syscall-list-32bit-options)
39728         (syscall-list-32bit-condition, syscall-list-64bit-options)
39729         (syscall-list-64bit-condition): Define.
39730         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39731         (syscall-list-variants, syscall-list-32bit-options)
39732         (syscall-list-32bit-condition, syscall-list-64bit-options)
39733         (syscall-list-64bit-condition): Define.
39734         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39735         Remove.
39736         (syscall-list-variants, syscall-list-32bit-options)
39737         (syscall-list-32bit-condition, syscall-list-64bit-options)
39738         (syscall-list-64bit-condition): Define.
39739         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39740         Remove.
39741         (syscall-list-variants, syscall-list-32bit-options)
39742         (syscall-list-32bit-condition, syscall-list-64bit-options)
39743         (syscall-list-64bit-condition): Define.
39745 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39747         * locale/iso-639.def: Add brx entry.
39749         [BZ #13328]
39750         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39751         Proposed by Mariusz_Cukr <marcukr@op.pl>.
39753         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39754         __feraiseexcept_renamed.
39756 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39758         [BZ #13538]
39759         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39760         EPOLLET with unsigned values.
39761         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39762         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39764         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39765         to large cancellation.
39766         * math/s_cacoshf.c: Likewise.
39767         * math/s_cacoshl.c: Likewise.
39769 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
39771         [BZ #13305]
39772         [BZ #12786]
39773         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39774         * math/s_cacoshf.c: Likewise.
39775         * math/s_cacoshl.c: Likewise.
39777 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39779         [BZ #13439]
39780         * iconv/gconv.h: Define __GCONV_SWAP.
39781         * iconvdata/unicode.c: The swap bit must be stored in __flags.
39782         * iconvdata/utf-16.c: Likewise.
39783         * iconvdata/utf-32.c: Likewise.
39785 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39787         [BZ #13524]
39788         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39789         numerator after shifting it by one limb.
39791 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
39793         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39794         under [__USE_EXTERN_INLINES].
39796 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39798         [BZ #13446]
39799         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39801 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39803         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39804         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39805         optimized code.
39806         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39807         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39808         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39809         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39810         for strncasecmp/strncasecmp_l compilation.
39811         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39812         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39814 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
39816         [BZ #13484]
39817         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39818         of __asm__.
39820 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39822         [BZ #13506]
39823         * time/tzfile.c (__tzfile_read): Check values from file header.
39825 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39827         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39828         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39829         * powerpc/powerpc32/dl-start.S: Likewise.
39830         * powerpc/powerpc32/elf/start.S: Likewise.
39831         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39832         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39833         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39834         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39835         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39836         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39837         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39838         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39839         * powerpc/powerpc32/fpu/s_round.S: Likewise.
39840         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39841         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39842         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39843         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39844         * powerpc/powerpc32/memset.S: Likewise.
39845         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39846         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39847         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39848         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39849         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39850         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39851         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39852         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39853         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39854         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39855         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39856         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39857         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39859 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39861         * math/libm-test.inc: Added more nearbyint tests.
39862         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39863         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39864         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39865         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39867 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
39869         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39870         FD_CLOEXEC.
39872 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39874         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39875         Add wcscpy-ssse3 wcscpy-c.
39876         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39877         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39878         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39879         * sysdeps/x86_64/wcschr.S: New file.
39880         * sysdeps/x86_64/wcsrchr.S: New file.
39881         * string/test-strcmp.c: Remove checking of wcscmp function for
39882         wrong alignments.
39883         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39884         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39885         wcsrchr-sse2 wcsrchr-c.
39886         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39887         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39888         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39889         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39890         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39891         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39892         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39893         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39894         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39895         * wcsmbc/wcschr.c (WCSCHR): New macro.
39897 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39899         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39900         * wcsmbs/test-wcsrchr.c: New file.
39901         * string/test-strrchr.c: Add wcsrchr support.
39902         (WIDE): New macro.
39903         * wcsmbs/test-wcscpy.c: New file.
39904         * string/test-strcpy.c: Add wcscpy support.
39905         (WIDE): New macro.
39907 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
39909         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39910         the inner loop.
39912 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
39914         [BZ #13472]
39915         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39917 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
39919         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39920         Minor optimizations.
39922         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39923         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39924         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39926 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
39928         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39929         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39930         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39931         for gcc to avoid warnings.
39932         * inet/Makefile (tests): Add tst-checks.
39933         * inet/tst-checks.c: New file.
39935         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39936         warning.
39938         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39939         __wmemcmp_sse2.
39941         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39942         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39944         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39946 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
39948         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39949         problem.
39951         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39953 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
39955         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39956         conditional on GCC version.
39957         (__arch_compare_and_exchange_val_8_acq)
39958         (__arch_compare_and_exchange_val_16_acq)
39959         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39960         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39961         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39963 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
39965         * sysdeps/sh/backtrace.c: New file.
39967 2011-12-02  Andreas Schwab  <schwab@redhat.com>
39969         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
39970         parenthesis.
39972 2011-12-01  Andreas Schwab  <schwab@redhat.com>
39974         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39975         falling back to utime.
39977 2011-11-30  Andreas Schwab  <schwab@redhat.com>
39979         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39980         expectations for float.
39982 2011-11-29  Andreas Schwab  <schwab@redhat.com>
39984         * locale/weight.h (findidx): Add parameter len.
39985         * locale/weightwc.h (findidx): Likewise.
39986         * posix/fnmatch_loop.c (FCT): Adjust caller.
39987         * posix/regcomp.c (build_equiv_class): Likewise.
39988         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39989         * posix/regexec.c (check_node_accept_bytes): Likewise.
39990         * string/strcoll_l.c (STRCOLL): Likewise.
39991         * string/strxfrm_l.c (STRXFRM): Likewise.
39993 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
39995         * Makefile.in: Remove CVSOPT handling.
39996         * configure.in: Remove use of AC_REVISION.
39997         * iconvdata/Makefile (distribute): No need to filter out CVS.
39998         * scripts/list-sources.sh: Remove CVS, subversion and monotone
39999         handling.
40001 2011-11-16  Andreas Schwab  <schwab@redhat.com>
40003         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40004         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40005         [USE_AS_STRNCASECMP_L]: Likewise.
40006         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40007         NO_TLS_DIRECT_SEG_REFS.
40008         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40009         Fix argument offsets for non-PIC.
40010         [USE_AS_STRNCASECMP_L]: Likewise.
40011         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40012         NO_TLS_DIRECT_SEG_REFS.
40014 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
40016         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40017         O_CLOEXEC.
40018         * locale/loadlocale.c (_nl_load_locale): Likewise.
40020 2011-11-15  Andreas Schwab  <schwab@redhat.com>
40022         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40023         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40024         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40025         (SYSCALL_GETTIME): Set errno on error.
40027         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40028         count references to noai6ai_cached.
40030 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
40032         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40034         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40035         FD_CLOEXEC for /proc/self/maps.
40037         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40038         FD_CLOEXEC for /proc/meminfo.
40040         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40041         gai.conf.
40043         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
40044         FD_CLOEXEC for given file.
40046         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40048         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40049         FD_CLOEXEC for /etc/hosts.
40050         (_gethtent): Likewise.
40052         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40054         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40055         cancellation and set FD_CLOEXEC for /etc/netgroup.
40057         * nss/nss_files/files-key.c (search): Don't allow cancellation when
40058         reading /etc/publickey.
40060         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40061         allow cancellation when reading /etc/group.
40063         * nss/nss_files/files-alias.c (internal_setent): Don't allow
40064         cancellation.
40065         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
40067         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40068         when using data file.
40070         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40072         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40073         (write_nis_obj): Use "c" and "e" in fopen.
40075         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40077         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40079         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40081         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40083         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40084         locale.alias.
40086         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40088         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40090         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40092         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40093         file parsing and set FD_CLOEXEC.
40095 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40097         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40099 2011-11-14  Andreas Schwab  <schwab@redhat.com>
40101         * malloc/arena.c (arena_get2): Don't call reused_arena when
40102         _int_new_arena failed.
40104 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40106         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40107         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40108         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40109         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40110         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40111         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40112         to compile strcasecmp and strncasecmp.
40113         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40114         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40116         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40118 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
40120         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40121         locale-defines.sym to gen-as-const-headers.
40122         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40123         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40124         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40125         to compile strcasecmp and strncasecmp.
40126         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40127         strcasecmp_l and strncasecmp_l.
40128         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40129         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40130         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40131         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40132         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40133         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40134         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40135         * sysdeps/i386/i686/multiarch/strncase.S: New file.
40136         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40137         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40138         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40140 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
40142         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40143         result of SYSDEP_GETTIME_CPU to retval.
40144         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40145         parameter list to macro.  Remove trailing semicolon.  Adjust users.
40147         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40148         variable.
40150         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40151         mantissa words.
40152         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40154         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40155         from unused variable.
40157         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40158         DWARF definitions.
40159         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40160         for assembling.
40162         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40163         over namespaces.
40165         * sunrpc/rpc_prot.c (rejected): Fix case value.
40167         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40168         unsigned long long int to avoid warnings in shift.
40170         * posix/regex_internal.c (re_string_reconstruct): Actually use result
40171         of use of trans.
40172         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40173         variable tmp.
40175         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40176         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40177         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40179         * nis/nis_table.c (nis_list): Use variable of correct type for
40180         result of __follow_path call.
40182 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40184         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40185         of math functions ceil, trunc, floor, round, and sqrt, when
40186         avaliable on the platform.
40187         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40188         name clash.
40189         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40190         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40191         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40193 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
40195         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40196         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40198 2011-11-11  Roland McGrath  <roland@hack.frob.com>
40200         * include/unistd.h: Fix __readlink return type.
40201         Reported by Chris Metcalf <cmetcalf@tilera.com>.
40203 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
40205         * stdlib/ucontext.h: Undo last change for makecontext.
40207 2011-11-11  Andreas Schwab  <schwab@redhat.com>
40209         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40211         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40212         * setjmp/setjmp.h: Mark functions as non-leaf.
40213         * setjmp/bits/setjmp2.h: Likewise.
40214         * stdlib/ucontext.h: Likewise.
40216 2011-11-10  Andreas Schwab  <schwab@redhat.com>
40218         * malloc/arena.c (_int_new_arena): Don't increment narenas.
40219         (reused_arena): Don't check arena limit.
40220         (arena_get2): Atomically check arena limit.
40222 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
40224         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40225         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40227         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40228         instructions.
40230 2011-11-07  Andreas Schwab  <schwab@redhat.com>
40232         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40233         handler when locking.
40235         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40236         Fix size of allocated buffer.
40238 2011-11-04  Andreas Schwab  <schwab@redhat.com>
40240         [BZ #10103]
40241         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40242         declarations for long double functions.
40243         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40245         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40247 2011-11-03  Andreas Schwab  <schwab@redhat.com>
40249         * nscd/nscd.c (main): Don't start AVC thread until credentials are
40250         installed.
40252         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40253         is disabled.
40255 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40257         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40259 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40261         * include/alloca.h (stackinfo_alloca_round): Define.
40262         (extend_alloca): Use it.
40263         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40264         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40265         here.
40267         * scripts/check-local-headers.sh: Ignore libaudit.h.
40269         * nscd/Makefile (extra-objs): Make recursively expanded.
40271 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
40273         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40274         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40276         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40277         * posix/tst-rfc3484-2.c: Likewise.
40278         * posix/tst-rfc3484-3.c: Likewise.
40280         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40281         process_vm_writev.
40282         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40283         process_vm_writev.
40284         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40285         process_vm_writev from libc using GLIBC_2.15 version.
40287         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40289 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
40291         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40292         stack usage.
40294 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
40296         [BZ #13367]
40297         * nss/getent.c (initgroups_keys): Show error message in case no group
40298         names are given.
40300         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40301         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40302         __bump_nl_timestamp.
40303         * nscd/connections (nscd_init): When host database is served open
40304         netlink socket and request notification about configuration changes.
40305         (main_loop_poll): Track netlink file descriptor and bump timestamp
40306         in case data becomes available.
40307         (main_loop_epoll): Likewise.
40308         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40309         (database_pers_head): Add extra_data fileds.
40310         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40311         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40312         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40313         Adjust caller.
40314         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40315         in6ai data, call __free_in6ai.
40316         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40317         Add -DHAVE_NETLINK.
40318         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
40319         interface information.  Reuse previous data if netlink timestamp
40320         is not changed.
40321         (__bump_nl_timestamp): New function.
40322         (__free_in6ai): New function.
40324 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
40326         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40327         close_not_cancel_no_status here.
40328         (__check_pf): Reorganize code a bit to not call close twice if OOM.
40330 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40332         [BZ #13276]
40333         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40334         return value.
40336         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40337         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40338         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40340 2011-07-03  Andreas Jaeger  <aj@suse.de>
40342         [BZ #10709]
40343         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40344         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40345         * math/libm-test.inc (sin_test): Add test case.
40347 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40349         [BZ #13337]
40350         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40351         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40353         * elf/chroot_canon.c (chroot_canon): Cleanups.
40355         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40357         [BZ #13335]
40358         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40359         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40361         * string/test-strchr.c: Make usable for strchrnul testing.
40362         * string/test-strchrnul.c: New file.
40363         * string/Makefile (strop-tests): Add strchrnul.
40365         * po/it.po: Update from translation team.
40366         * po/es.po: Likewise.
40368 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
40370         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40371         the three constants needed as parameters.  Drop the others.
40372         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40373         __m128i_strloadu_tolower.
40374         Create and initialize variable zero and use it in all the places
40375         where _mm_setzero_si128 was used.
40377         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40378         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40379         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40380         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40381         anymore.
40382         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40383         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40384         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40385         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40386         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40387         __mpranred, __mptan.
40388         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40389         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40390         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40391         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40392         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40393         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40394         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40395         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40396         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40398 2011-10-28  Andreas Schwab  <schwab@redhat.com>
40400         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40401         redefine if SHARED.
40402         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40404         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40405         wide char related routines to wcsmbs subdir.
40407 2011-10-27  Andreas Schwab  <schwab@redhat.com>
40409         [BZ #13344]
40410         * misc/sys/cdefs.h (__THROWNL): Define.
40411         * posix/unistd.h: Use __THREADNL instead of __THREAD
40412         for memory synchronization functions.
40414 2011-10-26  Roland McGrath  <roland@hack.frob.com>
40416         [BZ #13349]
40417         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40418         doesn't exist.
40419         * manual/stdio.texi (Obstack Streams): Node removed.
40421 2011-10-26  Andreas Schwab  <schwab@redhat.com>
40423         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40424         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40425         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40427         * math/math_private.h (math_force_eval): Allow non-addressable
40428         arguments.
40429         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40431 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40433         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40434         file is not needed.
40436         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40437         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40438         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40439         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40440         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40441         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40442         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40443         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40444         Add AVX variants.
40445         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40446         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40447         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40448         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40449         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40450         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40451         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40452         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40453         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40454         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40455         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40456         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40457         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40458         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40459         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40460         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40461         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40462         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40463         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40465         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40466         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
40468         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40469         place.  Use VEX encoding when compiling for AVX.
40471 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40473         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40474         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40476         * string/test-strchr.c (do_test): Don't generate NUL bytes.
40478 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40480         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40481         useless if() expression.
40482         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40483         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40484         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40485         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40486         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40487         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40488         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40489         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40490         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40491         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40492         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40493         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40494         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40495         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40496         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40497         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40498         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40499         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40500         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40502         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40504 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40506         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40507         condition.
40508         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40510 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40512         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40513         .text section.  Avoid duplicate constants.
40514         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40515         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40516         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40517         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40518         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40519         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40520         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40521         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40522         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40523         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40524         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40525         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40526         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40527         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40528         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40529         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40530         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40531         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40532         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40533         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40534         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40535         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40536         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40537         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40538         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40539         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40540         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40541         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40542         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40543         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40544         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40545         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40546         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40547         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40548         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40549         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40550         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40551         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40552         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40553         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40554         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40555         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40556         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40557         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40558         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40560 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
40562         * sysdeps/x86_64/dla.h: Move to ...
40563         * sysdeps/x86_64/fpu/dla.h: ...here.
40564         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40565         situations.  Use __builtin_fma only for gcc 4.6 and up.
40567         * config.make.in: Add have-mfma4 entry.
40568         * configure.in: Substitute libc_cv_cc_fma4.
40569         * math/Makefile (dbl-only-routines): Add sincostab.
40570         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40571         Use __sincostab not sincos.
40572         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40573         name is a macro.
40574         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40575         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40576         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40577         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
40578         using __copysign.
40579         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
40580         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
40581         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40582         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40583         and __inv.
40584         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40585         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40586         __copysign.
40587         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
40588         define aliases when function name is a macro.
40589         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40590         sysdeps/ieee754/dbl-64/sincos.tbl.
40591         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40592         fma4-enabled routines.
40593         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40594         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40595         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40596         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40597         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40598         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40599         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40600         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40601         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40602         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40603         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40604         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40605         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40606         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40607         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40608         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40609         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40610         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40611         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40612         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40613         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40614         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40615         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40616         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40617         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40618         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40619         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40620         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40621         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40622         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40624         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40625         rename.
40626         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40627         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40628         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40629         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40630         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40631         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40632         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40633         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40635 2011-10-24  Andreas Schwab  <schwab@redhat.com>
40637         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40639 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40641         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40643         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40644         prediction.
40645         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40647         * string/strnlen.c: Don't define STRNLEN, reverse logic.
40648         Remove unused variable magic_bits.
40649         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40651         * string/strnlen.c: Define and use STRNLEN macro.
40652         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40653         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40654         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40655         * wcsmbs/wcslen.c: Define and use WCSLEN.
40656         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40657         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40658         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40659         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40660         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40661         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40662         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40664 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40666         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40667         strnlen-sse2-no-bsf.
40668         Rename strlen-no-bsf to strlen-sse2-no-bsf.
40669         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40670         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40671         Add strnlen support.
40672         (USE_AS_STRNLEN): New macro.
40673         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40674         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40675         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40676         * sysdeps/x86_64/wcslen.S: New file.
40678 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
40680         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40681         XMM-moves are used for copying on small sizes.
40683 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40685         * wcsmbs/Makefile (strop-tests): Add wcschr.
40686         * wcsmbs/test-wcschr.c: New file.
40687         * string/test-strchr.c: Update.
40688         Add wcschr support.
40689         (WIDE): New macro.
40691 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40693         * wcsmbs/Makefile (strop-tests): Add wcslen.
40694         * wcsmbs/test-wcslen.c: New file.
40695         * string/test-strlen.c: Update.
40696         Add wcslen support.
40697         (WIDE): New macro.
40699 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40701         * po/it.po: Update from translation team.
40703 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40705         * sysdeps/x86_64/wcscmp.S: Update.
40706         Fix wrong comparison semantics.
40707         wcscmp shall use signed comparison not unsigned.
40708         Don't use substraction to avoid overflow bug.
40709         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40710         * wcsmbc/wcscmp.c: Likewise.
40711         * string/test-strcmp.c: Likewise.
40712         Add new tests to check cases with negative values.
40714 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40716         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40717         * sysdeps/x86_64/dla.h: ...here.  New file.
40718         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40719         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40720         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40721         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40722         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40723         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40724         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40725         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40726         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40728 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
40730         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40731         __ynl_finite aliases.
40733 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40735         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40737         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40738         define DLA_FMA.
40739         [DLA_FMA] (EMULV): Use DLA_FMA.
40740         [DLA_FMA] (MUL12): Use EMULV.
40741         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40742         that are not needed.
40743         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40744         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40745         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40746         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40747         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40748         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40749         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40751 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
40753         * math/s_nan.c: Undef __nan.
40754         * math/s_nanf.c: Undef __nanf.
40755         * math/s_nanl.c: Undef __nanl.
40756         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40757         "math_private.h".
40759 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40761         * math/s_catan.c: Add branch predictions.
40762         * math/s_catanf.c: Likewise.
40763         * math/s_catanh.c: Likewise.
40764         * math/s_catanhf.c: Likewise.
40765         * math/s_catanhl.c: Likewise.
40766         * math/s_catanl.c: Likewise.
40767         * math/s_cexp.c: Likewise.
40768         * math/s_cexpf.c: Likewise.
40769         * math/s_cexpl.c: Likewise.
40770         * math/s_clog.c: Likewise.
40771         * math/s_clog10.c: Likewise.
40772         * math/s_clog10f.c: Likewise.
40773         * math/s_clog10l.c: Likewise.
40774         * math/s_clogf.c: Likewise.
40775         * math/s_clogl.c: Likewise.
40776         * math/s_csqrt.c: Likewise.
40777         * math/s_csqrtf.c: Likewise.
40778         * math/s_csqrtl.c: Likewise.
40779         * math/s_ctanf.c: Likewise.
40780         * math/s_ctanh.c: Likewise.
40781         * math/s_ctanhf.c: Likewise.
40782         * math/s_ctanhl.c: Likewise.
40783         * math/s_ctanl.c: Likewise.
40785         * math/math_private.h: Define __nan, __nanf, __nanl.
40786         * math/s_cacosh.c: Include <math_private.h>.
40787         * math/s_cacoshl.c: Likewise.
40788         * math/s_casinh.c: Likewise.
40789         * math/s_casinhf.c: Likewise.
40790         * math/s_casinhl.c: Likewise.
40791         * math/s_ccos.c: Rely entire on ccosh.
40792         * math/s_ccosf.c: Rely entire on ccoshf.
40793         * math/s_ccosl.c: Rely entirely on ccoshl.
40794         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
40795         Remove tests for FE_INVALID.
40796         * math/s_ccoshf.c: Likewise.
40797         * math/s_ccoshl.c: Likewise.
40798         * math/s_csin.c: Likewise.
40799         * math/s_csinf.c: Likewise.
40800         * math/s_csinh.c Likewise.
40801         * math/s_csinhf.c: Likewise.
40802         * math/s_csinhl.c: Likewise.
40803         * math/s_csinl.c: Likewise.
40804         * math/s_ctan.c: Likewise.
40805         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40806         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40807         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40809 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
40811         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40812         compilation problems.
40814         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40815         __builtin_expect.
40817 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
40819         * sysdeps/i386/configure.in: Test for -mfma4 option.
40820         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40821         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40822         COMMON_CPUID_INDEX_80000001.
40823         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40824         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40825         use it if FMA3 is not supported.
40826         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40828         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40829         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40831 2011-10-20  Andreas Schwab  <schwab@redhat.com>
40833         [BZ #12892]
40834         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40835         it would create a cycle with a link time dependency.
40837 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
40839         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40840         instruction.
40841         * string/Makefile (strop-tests): Add rawmemchr.
40842         * string/test-rawmemchr.c: New file.
40844         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40845         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
40846         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
40847         when compiling str{,n}casecmp and when AVX is available.  Hook up
40848         new optimized code in initializers.
40850 2011-10-19  Andreas Schwab  <schwab@redhat.com>
40852         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40853         __feraiseexcept instead of feraiseexcept.
40855 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
40857         * math/math_private.h: Define defaults for libc_fetestexcept and
40858         libc_feupdateenv.
40859         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40860         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40861         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40862         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40863         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40864         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40865         libc_fetestexcept and libc_feupdateenv.
40867         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40868         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40869         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40870         * sysdeps/x86_64/fpu/math_private.h: Define special version of
40871         libc_feholdexcept_setround.
40873         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40874         Add s_nearbyint-c and s_nearbyintf-c.
40875         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40876         nearbyintf inlines.
40877         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40878         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40879         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40880         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40882         * math/math_private.h: Define defaults for libc_fegetround,
40883         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40884         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40885         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40886         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40887         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40888         standard functions.
40889         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40890         Remove comments and hacks for old compiler versions.
40891         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40892         libc_fegetround, libc_fesetround, libc_feholdexcept, and
40893         libc_feholdexceptl.
40895 2011-10-18  Andreas Schwab  <schwab@redhat.com>
40897         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40898         (__feraiseexcept_renamed): Add __NTH.
40899         (feraiseexcept): Add __NTH.  Rename local variables to fix
40900         namespace violations.
40902 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
40904         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40906         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40908         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40909         recently added interfaces.
40910         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40912         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40913         about macro parameter expansion.
40915         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40916         __NO_MATH_INLINES is defined.  Cleanups.
40918         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40919         and __floorf is target has SSE4.1.
40920         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40921         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40922         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40923         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40925         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40926         name.
40927         (floorf): Likewise.
40929         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40931 2011-10-17  Andreas Schwab  <schwab@redhat.com>
40933         * misc/sys/cdefs.h: Fix last change.
40935         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40936         database lookup.
40938 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
40940         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40942         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40943         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40944         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40945         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40946         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40947         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40948         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40949         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40950         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40951         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40952         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40953         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40954         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40955         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40956         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40957         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40958         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40959         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40960         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40961         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40962         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40963         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40965         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40966         ceil, ceilf, floor, floorf.
40968         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40969         Perform IRELATIVE relocations last.
40971         * elf/do-rel.h: Add another parameter nrelative, replacing the
40972         local variable with the same name.  Change name of the function
40973         to end in Rel or Rela (uppercase).
40974         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40975         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
40976         elf_dynamic_do_##reloc function.
40978 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
40980         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40981         is sufficient, at least on modern CPUs.
40983         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40985         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40986         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40988         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40989         __expl_finite.
40990         * math/bits/math-finite.h: Add entries for exp.
40991         * math/e_expl.c: Add __*_finite alias.
40992         * sysdeps/i386/fpu/e_exp.S: Likewise.
40993         * sysdeps/i386/fpu/e_expf.S: Likewise.
40994         * sysdeps/i386/fpu/e_expl.c: Likewise.
40995         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40996         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40997         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40998         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40999         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41000         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41001         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41003         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41004         is sufficient, at least on modern CPUs.
41006         * ctype/ctype-info.c (__ctype_init): Define.
41007         * include/ctype.h (__ctype_init): Declare.
41008         (__ctype_b_loc): The variable is always initialized.
41009         (__ctype_toupper_loc): Likewise.
41010         (__ctype_tolower_loc): Likewise.
41011         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41012         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41014 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
41016         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41018         * configure.in: Also look in $cxxmachine/include for C++ system
41019         headers.
41021 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41023         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41024         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41025         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41026         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
41027         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41028         (USE_AS_WMEMCMP): New macro.
41029         Fixing indents.
41030         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41031         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41032         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41033         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41034         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41035         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41036         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41037         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41038         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41039         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41040         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41041         (USE_AS_WMEMCMP): New macro.
41042         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41043         * sysdeps/string/test-memcmp.c: Update.
41044         Fix simple_wmemcmp.
41045         Add new tests.
41046         * wcsmbs/wmemcmp.c: Update.
41047         (WMEMCMP): New macro.
41048         Fix overflow bug.
41050 2011-10-12  Andreas Jaeger  <aj@suse.de>
41052         [BZ #13268]
41053         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41055 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41057         * libio/iofwide.c (do_length): Avoid warning.
41059         * ctype/ctype.h (__isctype_f): Add missing __THROW.
41061 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
41063         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41065         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41066         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41067         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41068         * sysdeps/i386/i686/fpu/e_log.S: New file.
41069         * sysdeps/i386/i686/fpu/e_logf.S: New file.
41070         * sysdeps/i386/i686/fpu/e_logl.S: New file.
41072         * ctype/ctype.h: Add support for inlined isXXX functions when
41073         compiling C++ code.
41075 2011-10-14  Andreas Schwab  <schwab@redhat.com>
41077         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41079         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41081 2011-10-13  Roland McGrath  <roland@hack.frob.com>
41083         [BZ #13291]
41084         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41086 2011-10-13  Andreas Schwab  <schwab@redhat.com>
41088         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41089         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41090         feraiseexcept.
41092         * sysdeps/x86_64/memrchr.S: Check for zero size.
41094         * string/stratcliff.c: Add memrchr tests.
41096 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41098         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41099         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41100         rawmemchr-sse2 rawmemchr-sse2-bsf.
41101         * sysdeps/i386/i686/multiarch/memchr.S: New file.
41102         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41103         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41104         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41105         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41106         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41107         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41108         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41109         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41110         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41111         * string/memrchr.c (MEMRCHR): New macro.
41113 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
41115         Add integration with gcc's -ffinite-math-only and optimize wrapper
41116         functions in libm.
41117         * Versions.def: Define GLIBC_2.15 version for libm.
41118         * math/Makefile (headers): Add bits/math-finite.h.
41119         * math/bits/math-finite.h: New file.
41120         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41121         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41122         * math/e_acoshl.c: Add __*_finite alias.
41123         * math/e_acosl.c: Likewise.
41124         * math/e_asinl.c: Likewise.
41125         * math/e_atan2l.c: Likewise.
41126         * math/e_atanhl.c: Likewise.
41127         * math/e_coshl.c: Likewise.
41128         * math/e_exp10.c: Likewise.
41129         * math/e_exp10f.c: Likewise.
41130         * math/e_exp10l.c: Likewise.
41131         * math/e_exp2l.c: Likewise.
41132         * math/e_fmodl.c: Likewise.
41133         * math/e_gammal_r.c: Likewise.
41134         * math/e_hypotl.c: Likewise.
41135         * math/e_j0l.c: Likewise.
41136         * math/e_j1l.c: Likewise.
41137         * math/e_jnl.c: Likewise.
41138         * math/e_lgammal_r.c: Likewise.
41139         * math/e_log10l.c: Likewise.
41140         * math/e_log2l.c: Likewise.
41141         * math/e_logl.c: Likewise.
41142         * math/e_powl.c: Likewise.
41143         * math/e_sinhl.c: Likewise.
41144         * math/e_sqrtl.c: Likewise.
41145         * math/e_scalb.c: Completely rewritten and optimized.
41146         * math/e_scalbf.c: Likewise.
41147         * math/e_scalbl.c: Likewise.
41148         * math/w_acos.c: Likewise.
41149         * math/w_acosf.c: Likewise.
41150         * math/w_acosl.c: Likewise.
41151         * math/w_acosh.c: Likewise.
41152         * math/w_acoshf.c: Likewise.
41153         * math/w_acoshl.c: Likewise.
41154         * math/w_asin.c: Likewise.
41155         * math/w_asinf.c: Likewise.
41156         * math/w_asinl.c: Likewise.
41157         * math/w_atan2.c: Likewise.
41158         * math/w_atan2f.c: Likewise.
41159         * math/w_atan2l.c: Likewise.
41160         * math/w_atanh.c: Likewise.
41161         * math/w_atanhf.c: Likewise.
41162         * math/w_atanhl.c: Likewise.
41163         * math/w_exp10.c: Likewise.
41164         * math/w_exp10f.c: Likewise.
41165         * math/w_exp10l.c: Likewise.
41166         * math/w_fmod.c: Likewise.
41167         * math/w_fmodf.c: Likewise.
41168         * math/w_fmodl.c: Likewise.
41169         * math/w_j0.c: Likewise.
41170         * math/w_j0f.c: Likewise.
41171         * math/w_j0l.c: Likewise.
41172         * math/w_j1.c: Likewise.
41173         * math/w_j1f.c: Likewise.
41174         * math/w_j1l.c: Likewise.
41175         * math/w_jn.c: Likewise.
41176         * math/w_jnf.c: Likewise.
41177         * math/w_log.c: Likewise.
41178         * math/w_logf.c: Likewise.
41179         * math/w_logl.c: Likewise.
41180         * math/w_log10.c: Likewise.
41181         * math/w_log10f.c: Likewise.
41182         * math/w_log10l.c: Likewise.
41183         * math/w_log2.c: Likewise.
41184         * math/w_log2f.c: Likewise.
41185         * math/w_log2l.c: Likewise.
41186         * math/w_pow.c: Likewise.
41187         * math/w_powf.c: Likewise.
41188         * math/w_powl.c: Likewise.
41189         * math/w_remainder.c: Likewise.
41190         * math/w_remainderf.c: Likewise.
41191         * math/w_remainderl.c: Likewise.
41192         * math/w_scalb.c: Likewise.
41193         * math/w_scalbf.c: Likewise.
41194         * math/w_scalbl.c: Likewise.
41195         * math/w_sqrt.c: Likewise.
41196         * math/w_sqrtf.c: Likewise.
41197         * math/w_sqrtl.c: Likewise.
41198         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41199         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
41200         used.
41201         * math/math_private.h: Declare __kernel_standard_f.
41202         * math/w_cosh.c: Remove cruft and optimize a bit.
41203         * math/w_coshf.c: Likewise.
41204         * math/w_coshl.c: Likewise.
41205         * math/w_exp2.c: Likewise.
41206         * math/w_exp2f.c: Likewise.
41207         * math/w_exp2l.c: Likewise.
41208         * math/w_hypot.c: Likewise.
41209         * math/w_hypotf.c: Likewise.
41210         * math/w_hypotl.c: Likewise.
41211         * math/w_lgamma.c: Likewise.
41212         * math/w_lgamma_r.c: Likewise.
41213         * math/w_lgammaf.c: Likewise.
41214         * math/w_lgammaf_r.c: Likewise.
41215         * math/w_lgammal.c: Likewise.
41216         * math/w_lgammal_r.c: Likewise.
41217         * math/w_sinh.c: Likewise.
41218         * math/w_sinhf.c: Likewise.
41219         * math/w_sinhl.c: Likewise.
41220         * math/w_tgamma.c: Likewise.
41221         * math/w_tgammaf.c: Likewise.
41222         * math/w_tgammal.c: Likewise.
41223         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41224         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41225         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41226         Minor optimizations.  Pretty printing.  Remove cruft.
41227         * sysdeps/i386/fpu/e_acosf.S: Likewise.
41228         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41229         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41230         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41231         * sysdeps/i386/fpu/e_acosl.c: Likewise.
41232         * sysdeps/i386/fpu/e_asin.S: Likewise.
41233         * sysdeps/i386/fpu/e_asinf.S: Likewise.
41234         * sysdeps/i386/fpu/e_atan2.S: Likewise.
41235         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41236         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41237         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41238         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41239         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41240         * sysdeps/i386/fpu/e_exp10.S: Likewise.
41241         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41242         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41243         * sysdeps/i386/fpu/e_exp2.S: Likewise.
41244         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41245         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41246         * sysdeps/i386/fpu/e_fmod.S: Likewise.
41247         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41248         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41249         * sysdeps/i386/fpu/e_hypot.S: Likewise.
41250         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41251         * sysdeps/i386/fpu/e_log.S: Likewise.
41252         * sysdeps/i386/fpu/e_log10.S: Likewise.
41253         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41254         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41255         * sysdeps/i386/fpu/e_log2.S: Likewise.
41256         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41257         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41258         * sysdeps/i386/fpu/e_logf.S: Likewise.
41259         * sysdeps/i386/fpu/e_logl.S: Likewise.
41260         * sysdeps/i386/fpu/e_pow.S: Likewise.
41261         * sysdeps/i386/fpu/e_powf.S: Likewise.
41262         * sysdeps/i386/fpu/e_powl.S: Likewise.
41263         * sysdeps/i386/fpu/e_remainder.S: Likewise.
41264         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41265         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41266         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41267         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41268         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41269         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41270         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41271         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41272         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41273         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41274         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41275         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41276         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41277         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41278         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41279         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41280         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41281         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41282         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41283         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41284         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41285         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41286         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41287         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41288         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41289         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41290         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41291         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41292         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41293         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41294         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41295         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41296         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41297         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41298         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41299         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41300         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41301         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41302         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41303         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41304         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41305         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41306         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41307         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41308         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41309         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41310         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41311         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41312         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41313         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41314         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41315         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41316         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41317         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41318         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41319         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41320         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41321         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41322         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41323         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41324         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41325         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41326         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41327         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41328         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41329         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41330         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41331         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41332         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41333         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41334         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41335         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41336         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41337         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41338         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41339         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41340         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41341         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41342         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41343         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41344         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41345         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41346         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41347         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41348         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41349         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41350         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41351         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41352         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41353         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41354         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41355         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41356         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41357         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41358         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41359         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41360         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41361         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41362         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41363         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41364         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41365         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41366         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41367         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41368         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41369         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41370         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41371         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41372         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41373         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41374         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41375         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41376         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41377         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41378         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41379         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41380         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41381         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41382         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
41383         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41384         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41385         (__isnanf): Likewise.
41386         (__isinf_ns): Likewise.
41387         (__isinf_nsf): Likewise.
41388         (__finite): Likewise.
41389         (__finitef): Likewise.
41390         (__ieee754_sqrt): Define as macro.
41391         (__ieee754_sqrtf): Define as macro.
41392         (__ieee754_sqrtl): Define as macro.
41393         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41394         inlined copy.
41395         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41396         __FINITE_MATH_ONLY__ consistent.
41397         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41399 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
41401         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41402         of rawmemchr.
41404         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41406 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
41408         * po/ja.po: Update from translation team.
41410 2011-10-08  Roland McGrath  <roland@hack.frob.com>
41412         * locale/programs/locarchive.c (prepare_address_space): New function.
41413         (create_archive, enlarge_archive, open_archive): Use it.
41415         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41416         inside [SHARED], where it is used.
41418         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41420         * nss/getent.c (netgroup_keys): Remove unused variable.
41421         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41423 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
41425         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41426         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41427         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41428         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41429         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41430         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41431         * math/Makefile (libm-calls): Add s_isinf_ns.
41432         * math/divtc3.c: Use __isinf_nsl instead of isinf.
41433         * math/multc3.c: Likewise.
41434         * math/s_casin.c: Likewise.
41435         * math/s_casinf.c: Likewise.
41436         * math/s_casinl.c: Likewise.
41437         * math/s_ccos.c: Likewise.
41438         * math/s_ccosf.c: Likewise.
41439         * math/s_ccosl.c: Likewise.
41440         * math/s_ctan.c: Likewise.
41441         * math/s_ctanf.c: Likewise.
41442         * math/s_ctanh.c: Likewise.
41443         * math/s_ctanhf.c: Likewise.
41444         * math/s_ctanhl.c: Likewise.
41445         * math/s_ctanl.c: Likewise.
41446         * math/w_fmod.c: Likewise.
41447         * math/w_fmodf.c: Likewise.
41448         * math/w_fmodl.c: Likewise.
41449         * math/w_remainder.c: Likewise.
41450         * math/w_remainderf.c: Likewise.
41451         * math/w_remainderl.c: Likewise.
41452         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41453         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41454         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41455         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41456         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41457         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41458         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41459         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41461         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41462         of the number.
41463         * stdio-common/printf_fphex.c: Likewise.
41464         * stdio-common/printf_size.c: Likewise.
41466         * math/e_exp10.c: Include math_private.h using <...> not "...".
41467         * math/e_exp10f.c: Likewise.
41468         * math/e_exp10l.c: Likewise.
41469         * math/e_exp2l.c: Likewise.
41470         * math/e_j0l.c: Likewise.
41471         * math/e_j1l.c: Likewise.
41472         * math/e_jnl.c: Likewise.
41473         * math/e_lgammal_r.c: Likewise.
41474         * math/e_rem_pio2l.c: Likewise.
41475         * math/e_scalb.c: Likewise.
41476         * math/e_scalbf.c: Likewise.
41477         * math/e_scalbl.c: Likewise.
41478         * math/k_cosl.c: Likewise.
41479         * math/k_sinl.c: Likewise.
41480         * math/k_tanl.c: Likewise.
41481         * math/s_cacoshf.c: Likewise.
41482         * math/s_catan.c: Likewise.
41483         * math/s_catanf.c: Likewise.
41484         * math/s_catanh.c: Likewise.
41485         * math/s_catanhf.c: Likewise.
41486         * math/s_catanhl.c: Likewise.
41487         * math/s_catanl.c: Likewise.
41488         * math/s_ccosh.c: Likewise.
41489         * math/s_ccoshf.c: Likewise.
41490         * math/s_ccoshl.c: Likewise.
41491         * math/s_cexp.c: Likewise.
41492         * math/s_cexpf.c: Likewise.
41493         * math/s_cexpl.c: Likewise.
41494         * math/s_clog.c: Likewise.
41495         * math/s_clog10.c: Likewise.
41496         * math/s_clog10f.c: Likewise.
41497         * math/s_clog10l.c: Likewise.
41498         * math/s_clogf.c: Likewise.
41499         * math/s_clogl.c: Likewise.
41500         * math/s_csin.c: Likewise.
41501         * math/s_csinf.c: Likewise.
41502         * math/s_csinh.c: Likewise.
41503         * math/s_csinhf.c: Likewise.
41504         * math/s_csinhl.c: Likewise.
41505         * math/s_csinl.c: Likewise.
41506         * math/s_csqrt.c: Likewise.
41507         * math/s_csqrtf.c: Likewise.
41508         * math/s_csqrtl.c: Likewise.
41509         * math/s_ctan.c: Likewise.
41510         * math/s_ctanf.c: Likewise.
41511         * math/s_ctanh.c: Likewise.
41512         * math/s_ctanhf.c: Likewise.
41513         * math/s_ctanhl.c: Likewise.
41514         * math/s_ctanl.c: Likewise.
41515         * math/s_ldexp.c: Likewise.
41516         * math/s_ldexpf.c: Likewise.
41517         * math/s_ldexpl.c: Likewise.
41518         * math/s_significand.c: Likewise.
41519         * math/s_significandf.c: Likewise.
41520         * math/s_significandl.c: Likewise.
41521         * math/w_acos.c: Likewise.
41522         * math/w_acosf.c: Likewise.
41523         * math/w_acosh.c: Likewise.
41524         * math/w_acoshf.c: Likewise.
41525         * math/w_acoshl.c: Likewise.
41526         * math/w_acosl.c: Likewise.
41527         * math/w_asin.c: Likewise.
41528         * math/w_asinf.c: Likewise.
41529         * math/w_asinl.c: Likewise.
41530         * math/w_atan2.c: Likewise.
41531         * math/w_atan2f.c: Likewise.
41532         * math/w_atan2l.c: Likewise.
41533         * math/w_atanh.c: Likewise.
41534         * math/w_atanhf.c: Likewise.
41535         * math/w_atanhl.c: Likewise.
41536         * math/w_cosh.c: Likewise.
41537         * math/w_coshf.c: Likewise.
41538         * math/w_coshl.c: Likewise.
41539         * math/w_dremf.c: Likewise.
41540         * math/w_exp10.c: Likewise.
41541         * math/w_exp10f.c: Likewise.
41542         * math/w_exp10l.c: Likewise.
41543         * math/w_exp2.c: Likewise.
41544         * math/w_exp2f.c: Likewise.
41545         * math/w_fmod.c: Likewise.
41546         * math/w_fmodf.c: Likewise.
41547         * math/w_fmodl.c: Likewise.
41548         * math/w_hypot.c: Likewise.
41549         * math/w_hypotf.c: Likewise.
41550         * math/w_hypotl.c: Likewise.
41551         * math/w_j0.c: Likewise.
41552         * math/w_j0f.c: Likewise.
41553         * math/w_j0l.c: Likewise.
41554         * math/w_j1.c: Likewise.
41555         * math/w_j1f.c: Likewise.
41556         * math/w_j1l.c: Likewise.
41557         * math/w_jn.c: Likewise.
41558         * math/w_jnf.c: Likewise.
41559         * math/w_jnl.c: Likewise.
41560         * math/w_lgamma.c: Likewise.
41561         * math/w_lgamma_r.c: Likewise.
41562         * math/w_lgammaf.c: Likewise.
41563         * math/w_lgammaf_r.c: Likewise.
41564         * math/w_lgammal.c: Likewise.
41565         * math/w_lgammal_r.c: Likewise.
41566         * math/w_log.c: Likewise.
41567         * math/w_log10.c: Likewise.
41568         * math/w_log10f.c: Likewise.
41569         * math/w_log10l.c: Likewise.
41570         * math/w_log2.c: Likewise.
41571         * math/w_log2f.c: Likewise.
41572         * math/w_log2l.c: Likewise.
41573         * math/w_logf.c: Likewise.
41574         * math/w_logl.c: Likewise.
41575         * math/w_pow.c: Likewise.
41576         * math/w_powf.c: Likewise.
41577         * math/w_powl.c: Likewise.
41578         * math/w_remainder.c: Likewise.
41579         * math/w_remainderf.c: Likewise.
41580         * math/w_remainderl.c: Likewise.
41581         * math/w_scalb.c: Likewise.
41582         * math/w_scalbf.c: Likewise.
41583         * math/w_scalbl.c: Likewise.
41584         * math/w_sinh.c: Likewise.
41585         * math/w_sinhf.c: Likewise.
41586         * math/w_sinhl.c: Likewise.
41587         * math/w_sqrt.c: Likewise.
41588         * math/w_sqrtf.c: Likewise.
41589         * math/w_sqrtl.c: Likewise.
41590         * math/w_tgamma.c: Likewise.
41591         * math/w_tgammaf.c: Likewise.
41592         * math/w_tgammal.c: Likewise.
41594         * po/ja.po: Update from translation team.
41596 2011-09-29  Andreas Jaeger  <aj@suse.de>
41598         [BZ #13179]
41599         * sunrpc/netname.c (netname2host): Fix logic.
41601         [BZ #6779]
41602         [BZ #6783]
41603         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41604         correctly.
41605         * math/w_remainder.c (__remainder): Likewise.
41606         * math/w_remainderf.c (__remainderf): Likewise.
41607         * math/libm-test.inc (remainder_test): Add test cases.
41609 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41611         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
41612         sdiv_qrnnd.
41614 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41616         * string/test-memcmp.c: Avoid unncessary #defines.
41617         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41619 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41621         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41622         Use new sse2 version for core i3 - i7 as it's faster
41623         than sse42 version.
41624         (bit_Prefer_PMINUB_for_stringop): New.
41625         * sysdeps/x86_64/rawmemchr.S: Update.
41626         Replace with faster SSE2 version.
41627         * sysdeps/x86_64/memrchr.S: New file.
41628         * sysdeps/x86_64/memchr.S: Update.
41629         Replace with faster SSE2 version.
41631 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
41633         * elf/dl-load.c (lose): Add cast to avoid warning.
41635 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41637         * po/ca.po: Update from translation team.
41639         * inet/getnetgrent_r.c: Hook up nscd.
41640         * nscd/Makefile (routines): Add nscd_netgroup.
41641         (nscd-modules): Add netgroupcache.
41642         (CFLAGS-netgroupcache.c): Define.
41643         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41644         (cache_search): Add const to second parameter.
41645         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41646         INNETGR.
41647         (dbs): Add netgrdb entry.
41648         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41649         (verify_persistent_db): Handle netgrdb.
41650         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41651         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41652         GETFDNETGR.
41653         (netgroup_response_header): Define.
41654         (innetgroup_response_header): Define.
41655         (datahead): Add netgroup_response_header and innetgroup_response_header
41656         elements.
41657         * nscd/nscd.conf: Add entries for netgroup cache.
41658         * nscd/nscd.h (dbtype): Add netgrdb.
41659         (_PATH_NSCD_NETGROUP_DB): Define.
41660         (netgroup_iov_disabled): Declare.
41661         (xmalloc, xcalloc, xrealloc): Move declarations here.
41662         (cache_search): Adjust prototype.
41663         Add netgroup-related prototypes.
41664         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41665         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41666         (__nscd_innetgr): Declare.
41667         * nscd/selinux.c (perms): Use access_vector_t as element type and
41668         add netgroup-related initializers.
41669         * nscd/netgroupcache.c: New file.
41670         * nscd/nscd_netgroup.c: New file.
41671         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41672         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41673         For four parameters use innetgr.
41674         * nss/nss_files/files-init.c: Add definition and callback for netgr.
41675         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41676         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41677         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41679         * nscd/connections.c (register_traced_file): Don't register file
41680         for disabled databases.
41682 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
41684         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41686         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41687         from tree and freeing node.
41689 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
41691         * nss/nsswitch.c (__nss_database_lookup): Handle
41692         nss_parse_service_list out of memory case.
41694 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
41696         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41697         out of memory case.
41699 2011-10-04  Andreas Schwab  <schwab@redhat.com>
41701         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41702         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41703         pass it down.
41704         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41705         elf_machine_rela, elf_machine_lazy_rel.
41706         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41707         (ELF_DYNAMIC_DO_REL): Likewise.
41708         (ELF_DYNAMIC_DO_RELA): Likewise.
41709         (ELF_DYNAMIC_RELOCATE): Likewise.
41710         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41711         to ELF_DYNAMIC_DO_REL.
41712         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41713         (dl_main): In trace mode always set __RTLD_NOIFUNC.
41714         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41715         elf_machine_rela.
41716         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41717         skip_ifunc, don't call ifunc function if non-zero.
41718         (elf_machine_rela): Likewise.
41719         (elf_machine_lazy_rel): Likewise.
41720         (elf_machine_lazy_rela): Likewise.
41721         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41722         (elf_machine_lazy_rel): Likewise.
41723         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41724         Likewise.
41725         (elf_machine_lazy_rel): Likewise.
41726         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41727         Likewise.
41728         (elf_machine_lazy_rel): Likewise.
41729         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41730         (elf_machine_lazy_rel): Likewise.
41731         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41732         (elf_machine_lazy_rel): Likewise.
41733         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41734         (elf_machine_lazy_rel): Likewise.
41735         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41736         (elf_machine_lazy_rel): Likewise.
41737         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41738         (elf_machine_lazy_rel): Likewise.
41739         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41740         (elf_machine_lazy_rel): Likewise.
41742 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
41744         * nss/nss_files/files-init.c (_nss_files_init): Use static
41745         initialization for all the *_traced_file variables.
41747 2011-09-28  Andreas Schwab  <schwab@redhat.com>
41749         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41751 2011-09-27  Roland McGrath  <roland@hack.frob.com>
41753         [BZ #13226]
41754         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41756 2011-09-27  Andreas Schwab  <schwab@redhat.com>
41758         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41759         Reread the line before reparsing it.
41761 2011-09-26  Andreas Schwab  <schwab@redhat.com>
41763         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41765 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
41766             Maxim Kuvyrkov  <maxim@codesourcery.com>
41767             Joseph Myers  <joseph@codesourcery.com>
41769         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41770         if needed for __stack_chk_guard.
41772 2011-09-19  Roland McGrath  <roland@hack.frob.com>
41774         * sysdeps/posix/spawni.c (script_execute): Always define it.
41775         It will be optimized away if unused.
41776         (maybe_script_execute): New function.
41777         (__spawni): Call it.
41779         * Makerules: Don't include tls.make.
41780         (config-tls): Always set to thread.
41781         * tls.make.c: File removed.
41783 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
41785         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41786         * config.make.in (CPPFLAGS-config): New substituted variable.
41788 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41790         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41792         [BZ #13192]
41793         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41794         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41796 2011-09-15  Roland McGrath  <roland@hack.frob.com>
41798         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41799         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41800         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41801         (CALL_FAIL): Likewise.
41802         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41803         (CALL_FAIL): Macro removed.
41804         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41806 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41808         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41809         for __FINITE_MATH_ONLY__ == 1.
41811 2011-09-15  Andreas Schwab  <schwab@redhat.com>
41813         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41814         __ieee754_sqrt instead of sqrt.
41815         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41816         __ieee754_sqrtf instead of sqrtf.
41817         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41818         __floorf instead of floorf.
41819         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41820         __floorf, __truncf instead of floorf, truncf.
41822 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
41824         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41826         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41827         __extern_always_inline.
41828         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41829         32-bit.
41831 2011-09-14  Andreas Schwab  <schwab@redhat.com>
41833         * elf/rtld.c (dl_main): Also relocate in dependency order when
41834         doing symbol dependency testing.
41836 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
41838         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41839         Always define `refsym'.
41841 2011-09-13  Andreas Schwab  <schwab@redhat.com>
41843         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41844         (__FD_ELT): Renamed from __FDELT.
41845         * misc/bits/select2.h (__FD_ELT): Likewise.
41846         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41847         __FD_MASK instead of __FDELT, __FDMASK.
41848         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41849         Likewise.
41850         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41851         Likewise.
41853         * elf/Makefile (gen-ldd): Fix pattern.
41855         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41856         (init_tls): Likewise.
41858 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
41860         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41862 2011-09-12  Andreas Schwab  <schwab@redhat.com>
41864         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41865         `struct cmsghdr *' instead of `void *'.
41866         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41867         Likewise.
41869 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
41871         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41872         if non-absolute.
41873         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41874         ldd_rewrite_script.
41876 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
41878         * configure.in: Remove --with-tls option.
41879         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41880         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41881         out in case it is missing.
41882         * sysdeps/ia64/elf/configure.in: Likewise.
41883         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41884         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41885         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41886         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41887         * sysdeps/sh/elf/configure.in: Likewise.
41888         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41889         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41890         * sysdeps/x86_64/elf/configure.in: Likewise.
41891         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41892         * sysdeps/mach/hurd/tls.h: Likewise.
41894         [BZ #13067]
41895         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41897         [BZ #13090]
41898         * configure.in: Fix use of AC_INIT.
41900         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41902 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
41904         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41905         __set_errno.
41906         * malloc/hooks.c: Likewise.
41908         [BZ #11929]
41909         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
41910         variables statically.
41911         (narenas): Initialize.
41912         (list_lock): Initialize.
41913         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
41914         initializtion of main_arena and list_lock.  Small cleanups.
41915         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41916         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
41917         Add initializers to main_arena and mp_.
41918         (malloc_state): Remove pagesize member.  Change all users to use
41919         GLRO(dl_pagesize).
41921         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41922         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
41923         is always initialized.
41925         * malloc/malloc.c: Removed unused configurations and dead code.
41926         * malloc/arena.c: Likewise.
41927         * malloc/hooks.c: Likewise.
41928         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41930         * include/tls.h: Removed.  USE___THREAD must always be defined.
41931         * bits/libc-tsd.h: Don't handle !USE___THREAD.
41932         * elf/dl-libc.c: Likewise.
41933         * elf/dl-tsd.c: Likewise.
41934         * include/errno.h: Likewise.
41935         * include/netdb.h: Likewise.
41936         * include/resolv.h: Likewise.
41937         * inet/herrno-loc.c: Likewise.
41938         * inet/herrno.c: Likewise.
41939         * malloc/arena.c: Likewise.
41940         * malloc/hooks.c: Likewise.
41941         * malloc/malloc.c: Likewise.
41942         * resolv/res-state.c: Likewise.
41943         * resolv/res_libc.c: Likewise.
41944         * sysdeps/i386/dl-machine.h: Likewise.
41945         * sysdeps/ia64/dl-machine.h: Likewise.
41946         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41947         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41948         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41949         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41950         * sysdeps/sh/dl-machine.h: Likewise.
41951         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41952         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41953         * sysdeps/unix/i386/sysdep.S: Likewise.
41954         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41955         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41956         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41957         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41958         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41959         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41960         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41961         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41962         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41963         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41964         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41965         * sysdeps/x86_64/dl-machine.h: Likewise.
41966         * tls.make.c: Likewise.
41968         * configure.in: Remove --with-__thread option.  Make tests for
41969         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41970         tls_model attribute fail if no support is available.  Remove
41971         USE_IN_LIBIO.
41972         * Makeconfig: Adjust for dropped configure option.  All features are
41973         now mandatory.
41974         * Makerules: Likewise.
41975         * Versions.def: Likewise.
41976         * argp/argp-fmtstream.c: Likewise.
41977         * argp/argp-fmtstream.h: Likewise.
41978         * argp/argp-help.c: Likewise.
41979         * assert/assert.c: Likewise.
41980         * config.h.in: Likewise.
41981         * config.make.in: Likewise.
41982         * configure: Likewise.
41983         * configure.in: Likewise.
41984         * csu/Versions: Likewise.
41985         * csu/init.c: Likewise.
41986         * elf/tst-audit2.c: Likewise.
41987         * elf/tst-tls10.c: Likewise.
41988         * elf/tst-tls10.h: Likewise.
41989         * elf/tst-tls11.c: Likewise.
41990         * elf/tst-tls12.c: Likewise.
41991         * elf/tst-tls14.c: Likewise.
41992         * elf/tst-tlsmod11.c: Likewise.
41993         * elf/tst-tlsmod12.c: Likewise.
41994         * elf/tst-tlsmod13.c: Likewise.
41995         * elf/tst-tlsmod13a.c: Likewise.
41996         * elf/tst-tlsmod14a.c: Likewise.
41997         * elf/tst-tlsmod15b.c: Likewise.
41998         * elf/tst-tlsmod16a.c: Likewise.
41999         * elf/tst-tlsmod16b.c: Likewise.
42000         * elf/tst-tlsmod7.c: Likewise.
42001         * elf/tst-tlsmod8.c: Likewise.
42002         * elf/tst-tlsmod9.c: Likewise.
42003         * gmon/gmon.c: Likewise.
42004         * grp/fgetgrent_r.c: Likewise.
42005         * grp/putgrent.c: Likewise.
42006         * hurd/fopenport.c: Likewise.
42007         * include/libc-symbols.h: Likewise.
42008         * include/tls.h: Likewise.
42009         * intl/gettextP.h: Likewise.
42010         * intl/loadinfo.h: Likewise.
42011         * locale/global-locale.c: Likewise.
42012         * locale/localeinfo.h: Likewise.
42013         * mach/devstream.c: Likewise.
42014         * malloc/arena.c: Likewise.
42015         * malloc/set-freeres.c: Likewise.
42016         * misc/err.c: Likewise.
42017         * misc/getttyent.c: Likewise.
42018         * misc/mntent_r.c: Likewise.
42019         * posix/getopt.c: Likewise.
42020         * posix/wordexp.c: Likewise.
42021         * pwd/fgetpwent_r.c: Likewise.
42022         * resolv/Versions: Likewise.
42023         * resolv/res_hconf.c: Likewise.
42024         * shadow/fgetspent_r.c: Likewise.
42025         * shadow/putspent.c: Likewise.
42026         * stdio-common/printf_fphex.c: Likewise.
42027         * stdio-common/tmpfile.c: Likewise.
42028         * stdlib/abort.c: Likewise.
42029         * stdlib/fmtmsg.c: Likewise.
42030         * sunrpc/auth_unix.c: Likewise.
42031         * sunrpc/clnt_perr.c: Likewise.
42032         * sunrpc/clnt_tcp.c: Likewise.
42033         * sunrpc/clnt_udp.c: Likewise.
42034         * sunrpc/clnt_unix.c: Likewise.
42035         * sunrpc/openchild.c: Likewise.
42036         * sunrpc/svc_simple.c: Likewise.
42037         * sunrpc/svc_tcp.c: Likewise.
42038         * sunrpc/svc_udp.c: Likewise.
42039         * sunrpc/svc_unix.c: Likewise.
42040         * sunrpc/xdr.c: Likewise.
42041         * sunrpc/xdr_array.c: Likewise.
42042         * sunrpc/xdr_rec.c: Likewise.
42043         * sunrpc/xdr_ref.c: Likewise.
42044         * sunrpc/xdr_stdio.c: Likewise.
42046 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42048         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42050 2011-07-03  Andreas Jaeger  <aj@suse.de>
42052         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42053         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42054         regenerate with gen-libm-tests.pl.
42056 2010-05-12  Petr Baudis  <pasky@suse.cz>
42058         [BZ #11589]
42059         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42060         around j0() zero points by switching to j1().
42061         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42062         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42063         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42064         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42066 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42068         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42069         instead of 0.
42070         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42071         instead of 0.
42072         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42073         Patch in part by Pavel Roskin <proski@gnu.org>.
42075         [BZ #13138]
42076         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42077         realloc.
42078         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
42079         Free memory block if necessary.
42081         [BZ #12847]
42082         * libio/genops.c (INTDEF): For string streams the _lock pointer can
42083         be NULL.  Don't lock in this case.
42085 2011-09-09  Roland McGrath  <roland@hack.frob.com>
42087         * elf/elf.h (ELFOSABI_GNU): New macro.
42088         (ELFOSABI_LINUX): Define to that.
42090 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
42092         * string/strncat.c (strncat): Undef the symbol in case it has been
42093         defined in bits/string.h.
42095 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42097         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42099         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42100         link map.
42102 2011-08-17  Andreas Jaeger  <aj@suse.de>
42104         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42106 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42107             Ian Lance Taylor  <iant@google.com>
42109         * math/libm-test.inc (lround_test): New testcase.
42110         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42112 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
42114         * Makefile: Remove support for automatic cvs check-ins.
42115         * Makerules: Likewise.
42116         * config.make.in: Likewise.
42117         * configure.in: Likewise.
42118         * intl/Makefile: Likewise.
42119         * locale/Makefile: Likewise.
42120         * po/Makefile: Likewise.
42121         * posix/Makefile: Likewise.
42122         * sysdeps/gnu/Makefile: Likewise.
42123         * sysdeps/mach/hurd/Makefile: Likewise.
42124         * sysdeps/sparc/sparc32/Makefile: Likewise.
42126         [BZ #13118]
42127         * posix/Makefile (bug-regex32-ENV): Define.
42128         Patch by John Stanley <jpsinthemix@verizon.net>.
42130         * misc/Makefile (headers): Add bits/select2.h.
42131         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42132         * misc/bits/select2.h: New file.
42133         * include/bits/select2.h: New file.
42134         * debug/Makefile (routines): Add fdelt_chk.
42135         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42136         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42137         FD_ISSET.
42138         * debug/fdelt_chk.c: New file.
42140         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
42141         * wcsmbs/test-wmemcmp.c: Likewise.
42142         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42143         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42145 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42147         * string/Makefile (strop-tests): Add memcmp.
42148         * string/test-wmemcmp.c: New file.
42149         * string/test-memcmp.c: Add wmemcmp support.
42151 2011-09-08  Roland McGrath  <roland@hack.frob.com>
42153         [BZ #13153]
42154         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42155         2011-07-19 change.
42157         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42158         garbage value in a __mach_port_mod_refs call in the cases of the
42159         task-self and thread-self ports.
42161 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42163         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42165 2011-09-08  Andreas Schwab  <schwab@redhat.com>
42167         * elf/dl-load.c (lose): Check for non-null L.
42169 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42171         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42173         * elf/dl-libc.c (dlerror_run): Pass back error code from
42174         dl_catch_error.
42176         [BZ #13123]
42177         * elf/dl-load.c (lose): Free l_origin if it is valid.
42179         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42180         names.
42181         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42182         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42183         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42184         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42185         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42186         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42188 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42190         * sysdeps/powerpc/fpu/e_hypot.c: New file.
42191         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42192         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42193         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42194         * sysdeps/powerpc/fpu/k_cosf.c: New file.
42195         * sysdeps/powerpc/fpu/k_sinf.c: New file.
42196         * sysdeps/powerpc/fpu/s_cosf.c: New file.
42197         * sysdeps/powerpc/fpu/s_sinf.c: New file.
42198         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42199         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42201 2011-08-15  Alan Modra  <amodra@gmail.com>
42203         [BZ #13092]
42204         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42205         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42206         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
42207         ppc_mcount to static-only-routines.
42208         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42209         __mcount_internal.
42210         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42211         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
42213 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
42215         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42216         for finite and infinity parameters.
42218 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42220         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42221         and add nop instructions for throughput optimization.
42222         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42224 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
42226         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42227         aligned copy for power7 with vector-scalar instructions.
42228         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42230 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
42232         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42233         AVX check.
42235 2011-09-07  Andreas Schwab  <schwab@redhat.com>
42237         [BZ #13144]
42238         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42239         last change.
42241 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42243         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42244         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42245         syscall wrapper around clock_gettime in __vdso_clock_gettime.
42246         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42247         clock_gettime.
42249 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42251         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42252         Forgot to demangle the pointer.
42254         * sysdeps/i386/sysdep.h: Define atom_text_section.
42255         * sysdeps/x86_64/sysdep.h: Likewise.
42256         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42257         section with atom_text_section.
42258         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42259         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42260         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42261         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42262         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42264         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42265         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42266         already be defined.  Change to take two parameters and don't assign
42267         result to variable.  Adjust all users.
42268         Define INTERNAL_GETTIME if not already defined.
42269         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42270         call.
42271         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42272         HAVE_CLOCK_GETTIME_VSYSCALL.
42273         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42275         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42276         gettimeofday vsyscall, just use time.
42278 2011-09-06  Andreas Schwab  <schwab@redhat.com>
42280         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42281         <errno.h>.
42283 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42285         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42286         syscall on x86-64.
42287         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42288         syscall.
42289         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42290         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42291         syscall if possible.
42293 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42295         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42296         e_ident.  Don't pass to find_mapsXX.
42297         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42299 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42301         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42302         strchr-sse2-no-bsf strrchr-sse2-no-bsf
42303         * sysdeps/x86_64/multiarch/strchr.S: Update.
42304         Check bit_slow_BSF bit.
42305         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42306         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42307         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42309 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42311         [BZ #13134]
42312         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42313         before glibc 2.15.
42314         (tryshell): Define.
42315         (__spawni): Change last parameter to be flag.  Test
42316         SPAWN_XFLAGS_USE_PATH flag to use path or not.
42317         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42318         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42319         * posix/spawni.c: Likewise.
42320         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42321         * posix/spawnp.c: Likewise.  Change normal version to use
42322         SPAWN_XFLAGS_USE_PATH.
42323         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42324         SPAWN_XFLAGS_TRY_SHELL.
42326         [BZ #13150]
42327         * posix/glob.h: Remove gcc 1.x support.
42329         [BZ #13068]
42330         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42332 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42334         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42335         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42336         strrchr-sse2-bsf
42337         * sysdeps/i386/i686/multiarch/strchr.S: New file.
42338         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42339         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42340         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42341         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42342         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42344 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42346         * sysdeps/x86_64/wcscmp.S: New file.
42348         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42349         wcscmp-c wcscmp-sse2
42350         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42351         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42352         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42353         * wcsmbs/wcscmp.c: Allow renaming.
42355 2011-09-05  David S. Miller  <davem@davemloft.net>
42357         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42358         stack slot, rather than the struct return pointer slot.
42359         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42360         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42362         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42364 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42366         * po/ja.po: Update from translation team.
42368         [BZ #13144]
42369         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42370         kernel in 64-bit binaries.
42372 2011-09-01  David S. Miller  <davem@davemloft.net>
42374         * elf/elf.h (HWCAP_SPARC_*): Move to..
42375         * sysdeps/sparc/sysdep.h: this new file and add new values.
42376         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42377         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42378         _DL_HWCAP_COUNT to 24.
42379         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42380         entries.
42381         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42382         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42383         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42384         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42385         instead of magic constants.
42386         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42388 2011-08-31  David S. Miller  <davem@davemloft.net>
42390         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42391         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42392         Reimplement to do errno handling inline.
42393         (SYSCALL_ERROR_HANDLER): New macro.
42394         (__SYSCALL_STRING): Do not do errno handling in asm.
42395         (__CLONE_SYSCALL_STRING): Delete.
42396         (__INTERNAL_SYSCALL_STRING): Delete.
42397         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42398         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42399         (PSEUDO): Reimplement to do errno handling inline.
42400         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42401         (SYSCALL_ERROR_HANDLER): New macro.
42402         (__SYSCALL_STRING): Do not do errno handling in asm.
42403         (__CLONE_SYSCALL_STRING): Delete.
42404         (__INTERNAL_SYSCALL_STRING): Delete.
42405         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42406         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42407         i386.
42408         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42409         (inline_syscall*): Add 'err' argument.
42410         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42411         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42412         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42413         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42415         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42416         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42418 2011-08-30  Andreas Schwab  <schwab@redhat.com>
42420         * elf/rtld.c (dl_main): Relocate objects in dependency order.
42422 2011-08-29  Jiri Olsa <jolsa@redhat.com>
42424         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42425         directive.
42427 2011-08-24  David S. Miller  <davem@davemloft.net>
42429         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42431 2011-08-24  Andreas Schwab  <schwab@redhat.com>
42433         * elf/Makefile: Add rules to build and run unload8 test.
42434         * elf/unload8.c: New file.
42435         * elf/unload8mod1.c: New file.
42436         * elf/unload8mod1x.c: New file.
42437         * elf/unload8mod2.c: New file.
42438         * elf/unload8mod3.c: New file.
42440         * elf/dl-close.c (_dl_close_worker): Reset private search list if
42441         it wasn't used.
42443 2011-08-23  David S. Miller  <davem@davemloft.net>
42445         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42446         subtract stack bias.
42447         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42448         %sp not %fp in calculations.
42449         (_JMPBUF_UNWINDS_ADJ): Likewise.
42451         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42452         (aio_suspend): Call it to force an exception region around the
42453         AIO_MISC_WAIT() invocation.
42455 2011-08-23  Andreas Schwab  <schwab@redhat.com>
42457         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42458         backslash.
42460 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
42462         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42463         protection macro.
42464         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42465         and <dl-machine.h>.
42466         (Elf64_FuncDesc): Remove.
42468 2011-08-22  David S. Miller  <davem@davemloft.net>
42470         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42471         sigaltstack check, add missing cfi directives.
42472         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42473         missing cfi directives, and sigaltstack handling.
42475 2011-08-16  Andreas Schwab  <schwab@redhat.com>
42477         [BZ #11724]
42478         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42479         object is seen twice.
42480         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42482         * elf/Makefile (distribute): Add tst-initorder2.c.
42483         (tests): Add tst-initorder2.
42484         (modules-names): Add tst-initorder2a tst-initorder2b
42485         tst-initorder2c tst-initorder2d.  Add rules to build them.
42486         ($(objpfx)tst-initorder2.out): New rule.
42487         * elf/tst-initorder2.c: New file.
42488         * elf/tst-initorder2.exp: New file.
42490 2011-08-22  Andreas Schwab  <schwab@redhat.com>
42492         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42494         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42495         dependencies back to end of function.
42497         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42498         $(elfobjdir)/ld.so.
42500 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
42502         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42503         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42504         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42505         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42506         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42507         of __vdso_gettimeofday.
42508         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42509         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
42510         attribute_hidden.
42511         (_libc_vdso_platform_setup): Remove initialization of
42512         __vdso_gettimeofday and __vdso_time.
42514 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42516         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42517         and fgetc_unlocked.
42518         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42519         getc_unlocked.
42521         * elf/dl-open.c (add_to_global): Report additions to the global scope
42522         for LD_DEBUG=scopes.
42523         (dl_open_worker): Also print scope of newly loaded dependencies.
42524         (_dl_show_scope): Indicate if there is no scope.
42526         [BZ #13114]
42527         * stdio-common/Makefile (tests): Add bug24.
42528         * stdio-common/bug24.c: New file.
42530 2011-08-19  Andreas Jaeger  <aj@suse.de>
42532         [BZ #13114]
42533         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42534         non-existant file when using close-on-exec mode.
42536 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42538         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42539         the very first instruction.
42541         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42542         the CFI state in the end.
42543         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42544         inclusion of dl-trampoline.h.
42545         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42547 2011-08-19  Andreas Schwab  <schwab@redhat.com>
42549         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42550         expectations for long double.
42552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42553         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42555 2011-08-14  David S. Miller  <davem@davemloft.net>
42557         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42558         artificual limit depends upon the system page size.
42560 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42562         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42563         * resolv/Makefile: Define CFLAGS-libresolv.
42565 2011-08-17  Andreas Schwab  <schwab@redhat.com>
42567         * nss/makedb.c (compute_tables): Make variables used in nested
42568         function static.
42570 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42572         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42573         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42574         if buffer was too small.
42576         * elf/pldd.c (main): Attach to all threads in the process.
42577         Rewrite /proc handling to use *at functions.
42579 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
42581         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42582         specifies first scope to show.
42583         (dl_open_worker): Update callers.  Move printing scope of new
42584         object to before the relocation.
42585         * elf/rtld.c (dl_main): Update _dl_show_scope call.
42586         * sysdeps/generic/ldsodefs.h: Update declaration.
42588         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42589         string for the scope number.
42591 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
42593         * nscd/servicescache.c (cache_addserv): Make sure written is always
42594         initialized.
42596 2011-08-14  Roland McGrath  <roland@hack.frob.com>
42598         * sysdeps/i386/i486/bits/atomic.h
42599         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42600         statement expression, so as to suppress "set but not used" warning.
42601         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42603         * string/strncat.c (STRNCAT): Use prototype definition.
42605         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42606         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42607         -Iprograms here.
42608         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42609         (localedef-modules): Add localedef.
42610         (locale-modules): Add locale.
42612         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42613         * elf/rtld.c (dl_main): Invert order of assignment in last change,
42614         to avoid a warning.
42616 2011-08-14  David S. Miller  <davem@davemloft.net>
42618         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42619         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42621 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
42623         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42624         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42625         * elf/rtld.c (dl_main): Set l_name of vDSO.
42626         Call _dl_show_scope when DL_DEBUG_SCOPES.
42627         (process_dl_debug): Recognize scopes flag and also set it for all.
42628         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42629         Declare _dl_show_scope.
42631         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42632         (do_dlopen): Pass caller_dlopen to dl_open.
42633         (__libc_dlopen_mode): Initialize caller_dlopen.
42635         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42636         of libc.  Make tolower call locale-independent.  Optimize a bit by
42637         using isdigit instead of isalnum.
42638         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42640 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
42642         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42643         was a dependency or dynamically loaded.
42645 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
42647         * intl/l10nflist.c: Allow architecture-specific pop function.
42648         * sysdeps/x86_64/l10nflist.c: New file.
42650         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42651         classification.
42653 2011-08-10  Andreas Schwab  <schwab@redhat.com>
42655         * include/dirent.h: Add libc_hidden_proto for scandirat and
42656         scandirat64.  Don't declare __scandirat64.
42657         * dirent/scandirat.c: Add libc_hidden_def.
42658         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42659         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42661 2011-08-10  David S. Miller  <davem@davemloft.net>
42663         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42664         enum.
42665         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42666         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42667         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42669 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
42671         * Versions.def [libc]: Add GLIBC_2.15.
42672         * dirent/Makefile (routines): Add scandirat and scandirat64.
42673         * dirent/Versions [libc]: Export scandirat and scandirat64 for
42674         GLIBC_2.15.
42675         * dirent/dirent.h: Declare scandirat and scandirat64.
42676         * dirent/scandirat.c: New file.
42677         * dirent/scandirat64.c: New file.
42678         * sysdeps/wordsize-64/scandirat.c: New file.
42679         * sysdeps/wordsize-64/scandirat64.c: New file.
42680         * dirent/opendir.c: Define opendirat.
42681         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
42682         using scandirat.
42683         * dirent/scandir64.c: Adjust for scandir.c change.
42684         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
42685         __scandirat64, and __scandir_cancel_handler.
42686         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
42687         additional parameter and use openat instead of open (outside of ld.so).
42688         Add new __opendir as wrapper around __opendirat.
42689         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42690         here without requiring old scandirat implementation.
42692 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
42694         * dirent/scandir.c (cancel_handler): Renamed to
42695         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
42696         defined.  Adjust users.
42697         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42698         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42700 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
42702         * string/test-string.h (IMPL): Use __STRING to expand name and then
42703         stringify it.
42705         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
42706         of cleanups.
42708 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42710         * string/Makefile: Update.
42711         (strop-tests): Append strncat.
42712         * string/test-wcscmp.c: New file.
42713         New comprehensive test for wcscmp.
42714         * string/test-strcmp.c: Update.
42715         (WIDE): New define.
42717 2011-07-22  Andreas Schwab  <schwab@redhat.com>
42719         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42720         line.
42722 2011-07-26  Andreas Schwab  <schwab@redhat.com>
42724         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42725         encoding to ACE if AI_IDN.
42727 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
42729         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42730         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42732 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42734         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42735         Fix overflow bug in strncat.
42736         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42738         * string/test-strncat.c: Update.
42739         Add new tests for checking overflow bugs.
42741 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42743         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42744         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42745         * sysdeps/i386/i686/multiarch/strcat.S: New file.
42746         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42747         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42748         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42749         * sysdeps/i386/i686/multiarch/strncat.S: New file.
42750         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42751         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42753         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42754         (USE_AS_STRCAT): Define.
42755         Add strcat and strncat support.
42756         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42758 2011-07-25  Andreas Schwab  <schwab@redhat.com>
42760         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42761         __n bigger than INT_MAX+1.
42762         (__strncmp_g): Likewise.
42764 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
42766         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42767         * libio/stido.h: Likewise.
42769         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42770         (AF_NFC): Define.
42771         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42772         (AF_NFC): Define.
42774         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42775         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42776         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42777         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42778         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42780         [BZ #13021]
42781         * scripts/test-installation.pl: Don't expect libnss_test1 to be
42782         installed.
42784         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42785         typo.
42786         (_dl_x86_64_save_sse): Likewise.
42788 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
42790         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42791         OSXSAVE.
42792         (_dl_x86_64_save_sse): Likewise.
42794         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42796         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42798 2011-07-21  Andreas Schwab  <schwab@redhat.com>
42800         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42801         change.
42802         (_dl_x86_64_save_sse): Use correct AVX check.
42804 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42806         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42807         bug in strncpy/strncat.
42808         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42810 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
42812         * string/tester.c (test_strcat): Add tests for different alignments
42813         of source and destination.
42814         (test_strncat): Likewise.
42816 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42818         [BZ #12852]
42819         * posix/glob.c (glob): Check passed in values before using them in
42820         expressions to avoid some overflows.
42821         (glob_in_dir): Likewise.
42823         [BZ #13007]
42824         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42825         check for AVX enablement so that we don't crash with old kernels and
42826         new hardware.
42827         * elf/tst-audit4.c: Add same checks here.
42828         * elf/tst-audit6.c: Likewise.
42830         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42832 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
42834         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42836 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42838         * po/cs.po: Update from translation team.
42839         * po/bg.po: Likewise.
42841 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
42843         * misc/sys/cdefs.h: Add support for const attribute.
42844         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42845         to gnu_dev_{major,minor,makedev} functions.
42847 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
42849         * intl/dcigettext.c (get_output_charset): Add missing bracket.
42851 2011-07-20  Andreas Schwab  <schwab@redhat.com>
42853         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42854         strlen results.
42856 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42858         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42859         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42860         register in order to avoid conflicts with the soft frame pointer
42861         being held in r11 when necessary.
42862         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42863         (INTERNAL_VSYSCALL_NCS): Likewise.
42865 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
42867         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42868         * elf/dl-fini.c (_dl_fini): Adjust caller.
42869         * elf/dl-close.c (_dl_close_worker): Likewise.
42870         * sysdeps/generic/ldsodefs.h: Adjust declaration.
42872 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42874         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42875         "aux_cache->nlibs < 0".
42877         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42878         in the reload-count case.
42880 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42882         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42883         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42884         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42885         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42886         * sysdeps/x86_64/multiarch/strcat.S: New file.
42887         * sysdeps/x86_64/multiarch/strncat.S: New file.
42888         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42889         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42890         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42891         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42892         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42893         (USE_AS_STRCAT): Define.
42894         Add strcat and strncat support.
42895         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42896         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42897         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42898         * string/strncat.c: Update.
42899         (USE_AS_STRNCAT): Define.
42900         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42901         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42902         and i7.
42903         * sysdeps/x86_64/multiarch/init-arch.h
42904         (bit_Prefer_PMINUB_for_stringop): New.
42905         (index_Prefer_PMINUB_for_stringop): Likewise.
42906         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42907         bit_Prefer_PMINUB_for_stringop.
42909 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42911         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42912         buffer64.
42913         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42914         of casting of buffer.
42915         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42916         buffer32 and buffer64.
42917         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42918         writes instead of casting of buffer.
42919         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42920         buffer32.
42921         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42922         casting of buffer.
42924 2011-07-19  Andreas Schwab  <schwab@redhat.com>
42926         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42928 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42930         * nscd/nscd.c (termination_handler): Don't do anything for a database
42931         if it has not yet been initialized.
42933 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42935         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42937 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42939         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42941 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42943         * po/nl.po: Update from translation team.
42944         * po/sv.po: Likewise.
42946 2011-07-16  Roland McGrath  <roland@hack.frob.com>
42948         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42949         now disallowed by GCC.
42951         * configure.in (use-default-link): Default to yes if a test -shared
42952         link meets our qualifications.
42953         * configure: Regenerated.
42955         * config.make.in (output-format): New variable.
42956         * configure.in: Check for ld --print-output-format support.
42957         * configure: Regenerated.
42958         * Makerules ($(common-objpfx)format.lds)
42959         [$(output-format) != unknown]: Just use $(output-format),
42960         instead of the linker-script munging.
42962 2011-07-14  Roland McGrath  <roland@hack.frob.com>
42964         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42965         of $(common-objpfx)shlib.lds.
42966         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42968         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42969         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42971         * configure.in (-z relro check): Adjust test code to add a large
42972         writable data section after it.
42973         * configure: Regenerated.
42975 2011-07-11  Roland McGrath  <roland@hack.frob.com>
42977         * configure.in (-z relro check): Fix test code to make the variable
42978         truly const.
42979         * configure: Regenerated.
42981 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
42983         * nscd/nscd.h (struct traced_file): Define.
42984         (struct database_dyn): Remove inotify_descr, reset_res, and filename
42985         elements.  Add traced_files.
42986         (inotify_fd): Declare.
42987         (register_traced_file): Declare.
42988         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42989         (inotify_fd): Export.
42990         (resolv_conf_descr): Remove.
42991         (nscd_init): Move inotify descriptor creation to main.
42992         Don't register files for notification here.
42993         (register_traced_file): New function.
42994         (invalidate_cache): Don't use reset_res to determine whether to call
42995         res_init, go through the list of registered files.
42996         (main_loop_poll): The inotify descriptors are now stored in the
42997         structures for the traced files.
42998         (main_loop_epoll): Likewise
42999         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
43000         to __nss_disable_nscd.
43001         * nscd/cache.c (prune_cache): There is no single inotify descriptor
43002         for a database anymore.  Check the records for all the registered
43003         files instead.
43004         * nss/Makefile (libnss_files-routines): Add files-init.
43005         (libnss_db-routines): Add db-init.
43006         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43007         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43008         * nss/nss_db/db-init.c: New file.
43009         * nss/nss_files/files-init.c: New file.
43010         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
43011         __nss_lookup_function.
43012         (__nss_lookup_function): Call nss_load_library.
43013         (nss_load_all_libraries): New function.
43014         (__nss_disable_nscd): Take parameter with callback function for files
43015         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
43016         used for the cached services.
43017         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43018         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43019         options for features to all the files in nscd.
43021         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43023 2011-07-10  Roland McGrath  <roland@hack.frob.com>
43025         * csu/elf-init.c (__libc_csu_init): Comment typo.
43027 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
43029         * po/pl.po: Update from translation team.
43030         * po/ja.po: Likewise.
43031         * po/ru.po: Likewise.
43032         * po/ko.po: Likewise.
43033         * po/fr.po: Likewise.
43035 2011-07-09  Roland McGrath  <roland@hack.frob.com>
43037         * configure.in (.ctors/.dtors header and trailer check):
43038         Use an empirical test on a built program.
43039         * configure: Regenerated.
43041         * configure.in (-z relro check): Use an empirical test on a built DSO.
43042         Detect, but do not require, on ia64.
43043         * configure: Regenerated.
43045         * configure.in (READELF): Find it with AC_CHECK_TOOL.
43046         Update tests that use readelf to use $READELF instead.
43047         * configure: Regenerated.
43049 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
43051         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43052         if the result is not used.
43054 2011-07-05  Andreas Jaeger  <aj@suse.de>
43056         [BZ#9696]
43057         * stdlib/tst-strtod.c: Add testcase.
43059 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
43061         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43062         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43063         The latter has a higher limit.  Take additional parameter to pass to
43064         the new function.
43065         (__pathconf): Pass file to __statfs_link_max.
43066         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43067         __statfs_link_max.
43068         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43069         __statfs_link_max.
43071         [BZ #12868]
43072         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43073         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43074         Handle Lustre.
43075         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43076         (__statfs_filesize_max): Likewise.
43077         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43079 2011-07-05  Andreas Jaeger  <aj@suse.de>
43081         * resolv/res_comp.c (dn_skipname): Remove unused variable.
43083 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
43085         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43086         `status' variable.
43087         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43088         Likewise.
43090 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
43092         * Makefile (strop-tests): Add strncat.
43093         * string/test-strncat.c: New file.
43095 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
43097         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43099 2011-06-21  Andreas Jaeger  <aj@suse.de>
43101         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43102         Copy rule from iconvdata/Makefile.
43104 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43106         [BZ #12922]
43107         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43108         but no long options are defined, just return 'W'.
43110 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
43112         [BZ #9696]
43113         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43115 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43117         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43118         netgroups to read.
43119         (innetgr): Likewise.
43121 2011-07-05  Roland McGrath  <roland@hack.frob.com>
43123         * config.make.in (install_root): Default to $(DESTDIR).
43125 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
43127         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43129 2011-07-02  Roland McGrath  <roland@hack.frob.com>
43131         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43133         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43134         containing directory rather than embedding absolute directory names.
43136         * scripts/check-local-headers.sh: Rewritten using awk.
43137         Match by word, not by line.  Print error messages for matches.
43138         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43140         * Makerules [shlib-lds-flags empty]:
43141         ($(common-objpfx)libc_pic.opts): New target.
43142         ($(common-objpfx)libc_pic.os.clean): New target.
43143         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43145         * config.make.in (OBJCOPY): New variable.
43146         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43147         * configure: Regenerated.
43149         * config.make.in (use-default-link): New variable.
43150         * configure.in (use_default_link): Grok --with-default-link to set it.
43151         * configure: Regenerated.
43152         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43153         (shlib-lds, shlib-lds-flags): Define to empty.
43155         * Makerules (shlib-lds): New variable.
43156         (shlib-lds-flags): New variable.
43157         (build-shlib, build-moduile, build-module-asneeded): Use it.
43158         ($(common-objpfx)libc.so): Use $(shlib-lds).
43159         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43160         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43162         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43163         DT_FLAGS/DT_FLAGS_1 with zero flags.
43165         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43166         linker script munging.
43168 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
43170         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43171         as 128-bit value.
43172         * crypt/sha512.c (sha512_process_block): Perform total addition using
43173         128-bit if possible.
43174         (__sha512_finish_ctx): Likewise.
43175         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43176         as 64-bit value.
43177         * crypt/sha256.c (SWAP64): Define.
43178         (sha256_process_block): Perform total addition using 64-bit if
43179         possible.
43180         (__sha256_finish_ctx): Likewise.
43182 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
43184         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
43185         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43186         * nscd/hstcache.c (cache_addhst): Likewise.
43187         * nscd/grpcache.c (cache_addgr): Likewise.
43188         * nscd/aicache.c (addhstaiX): Likewise
43189         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43191 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
43193         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43194         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43195         * nscd/hstcache.c (cache_addhst): Likewise.
43196         * nscd/grpcache.c (cache_addgr): Likewise.
43197         * nscd/aicache.c (addhstaiX): Likewise
43199 2011-07-01  Andreas Schwab  <schwab@redhat.com>
43201         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43202         domain only when needed.
43204 2011-06-30  Andreas Schwab  <schwab@redhat.com>
43206         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43207         is always restored.
43209 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
43211         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43212         are re-adding the entry.
43213         * nscd/servicescache.c (cache_addserv): Likewise.
43215 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
43217         * sysdeps/generic/dl-irel.h: fix protection against multiple
43218         inclusions.
43219         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43221 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
43223         [BZ #12935]
43224         * malloc/memusage.sh: Fix quoting in message.
43225         * debug/xtrace.sh: Likewise.
43227         * configure.in: Remove support for --experimental-malloc option, make
43228         it the default.
43229         * config.make.in: Likewise.
43230         * malloc/Makefile: Likewise.
43232 2011-06-27  Andreas Schwab  <schwab@redhat.com>
43234         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43235         two-byte characters.
43237 2011-06-27  Roland McGrath  <roland@hack.frob.com>
43239         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43240         AC_CACHE_CHECK invocation.
43241         * configure: Regenerated.
43243         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43245 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
43247         [BZ #12350]
43248         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
43249         bit from old_res_options.
43251         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43253         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43254         value type for setfct.
43256 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
43258         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43259         __gettimeofday instead of gettimeofday.
43261 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
43263         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43265 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
43267         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43269         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43270         info.
43272 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43275         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43276         strcpy-sse2-unaligned strncpy-sse2-unaligned
43277         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43278         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43279         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43280         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43281         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43282         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43283         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43284         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43285         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43286         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43287         (STRCPY): Support SSE2 and SSSE3 versions.
43289 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
43291         [BZ #12874]
43292         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43293         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43294         kernels which artificially limit size of requests.
43296 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43298         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43299         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43300         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43301         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43302         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43303         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43304         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43305         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43306         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43307         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43308         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43309         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43310         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43311         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43312         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43313         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43314         Enable unaligned load optimization for Intel Core i3, i5 and i7
43315         processors.
43316         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43317         Define.
43318         (index_Fast_Unaligned_Load): Define.
43319         (HAS_FAST_UNALIGNED_LOAD): Define.
43321 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
43323         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43325 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43327         [BZ #12907]
43328         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43329         until it is clear that the information is realy needed.
43330         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43332 2011-06-22  Andreas Schwab  <schwab@redhat.com>
43334         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43336 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43338         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43339         /sys/devices/system/cpu/online if it is usable.
43341         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43342         reading the information from the /proc filesystem to once a second.
43344 2011-06-21  Andreas Jaeger  <aj@suse.de>
43346         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43347         NULL after inclusion of kernel headers.
43349 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
43351         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43352         calls to internal_setent.
43354         [BZ #12885]
43355         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43356         addresses using gethostbyname4_r ignore IPv4 addresses.
43358         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43359         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
43361         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43363 2011-06-20  David S. Miller  <davem@davemloft.net>
43365         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43366         inclusions.
43367         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43369         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43370         (elf_irel): Use it.
43371         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43372         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43373         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43374         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43375         * sysdeps/x86_64/dl-irel.h: Likewise.
43377         * elf/dl-runtime.c: Use elf_ifunc_invoke.
43378         * elf/dl-sym.c: Likewise.
43380 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43382         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
43383         need to dereference resplen2.
43385 2011-06-14  Andreas Schwab  <schwab@redhat.com>
43387         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43389 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43391         * Makeconfig: Define vardbdir and inst_vardbdir.
43392         * nss/Makefile: Add rules to install db-Makefile.
43394         * nss/nss_db/db-XXX.c: Cleanup.
43396         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43397         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43398         GLIBC_PRIVATE.
43399         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43400         * nss/makedb.c: Implement -g option to specify that value strings
43401         are generated and should not be added to table iterated over for
43402         get*ent calls.
43403         * nss/nss_db/db-initgroups.c: New file.
43405         * nss/getent.c: Add support for initgroups lookups through getgrouplist
43406         interface.
43408         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43409         (internal_getgrouplist): Adjust to name change.
43410         Update use_initgroups_entry if this is not the first call.
43411         * nss/databases.def: Add initgroups entry.
43413         * nss/makedb.c (compute_tables): Check result of multiple hash table
43414         sizes to minimize maximum chain length.
43416 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
43418         * Versions.def: Add entry for libnss_db.
43419         * shlib-versions: Likewise.
43420         * nss/Makefile: Add rules to build libnss_db.
43421         * nss/Versions: Add libnss_db information.  Organize libnss_files
43422         entries better.
43423         * nss/db-Makefile: Add gshadow support.  Change rules for the new
43424         makedb progra.  Some minor improvements to generate smaller files.
43425         * nss/nss_db/nss_db.h: Move NSS database header data structures to
43426         here from...
43427         * nss/makedb.c: ...here.
43428         Improve database format to be smaller and require less memory at
43429         runtime.
43430         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
43431         db anymore.
43432         * nss/nss_db/db-netgrp.c: Likewise.
43433         * nss/nss_db/db-open.c: Likewise.
43434         * nss/nss_files/flies-XXX.x: Adjust comments.
43435         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43436         * nss/nss_files/files-grp.c: Likewise.
43437         * nss/nss_files/files-hosts.c: Likewise.
43438         * nss/nss_files/files-network.c: Likewise.
43439         * nss/nss_files/files-proto.c: Likewise.
43440         * nss/nss_files/files-pwd.c: Likewise.
43441         * nss/nss_files/files-rpc.c: Likewise.
43442         * nss/nss_files/files-service.c: Likewise.
43443         * nss/nss_files/files-sgrp.c: Likewise.
43444         * nss/nss_files/files-spwd.c: Likewise.
43445         * nss/nss_db/db-alias.c: Removed.
43446         * nss/nss_db/dummy-db.h: Removed.
43448 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
43450         * nss/makedb.c: Rewritten to not use database library.
43451         * nss/Makefile: Update to build new makedb program.
43453 2011-06-14  Andreas Jaeger  <aj@suse.de>
43455         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43456         memset declaration.
43458 2011-06-10  Andreas Schwab  <schwab@redhat.com>
43460         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43461         tmpbuf.
43463 2011-06-10  Roland McGrath  <roland@hack.frob.com>
43465         * Makerules (shlib.lds): Fail if the linker script comes out empty.
43466         * elf/Makefile ($(objpfx)ld.so): Likewise.
43468         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43469         Don't list ld.so twice in dependencies.
43471         * posix/bug-regex31.c: Include <stdlib.h>.
43473         * nscd/hstcache.c (cache_addhst): Remove unused variable.
43475         * nis/nss_compat/compat-spwd.c
43476         (getspent_next_nss_netgr): Remove unused variable.
43477         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43479         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43480         nonmembers" output to use the right array.
43482         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43484         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43486         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43487         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43488         * catgets/gencat.c (read_input_file): Likewise.
43489         * locale/programs/locarchive.c (enlarge_archive): Likewise.
43491         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43492         variable definition inside #if's controlling its use.
43494         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43496         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43498         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43500         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43501         unreachable code.
43503         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43505         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43506         * configure: Regenerated.
43508         * Makerules: Revert last change.
43509         * elf/Makefile: Likewise.
43511 2011-06-09  Roland McGrath  <roland@hack.frob.com>
43513         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43514         * elf/Makefile ($(objpfx)librtld.os): Likewise.
43515         (reloc-link): Likewise.
43517 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
43519         * elf/Makefile: Add rules to build pldd.
43520         * elf/pldd.c: New file.
43521         * elf/pldd-xx.c: New file.
43523 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
43525         * version.h: Update for 2.15 development version.
43527 2011-06-07  David S. Miller  <davem@davemloft.net>
43529         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43530         ifuncs.
43531         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43532         elf_machine_lazy_rel): Likewise.
43533         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43534         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43535         elf_machine_lazy_rel): Likewise.
43536         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43537         dl_hwcap via passed in argument.
43538         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43539         Likewise.
43541 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43543         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
43545 2011-06-06  Roland McGrath  <roland@hack.frob.com>
43547         [BZ #12849]
43548         * manual/fdl-1.1.texi: New file, verbatim from:
43549         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43550         * manual/lgpl-2.1.texi: New file, verbatim from:
43551         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43552         * manual/Makefile (licenses): New variable, list those new file names.
43553         (texis): Use it.
43554         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43556         * manual/fdl.texi: File removed.
43557         * manual/lesser.texi: File removed.
43558         * manual/libc.texinfo (Copying, Documentation License):
43559         Use new @include file names, put @appendix directive before @include.
43561 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
43563         [BZ #12841]
43564         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43565         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43566         (mq_open): Add __NTH.
43568 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
43570         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43571         Assume Intel Core i3/i5/i7 processor if AVX is available.
43573 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43575         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43576         typo.
43578 2011-05-31  Andreas Schwab  <schwab@redhat.com>
43580         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43581         memory.  Use alloca_account.  Fix memory leak when retrying.
43583 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43585         * version.h (RELEASE): Bump for 2.14 release.
43586         * include/features.h (__GLIBC_MINOR__): Bump to 14.
43588         * config.make.in (RANLIB): Remove entry.
43590 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
43592         * po/Makefile (po-sed-cmd): Add ksh to extensions.
43593         (libc.pot): Work around missing support for .ksh extension in xgettext.
43595         [BZ #12684]
43596         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43597         if both request failed.
43598         (send_dg): In case of server errors clear resplen or *resplen2.
43600         [BZ #12454]
43601         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43602         when there are multiple maps.
43603         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43604         (_dl_fini): Remove test here.
43606         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43608 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
43610         [BZ #12350]
43611         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43612         bit from old_res_options.
43613         (gaih_inet): Likewise.
43615         [BZ #11099]
43616         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43617         as signed.
43619         * resolv/res_init.c (res_setoptions): Make the code more compact.
43621         [BZ #11558]
43622         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43623         set RES_USEVC.
43625         [BZ #11634]
43626         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43628         * malloc/malloc.h: Mark malloc hook variables as deprecated.
43630         [BZ #11781]
43631         * malloc/malloc.h: Declare malloc hook variables as volatile.
43633         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43634         in last patch.
43636         [BZ #11799]
43637         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43638         raise in the comment.
43639         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43640         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43641         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43643 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
43645         [BZ #12811]
43646         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43647         grow the buffers more if it already has to be sufficient.
43648         (build_wcs_upper_buffer): Likewise.
43649         * posix/regexec.c (check_matching): Likewise.
43650         (clean_state_log_if_needed): Likewise.
43651         (extend_buffers): Don't enlarge buffers beyond size of the input
43652         buffer.
43653         Patches mostly by Emil Wojak <emil@wojak.eu>.
43654         * posix/bug-regex32.c: New file.
43655         * posix/Makefile (tests): Add bug-regex32.
43657         * locale/findlocale.c (_nl_find_locale): Return right away if
43658         _nl_explode_name failed.
43659         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43661         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43663         * debug/xtrace.sh: Unify messages.
43664         * malloc/memusage.sh: Likewise.
43666         [BZ #12813]
43667         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43668         time symbol from vDSO.  Substitute with vsyscall if not available.
43669         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43670         __vdso_time.
43672         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43673         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43674         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43675         Add sendmmsg and internal_sendmmsg.
43676         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43677         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43678         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43680         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43681         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43682         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43684 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
43686         [BZ #12813]
43687         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43688         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
43689         available.
43690         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43691         __vdso_getcpu.
43693         [BZ #12814]
43694         * iconvdata/Makefile (tests): Add bug-iconv9.
43695         * iconvdata/bug-iconv9.c: New file.
43697 2011-05-27  Andreas Schwab  <schwab@redhat.com>
43699         [BZ #12814]
43700         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43702 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
43704         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43705         (struct user_regs_struct): Change intcs field back to cs.
43707 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
43709         * po/ja.po: Update from translation team.
43711 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
43713         [BZ #12795]
43714         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43715         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43717 2011-05-20  Andreas Schwab  <schwab@redhat.com>
43719         * stdlib/longlong.h: Update from GCC.
43721 2011-05-23  Andreas Schwab  <schwab@redhat.com>
43723         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43724         parameter name.
43725         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43726         Add parameter name.
43727         (__sysconf): Pass it down.
43729 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
43731         [BZ #12671]
43732         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43733         some situations.
43734         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43735         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43736         add in in __libc_use_alloca calls.  Adjust callers.
43737         (glob): Use malloc in some situations.
43739         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43740         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43741         pltexit.
43743 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
43745         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43746         and CLOCK_BOOTTIME_ALARM.
43748         [BZ #12782]
43749         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43750         is returned.
43752         * string/_strerror.c (__strerror_r): Print negative errors as signed
43753         numbers.
43755         [BZ #12777]
43756         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43757         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43758         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43760         * configure.in: Fix typo in redirection and correct removal of test
43761         files in two cases.
43763         [BZ #12788]
43764         * locale/setlocale.c (new_composite_name): Fix test to check for
43765         identical name of all categories.
43767         [BZ #12792]
43768         * libio/filedoalloc.c (local_isatty): New function.
43769         (_IO_file_doallocate): Use local_isatty.
43770         * stdio-common/perror.c (perror): In case a new stream is used
43771         forward the stream error.
43772         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43773         error flag.
43775 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
43777         [BZ #11869]
43778         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43779         alloca.
43780         * include/alloca.h (extend_alloca_account): Define.
43782         [BZ #11857]
43783         * posix/regex.h: Fix comments with documentation of user-accessible
43784         fields after compilation and describe correct free'ing of pattern
43785         after re_compile_pattern.
43786         Patch by Reuben Thomas <rrt@sc3d.org>.
43788 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
43790         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43791         and -mno-altivec to prevent the compiler from using Altivec and/or
43792         VSX instructions when the corresponding registers are not available.
43794 2011-05-19  Andreas Schwab  <schwab@redhat.com>
43796         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43798 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
43800         * libio/freopen.c (freopen): Use __dup2, not dup2.
43801         * libio/freopen64.c (freopen64): Likewise.
43803 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43805         [BZ #12775]
43806         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43807         * math/Makefile (tests): Add test-powl.
43808         (CFLAGS-test-powl.c): Define.
43809         * math/test-powl.c: New file.
43811 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43813         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43815 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
43817         [BZ #11837]
43818         * iconvdata/gb18030.c: Update to GB18020-2005.
43820 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
43822         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43823         RE_SYNTAX_POSIX_AWK): Update to match recent development.
43824         Patch by Aharon Robbins <arnold@skeeve.com>.
43826         [BZ #11892]
43827         * stdlib/putenv.c (putenv): Don't always create copy of the variable
43828         on the stack.
43830         [BZ #11895]
43831         * misc/pselect.c (__pselect): Handle timeout value errors hidden
43832         through underflows.
43834         [BZ #12766]
43835         * misc/error.c (error_at_line): Ensure file_name and old_file_name
43836         point to strings before performing equality test for error_one_per_line
43837         mode.
43839         [BZ #11697]
43840         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43842         [BZ #11820]
43843         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43844         (struct user_fpregs_struct): Avoid __uint*_t types.
43846         [BZ #6420]
43847         * malloc/mtrace.c (tr_where): Add additional parameter to point to
43848         symbol info.  Use it instead of calling _dl_addr locally.
43849         (lock_and_info): New function.
43850         (tr_freehook): Call lock_and_info and pass symbol info as additional
43851         parameter to tr_where.
43852         (tr_mallochook): Likewise.
43853         (tr_reallochook): Likewise.
43854         (tr_memalignhook): Likewise.
43856         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
43857         used and couldn't be at all thread-safe.
43859 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
43861         * libio/freopen.c (freopen): Don't close old file descriptor
43862         before the new one is opened.  Instead dup the new file descriptor
43863         to the old one after the new stream is created.
43864         * libio/freopen64.c (freopen64): Likewise.
43865         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43866         * libio/fileops.c (_IO_new_file_close_it): Handle new
43867         _IO_FLAGS2_NOCLOSE flag.
43868         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43869         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43870         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43871         _IO_FLAGS2_NOCLOSE flag.
43872         * include/unistd.h: Add hidden_proto for dup3.
43873         Define __have_dup3.
43874         * io/dup3.c: Define hidden symbol.
43875         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43877         [BZ #7101]
43878         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43879         when an incomplete long option is used.
43880         * posix/tst-getopt_long1.c: New file.
43881         * posix/Makefile (tests): Add tst-getopt_long1.
43883         [BZ #10138]
43884         * scripts/config.guess: Update from autoconf-2.68.
43885         * scripts/config.sub: Likewise.
43887         [BZ #10157]
43888         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43889         tests into ...
43890         (has_cpuclock): ...this.  New function.
43891         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43892         macro here based on has_cpuclock code.
43894         [BZ #10149]
43895         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43896         First byte (not low byte) is now always NUL.
43897         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43899         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43900         Use non-cancelable interfaces.
43902         [BZ #9809]
43903         * locale/iso-639.def: Add entry for Sorani.
43905         [BZ #11901]
43906         * include/stdlib.h: Move include protection to the right place.
43907         Define abort_msg_s.  Declare __abort_msg with it.
43908         * stdlib/abort.c (__abort_msg): Adjust type.
43909         * assert/assert.c (__assert_fail_base): New function.  Majority
43910         of code from __assert_fail.  Allocate memory for __abort_msg with
43911         mmap.
43912         (__assert_fail): Now call __assert_fail_base.
43913         * assert/assert-perr.c: Remove bulk of implementation.  Use
43914         __assert_fail_base.
43915         * include/assert.hL Declare __assert_fail_base.
43916         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43917         mmap.
43918         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43920 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
43922         [BZ #11952]
43923         [BZ #12453]
43924         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43925         until all modules are registered in the DTV.
43926         * elf/Makefile: Add rules to build and run tst-tls19.
43927         * elf/tst-tls19.c: New file.
43928         * elf/tst-tls19mod1.c: New file.
43929         * elf/tst-tls19mod2.c: New file.
43930         * elf/tst-tls19mod3.c: New file.
43931         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43933         [BZ #12083]
43934         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43935         correctly.
43937         [BZ #12601]
43938         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43939         two-byte sequence errors.
43940         * iconvdata/Makefile (tests): Add bug-iconv8.
43941         * iconvdata/bug-iconv8.c: New file.
43943         [BZ #12626]
43944         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43945         buf2 definition.
43947         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43949         [BZ #12432]
43950         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43951         (dummy_getcfa): New function.
43952         (init): Get _Unwind_GetCFA address, use dummy if not found.
43953         (backtrace_helper): In recursion check, also check whether CFA changes.
43954         (__backtrace): Completely initialize arg.
43956         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43957         storing incomplete byte sequence in state object.  Avoid testing for
43958         guaranteed too small input if we know there is enough data available.
43960 2011-05-11  Andreas Schwab  <schwab@redhat.com>
43962         * Makeconfig (+link-pie): Indent.
43963         * Rules (binaries-pie): Define if $(have-fpie) and
43964         $(build-shared).
43965         (binaries-shared): Also filter out $(binaries-pie).
43966         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43967         * nscd/Makefile (others-pie): Add nscd.
43968         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43969         ($(objpfx)nscd): Remove command override.
43970         * login/Makefile (others-pie): Add pt_chown.
43971         ($(objpfx)pt_chown): Remove command override.
43972         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43973         remove command overrides.
43975 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
43977         * libio/tst_putwc.c: Fix error messages.
43979         [BZ #12724]
43980         * libio/fileops.c (_IO_new_file_close_it): Always flush when
43981         currently writing and seek to current position when not.
43982         * libio/Makefile (tests): Add bug-fclose1.
43983         * libio/bug-fclose1.c: New file.
43985 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
43987         [BZ #12511]
43988         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43989         don't set DF_1_NODELETE here.
43990         (do_lookup_x): When entering new entry test for copy relocation
43991         and if necessary set DF_1_NODELETE flag.
43992         * elf/tst-unique4.cc: New file.
43993         * elf/tst-unique4.h: New file.
43994         * elf/tst-unique4lib.cc: New file.
43995         * elf/Makefile: Add rules to build and run tst-unique4.
43996         Patch by Piotr Bury <pbury@goahead.com>.
43998 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
44000         [BZ #12052]
44001         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44003         [BZ #12625]
44004         * misc/mntent_r.c (addmntent): Flush the stream after the output
44006         [BZ #12393]
44007         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44008         (is_trusted_path_normalize): Skip initial colon.  Append slash
44009         to empty buffer.  Duplicate is_trusted_path code but allow
44010         constructed patch to be prefix.
44011         (is_dst): Allow $ORIGIN followed by /.
44012         (_dl_dst_substitute): Correct clearing of check_for_trusted.
44013         Correct testing of result of is_trusted_path_normalize
44014         (decompose_rpath): Fix warning.
44016 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
44018         [BZ #11257]
44019         * grp/initgroups.c (internal_getgrouplist): When we found the service
44020         list through the initgroups entry in nsswitch.conf do not always
44021         continue on a successful lookup.  Don't always use the
44022         __nss_group_database value if it is set.
44023         * nss/nsswitch.conf (initgroups): Change action for successful db
44024         lookup to continue for compatibility.
44026 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
44028         [BZ #11532]
44029         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44030         and CP774 modules.
44031         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44032         and CP774 modules.
44033         * iconvdata/tst-tables.sh: Likewise.
44034         * iconvdata/cp770.c: New file.
44035         * iconvdata/cp771.c: New file.
44036         * iconvdata/cp772.c: New file.
44037         * iconvdata/cp773.c: New file.
44038         * iconvdata/cp774.c: New file.
44039         * iconvdata/testdata/CP770: New file.
44040         * iconvdata/testdata/CP770..UTF8: New file.
44041         * iconvdata/testdata/CP771: New file.
44042         * iconvdata/testdata/CP771..UTF8: New file.
44043         * iconvdata/testdata/CP772: New file.
44044         * iconvdata/testdata/CP772..UTF8: New file.
44045         * iconvdata/testdata/CP773: New file.
44046         * iconvdata/testdata/CP773..UTF8: New file.
44047         * iconvdata/testdata/CP774: New file.
44048         * iconvdata/testdata/CP774..UTF8: New file.
44050         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44051         END CHARMAP line.
44052         * iconvdata/gen-8bit-gap.sh: Likewise.
44053         * iconvdata/gen-8bit.sh: Likewise.
44055         * locale/iso-639.def: Add ary entry.
44057         [BZ #11258]
44058         * locale/C-translit.h.in: Add U20A1 transliteration.
44060         [BZ #12178]
44061         * locale/iso-639.def: Add wae entry.
44062         Patch by Kevin Bortis <bortis@translate-wae.ch>.
44064         [BZ #12545]
44065         * locale/programs/localedef.c (construct_output_path): Use ssize_t
44066         for n.
44068         [BZ #12711]
44069         * locale/C-translit.h.in: Add entry for U20B9.
44070         Patch by pravin.d.s@gmail.com.
44072 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
44074         [BZ #12713]
44075         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44076         ENAMETOOLONG use generic getcwd.
44077         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
44078         in rtld.  Use *stat64.
44079         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44080         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44081         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44082         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44083         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44084         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44085         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44086         __fstatat64 macros.
44087         * include/dirent.h: Add libc_hidden_proto for rewinddir.
44088         * dirent/rewinddir.c: Add libc_hidden_def.
44089         * sysdeps/mach/hurd/rewinddir.c: Likewise.
44090         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
44092         * include/dirent.h (__alloc_dir): Add flags parameter.
44093         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44094         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44095         __alloc_dir.
44096         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
44097         from fdopendir if O_CLOEXEC is already set.
44099 2011-03-15  Alan Modra  <amodra@gmail.com>
44101         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44102         l_tls_firstbyte_offset non-zero.  Save padding offset in
44103         l_tls_firstbyte_offset for later use.
44104         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44105         freeing static tls block.
44107 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
44109         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44110         where #ifdef was intended.  The intent is to prevent ARG_MAX from
44111         being defined by the kernel headers.
44113 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
44115         [BZ #12734]
44116         * resolv/resolv.h: Define RES_NOTLDQUERY.
44117         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44118         no-tld-query and set RES_NOTLDQUERY.
44119         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44120         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44121         modern BIND to search name as TLD unless forbidden.
44123 2011-05-07  Petr Baudis  <pasky@suse.cz>
44124             Ulrich Drepper  <drepper@gmail.com>
44126         [BZ #12393]
44127         * elf/dl-load.c (fillin_rpath): Move trusted path check...
44128         (is_trusted_path): ...to here.
44129         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44130         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44131         using is_trusted_path_normalize() in setuid scripts.
44133 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44135         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44136         __BEGIN/__END_DECLS.
44138 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
44140         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44141         NSS_STATUS_NOTFOUND if no record was found.
44143 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44145         * sunrpc/Makefile (headers): Add rpc/netdb.h.
44146         (headers-not-in-tirpc): Remove rpc/netdb.h
44147         * resolv/netdb.h: Revert last change.
44149 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44151         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44152         circular dependency between libgcc.a and libc.a.
44154 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44156         * resolv/netdb.h: Don't include <rpc/netdb.h>.
44157         * nis/Makefile: Don't install rpcsvc/*.
44158         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44159         instead of <rpc/types.h>.
44160         (MAXHOSTNAMELEN): Define.
44162 2011-05-03  Andreas Schwab  <schwab@redhat.com>
44164         * elf/ldconfig.c (add_dir): Don't crash on empty path.
44166 2011-04-28  Maciej Babinski  <mbabinski@google.com>
44168         [BZ #12714]
44169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44170         gethostbyname4_r when IPv6 results are possible.
44172 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
44174         [BZ #12723]
44175         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44176         _PC_PIPE_BUF handling.
44178 2011-04-30  Bruno Haible  <bruno@clisp.org>
44180         [BZ #12717]
44181         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44182         * resolv/netdb.h (getnameinfo): Change type of flags parameter
44183         to 'int'.
44184         * inet/getnameinfo.c (getnameinfo): Likewise.
44186 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
44188         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44189         to groups setting in database lookup.
44190         * nss/nsswitch.conf: Add initgroups entry.
44192 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
44194         [BZ #12685]
44195         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44196         mode string.
44197         Patch by Eric Blake <eblake@redhat.com>.
44199 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
44201         * sunrpc/Makefile (need-export-routines): Add svc_run.
44202         (routines): Remove svc_run.
44203         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44204         * sunrpc/clnt_perr.c (clnt_perrno): Export.
44205         * sunrpc/svc_run.c (svc_run): Likewise.
44206         * sunrpc/svc_udp.c (svcudp_create): Likewise.
44208 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
44210         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44211         problem in reallocation in last patch.
44213 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
44215         * sunrpc/Makefile: Move inclusion of Rules.
44217 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44219         * nss/nss_files/files-initgroups.c: New file.
44220         * nss/Makefile (libnss_files-routines): Add files-initgroups.
44221         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44222         _nss_files_initgroups_dyn.
44224 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
44226         * elf/elf.h (R_ARM_IRELATIVE): Define.
44228 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44230         * po/ru.po: Update from translation team.
44232 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44234         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44235         dependencies.
44237 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
44239         [BZ #12653]
44240         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44241         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44242         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44243         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44244         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44246 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
44248         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44249         differing bytes.
44250         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44251         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44252         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44254 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44256         [BZ #12420]
44257         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44258         storing it.
44259         * stdlib/bug-getcontext.c: New file.
44260         * stdlib/Makefile: Add rules to build and run bug-getcontext.
44262 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44264         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44265         instructions into .machine "z9-109".
44266         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44267         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44269 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44271         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44272         between environment variables and auxiliary vector.
44274 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
44276         * Makefile: Add rules to build linkobj/libc.so.
44277         * include/libc-symbols.h: Define libc_hidden_nolink.
44278         * include/rpc/auth.h: Mark functions which are to be hidden.
44279         * include/rpc/auth_des.h: Likewise.
44280         * include/rpc/auth_unix.h: Likewise.
44281         * include/rpc/clnt.h: Likewise.
44282         * include/rpc/des_crypt.h: Likewise.
44283         * include/rpc/key_prot.h: Likewise.
44284         * include/rpc/pmap_clnt.h: Likewise.
44285         * include/rpc/pmap_prot.h: Likewise.
44286         * include/rpc/pmap_rmt.h: Likewise.
44287         * include/rpc/rpc_msg.h: Likewise.
44288         * include/rpc/svc.h: Likewise.
44289         * include/rpc/svc_auth.h: Likewise.
44290         * include/rpc/xdr.h: Likewise.
44291         * nis/Makefile: Link all DSOs against linkobj/libc.so.
44292         * nss/Makefile: Likewise.
44293         * sunrpc/Makefile: Don't install headers.  Build library with normal
44294         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
44295         * sunrpc/auth_des.c: Hide exported symbols by default, export some
44296         for the compat linking library.  Remove use of INTDEF/INTUSE.
44297         * sunrpc/auth_none.c: Likewise.
44298         * sunrpc/auth_unix.c: Likewise.
44299         * sunrpc/authdes_prot.c: Likewise.
44300         * sunrpc/authuxprot.c: Likewise.
44301         * sunrpc/clnt_gen.c: Likewise.
44302         * sunrpc/clnt_perr.c: Likewise.
44303         * sunrpc/clnt_raw.c: Likewise.
44304         * sunrpc/clnt_simp.c: Likewise.
44305         * sunrpc/clnt_tcp.c: Likewise.
44306         * sunrpc/clnt_udp.c: Likewise.
44307         * sunrpc/clnt_unix.c: Likewise.
44308         * sunrpc/des_crypt.c: Likewise.
44309         * sunrpc/des_soft.c: Likewise.
44310         * sunrpc/get_myaddr.c: Likewise.
44311         * sunrpc/key_call.c: Likewise.
44312         * sunrpc/key_prot.c: Likewise.
44313         * sunrpc/netname.c: Likewise.
44314         * sunrpc/pm_getmaps.c: Likewise.
44315         * sunrpc/pm_getport.c: Likewise.
44316         * sunrpc/pmap_clnt.c: Likewise.
44317         * sunrpc/pmap_prot.c: Likewise.
44318         * sunrpc/pmap_prot2.c: Likewise.
44319         * sunrpc/pmap_rmt.c: Likewise.
44320         * sunrpc/publickey.c: Likewise.
44321         * sunrpc/rpc_cmsg.c: Likewise.
44322         * sunrpc/rpc_common.c: Likewise.
44323         * sunrpc/rpc_dtable.c: Likewise.
44324         * sunrpc/rpc_prot.c: Likewise.
44325         * sunrpc/rpc_thread.c: Likewise.
44326         * sunrpc/rtime.c: Likewise.
44327         * sunrpc/svc.c: Likewise.
44328         * sunrpc/svc_auth.c: Likewise.
44329         * sunrpc/svc_authux.c: Likewise.
44330         * sunrpc/svc_raw.c: Likewise.
44331         * sunrpc/svc_run.c: Likewise.
44332         * sunrpc/svc_simple.c: Likewise.
44333         * sunrpc/svc_tcp.c: Likewise.
44334         * sunrpc/svc_udp.c: Likewise.
44335         * sunrpc/svc_unix.c: Likewise.
44336         * sunrpc/svcauth_des.c: Likewise.
44337         * sunrpc/xcrypt.c: Likewise.
44338         * sunrpc/xdr.c: Likewise.
44339         * sunrpc/xdr_array.c: Likewise.
44340         * sunrpc/xdr_float.c: Likewise.
44341         * sunrpc/xdr_intXX_t.c: Likewise.
44342         * sunrpc/xdr_mem.c: Likewise.
44343         * sunrpc/xdr_rec.c: Likewise.
44344         * sunrpc/xdr_ref.c: Likewise.
44345         * sunrpc/xdr_sizeof.c: Likewise.
44346         * sunrpc/xdr_stdio.c: Likewise.
44348 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
44350         [BZ #12650]
44351         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44352         * sysdeps/ia64/dl-tls.h: Likewise.
44353         * sysdeps/powerpc/dl-tls.h: Likewise.
44354         * sysdeps/s390/dl-tls.h: Likewise.
44355         * sysdeps/sh/dl-tls.h: Likewise.
44356         * sysdeps/sparc/dl-tls.h: Likewise.
44357         * sysdeps/x86_64/dl-tls.h: Likewise.
44358         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44360 2011-03-14  Andreas Schwab  <schwab@redhat.com>
44362         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44363         rpath element also skip the following colon.
44364         (expand_dynamic_string_token): Add is_path parameter and pass
44365         down to DL_DST_REQUIRED and _dl_dst_substitute.
44366         (decompose_rpath): Call expand_dynamic_string_token with
44367         non-zero is_path.  Ignore empty rpaths.
44368         (_dl_map_object_from_fd): Call expand_dynamic_string_token
44369         with zero is_path.
44371 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
44373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44374         Make cancelable.
44376 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
44378         [BZ #12655]
44379         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44380         Patch by Filipe David Manana <fdmanana@apache.org>.
44382 2011-04-07  Andreas Schwab  <schwab@redhat.com>
44384         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44385         Maintain aligned stack.
44386         (CHECK_RSP): Remove unused macro.
44388 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
44390         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44391         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44393 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
44395         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44397         * include/features.h: Mention __USE_XOPEN2K8 in comment.
44399 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
44401         [BZ #12518]
44402         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44403         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44404         * sysdeps/x86_64/memmove.c: New file.
44405         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44406         (memcpy): Renamed to ...
44407         (__new_memcpy): This.
44408         (memcpy): Provide GLIBC_2_14 memcpy.
44409         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44410         (memcpy): Provide GLIBC_2_2_5 memcpy.
44412 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44414         [BZ #12631]
44415         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44417 2011-03-30  Andreas Schwab  <schwab@redhat.com>
44419         * misc/syncfs.c: New file.
44420         * misc/Makefile (routines): Add syncfs.
44421         * posix/unistd.h: Declare syncfs.
44422         * sysdeps/unix/syscalls.list: Add syncfs.
44424 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44426         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44427         open_by_handle_at.
44428         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44429         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44430         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44431         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44432         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44433         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44434         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44436 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44438         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44439         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44440         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44441         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44442         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44443         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44444         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44446         * io/Makefile: Compile fallocate.c, fallocate64.c, and
44447         sync_file_range.c with -fexceptions.
44448         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44449         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44450         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44451         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44452         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44453         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44454         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44455         sync_file_range as cancellation point
44456         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
44457         now a wrapper around __call_sync_file_range with cancellation handling.
44458         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44459         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
44460         function name to __call_sync_file_range.
44461         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44462         Add call_sync_file_range.
44464 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44466         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44467         bits/timex.h.
44469 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44471         * iconv/iconv.h: Fix typo in comment.
44472         * io/fcntl.h: Likewise.
44473         * libio/stdio.h: Likewise.
44474         * posix/spawn.h: Likewise.
44475         * posix/unistd.h: Likewise.
44476         * stdlib/stdlib.h: Likewise.
44477         * time/time.h: Likewise.
44478         * wcsmbs/wchar.h: Likewise.
44480         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44481         open_by_handle): Add.
44482         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44483         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
44484         Augment a few comments.
44485         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44486         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44487         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44488         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44489         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44490         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44491         open_by_handle.
44493         * io/fcntl.h (AT_EMPTY_PATH): Define.
44495 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
44497         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44498         * sysdeps/unix/sysv/linux/bits/time.h: New file.
44499         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44500         to...
44501         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
44502         * Versions.def: Add GLIBC_2.14.
44503         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44504         Export.
44506 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
44508         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44509         round counter.
44510         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44512 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44514         [BZ #12597]
44515         * string/test-strncmp.c (do_page_test): New function.
44516         (check2): Likewise.
44517         (test_main): Call check2.
44518         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44520 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
44522         [BZ #12587]
44523         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44524         Handle cache information in CPU leaf 4.
44525         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44527 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
44529         [BZ #12583]
44530         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44531         character representation.
44532         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44534 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
44536         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44537         END(__isnan) to END(__isnanf) to match function entry point/label
44538         EALIGN(__isnanf,...).
44540 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
44542         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44544 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
44546         [BZ #12510]
44547         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44548         copy from the symbol referenced in the relocation to initialize the
44549         used variable.
44550         Patch by Piotr Bury <pbury@goahead.com>.
44551         * elf/Makefile: Add rules to build and tst-unique3.
44552         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44553         * elf/tst-unique3.cc: New file.
44554         * elf/tst-unique3.h: New file.
44555         * elf/tst-unique3lib.cc: New file.
44556         * elf/tst-unique3lib2.cc: New file.
44558         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44560 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
44562         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44563         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
44564         to _start.
44566 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
44568         * elf/dl-load.c (_dl_map_object): If we are looking for the first
44569         to-be-loaded object along a path to loader is ld.so.
44571 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44572             Ulrich Drepper  <drepper@gmail.com>
44574         * sysdeps/x86_64/memset.S: After aligning destination, code
44575         branches to different locations depending on the value of
44576         misalignment, when multiarch is enabled. Fix this.
44578 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44580         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44581         Set _x86_64_preferred_memory_instruction for AMD processsors.
44582         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44583         Set bit_Prefer_SSE_for_memop for AMD processors.
44585 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
44587         * libio/fmemopen.c (fmemopen): Optimize a bit.
44589 2011-03-03  Andreas Schwab  <schwab@redhat.com>
44591         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44593 2011-03-03  Roland McGrath  <roland@redhat.com>
44595         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44597 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
44599         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44600         __bzero_ultra1 instead of __memset_ultra1.
44602 2011-02-23  Andreas Schwab  <schwab@redhat.com>
44603             Ulrich Drepper  <drepper@gmail.com>
44605         [BZ #12509]
44606         * include/link.h (struct link_map): Add l_orig_initfini.
44607         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44608         returning unsuccessfully.
44609         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44610         close of a file loaded at startup, restore the original l_initfini
44611         list.
44612         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44613         list, store the pointer.
44614         * elf/Makefile ($(objpfx)noload-mem): New rule.
44615         (noload-ENV): Define.
44616         (tests): Add $(objpfx)noload-mem.
44617         * elf/noload.c: Include <memcheck.h>.
44618         (main): Call mtrace.  Close all opened handles.
44620 2011-02-17  Andreas Schwab  <schwab@redhat.com>
44622         [BZ #12454]
44623         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44624         dependencies are missing.
44626 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44628         Fix __if_freereq crash: Unlike the generic version which uses free,
44629         Hurd needs munmap.
44630         * sysdeps/mach/hurd/ifreq.h: New file.
44632 2011-01-27  Petr Baudis  <pasky@suse.cz>
44633             Ulrich Drepper  <drepper@gmail.com>
44635         [BZ 12445]#
44636         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44637         to extend_alloca().
44638         * stdio-common/bug23.c: New file.
44639         * stdio-common/Makefile (tests): Add bug23.
44641 2010-09-28  Andreas Schwab  <schwab@redhat.com>
44642             Ulrich Drepper  <drepper@gmail.com>
44644         [BZ #12489]
44645         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44646         before performing relro protection.  At old place add assertion
44647         to make sure nothing changed.
44649 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
44650             Glauber de Oliveira Costa  <glommer@gmail.com>
44652         * elf/elf.h: Add new ARM TLS relocs.
44654 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
44656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44657         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44658         cast from r3.
44659         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
44660         'tests' variable.
44661         * sysdeps/wordsize-64/tst-writev.c: New file.
44663 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
44665         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44666         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44667         insns in _dl_start to prevent a TOC reference before relocs are
44668         resolved.
44670 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
44672         [BZ #12469]
44673         * Makeconfig: Remove RANLIB definition.
44674         * Makerules: Don't use RANLIB.
44675         * aclocal.m4: Remove ranlib test.
44676         * configure.in: No need to check for ranlib.
44677         * elf/rtld-Rules: Don't use RANLIB.
44679 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44681         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44682         protection macro.
44683         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44684         inclusion protection macro.
44686         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44687         SIGRTMIN and SIGRTMAX and print information in that case only when
44688         SIGRTMIN is defined.
44690 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
44692         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44693         arginfo fn returning -1.
44695         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44696         and thousands string is zero terminated.
44698 2011-02-03  Andreas Schwab  <schwab@redhat.com>
44700         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44701         sysdeps/unix/sysv/linux/bits/socket.h.
44703 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44705         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44706         (__CPU_COUNT): Remove old macros.
44707         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44708         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44709         (__CPU_ALLOC, __CPU_FREE): Add macros.
44710         (__sched_cpualloc, __sched_cpufree): Add declarations.
44712 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
44714         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44715         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44716         * nscd/aicache.c (addhstaiX): Return timeout of added value.
44717         (readdhstai): Return value of addhstaiX call.
44718         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44719         (addgrbyX): Return value returned by cache_addgr.
44720         (readdgrbyname): Return value returned by addgrbyX.
44721         (readdgrbygid): Likewise.
44722         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44723         (addpwbyX): Return value returned by cache_addpw.
44724         (readdpwbyname): Return value returned by addhstbyX.
44725         (readdpwbyuid): Likewise.
44726         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44727         (addservbyX): Return value returned by cache_addserv.
44728         (readdservbyname): Return value returned by addservbyX:
44729         (readdservbyport): Likewise.
44730         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44731         (addhstbyX): Return value returned by cache_addhst.
44732         (readdhstbyname): Return value returned by addhstbyX.
44733         (readdhstbyaddr): Likewise.
44734         (readdhstbynamev6): Likewise.
44735         (readdhstbyaddrv6): Likewise.
44736         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44737         (readdinitgroups): Return value returned by addinitgroupsX.
44738         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44739         (prune_cache): Keep track of timeout value of re-added entries.
44740         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44741         * nscd/nscd.h: Adjust prototypes of readd* functions.
44743 2011-02-04  Roland McGrath  <roland@redhat.com>
44745         * nis/nis_server.c (nis_servstate): Use the right name for 0.
44746         (nis_stats): Likewise.
44747         * nis/nis_modify.c (nis_modify): Likewise.
44748         * nis/nis_remove.c (nis_remove): Likewise.
44749         * nis/nis_add.c (nis_add): Likewise.
44751         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44753         * posix/fnmatch_loop.c: Add some consts.
44755         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44757 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
44759         [BZ #12460]
44760         * config.make.in (config-cflags-novzeroupper): Define.
44761         * configure.in: Substitute libc_cv_cc_novzeroupper.
44762         * elf/Makefile (AVX-CFLAGS): Define.
44763         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44764         (CFLAGS-tst-auditmod4a.c): Likewise.
44765         (CFLAGS-tst-auditmod4b.c): Likewise.
44766         (CFLAGS-tst-auditmod6b.c): Likewise.
44767         (CFLAGS-tst-auditmod6c.c): Likewise.
44768         (CFLAGS-tst-auditmod7b.c): Likewise.
44769         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44771 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
44773         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44774         function to the callback.
44775         Patch partly by Jiri Olsa <jolsa@redhat.com>.
44777 2011-02-02  Andreas Schwab  <schwab@redhat.com>
44779         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44780         of errno.
44782 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
44784         [BZ #11724]
44785         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44786         of constructors.
44787         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44788         of destructors.
44789         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44791         [BZ #11724]
44792         * elf/Makefile: Add rules to build and run new test.
44793         * elf/tst-initorder.c: New file.
44794         * elf/tst-initorder.exp: New file.
44795         * elf/tst-initordera1.c: New file.
44796         * elf/tst-initordera2.c: New file.
44797         * elf/tst-initordera3.c: New file.
44798         * elf/tst-initordera4.c: New file.
44799         * elf/tst-initorderb1.c: New file.
44800         * elf/tst-initorderb2.c: New file.
44801         * elf/tst-order-a1.c: New file.
44802         * elf/tst-order-a2.c: New file.
44803         * elf/tst-order-a3.c: New file.
44804         * elf/tst-order-a4.c: New file.
44805         * elf/tst-order-b1.c: New file.
44806         * elf/tst-order-b2.c: New file.
44807         * elf/tst-order-main.c: New file.
44808         New test case by George Gensure <werkt0@gmail.com>.
44810 2010-10-01  Andreas Schwab  <schwab@redhat.com>
44812         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44813         decoding ACE if AI_CANONIDN.
44815 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
44817         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44819 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
44821         * version.h (RELEASE): Bump for 2.13 release.
44822         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44824         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44826         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44827         MADV_NOHUGEPAGE.
44828         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44829         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44830         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44831         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44832         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44833         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44835         * posix/getconf.c: Update copyright year.
44836         * catgets/gencat.c: Likewise.
44837         * csu/version.c: Likewise.
44838         * debug/catchsegv.sh: Likewise.
44839         * debug/xtrace.sh: Likewise.
44840         * elf/ldconfig.c: Likewise.
44841         * elf/ldd.bash.in: Likewise.
44842         * elf/sprof.c (print_version): Likewise.
44843         * iconv/iconv_prog.c: Likewise.
44844         * iconv/iconvconfig.c: Likewise.
44845         * locale/programs/locale.c: Likewise.
44846         * locale/programs/localedef.c: Likewise.
44847         * malloc/memusage.sh: Likewise.
44848         * malloc/mtrace.pl: Likewise.
44849         * nscd/nscd.c (print_version): Likewise.
44850         * nss/getent.c: Likewise.
44852         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44853         PF_CAIF, and PF_ALG.
44854         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44856 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
44858         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44859         (modules-names): Use them.
44860         (ifunc-test-modules, ifunc-pie-tests): Define.
44861         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44862         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44863         (test-extras): Likewise.
44864         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44865         $(compile-command.c).
44866         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44867         (all-built-dso): Define.
44868         (check-textrel.out, check-execstack.out): Depend on it.
44870         * configure.in: Don't override --enable-multi-arch.
44872 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
44874         [BZ #6812]
44875         * nscd/hstcache.c (tryagain): Define.
44876         (cache_addhst): Return tryagain not notfound for temporary errors.
44877         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44878         failed.
44880 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
44882         [BZ #10563]
44883         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44884         to make the syscall.
44885         * sysdeps/unix/sysv/linux/setgroups.c: New file.
44887         [BZ #12378]
44888         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44889         and fall back to matching as normal character if the string ends before
44890         the matching ']' is found.  This is what POSIX requires.
44891         * posix/testfnm.c: Adjust test result.
44892         * posix/globtest.sh: Adjust test result.  Add new test.
44893         * posix/tst-fnmatch.input: Likewise.
44894         * posix/tst-fnmatch2.c: Add new test.
44896 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
44898         * elf/Makefile (check-execstack): Revert last change.  Depend on
44899         check-execstack.h.
44900         (check-execstack.h): New target.
44901         (generated): Add check-execstack.h.
44902         * elf/check-execstack.c: Include "check-execstack.h".
44903         (main): Revert last change.
44904         (handle_file): Return zero if GNU_STACK is absent and
44905         DEFAULT_STACK_PERMS doesn't include PF_X.
44907 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
44909         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44910         in child fails because the descriptor is already closed.
44911         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44912         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44913         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44915         [BZ #12397]
44916         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44917         syscall.
44919         [BZ #10484]
44920         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44921         temporary buffer used to handle multi lookups locally.
44922         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44924 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44926         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44927         loader is ld.so.
44929 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
44931         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44932         alignment for SSE2.
44934 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44936         [BZ #12394]
44937         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44938         characters.  When rounding increased number of integer digits recompute
44939         number of groups.
44940         * stdio-common/tst-grouping.c: New file.
44941         * stdio-common/Makefile: Add rules to build and run tst-grouping.
44943 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
44945         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44946         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
44948         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44949         void.
44950         * bits/select.h: Likewise.
44952 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
44954         * po/ja.po: Update from translation team.
44956 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
44958         [BZ #11155]
44959         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44960         implementation just like for lxstat, fxstatat, et al.
44962 2010-12-27  Jim Meyering  <meyering@redhat.com>
44964         [BZ #12348]
44965         * posix/regexec.c (build_trtable): Return failure indication upon
44966         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
44968 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
44970         [BZ #12201]
44971         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44972         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44973         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44974         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44976         [BZ #12207]
44977         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44979         [BZ #12204]
44980         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44981         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44983 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
44985         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44986         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44987         script has SORT_BY_INIT_PRIORITY.
44988         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44989         NO_CTORS_DTORS_SECTIONS is defined.
44990         * elf/soinit.c: Likewise.
44991         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44992         NO_CTORS_DTORS_SECTIONS is defined.
44993         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44994         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44995         * sysdeps/sh/init-first.c: Likewise.
44996         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44998 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
45000         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45001         always use the slow path.
45003 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
45005         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45006         similar rule which adds the sysdep directories to the header search in
45007         order to pick up the correct platform stackinfo.h.
45008         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45009         perform test if it is, otherwise return successfully without testing.
45010         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45011         DEFAULT_STACK_PERMS define in stackinfo.h.
45012         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45013         defined in stackinfo.h.
45014         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45015         DEFAULT_STACK_PERMS defined in stackinfo.h.
45016         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45017         * sysdeps/ia64/stackinfo.h: Likewise.
45018         * sysdeps/s390/stackinfo.h: Likewise.
45019         * sysdeps/sh/stackinfo.h: Likewise.
45020         * sysdeps/sparc/stackinfo.h: Likewise.
45021         * sysdeps/x86_64/stackinfo.h: Likewise.
45022         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45023         PF_X for powerpc64.  Retain PF_X for powerpc32.
45025 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
45027         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45028         accurately.
45029         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45030         GETDENTS_64BIT_ALIGNED.
45032 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
45034         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45036 2010-12-10  Andreas Schwab  <schwab@redhat.com>
45038         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45039         _GNU_SOURCE.
45041         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45042         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45043         Remove __restrict.
45044         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45045         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45047 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
45049         [BZ #11655]
45050         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45051         are initialized.
45053 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
45055         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45057 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
45059         * po/it.po: Update from translation team.
45061 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
45063         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45064         unused codes.
45066 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
45068         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45070 2010-11-24  Andreas Schwab  <schwab@redhat.com>
45072         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45073         specially.
45074         (gaih_getanswer_slice): Likewise.
45076 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
45078         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45080 2010-05-31  Petr Baudis  <pasky@suse.cz>
45082         [BZ #11149]
45083         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45084         silently even in the chroot mode.
45086 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
45088         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45089         last patch a bit.  Pretty printing
45091 2010-05-31  Petr Baudis <pasky@suse.cz>
45093         [BZ #10085]
45094         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45095         initialization of skip_initgroups_dyn.
45097 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
45099         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45100         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45102 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
45104         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45106 2010-11-11  Andreas Schwab  <schwab@redhat.com>
45108         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45109         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45110         (tst-fnmatch-ENV): Set MALLOC_TRACE.
45111         ($(objpfx)tst-fnmatch-mem): New rule.
45112         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45113         * posix/tst-fnmatch.c (main): Call mtrace.
45115 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
45117         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45118         Support Intel processor model 6 and model 0x2c.
45120 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
45122         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45123           signed comparison.
45125 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
45127         [BZ #12205]
45128         * string/test-strncasecmp.c (check_result): New function.
45129         (do_one_test): Use it.
45130         (check1): New function.
45131         (test_main): Use it.
45132         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45133         Support strcasecmp and strncasecmp.
45135 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
45137         [BZ #12194]
45138         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45139         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45141 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
45143         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45144         IFUNC support.
45145         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45146         memset-x86-64.
45147         * sysdeps/x86_64/multiarch/bzero.S: New file.
45148         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45149         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45150         * sysdeps/x86_64/multiarch/memset.S: New file.
45151         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45152         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45153         Set bit_Prefer_SSE_for_memop for Intel processors.
45154         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45155         Define.
45156         (index_Prefer_SSE_for_memop): Define.
45157         (HAS_PREFER_SSE_FOR_MEMOP): Define.
45159 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
45161         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45162         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45164 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
45166         [BZ #12191]
45167         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45168         (__x86_64_raw_data_cache_size_half): Likewise.
45169         (__x86_64_raw_shared_cache_size): Likewise.
45170         (__x86_64_raw_shared_cache_size_half): Likewise.
45172         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45173         (__x86_64_raw_data_cache_size_half): Likewise.
45174         (__x86_64_raw_shared_cache_size): Likewise.
45175         (__x86_64_raw_shared_cache_size_half): Likewise.
45176         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45177         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45178         and __x86_64_raw_shared_cache_size_half.  Round
45179         __x86_64_data_cache_size_half, __x86_64_data_cache_size
45180         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45181         to multiple of 256 bytes.
45183 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
45185         [BZ #12167]
45186         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45187         of inacessible symlinks.  Verify result of symlink before returning it.
45188         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45189         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45191 2010-10-28  Erich Ritz  <erichritz@gmail.com>
45193         * math/math.h (isinf): Fix typo in comment.
45195 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
45197         * po/da.po: Update from translation team.
45199 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
45201         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45202         is added to the list.
45204 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45205             Ulrich Drepper  <drepper@gmail.com>
45207         * elf/dl-object.c (_dl_new_object): Don't append the new object to
45208         the global list here.  Move code to...
45209         (_dl_add_to_namespace_list): ...here.  New function.
45210         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45211         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45212         * elf/dl-load.c (lose): Don't remove the element from the list.
45213         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45214         (_dl_map_object): Likewise.
45216 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
45218         [BZ #12159]
45219         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45220         into all bytes of SSE register.
45221         Patch by Richard Li <richardpku@gmail.com>.
45223 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
45225         [BZ #12140]
45226         * malloc/malloc.c (_int_free): Fill correct number of bytes when
45227         perturbing.
45229 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
45231         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45232         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45233         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45234         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45236         submachine.
45237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45239 2010-10-22  Andreas Schwab  <schwab@redhat.com>
45241         * include/dlfcn.h (__RTLD_SECURE): Define.
45242         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
45243         mode & __RTLD_SECURE instead.
45244         (open_path): Rename preloaded parameter to secure.
45245         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45246         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45247         * elf/dl-deps.c (openaux): Likewise.
45248         * elf/rtld.c (struct map_args): Remove is_preloaded.
45249         (map_doit): Don't use it.
45250         (dl_main): Likewise.
45251         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45252         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45254 2010-09-09  Andreas Schwab  <schwab@redhat.com>
45256         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45257         (sysd-rules-targets): Remove duplicates.
45258         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45259         rtld-%.$o dependency.
45261 2010-10-18  Andreas Schwab  <schwab@redhat.com>
45263         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45264         _dl_map_object do it.
45266 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
45268         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45269         fast fma builtins, define the macros in the C99 standard.
45270         (FP_FAST_FMAF): Likewise.
45271         (FP_FAST_FMAL): Likewise.
45272         * sysdeps/x86_64/bits/mathdef.h: Likewise.
45274         * bits/mathdef.h: Update copyright year.
45275         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45277 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
45279         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45280         builtins, define the macros in the C99 standard.
45281         (FP_FAST_FMAF): Likewise.
45282         (FP_FAST_FMAL): Likewise.
45283         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45284         multiply/add.
45285         (FP_FAST_FMAF): Likewise.
45287 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
45289         [BZ #3268]
45290         * math/libm-test.inc (fma_test): Some new testcases.
45291         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45292         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45293         y and infinite z.  Do multiplication by C already in long double.
45294         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45295         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45296         y and infinite z.  Do bitwise or of inexact bit into u.d.
45297         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45298         * sysdeps/i386/fpu/s_fmaf.S: Removed.
45299         * sysdeps/i386/fpu/s_fma.S: Removed.
45300         * sysdeps/i386/fpu/s_fmal.S: Removed.
45302 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
45304         [BZ #3268]
45305         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45306         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45307         computation is not scheduled after fetestexcept.  Fix value
45308         of minimum denormal long double.
45310 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
45312         [BZ #3268]
45313         * math/libm-test.inc (fma_test): Add some more tests.
45314         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45315         correctly.
45317 2010-10-15  Andreas Schwab  <schwab@redhat.com>
45319         * scripts/data/localplt-s390-linux-gnu.data: New file.
45320         * scripts/data/localplt-s390x-linux-gnu.data: New file.
45322 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
45324         [BZ #3268]
45325         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45326         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45327         instead of dbl-64.
45328         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45329         inlines.
45330         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45331         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45332         if one of x and y is very large and the other is subnormal.
45333         * sysdeps/s390/fpu/s_fmaf.c: New file.
45334         * sysdeps/s390/fpu/s_fma.c: New file.
45335         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45336         * sysdeps/powerpc/fpu/s_fma.S: New file.
45337         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45338         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45339         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45341 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
45343         [BZ #3268]
45344         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45345         fma tests.
45346         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45347         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45348         * sysdeps/i386/i686/multiarch/s_fma.c: Include
45349         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45350         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45351         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45352         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45354 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
45356         [BZ #12078]
45357         * posix/regcomp.c (parse_branch): One more memory leak plugged.
45358         * posix/bug-regex31.input: Add test case.
45360 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45362         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45363         * posix/bug-regex31.input: New file.
45365         [BZ #12078]
45366         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45367         (parse_sub_exp): Fix last change, use postorder.
45369         * posix/bug-regex31.c: New file.
45370         * posix/Makefile: Add rules to build and run bug-regex31.
45372         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45374         [BZ #12078]
45375         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45377         [BZ #12108]
45378         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45379         to have entries in sys_siglist.
45381         [BZ #12093]
45382         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45383         be NULL.
45385 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
45387         [BZ #3268]
45388         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45389         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45390         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45391         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45392         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45393         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45394         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45395         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45396         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45397         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45398         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45399         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45400         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45401         * math/ftestexcept.c (fetestexcept): Likewise.
45402         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45403         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45404         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45405         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45406         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45407         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45408         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45410 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45412         [BZ #12107]
45413         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45414         newline.
45416 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
45418         * string/bug-strstr1.c: New file.
45419         * string/Makefile: Add rules to build and run bug-strstr1.
45421 2010-10-05  Eric Blake  <eblake@redhat.com>
45423         [BZ #12092]
45424         * string/str-two-way.h (two_way_long_needle): Always clear memory
45425         when skipping input due to the shift table.
45427 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
45429         [BZ #12005]
45430         * malloc/mcheck.c: Handle large requests.
45432         [BZ #12077]
45433         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45434         for strncmp and strncasecmp.
45435         * string/stratcliff.c: Add tests for strcmp and strncmp.
45436         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45438 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45440         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45441         __set_fpscr.
45443 2010-09-30  Andreas Jaeger  <aj@suse.de>
45445         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45446         (CGROUP_SUPER_MAGIC): Define.
45447         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45448         Handle btrfs and cgroup file systems.
45449         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45450         Likewise.
45452 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
45454         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45455         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45457 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45459         [BZ #12067]
45460         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45461         trying to locate the ELF header.
45463 2010-09-27  Andreas Schwab  <schwab@redhat.com>
45465         [BZ #11611]
45466         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45467         Mask out sign-bit copies when constructing f_fsid.
45469 2010-09-24  Petr Baudis <pasky@suse.cz>
45471         * debug/stack_chk_fail_local.c: Add missing licence exception.
45472         * debug/warning-nop.c: Likewise.
45474 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
45476         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45477         implementing getdents64 using getdents syscall, set d_type if
45478         __ASSUME_GETDENTS32_D_TYPE.
45480 2010-09-16  Andreas Schwab  <schwab@redhat.com>
45482         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45483         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45485 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
45487         [BZ #12037]
45488         * posix/unistd.h: Undo change of feature selection for ftruncate from
45489         2010-01-11.
45491 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
45493         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45494         detection.
45496 2010-09-20  Andreas Schwab  <schwab@redhat.com>
45498         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45499         fanotify_mark.
45500         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45502 2010-09-14  Andreas Schwab  <schwab@redhat.com>
45504         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45505         variables after CHECK_SP call.
45506         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45508 2010-09-13  Andreas Schwab  <schwab@redhat.com>
45509             Ulrich Drepper  <drepper@redhat.com>
45511         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45512         re-relocationg ld.so.
45513         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45514         _dl_init_paths call.
45515         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
45516         here anymore.
45518 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
45520         * resolv/res_init.c (__res_vinit): Count the default server we added.
45522 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
45523             Ulrich Drepper  <drepper@redhat.com>
45525         [BZ #11968]
45526         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45527         (____longjmp_chk): Use %ebx for saving value across system call.
45528         Add unwind info.
45530 2010-09-06  Andreas Schwab  <schwab@redhat.com>
45532         * manual/Makefile: Don't mix pattern rules with normal rules.
45534 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45536         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45537         operation.
45538         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45539         * libio/iofopncook.c (_IO_cookie_init): Likewise.
45540         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45541         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45542         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45543         Likewise.
45545 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
45547         [BZ #11979]
45548         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45549         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45551 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
45553         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45554         * sysdeps/x86_64/addmul_1.S: Likewise.
45555         * sysdeps/x86_64/lshift.S: Likewise.
45556         * sysdeps/x86_64/mul_1.S: Likewise.
45557         * sysdeps/x86_64/rshift.S: Likewise.
45558         * sysdeps/x86_64/sub_n.S: Likewise.
45559         * sysdeps/x86_64/submul_1.S: Likewise.
45561 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45563         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45564         Define __sched_param instead of SCHED_* and sched_param when
45565         <bits/sched.h> is included with __need_schedparam defined.
45566         * bits/sched.h [__need_schedparam]
45567         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45568         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45569         (__defined_schedparam): Define to 1.
45570         (__sched_param): New structure, identical to sched_param.
45571         (__need_schedparam): Undefine.
45573 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
45575         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45576         (epoll_create1): Declare.
45578         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45580 2010-08-31  Andreas Schwab  <schwab@redhat.com>
45582         [BZ #7066]
45583         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45584         shifting retval into place.
45586 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
45588         * nis/rpcsvc/nis.h: Update copyright notice.
45589         * nis/rpcsvc/nis.x: Likewise.
45590         * nis/rpcsvc/nis_callback.h: Likewise.
45591         * nis/rpcsvc/nis_callback.x: Likewise.
45592         * nis/rpcsvc/nis_object.x: Likewise.
45593         * nis/rpcsvc/nis_tags.h: Likewise.
45594         * nis/rpcsvc/yp.h: Likewise.
45595         * nis/rpcsvc/yp.x: Likewise.
45596         * nis/rpcsvc/ypupd.h: Likewise.
45597         * nis/yp_xdr.c: Likewise.
45598         * nis/ypupdate_xdr.c: Likewise.
45600         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
45601         mainly the body of pmap_getport.  Add parameters to specify timeouts.
45602         (pmap_getport): Use __libc_rpc_getport.
45603         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45604         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45605         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45607 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
45609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45610         fanotify_mark.
45612 2010-08-27  Roland McGrath  <roland@redhat.com>
45614         * sysdeps/i386/i686/multiarch/Makefile
45615         (CFLAGS-varshift.c): New variable.
45617 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
45619         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45620         * sysdeps/i386/i686/multiarch/varshift.c: New file.
45622         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45624         * sysdeps/x86_64/strlen.S: Minimal code improvement.
45626 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
45628         * sysdeps/x86_64/strlen.S: Unroll the loop.
45629         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45630         strlen-sse2 strlen-sse2-bsf.
45631         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45632         __strlen_no_bsf if bit_Slow_BSF is set.
45633         (__strlen_sse42): Removed.
45634         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45635         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45637 2010-08-25  Roland McGrath  <roland@redhat.com>
45639         * sysdeps/x86_64/multiarch/varshift.S: File removed.
45640         * sysdeps/x86_64/multiarch/varshift.c: New file.
45641         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45642         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45643         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45644         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45646 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
45648         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45649         strlen-sse2 strlen-sse2-bsf.
45650         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45651         __strlen_sse2_bsf if bit_Slow_BSF is unset.
45652         (__strlen_sse2): Removed.
45653         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45654         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45655         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45656         bit_Slow_BSF for Atom.
45657         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45658         (index_Slow_BSF): Define.
45659         (HAS_SLOW_BSF): Define.
45661 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
45663         [BZ #10851]
45664         * resolv/res_init.c (__res_vinit): When no server address at all
45665         is given default to loopback.
45667 2010-08-24  Roland McGrath  <roland@redhat.com>
45669         * configure.in: Remove config-name.h generation.
45670         * configure: Regenerated.
45671         * config-name.in: File removed.
45672         * scripts/config-uname.sh: New file.
45673         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45674         ($(objdir)config-name.h): New target.
45676         * sunrpc/rpc_parse.h: Avoid nested comment.
45678 2010-08-24  Richard Henderson  <rth@redhat.com>
45679             Ulrich Drepper  <drepper@redhat.com>
45680             H.J. Lu  <hongjiu.lu@intel.com>
45682         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45683         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45684         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45685         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
45686         _mm_alignr_epi8 with _mm_loadu_si128.
45687         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45688         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45689         (__m128i_shift_right): Removed.
45690         * sysdeps/i386/i686/multiarch/varshift.h: New file.
45691         * sysdeps/i386/i686/multiarch/varshift.S: New file.
45692         * sysdeps/x86_64/multiarch/varshift.h: New file.
45693         * sysdeps/x86_64/multiarch/varshift.S: New file.
45695 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
45697         * configure.in: Move assembler checks to before sysdep dir checking.
45699 2010-08-20  Petr Baudis  <pasky@suse.cz>
45701         * LICENSES: Sync the sunrpc license.
45703 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
45705         * sunrpc/auth_des.c: Update copyright notice once again.
45706         * sunrpc/auth_none.c: Likewise.
45707         * sunrpc/auth_unix.c: Likewise.
45708         * sunrpc/authdes_prot.c: Likewise.
45709         * sunrpc/authuxprot.c: Likewise.
45710         * sunrpc/bindrsvprt.c: Likewise.
45711         * sunrpc/clnt_gen.c: Likewise.
45712         * sunrpc/clnt_perr.c: Likewise.
45713         * sunrpc/clnt_raw.c: Likewise.
45714         * sunrpc/clnt_simp.c: Likewise.
45715         * sunrpc/clnt_tcp.c: Likewise.
45716         * sunrpc/clnt_udp.c: Likewise.
45717         * sunrpc/clnt_unix.c: Likewise.
45718         * sunrpc/des_crypt.c: Likewise.
45719         * sunrpc/des_soft.c: Likewise.
45720         * sunrpc/get_myaddr.c: Likewise.
45721         * sunrpc/getrpcport.c: Likewise.
45722         * sunrpc/key_call.c: Likewise.
45723         * sunrpc/key_prot.c: Likewise.
45724         * sunrpc/openchild.c: Likewise.
45725         * sunrpc/pm_getmaps.c: Likewise.
45726         * sunrpc/pm_getport.c: Likewise.
45727         * sunrpc/pmap_clnt.c: Likewise.
45728         * sunrpc/pmap_prot.c: Likewise.
45729         * sunrpc/pmap_prot2.c: Likewise.
45730         * sunrpc/pmap_rmt.c: Likewise.
45731         * sunrpc/rpc/auth.h: Likewise.
45732         * sunrpc/rpc/auth_unix.h: Likewise.
45733         * sunrpc/rpc/clnt.h: Likewise.
45734         * sunrpc/rpc/des_crypt.h: Likewise.
45735         * sunrpc/rpc/key_prot.h: Likewise.
45736         * sunrpc/rpc/netdb.h: Likewise.
45737         * sunrpc/rpc/pmap_clnt.h: Likewise.
45738         * sunrpc/rpc/pmap_prot.h: Likewise.
45739         * sunrpc/rpc/pmap_rmt.h: Likewise.
45740         * sunrpc/rpc/rpc.h: Likewise.
45741         * sunrpc/rpc/rpc_des.h: Likewise.
45742         * sunrpc/rpc/rpc_msg.h: Likewise.
45743         * sunrpc/rpc/svc.h: Likewise.
45744         * sunrpc/rpc/svc_auth.h: Likewise.
45745         * sunrpc/rpc/types.h: Likewise.
45746         * sunrpc/rpc/xdr.h: Likewise.
45747         * sunrpc/rpc_clntout.c: Likewise.
45748         * sunrpc/rpc_cmsg.c: Likewise.
45749         * sunrpc/rpc_common.c: Likewise.
45750         * sunrpc/rpc_cout.c: Likewise.
45751         * sunrpc/rpc_dtable.c: Likewise.
45752         * sunrpc/rpc_hout.c: Likewise.
45753         * sunrpc/rpc_main.c: Likewise.
45754         * sunrpc/rpc_parse.c: Likewise.
45755         * sunrpc/rpc_parse.h: Likewise.
45756         * sunrpc/rpc_prot.c: Likewise.
45757         * sunrpc/rpc_sample.c: Likewise.
45758         * sunrpc/rpc_scan.c: Likewise.
45759         * sunrpc/rpc_scan.h: Likewise.
45760         * sunrpc/rpc_svcout.c: Likewise.
45761         * sunrpc/rpc_tblout.c: Likewise.
45762         * sunrpc/rpc_util.c: Likewise.
45763         * sunrpc/rpc_util.h: Likewise.
45764         * sunrpc/rpcinfo.c: Likewise.
45765         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45766         * sunrpc/rpcsvc/key_prot.x: Likewise.
45767         * sunrpc/rpcsvc/klm_prot.x: Likewise.
45768         * sunrpc/rpcsvc/mount.x: Likewise.
45769         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45770         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45771         * sunrpc/rpcsvc/rex.x: Likewise.
45772         * sunrpc/rpcsvc/rstat.x: Likewise.
45773         * sunrpc/rpcsvc/rusers.x: Likewise.
45774         * sunrpc/rpcsvc/sm_inter.x: Likewise.
45775         * sunrpc/rpcsvc/spray.x: Likewise.
45776         * sunrpc/rpcsvc/yppasswd.x: Likewise.
45777         * sunrpc/rtime.c: Likewise.
45778         * sunrpc/svc.c: Likewise.
45779         * sunrpc/svc_auth.c: Likewise.
45780         * sunrpc/svc_authux.c: Likewise.
45781         * sunrpc/svc_raw.c: Likewise.
45782         * sunrpc/svc_run.c: Likewise.
45783         * sunrpc/svc_simple.c: Likewise.
45784         * sunrpc/svc_tcp.c: Likewise.
45785         * sunrpc/svc_udp.c: Likewise.
45786         * sunrpc/svc_unix.c: Likewise.
45787         * sunrpc/svcauth_des.c: Likewise.
45788         * sunrpc/xcrypt.c: Likewise.
45789         * sunrpc/xdr.c: Likewise.
45790         * sunrpc/xdr_array.c: Likewise.
45791         * sunrpc/xdr_float.c: Likewise.
45792         * sunrpc/xdr_mem.c: Likewise.
45793         * sunrpc/xdr_rec.c: Likewise.
45794         * sunrpc/xdr_ref.c: Likewise.
45795         * sunrpc/xdr_sizeof.c: Likewise.
45796         * sunrpc/xdr_stdio.c: Likewise.
45798         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45799         handling.
45801 2010-08-19  Andreas Schwab  <schwab@redhat.com>
45803         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45805 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
45807         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45808         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45809         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45810         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45811         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45812         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45813         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45814         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45815         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45816         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45817         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45818         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45819         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45820         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45822 2010-07-26  Anton Blanchard  <anton@samba.org>
45824         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45825         * malloc/arena.c (heap_trim): Likewise.
45827 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
45829         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45830         here.  Not...
45831         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45832         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45834 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45836         * sysdeps/i386/elf/Makefile: New file.
45838 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45840         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45841         from fanotify_init.
45842         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45843         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45845 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
45847         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45848         of strncasecmp_l.
45849         * sysdeps/multiarch/strcmp.S: Likewise.
45851 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
45853         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45854         strncase_l-nonascii.
45855         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45856         Add strncase_l-ssse3.
45857         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45858         * sysdeps/x86_64/strcmp.S: Likewise.
45859         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45860         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45861         * sysdeps/x86_64/strncase.S: New file.
45862         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45863         * sysdeps/x86_64/strncase_l.S: New file.
45864         * string/Makefile (strop-tests): Add strncasecmp.
45865         * string/test-strncasecmp.c: New file.
45867         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45868         warning.
45870         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45871         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45873 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45875         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45877 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
45879         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45880         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45881         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45883 2010-05-01  Alan Modra  <amodra@gmail.com>
45885         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45886         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45887         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45888         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45889         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45890         tidying.  Don't tail-call __sigjmp_save for static lib.
45891         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45892         save location.
45893         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45894         (CALL_MCOUNT): Add eh info, and nop after bl.
45895         (TAIL_CALL_SYSCALL_ERROR): New macro.
45896         (PSEUDO_RET): Use it.
45897         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45898         Correct save location of integer regs and cr.
45899         (_dl_profile_resolve): Correct cr save location.  Delete nops
45900         after bl when SHARED.  Reduce cfi size a little by better
45901         placement of cfi directives.
45902         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45903         make a stack frame.  Instead use parm save area as a temp.
45904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45905         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
45906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45907         Don't make a stack frame for parent, use parm save area.
45908         Increase child stack frame to 112 bytes.  Don't save unused reg,
45909         and adjust reg usage.  Set up cfi on error recovery and
45910         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45912         (__makecontext): Add dummy nop after jump to exit.
45913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45914         Use correct parm save area and cr save, reduce stack frame.
45915         Correct cfi for possible PSEUDO_RET frame setup.
45916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45917         Branch to local label emitted by PSEUDO_RET rather than
45918         __syscall_error.
45920 2010-08-12  Andreas Schwab  <schwab@redhat.com>
45922         [BZ #11904]
45923         * locale/programs/locale.c (print_assignment): New function.
45924         (show_locale_vars): Use it.
45926 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
45928         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45929         field.
45930         (struct statfs64): Likewise.
45931         (_STATFS_F_FLAGS): Define.
45932         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45933         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45934         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45935         (ST_VALID): Define locally.
45936         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45937         __statvfs_getflags, use the provided value.
45938         * sysdeps/unix/sysv/linux/kernel-features.h: Define
45939         __ASSUME_STATFS_F_FLAGS.
45941         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45943         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45944         Add sys/fanotify.h.
45945         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45946         fanotify_mask for GLIBC_2.13.
45947         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45948         fanotify_init and fanotify_mark.
45949         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45950         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45952         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45953         Add prlimit.
45954         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45955         prlimit64 for GLIBC_2.13.
45956         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45957         prlimit64.
45958         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45959         syscall.
45960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45961         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45962         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45963         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45964         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
45965         add prlimit alias.
45966         * sysdeps/unix/sysv/linux/prlimit.c: New file.
45968         [BZ #11903]
45969         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45970         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45972         * nss/Makefile: Add rules to build and run tst-nss-test1.
45973         * shlib-versions: Add entry for libnss_test1.
45974         * nss/nss_test1.c: New file.
45975         * nss/tst-nss-test1.c: New file.
45977         * nss/nsswitch.c (__nss_database_custom): Define new variable.
45978         (__nss_configure_lookup): Set appropriate entry in
45979         __nss_configure_lookup to true.
45980         * nss/nsswitch.h: Define enum with indeces of databases in
45981         databases and __nss_database_custom arrays.  Declare
45982         __nss_database_custom.
45983         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45984         to avoid using nscd when custom rules are installed.
45985         * nss/getXXbyYY_r.c: Likewise.
45986         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45988         * nss/nss_files/files-parse.c: Whitespace fixes.
45990 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
45992         [BZ #11883]
45993         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45994         * posix/fnmatch_loop.c: Likewise.
45996 2010-07-17  Andi Kleen  <ak@linux.intel.com>
45998         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45999         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46000         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46001         * Versions.def [GLIBC_2.13]: Add.
46003 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
46005         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46006         Also fail if tpwd after pwuid call is NULL.
46008 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46010         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46011         when converting to ms.
46013 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46015         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46016         EOPNOTSUPP errors with ENOTTY.
46017         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46018         EOPNOTSUPP errors with ENOTTY.
46020 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
46022         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46023         Add strcasecmp_l-ssse3.
46024         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46025         strcasecmp.
46026         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46027         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46028         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46030 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
46032         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46034         * string/Makefile (strop-tests): Add strcasecmp.
46035         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46036         strcasecmp_l-nonascii.
46037         (gen-as-const-headers): Add locale-defines.sym.
46038         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46039         * sysdeps/x86_64/strcasecmp.S: New file.
46040         * sysdeps/x86_64/strcasecmp_l.S: New file.
46041         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46042         * sysdeps/x86_64/locale-defines.sym: New file.
46043         * string/test-strcasecmp.c: New file.
46045         * string/test-strcasestr.c: Test both ends of the range of characters.
46046         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46048 2010-07-29  Roland McGrath  <roland@redhat.com>
46050         [BZ #11856]
46051         * manual/locale.texi (Yes-or-No Questions): Fix example code.
46053 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
46055         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46056         for ld.so.
46058 2010-07-27  Andreas Schwab  <schwab@redhat.com>
46060         * manual/memory.texi (Malloc Tunable Parameters): Document
46061         M_PERTURB.
46063 2010-07-26  Roland McGrath  <roland@redhat.com>
46065         [BZ #11840]
46066         * configure.in (-fgnu89-inline check): Set and substitute
46067         gnu89_inline, not libc_cv_gnu89_inline.
46068         * configure: Regenerated.
46069         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46071 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
46073         * string/test-strnlen.c: New file.
46074         * string/Makefile (strop-tests): Add strnlen.
46075         * string/tester.c (test_strnlen): Add a few more test cases.
46076         * string/tst-strlen.c: Better error reporting.
46078         * sysdeps/x86_64/strnlen.S: New file.
46080 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
46082         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46083         lower-latency instructions.
46085 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
46087         * string/test-strcasestr.c: New file.
46088         * string/test-strstr.c: New file.
46089         * string/Makefile (strop-tests): Add strstr and strcasestr.
46090         * string/str-two-way.h: Don't undefine MAX.
46091         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46093 2010-07-21  Andreas Schwab  <schwab@redhat.com>
46095         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46096         strcasestr-nonascii.
46097         (CFLAGS-strcasestr-nonascii.c): Define.
46098         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46099         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46100         Remove unused attribute.
46102 2010-07-20  Roland McGrath  <roland@redhat.com>
46104         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46105         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
46106         ld.so.cache was broken.  With it, there is no way to disable dsocaps
46107         like LD_HWCAP_MASK can disable hwcaps.
46109 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46111         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46113 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
46115         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46116         call in strcasestr.
46117         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46118         __strcasestr_sse42_nonascii.
46119         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46120         strcasestr-nonascii.c.
46121         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46123 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
46125         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46126         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46127         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46128         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46130 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
46132         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46133         fcntl.
46135 2010-07-06  Andreas Schwab  <schwab@redhat.com>
46137         [BZ #11577]
46138         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46139         dl_signal_cerror.
46141 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
46143         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46144         _PC_PIPE_BUF using F_GETPIPE_SZ.
46146 2010-07-05  Roland McGrath  <roland@redhat.com>
46148         * manual/arith.texi (Rounding Functions): Fix rint description
46149         implicit in round description.
46151 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
46153         * elf/Makefile: Fix linking for a few tests to make recent linker
46154         happy.
46156 2010-06-30  Andreas Schwab  <schwab@redhat.com>
46158         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46159         $(common-objpfx)libc_nonshared.a.
46161 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
46163         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46164         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46165         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46166         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46167         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46168         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46169         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46170         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46185         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46186         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46187         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46188         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46189         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46190         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46191         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46192         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46193         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46194         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46195         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46196         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46212 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
46214         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46215         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
46216         * string/memmove.c (memmove): Renamed to ...
46217         (MEMMOVE): ...this.  Default to memmove.
46218         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46219         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46220         (END_CHK): Define.
46221         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46222         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46223         mempcpy-ssse3-back memmove-ssse3-back.
46224         * sysdeps/x86_64/multiarch/bcopy.S: New file .
46225         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46226         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46227         * sysdeps/x86_64/multiarch/memcpy.S: New file.
46228         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46229         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46230         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46231         * sysdeps/x86_64/multiarch/memmove.c: New file.
46232         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46233         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46234         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46235         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46236         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46237         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46238         Define.
46239         (index_Fast_Copy_Backward): Define.
46240         (HAS_ARCH_FEATURE): Define.
46241         (HAS_FAST_REP_STRING): Define.
46242         (HAS_FAST_COPY_BACKWARD): Define.
46244 2010-06-21  Andreas Schwab  <schwab@redhat.com>
46246         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46247         Restore proper fallback handling.
46249 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
46251         [BZ #11701]
46252         * posix/group_member.c (__group_member): Correct checking loop.
46254         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46255         OOM in getpwuid_r correctly.  Return error number when the caller
46256         should return, otherwise -1.
46257         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46258         call returning > 0 value.
46259         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46261 2010-06-07  Andreas Schwab  <schwab@redhat.com>
46263         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46264         libc_nonshared.a from targets in modules-names.
46266 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
46268         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46269         requires it.
46271 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
46273         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46274         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46275         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46276         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46278 2010-06-02  Andreas Schwab  <schwab@redhat.com>
46280         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46282 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
46284         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46285         and F_GETPIPE_SZ.
46286         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46287         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46288         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46289         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46290         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46291         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46293 2010-06-14  Roland McGrath  <roland@redhat.com>
46295         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46297 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
46299         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46300         __REDIRECT followed by __THROW.
46301         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46302         * posix/getopt.h (getopt): Likewise.
46304 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46306         * hurd/lookup-at.c (__file_name_lookup_at): Accept
46307         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
46308         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46309         in AT_FLAGS.
46310         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46311         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46313 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
46315         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46317 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
46319         [BZ #11640]
46320         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46321         Properly check family and model.
46323 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
46325         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46327 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
46329         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46331 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
46333         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46334         symbol reference.
46336 2010-05-19  Andreas Schwab  <schwab@redhat.com>
46338         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46339         symbol reference.
46341 2010-05-21  Andreas Schwab  <schwab@redhat.com>
46343         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46344         and internal_recvmmsg.
46345         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46346         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46347         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46348         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46350         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46351         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46352         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46354 2010-05-20  Andreas Schwab  <schwab@redhat.com>
46356         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46358 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
46360         POWER7 optimizations.
46361         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46362         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46364 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
46366         * version.h: Update for 2.13 development version.
46368 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
46370         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46371         exceptions.  Return 0.
46373 2010-05-07  Roland McGrath  <roland@redhat.com>
46375         * elf/ldconfig.c (main): Add a const.
46377 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
46379         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46380         (args_options): Add no-idn option.
46381         (ahosts_keys_int): Add idn_flags to ai_flags.
46382         (parse_option): Handle 'i' option to clear idn_flags.
46384         * malloc/malloc.c (_int_free): Possible race in the most recently
46385         added check.  Only act on the data if no current modification
46386         happened.
46388 See ChangeLog.17 for earlier changes.