[BZ #6803] Set errno for scalbln, scalbn
[platform/upstream/glibc.git] / ChangeLog
1 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2
3         [BZ #6803]
4         * math/libm-test.inc (scalbln_test_date):
5         Add errno expectations.
6         * math/w_scalblnf.c: New File.
7         Add wrapper which checks for setting errno to ERANGE.
8         Add weak_alias for corresponding scalbln function.
9         * math/w_scalbln.c: Likewise.
10         * math/w_scalblnl.c: Likewise.
11         * math/Makefile (libm-calls): Add w_scalbln.
12         * sysdeps/ieee754/flt-32/s_scalblnf.c:
13         Remove weak_alias for corresponding scalbln function.
14         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
19         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
20         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
21         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
22         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
23         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
24         Remove long_double_symbol for scalblnl function in libm, libc.
25         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
26         Add wrapper which checks for setting errno to ERANGE.
27         Add long_double_symbol for scalblnl function in libm, libc.
28         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
29         Remove long_double_symbol for scalblnl in libm.
30         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
31         Add wrapper which checks for setting errno to ERANGE.
32         Add long_double_symbol for scalblnl function in libm.
33         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34         Do not use wrapper because of own implementation.
35
36         * Makefile (LOCALES): Add en_GB.UTF-8.
37
38 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
39
40         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
41         3 bytes for __pad1 for x32.
42         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
43
44 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
45             H.J. Lu  <hongjiu.lu@intel.com>
46
47         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
48         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
49         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
52
53 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
54
55         [BZ #17069]
56         * posix/regcomp.c (parse_expression): Deallocate partially
57         constructed tree before returning error.
58         * posix/Makefile.c (tests): Add bug-regex36.
59         (generated): Add bug-regex36.mtrace.
60         (tests-special): Add $(objpfx)bug-regex36-mem.out
61         (bug-regex36-ENV): New variable.
62         ($(objpfx)bug-regex36-mem.out): New rule.
63         * posix/bug-regex36.c: New file.
64
65 2014-06-19  Will Newton  <will.newton@linaro.org>
66
67         * malloc/malloc.c (systrim): If extra is zero then return
68         early.
69
70 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
71
72         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
73
74 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
75
76         * sysdeps/aarch64/strchr.S: New file.
77
78 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
79
80         [BZ #17022]
81         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
82         from arguments -2 or below.
83         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
84         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
85
86 2014-06-18  Andreas Schwab  <schwab@suse.de>
87
88         [BZ #17062]
89         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
90         of a bracket expr not to run off the end of the string.
91         * posix/Makefile (tests): Add tst-fnmatch3.
92         * posix/tst-fnmatch3.c: New file.
93
94 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
95
96         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
97         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
98         [$(cross-compiling) = no]: Likewise.
99         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
100         [$(cross-compiling) = no]: Likewise.
101
102 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
103
104         [BZ #17031]
105         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
106         double, adjusted for any remainder from the high double.
107         * math/libm-test.inc (nearbyint): Add tests.
108         (rint): Likewise.
109
110 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
111
112         * nptl/sysdeps/powerpc/Makefile: Moved ...
113         * sysdeps/powerpc/nptl/Makefile: ... here.
114         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
115         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
116         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
117         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
118         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
119         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
120         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
121         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
122         * nptl/sysdeps/powerpc/tls.h: Moved ...
123         * sysdeps/powerpc/nptl/tls.h: ... here.
124
125 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
126
127         [BZ #16681]
128         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
129         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
130         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
131         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
132         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
133         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
134         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
135         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
136         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
137
138 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
139
140         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
141
142 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
143
144         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
145         defined operator.
146
147         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
148         $TIMEOUTFACTOR.
149
150 2014-06-16  Florian Weimer  <fweimer@redhat.com>
151
152         [BZ #17058]
153         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
154         non-executed part of the test.
155
156 2014-06-16  Andreas Schwab  <schwab@suse.de>
157
158         * string/bits/string2.h (strdup, strndup): Update feature guard.
159
160 2014-06-14  David S. Miller  <davem@davemloft.net>
161
162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
163
164 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
165
166         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
167         that was previously under [RESET_PID].
168         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
169
170         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
171         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
172         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
173         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
174         (__libc_vfork): New strong alias.
175         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
176
177 2014-06-14 Andi Kleen  <ak@linux.intel.com>
178
179         * sysdeps/generic/elide.h: New file.
180
181 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
182
183         * Makefile (installed-headers): Adjust path of pthread.h header.
184
185 2014-06-13  Roland McGrath  <roland@hack.frob.com>
186
187         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
188         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
189         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
190         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
191
192         * nptl/sysdeps/s390/Makefile: Moved ...
193         * sysdeps/s390/nptl/Makefile: ... here.
194         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
195         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
196         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
197         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
198         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
199         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
200         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
201         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
202         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
203         * sysdeps/s390/nptl/pthreaddef.h: ... here.
204         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
205         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
206         * nptl/sysdeps/s390/tls.h: Moved ...
207         * sysdeps/s390/nptl/tls.h: ... here.
208
209         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
210         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
211
212 2014-06-13  David S. Miller  <davem@davemloft.net>
213
214         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
215         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
216         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
217         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
218         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
219         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
220         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
221         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
222         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
223         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
224         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
225         Remove RESET_PID cpp guards.
226         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
227         Remove RESET_PID cpp guards.
228         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
229
230 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
231
232         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
233         __sp to uintptr_t.
234
235 2014-06-13  Andi Kleen  <ak@linux.intel.com>
236
237         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
238         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
239         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
240         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
241         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
242         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
243         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
244         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
245         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
246         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
247         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
248         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
249         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
250         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
251         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
252         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
253         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
254         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
255         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
256         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
257
258         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
259         (pthread_rwlock_rdlock): Add elision.
260         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
261         (pthread_rwlock_wrlock): Add elision.
262         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
263         (pthread_rwlock_trywrlock): Add elision.
264         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
265         (pthread_rwlock_tryrdlock): Add elision.
266         * nptl/pthread_rwlock_unlock.c: Include elide.h.
267         (pthread_rwlock_tryrdlock): Add elision unlock.
268         * nptl/sysdeps/pthread/pthread.h:
269         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
270         (PTHREAD_RWLOCK_INITIALIZER,
271         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
272         Handle new elision field.
273         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
274         * sysdeps/arm/nptl/bits/pthreadtypes.h
275         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
276         * sysdeps/sh/nptl/bits/pthreadtypes.h
277         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
278         * sysdeps/tile/nptl/bits/pthreadtypes.h
279         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
280         * sysdeps/a/nptl/bits/pthreadtypes.h
281         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
282         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
283         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
284         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
285         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
286         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
287         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
288         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
289         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
290         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
291         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
292         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
293         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
294         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
295         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
296         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
297         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
298         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
299         (elision_init): Set try_xbegin to zero when no RTM.
300         * sysdeps/x86/nptl/bits/pthreadtypes.h
301         (pthread_rwlock_t): Change __pad1 to __rwelision.
302         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
303
304 2014-06-13  Andi Kleen  <ak@linux.intel.com>
305
306         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
307         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
308         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
309         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
310
311 2014-06-13  Meador Inge  <meadori@codesourcery.com>
312
313         [BZ #16996]
314         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
315         that the cached result has been set before returning it.
316
317 2014-06-12  Roland McGrath  <roland@hack.frob.com>
318
319         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
320         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
321         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
322         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
323         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
324         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
325
326         * nptl/sysdeps/sparc/Makefile: Moved ...
327         * sysdeps/sparc/nptl/Makefile: ... here.
328         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
329         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
330         * nptl/sysdeps/sparc/tls.h: Moved ...
331         * sysdeps/sparc/nptl/tls.h: ... here.
332         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
333         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
334         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
335         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
336         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
337         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
338         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
339         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
340         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
341         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
342         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
343         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
344         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
345         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
346         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
347         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
348         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
349         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
350         Update #include.
351         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
352         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
353         Update #include.
354         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
355         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
356         Update #include.
357         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
358         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
359         Update #include.
360
361         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
362
363         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
364         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
365
366         * sysdeps/pthread/posix-timer.h: Include <list.h>.
367         (struct list_links): Type removed.
368         (struct thread_node, struct timer_node): Replace struct list_links
369         with struct list_head.
370         (list_unlink_ip): Likewise.
371         * sysdeps/pthread/timer_routines.c
372         (timer_free_list, thread_free_list, thread_active_list): Likewise.
373         (list_append, list_insbefore): Likewise.
374         (list_init): Function removed.
375         (thread_init, init_module): Use INIT_LIST_HEAD instead.
376         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
377         * sysdeps/pthread/Makefile: ... here, new file.
378
379         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
380         * sysdeps/nptl/Implies: ... here.
381         * sysdeps/unix/sysv/linux/Implies: Add nptl.
382         * nptl/sysdeps/pthread/list.h: Moved ...
383         * include/list.h: ... here.
384         * nptl/sysdeps/pthread/createthread.c: Moved ...
385         * nptl/createthread.c: ... here.
386         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
387         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
388         * nptl/pt-longjmp.c: ... here.
389         * nptl/sysdeps/pthread/Makefile: Moved ...
390         * sysdeps/nptl/Makefile: ... here.
391         * nptl/sysdeps/pthread/Subdirs: Moved ...
392         * sysdeps/nptl/Subdirs: ... here.
393         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
394         * sysdeps/nptl/aio_misc.h: ... here.
395         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
396         * sysdeps/nptl/bits/libc-lock.h: ... here.
397         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
398         * sysdeps/nptl/bits/libc-lockP.h: ... here.
399         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
400         * sysdeps/nptl/bits/stdio-lock.h: ... here.
401         * nptl/sysdeps/pthread/configure: Moved ...
402         * sysdeps/nptl/configure: ... here.
403         * nptl/sysdeps/pthread/configure.ac: Moved ...
404         * sysdeps/nptl/configure.ac: ... here.
405         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
406         * sysdeps/nptl/gai_misc.h: ... here.
407         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
408         * sysdeps/nptl/librt-cancellation.c: ... here.
409         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
410         * sysdeps/nptl/malloc-machine.h: ... here.
411         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
412         * sysdeps/nptl/pthread-functions.h: ... here.
413         * nptl/sysdeps/pthread/pthread.h: Moved ...
414         * sysdeps/nptl/pthread.h: ... here.
415         * nptl/sysdeps/pthread/setxid.h: Moved ...
416         * sysdeps/nptl/setxid.h: ... here.
417         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
418         * sysdeps/nptl/sigfillset.c: ... here.
419         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
420         * sysdeps/nptl/tcb-offsets.h: ... here.
421         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
422         * sysdeps/nptl/tst-mqueue8x.c: ... here.
423         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
424         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
425         * nptl/sysdeps/pthread/allocalim.h: Moved ...
426         * sysdeps/pthread/allocalim.h: ... here.
427         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
428         * sysdeps/pthread/bits/sigthread.h: ... here.
429         * nptl/sysdeps/pthread/flockfile.c: Moved ...
430         * sysdeps/pthread/flockfile.c: ... here.
431         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
432         * sysdeps/pthread/ftrylockfile.c: ... here.
433         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
434         * sysdeps/pthread/funlockfile.c: ... here.
435         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
436         * sysdeps/pthread/posix-timer.h: ... here.
437         * nptl/sysdeps/pthread/timer_create.c: Moved ...
438         * sysdeps/pthread/timer_create.c: ... here.
439         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
440         * sysdeps/pthread/timer_delete.c: ... here.
441         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
442         * sysdeps/pthread/timer_getoverr.c: ... here.
443         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
444         * sysdeps/pthread/timer_gettime.c: ... here.
445         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
446         * sysdeps/pthread/timer_routines.c: ... here.
447         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
448         * sysdeps/pthread/timer_settime.c: ... here.
449         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
450         * sysdeps/pthread/tst-timer.c: ... here.
451         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
452         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
453
454         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
455         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
456
457         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
458         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
459         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
460         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
461         Update #include target.
462         * nptl/sysdeps/i386/i686/Makefile: Moved ...
463         * sysdeps/i386/i686/nptl/Makefile: ... here.
464         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
465         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
466         Update #include target.
467         * nptl/sysdeps/i386/i686/tls.h: Moved ...
468         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
469         * nptl/sysdeps/i386/Makefile: Moved ...
470         * sysdeps/i386/nptl/Makefile: ... here.
471         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
472         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
473         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
474         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
475         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
476         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
477         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
478         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
479         * sysdeps/i386/nptl/pthreaddef.h: ... here.
480         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
481         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
482         * nptl/sysdeps/i386/tls.h: Moved ...
483         * sysdeps/i386/nptl/tls.h: ... here.
484
485         * sysdeps/sh/Makefile [$(subdir) = csu]
486         (gen-as-const-headers): Add tcb-offsets.sym.
487         * nptl/sysdeps/sh/Makefile: File removed.
488         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
489         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
490         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
491         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
492         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
493         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
494         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
495         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
496         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
497         * sysdeps/sh/nptl/pthreaddef.h: ... here.
498         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
499         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
500         * nptl/sysdeps/sh/tls.h: Moved ...
501         * sysdeps/sh/nptl/tls.h: ... here.
502         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
503         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
504         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
505         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
506         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
507         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
508         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
509         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
510         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
511         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
512         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
513         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
514         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
515         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
516         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
517         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
518         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
519         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
520         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
521         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
522         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
523         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
524         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
525         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
526         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
527         Moved ...
528         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
529         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
530         Moved ...
531         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
532         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
533         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
534         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
535         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
536         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
537         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
538         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
539         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
540         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
541         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
542         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
543         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
544         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
545         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
546         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
547         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
548         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
549         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
550
551 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
552
553         * posix/spawn_faction_addopen.c: Include string.h.
554
555 2014-06-11  Roland McGrath  <roland@hack.frob.com>
556
557         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
558         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
559         * nptl/sysdeps/x86_64/Makefile: Moved ...
560         * sysdeps/x86_64/nptl/Makefile: ... here.
561         * nptl/sysdeps/x86_64/configure: Moved ...
562         * sysdeps/x86_64/nptl/configure: ... here.
563         * nptl/sysdeps/x86_64/configure.ac: Moved ...
564         * sysdeps/x86_64/nptl/configure.ac: ... here.
565         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
566         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
567         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
568         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
569         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
570         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
571         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
572         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
573         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
574         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
575         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
576         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
577         * nptl/sysdeps/x86_64/tls.h: Moved ...
578         * sysdeps/x86_64/nptl/tls.h: ... here.
579         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
580         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
581         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
582         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
583
584         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
585
586 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
587
588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
589
590 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
591
592         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
593         type.
594         [POSIX] (off_t): Likewise.
595         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
596         [POSIX] (S_ISBLK): Require macro.
597         [POSIX] (S_ISCHR): Likewise.
598         [POSIX] (S_ISDIR): Likewise.
599         [POSIX] (S_ISFIFO): Likewise.
600         [POSIX] (S_ISREG): Likewise.
601         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
602         optional-macro.
603         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
604         type.
605         [POSIX] (time_t): Likewise.
606         [POSIX] (timer_t): Likewise.
607
608 2014-06-11  Florian Weimer  <fweimer@redhat.com>
609
610         [BZ #17048]
611         * posix/spawn_int.h (struct __spawn_action): Make the path string
612         non-const to support deallocation.
613         * posix/spawn_faction_addopen.c
614         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
615         * posix/spawn_faction_destroy.c
616         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
617         path in all spawn_do_open actions.
618         * posix/tst-spawn.c (do_test): Exercise the copy operation in
619         posix_spawn_file_actions_addopen.
620
621 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
622
623         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
624         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
625         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
626         conditional code always true.
627         (__libc_vfork): New alias.
628
629 2014-06-11  Roland McGrath  <roland@hack.frob.com>
630
631         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
632         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
633
634         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
635
636         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
637         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
638
639         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
640         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
641
642         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
643         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
644
645 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
646
647         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
648         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
649         multiarch strcmp for PPC64.
650         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
651         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
653         multiarch optimizations.
654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
655         (__libc_ifunc_impl_list): Likewise.
656
657 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
658
659         * benchtests/scripts/validate_benchout.py: New script.
660         * benchtests/Makefile (bench-func): Call it.
661         * benchtests/scripts/benchout.schema.json: New file.
662
663 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
664
665         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
666         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
667         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
668         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
669         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
670         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
671         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
672         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
673         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
674         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
675         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
676         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
677         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
678         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
679         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
680         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
682         Moved ...
683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
684         ... here.
685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
686         Moved ...
687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
689         Moved ...
690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
691         ... here.
692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
693         Moved ...
694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
695         ... here.
696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
697         Moved ...
698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
700         Moved ...
701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
702         ... here.
703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
704         Moved ...
705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
706         ... here.
707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
708         Moved ...
709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
711         Moved ...
712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
713         ... here.
714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
715         Moved ...
716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
717         ... here.
718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
719         Moved ...
720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
721         ... here.
722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
723         Moved ...
724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
726         Moved ...
727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
728         ... here.
729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
730         Moved ...
731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
732         ... here.
733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
734         Moved ...
735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
736         ... here.
737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
738         Moved ...
739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
741         Moved ...
742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
743         ... here.
744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
745         Moved ...
746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
747         ... here.
748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
749         Moved ...
750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
752         Moved ...
753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
754         ... here.
755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
756         Moved ...
757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
759         Moved ...
760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
762         Moved ...
763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
764         ... here.
765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
766         Moved ...
767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
768         ... here.
769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
770         Moved ...
771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
772         ... here.
773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
774         Moved ...
775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
777         Moved ...
778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
779         ... here.
780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
781         Moved ...
782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
783         ... here.
784         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
785         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
786         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
787         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
788         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
789         Moved ...
790         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
791         ... here.
792         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
793         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
794         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
795         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
796         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
797         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
798         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
799         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
800         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
801         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
802         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
803         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
804         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
805         Moved ...
806         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
807         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
808         Moved ...
809         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
810         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
811         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
812         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
813         Moved ...
814         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
815         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
816         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
817         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
818         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
819         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
820         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
821
822 2014-06-10  Wilco  <wdijkstr@arm.com>
823
824         * math/test-fenv-return.c: New file.
825         * math/Makefile: Add new test test-fenv-return.
826
827 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
828
829         [BZ #17042]
830         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
831         when x - 1 is zero.
832         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
833         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
834         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
835         0.0L for an argument of 1.0L.
836         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
837         Likewise.
838         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
839         value when x - 1 is zero.
840         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
841         * sysdeps/i386/fpu/libm-test-ulps: Update.
842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
843
844 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
845
846         [BZ #15119]
847         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
848
849 2014-06-09  Roland McGrath  <roland@hack.frob.com>
850
851         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
852         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
853
854 2014-06-09  Roland McGrath  <roland@hack.frob.com>
855
856         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
857         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
858
859         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
860         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
861
862         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
863         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
864
865         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
866         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
867
868         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
869         if not already defined.
870         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
871         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
872         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
873         (TLS_INIT_TP): Use it.
874         (TLS_DEFINE_INIT_TP): New macro.
875         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
876
877 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
878
879         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
880         constant.
881         [POSIX] (IXANY): Likewise.
882         [POSIX] (OLCUC): Likewise.
883         [POSIX || POSIX2008] (CBAUD): Do not allow.
884         [POSIX || POSIX2008] (DEFECHO): Likewise.
885         [POSIX || POSIX2008] (ECHOCTL): Likewise.
886         [POSIX || POSIX2008] (ECHOKE): Likewise.
887         [POSIX || POSIX2008] (ECHOPRT): Likewise.
888         [POSIX || POSIX2008] (EXTA): Likewise.
889         [POSIX || POSIX2008] (EXTB): Likewise.
890         [POSIX || POSIX2008] (FLUSHO): Likewise.
891         [POSIX || POSIX2008] (LOBLK): Likewise.
892         [POSIX || POSIX2008] (PENDIN): Likewise.
893         [POSIX || POSIX2008] (SWTCH): Likewise.
894         [POSIX || POSIX2008] (VDISCARD): Likewise.
895         [POSIX || POSIX2008] (VDSUSP): Likewise.
896         [POSIX || POSIX2008] (VLNEXT): Likewise.
897         [POSIX || POSIX2008] (VREPRINT): Likewise.
898         [POSIX || POSIX2008] (VSTATUS): Likewise.
899         [POSIX || POSIX2008] (VWERASE): Likewise.
900         (B*): Change to B[0123456789]*.
901         * conform/data/time.h-data [POSIX || UNIX98]
902         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
903         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
904         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
905         [POSIX] (tm_*): Do not allow.
906
907 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
908
909         * Makefile (install): Don't set LANGUAGE.
910         * Makefile.in (install): Likewise.
911         * assert/Makefile (test-assert-ENV): Remove variable.
912         (test-assert-perr-ENV): Likewise.
913         * elf/Makefile (neededtest4-ENV): Likewise.
914         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
915         [$(cross-compiling) = no]: Don't set LANGUAGE.
916         * io/ftwtest-sh (LANG): Remove variable.
917         * libio/Makefile (tst-widetext-ENV): Likewise.
918         * manual/install.texi (Running make install): Don't refer to
919         environment settings for make install.
920         * INSTALL: Regenerated.
921         * nptl/tst-tls6.sh: Don't set LANG.
922         * posix/globtest.sh (LANG): Remove variable.
923         * string/Makefile (tester-ENV): Likewise.
924         (inl-tester-ENV): Likewise.
925         (noinl-tester-ENV): Likewise.
926         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
927         [$(cross-compiling) = no]: Don't set LANGUAGE.
928         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
929         without explicit environment settings.
930
931 2014-06-06  Roland McGrath  <roland@hack.frob.com>
932
933         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
934         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
935         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
936         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
937
938 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
939
940         * crypt/crypt-private.h [DOS]: Add some includes taken from the
941         other files in the crypt directory.
942         * crypt/crypt.c: Remove duplicate includes.
943         * crypt/crypt-entry.c: Likewise.
944         * crypt/crypt_util.c: Likewise.
945
946 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
947
948         * Makeconfig (run-program-env): New variable.
949         (run-program-prefix-before-env): Likewise.
950         (run-program-prefix-after-env): Likewise.
951         (run-program-prefix): Define in terms of new variables.
952         (built-program-cmd-before-env): New variable.
953         (built-program-cmd-after-env): Likewise.
954         (built-program-cmd): Define in terms of new variables.
955         (test-program-prefix-before-env): New variable.
956         (test-program-prefix-after-env): Likewise.
957         (test-program-prefix): Define in terms of new variables.
958         (test-program-cmd-before-env): New variable.
959         (test-program-cmd-after-env): Likewise.
960         (test-program-cmd): Define in terms of new variables.
961         * Rules (make-test-out): Use $(run-program-env).
962         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
963         (help): Do not mention environment variables.  Mention
964         --timeoutfactor option.
965         (timeoutfactor): New variable.
966         (blacklist_exports): Remove function.
967         (exports): Remove variable.
968         (command): Do not include ${exports}.
969         * manual/install.texi (Configuring and compiling): Do not mention
970         test wrappers preserving environment variables.  Mention that last
971         assignment to a variable must take precedence.
972         * INSTALL: Regenerated.
973         * benchtests/Makefile (run-bench): Use $(run-program-env).
974         * catgets/Makefile ($(objpfx)test1.cat): Use
975         $(built-program-cmd-before-env), $(run-program-env) and
976         $(built-program-cmd-after-env).
977         ($(objpfx)test2.cat): Do not specify environment variables
978         explicitly.
979         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
980         $(run-program-env) and $(built-program-cmd-after-env).
981         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
982         $(run-program-env) and $(test-program-cmd-after-env).
983         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
984         explicitly.
985         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
986         run_program_env and test_program_cmd_after_env arguments.
987         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
988         * elf/tst-pathopt.sh: Use run_program_env argument.
989         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
990         $(test-wrapper-env) and $(run-program-env).
991         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
992         run_program_env arguments.
993         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
994         * intl/Makefile ($(objpfx)tst-gettext.out): Use
995         $(test-program-prefix-before-env), $(run-program-env) and
996         $(test-program-prefix-after-env).
997         ($(objpfx)tst-gettext2.out): Likewise.
998         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
999         run_program_env and test_program_prefix_after_env arguments.
1000         * intl/tst-gettext2.sh: Likewise.
1001         * intl/tst-gettext4.sh: Do not set environment variables
1002         explicitly.
1003         * intl/tst-gettext6.sh: Likewise.
1004         * intl/tst-translit.sh: Likewise.
1005         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1006         $(test-program-prefix-before-env), $(run-program-env) and
1007         $(test-program-prefix-after-env).
1008         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1009         run_program_env and test_program_prefix_after_env arguments.
1010         * math/Makefile (run-regen-ulps): Use $(run-program-env).
1011         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1012         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
1013         explicitly with each use of ${test_wrapper_env}.
1014         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1015         $(test-program-prefix-before-env), $(run-program-env) and
1016         $(test-program-prefix-after-env).
1017         * posix/tst-getconf.sh: Do not set environment variables
1018         explicitly.
1019         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1020         run_program_env and test_program_prefix_after_env arguments.
1021         * stdio-common/tst-printf.sh: Do not set environment variables
1022         explicitly.
1023         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1024         $(test-program-prefix-before-env), $(run-program-env) and
1025         $(test-program-prefix-after-env).
1026         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1027         run_program_env and test_program_prefix_after_env arguments.
1028         Split $test calls into $test_pre and $test.
1029         * timezone/Makefile (build-testdata): Use
1030         $(built-program-cmd-before-env), $(run-program-env) and
1031         $(built-program-cmd-after-env).
1032
1033 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1034
1035         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1036         strlen for non SHARED builds.
1037
1038 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1039
1040         * nptl/allocatestack.c (check_list): Inlined function...
1041         (__reclaim_stacks): ... here.
1042
1043 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1044
1045         [BZ #15698]
1046         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1047         memory overrun.
1048
1049 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
1050
1051         * Rules (make-test-out): Include
1052         LOCPATH=$(common-objpfx)localedata in default environment.
1053         * debug/Makefile (tst-chk1-ENV): Remove variable.
1054         (tst-chk2-ENV): Likewise.
1055         (tst-chk3-ENV): Likewise.
1056         (tst-chk4-ENV): Likewise.
1057         (tst-chk5-ENV): Likewise.
1058         (tst-chk6-ENV): Likewise.
1059         (tst-lfschk1-ENV): Likewise.
1060         (tst-lfschk2-ENV): Likewise.
1061         (tst-lfschk3-ENV): Likewise.
1062         (tst-lfschk4-ENV): Likewise.
1063         (tst-lfschk5-ENV): Likewise.
1064         (tst-lfschk6-ENV): Likewise.
1065         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1066         (tst-iconv7-ENV): Likewise.
1067         * intl/Makefile (LOCPATH-ENV): Likewise.
1068         (tst-codeset-ENV): Likewise.
1069         (tst-gettext3-ENV): Likewise.
1070         (tst-gettext5-ENV): Likewise.
1071         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1072         (tst-fopenloc-ENV): Likewise.
1073         (tst-fgetws-ENV): Remove variable.
1074         (tst-ungetwc1-ENV): Likewise.
1075         (tst-ungetwc2-ENV): Likewise.
1076         (bug-ungetwc2-ENV): Likewise.
1077         (tst-swscanf-ENV): Likewise.
1078         (bug-ftell-ENV): Likewise.
1079         (tst-fgetwc-ENV): Likewise.
1080         (tst-fseek-ENV): Likewise.
1081         (tst-ftell-partial-wide-ENV): Likewise.
1082         (tst-ftell-active-handler-ENV): Likewise.
1083         (tst-ftell-append-ENV): Likewise.
1084         * posix/Makefile (tst-fnmatch-ENV): Likewise.
1085         (tst-regexloc-ENV): Likewise.
1086         (bug-regex1-ENV): Likewise.
1087         (tst-regex-ENV): Likewise.
1088         (tst-regex2-ENV): Likewise.
1089         (bug-regex5-ENV): Likewise.
1090         (bug-regex6-ENV): Likewise.
1091         (bug-regex17-ENV): Likewise.
1092         (bug-regex18-ENV): Likewise.
1093         (bug-regex19-ENV): Likewise.
1094         (bug-regex20-ENV): Likewise.
1095         (bug-regex22-ENV): Likewise.
1096         (bug-regex23-ENV): Likewise.
1097         (bug-regex25-ENV): Likewise.
1098         (bug-regex26-ENV): Likewise.
1099         (bug-regex30-ENV): Likewise.
1100         (bug-regex32-ENV): Likewise.
1101         (bug-regex33-ENV): Likewise.
1102         (bug-regex34-ENV): Likewise.
1103         (bug-regex35-ENV): Likewise.
1104         (tst-rxspencer-ENV): Likewise.
1105         (tst-rxspencer-no-utf8-ENV): Likewise.
1106         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1107         (tst-sscanf-ENV): Likewise.
1108         (tst-swprintf-ENV): Likewise.
1109         (tst-swscanf-ENV): Likewise.
1110         (test-vfprintf-ENV): Likewise.
1111         (scanf13-ENV): Likewise.
1112         (bug14-ENV): Likewise.
1113         (tst-grouping-ENV): Likewise.
1114         * stdlib/Makefile (tst-strtod-ENV): Likewise.
1115         (tst-strtod3-ENV): Likewise.
1116         (tst-strtod4-ENV): Likewise.
1117         (tst-strtod5-ENV): Likewise.
1118         (testmb2-ENV): Likewise./
1119         * string/Makefile (tst-strxfrm-ENV): Likewise.
1120         (tst-strxfrm2-ENV): Likewise.
1121         (bug-strcoll1-ENV): Likewise.
1122         (test-strcasecmp-ENV): Likewise.
1123         (test-strncasecmp-ENV): Likewise.
1124         * time/Makefile (tst-strptime-ENV): Likewise.
1125         (tst-ftime_l-ENV): Likewise.
1126         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1127         (tst-mbrtowc-ENV): Likewise.
1128         (tst-wcrtomb-ENV): Likewise.
1129         (tst-mbrtowc2-ENV): Likewise.
1130         (tst-c16c32-1-ENV): Likewise.
1131         (tst-mbsnrtowcs-ENV): Likewise.
1132
1133 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1134
1135         * manual/resource.texi (How to get information about the memory
1136         subsystem?): Fix typo.
1137         Reported by Peon de la Parra Ivan <peon@keba.com>
1138
1139 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
1140
1141         [BZ #16882]
1142         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1143         (pthread_spin_lock): Branch out of spin loop to proper location.
1144         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1145         (pthread_spin_lock): Likewise.
1146
1147         * nptl/tst-spin4.c: New test.
1148         * nptl/Makefile (tests): Add tst-spin4.
1149
1150 2014-06-03  Andreas Schwab  <schwab@suse.de>
1151
1152         [BZ #15946]
1153         * resolv/res_send.c (send_dg): Reload file descriptor after
1154         calling reopen.
1155
1156 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
1157
1158         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1159
1160 2014-06-03  Richard Henderson  <rth@redhat.com>
1161
1162         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1163         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1164         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1165         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
1166         in the SAVE_PID block.
1167         (__libc_vfork): New alias.
1168         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1169
1170         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1171         child in registers, not on the stack.  Remove RESET_PID conditionals.
1172         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1173
1174 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1175
1176         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1177
1178 2014-06-03  Wilco  <wdijkstr@arm.com>
1179
1180         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1181         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1182         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1183         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1184         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1185         Likewise.
1186
1187 2014-06-03  Wilco  <wdijkstr@arm.com>
1188
1189         * sysdeps/aarch64/fpu/math_private.h
1190         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1191         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1192         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1193         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1194         Fix declarations.
1195
1196 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1197
1198         * crypt/crypt-private.h: Include ufc-crypt.h.
1199         (__b64_from_24bit): Declare extern.
1200         * crypt/crypt_util.c(__b64_from_24bit): New function.
1201         (b64t): New static const variable.
1202         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1203         (b64t): Remove variable.
1204         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1205         * crypt/sha256-crypt.c: Include crypt-private.h.
1206         (b64t): Remove variable.
1207         (__sha256_crypt_r): Remove b64_from_24bit and replace
1208         with __b64_from_24bit.
1209         * crypt/sha512-crypt.c: Likewise.
1210
1211 2014-06-02  Roland McGrath  <roland@hack.frob.com>
1212
1213         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1214         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1215         Label the code __libc_vfork rather than __vfork.
1216         [!NOT_IN_libc] (vfork): Define as weak alias.
1217         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1218         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1219         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1220
1221 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1222
1223         * malloc/malloc.c (malloc_info): Fix format specifier for
1224         n_mmaps.
1225
1226 2014-06-02  Wilco  <wdijkstr@arm.com>
1227
1228         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1229         FPCR write.
1230
1231 2014-06-02  Wilco  <wdijkstr@arm.com>
1232
1233         [BZ #17009]
1234         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1235         Rewrite to reduce FPCR/FPSR accesses.
1236
1237 2014-06-01  David S. Miller  <davem@davemloft.net>
1238
1239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1240
1241 2014-05-31  David S. Miller  <davem@davemloft.net>
1242
1243         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1244         to occur in round to nearest mode when |x| >= 2.0
1245
1246 2014-05-30  Richard Henderson  <rth@twiddle.net>
1247
1248         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1249         (PSEUDO_RET_NOERRNO): Remove.
1250         (ret): Don't redefine.
1251         (ret_NOERRNO): Define in terms of ret.
1252         (ret_ERRVAL): Likewise.
1253
1254         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1255         use of PSEUDO_RET; perform the error check directly.
1256
1257 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
1258
1259         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1260         with __int128_t.
1261
1262 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1263
1264         * malloc/malloc (malloc_info): Fix formatting.
1265
1266 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1267             Roland McGrath  <roland@hack.frob.com>
1268
1269         * malloc/malloc (malloc_info): Also print mmapped statistics.
1270
1271 2014-05-30  Roland McGrath  <roland@hack.frob.com>
1272
1273         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1274         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1275
1276 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
1277
1278         * malloc/malloc.c (malloc_info): Inline mi_arena.
1279
1280 2014-05-29  Richard Henderson  <rth@twiddle.net>
1281
1282         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1283         Remove comma before expanding ASM_ARGS_##nr.
1284         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1285         Make _x0 a strict output; make _x8 a strict input; adjust expansion
1286         of ASM_ARGS_##nr.
1287         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1288         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1289         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1290         (ASM_ARGS_1): Add leading comma.
1291
1292         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1293         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1294         to __errno_location.
1295         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1296         Remove the expected plt for __errno_location.
1297
1298         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1299         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1300         call to __read_tp.
1301
1302         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1303         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
1304         it and break it down.
1305         (DOCARGS_0, DOCARGS_1): Do nothing.
1306         (DOCARGS_2): Update to store into the new stack frame.
1307         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1308         (UNDOCARGS_1): Update to restore from the new stack frame.
1309         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1310         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1311
1312         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1313         (SINGLE_THREAD_P): New parameter for result regno.
1314         (PSEUDO): Update to match; use cbz instead of beq.
1315
1316         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1317         Use ENTRY to define the _nocancel entry point.  Share the syscall
1318         and syscall error check paths with the cancel path.
1319         (PSEUDO_END): New.
1320
1321         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1322         whitespace; tabs before and after asm mnemonics.
1323
1324 2014-05-29  Eric Wong  <normalperson@yhbt.net>
1325
1326         [BZ #15132]
1327         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1328         Call fstat64 or stat64 internally, depending on arguments passed.
1329         Replace stat buffer argument with file descriptor argument.
1330         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1331         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1332         Pass fd to __internal_statvfs instead of calling fstat64.
1333         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1334         Pass fd to __internal_statvfs64 instead of calling fstat64.
1335         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1336         Pass -1 to __internal_statvfs instead of calling stat64.
1337         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1338         Pass -1 to __internal_statvfs64 instead of calling stat64.
1339
1340 2014-05-28  Roland McGrath  <roland@hack.frob.com>
1341
1342         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1343         that was previously under [RESET_PID].
1344         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1345
1346         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1347         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1348
1349 2014-05-27  Roland McGrath  <roland@hack.frob.com>
1350
1351         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1352
1353         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1354         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1355
1356 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
1357
1358         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1359
1360 2014-05-27  Andreas Schwab  <schwab@suse.de>
1361
1362         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1363         TLS_INIT_TP macro.
1364         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1365         * elf/rtld.c (init_tls, dl_main): Likewise.
1366         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1367         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1368         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1369         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1370         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1371         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1372         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1373         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1374         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1375         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1376         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1377         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1378         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1379         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1380         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1381         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1382         * sysdeps/generic/tls.h: Update description.
1383
1384 2014-05-27  Will Newton  <will.newton@linaro.org>
1385
1386         [BZ #16990]
1387         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1388         and restore r2 rather than just restoring.
1389
1390 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1391
1392         [BZ #16724]
1393         * libio/tst-ftell-append.c: New test case.
1394         * libio/Makefile (tests): Add test case.
1395         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1396         append mode.
1397         * libio/wfileops.c (do_ftell_wide): Likewise.
1398
1399 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1400
1401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1402
1403         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1404         ...
1405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1407         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1408         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1409         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1410         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1411         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1412         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1413         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1414         Moved ...
1415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1416         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1417         Moved ...
1418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1419         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1420         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1421         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1422         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1423         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1424         ...
1425         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1426         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1427         Moved ...
1428         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1429         here.
1430         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1431         ...
1432         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1433         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1434         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1435
1436         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1437         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1438         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1439         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1440
1441         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1442         merge into ...
1443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1444         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1445         ...
1446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1447         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1448         ...
1449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1450         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1451         Moved ...
1452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1453         here.
1454         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1455         Moved ...
1456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1457         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1458         Moved ...
1459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1460
1461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1462         conditional [RESET_PID].
1463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1464         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1465         removed.
1466         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1467         removed.
1468
1469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1470         <tcb-offsets.h>.
1471         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1472         (__libc_vfork): New strong alias.
1473         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1474         removed.
1475         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1476         Removed.
1477
1478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1479         <tcb-offsets.h>.
1480         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1481         (__libc_vfork): New strong alias.
1482         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1483         removed.
1484         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1485         removed.
1486
1487 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
1488
1489         * malloc/malloc.c (mi_arena): New function.
1490         (malloc_info): Remove nested function mi_arena. Call non-nosted
1491         function mi_arena.
1492
1493 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1494
1495         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1496         by insrwi.
1497         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1498         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1499         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1500         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1501         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1502         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1503         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1504
1505 2014-05-26  Andreas Schwab  <schwab@suse.de>
1506
1507         [BZ #16984]
1508         * locale/programs/repertoire.c (repertoire_read): Add slash
1509         between I18NPATH element and file name.
1510         * locale/programs/locfile.c (locfile_read): Likewise.
1511
1512 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1513
1514         * nptl/pthread_mutexattr_settype.c
1515         (__pthread_mutexattr_settype):
1516         Disable lock elision for PTHREAD_MUTEX_NORMAL.
1517
1518 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1519
1520         * nptl/tst-mutex5 (do_test):
1521         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1522
1523 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1524
1525         * benchtests/README: Document 'init' directive.
1526         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1527         BENCH_INIT.
1528         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1529         (parse_file): Recognize 'init' directive.
1530
1531 2014-05-26  Kyle McMartin  <kyle@redhat.com>
1532
1533         [BZ #16796]
1534         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1535         alignment of struct pthread.
1536
1537 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1538
1539         [BZ #16878]
1540         * nscd/netgroupcache.c (addgetnetgrentX): Look for
1541         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1542         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1543         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1544
1545 2014-05-25  Richard Henderson  <rth@twiddle.net>
1546
1547         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1548         (SINGLE_THREAD_P_PIC): Remove.
1549         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1550         (SINGLE_THREAD_P_PIC): Remove.
1551
1552         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1553         branch to syscall error ...
1554         (PSEUDO): ... here.
1555         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1556         from __local_syscall_error to .Lsyscall_error.
1557         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1558         (SYSCALL_ERROR): Update label name.
1559
1560         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1561         Do not use DOARGS/UNDOARGS.
1562         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1563         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1564         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1565         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1566         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1567
1568         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1569         block comment.
1570
1571         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1572         define if !NOT_IN_libc.
1573         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1574         define with non-default symbol versions.
1575
1576 2014-05-23  Richard Henderson  <rth@twiddle.net>
1577
1578         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1579         (vfork, __vfork): Define via compat_symbol.
1580
1581         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1582         [!HAVE_IFUNC] (vfork_compat): Remove.
1583         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1584
1585 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1586
1587         [BZ #16978]
1588         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1589         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1590         variable.
1591
1592 2014-05-23  Richard Henderson  <rth@twiddle.net>
1593
1594         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1595         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1596         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1597         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1598
1599         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1600         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1601         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1602         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1603         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1604         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1605         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1606         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1607         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1608         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1609         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1610         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1611         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1612         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1613         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1614         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1615         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1616         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1617         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1618         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1619         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1620         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1621         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1622         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1623         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1624         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1625         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1626         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1627         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1628         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1629         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1630         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1631         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1632         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1633         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1634         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1635         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1636         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1637         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1638         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1639         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1640         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1641         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1642         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1643         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1644         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1645         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1646         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1647         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1648         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1649         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1650         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1651         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1652         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1653         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1654         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1655
1656         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1657         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1658         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
1659         before exiting on error.
1660         (__libc_vfork): New strong alias.
1661         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1662         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1663
1664         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1665         that was previously under [RESET_PID].
1666         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1667
1668         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1669
1670 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1671
1672         [BZ #16977]
1673         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1674         value when x - 1 is zero.
1675         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1676         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1677         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1678         0.0L for an argument of 1.0L.
1679         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1680         Likewise.
1681         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1682         value when x - 1 is zero.
1683         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1684         * sysdeps/i386/fpu/libm-test-ulps: Update.
1685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1686
1687 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1688
1689         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1690         alphasort and versionsort.
1691
1692 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1693
1694         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1695         macro.
1696         [copysignf]: Likewise.
1697
1698 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1699
1700         * crypt/md5-crypt.c: Fix formatting.
1701
1702 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1703
1704         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1705         (b64_from_24bit): New function.
1706
1707 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1708
1709         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1710         libc_hidden_builtin_def to ifunc.
1711         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1712         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1713
1714 2014-05-21  Roland McGrath  <roland@hack.frob.com>
1715
1716         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1717         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1718
1719 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
1720
1721         * nscd/Depend (linuxthreads): Remove.
1722         (nptl): Add.
1723         * resolv/Depend (linuxthreads): Remove.
1724         * rt/Depend (linuxthreads): Remove.
1725
1726         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1727         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1728         $(common-objpfx)elf/.
1729         (link-libc-before-gnulib): Likewise.
1730         (elfobjdir): Remove variable.
1731         * Makefile (install): Use $(elf-objpfx) instead of
1732         $(common-objpfx)elf/.
1733         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1734         $(elfobjdir)/.
1735         (link-libc-deps): Likewise.
1736         ($(common-objpfx)libc.so): Likewise.
1737         ($(common-objpfx)linkobj/libc.so): Likewise.
1738         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1739         instead of $(common-objpfx)elf/.
1740         (symbolic-link-list): Likewise.
1741         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1742         [$(cross-compiling) = no]: Likewise.
1743         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1744         $(elfobjdir)/.
1745         (static-gnulib-arch): Likewise.
1746         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1747         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1748         $(common-objpfx)elf/.
1749
1750 2014-05-21  Richard Henderson  <rth@redhat.com>
1751
1752         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1753         (SINGLE_THREAD_P): Use the correct width load.  Fold
1754         into the ldr offset.
1755
1756         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1757         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1758
1759 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
1760
1761         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1762         (libgcc_s_resume): Use __attribute_used__.
1763         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1764         Likewise.
1765
1766 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1767
1768         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1769         optimization when used with float constants.
1770
1771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1772
1773 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
1774
1775         [BZ #16915]
1776         * locale/nl_langinfo_l.c: Make direct reference to every
1777         _nl_current_CATEGORY symbol.
1778         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1779         (tests-static): Add tst-langinfo-static.
1780         (tests-special): Add tst-langinfo-static.out.
1781         ($(objpfx)tst-langinfo.out): Redirect output.
1782         ($(objpfx)tst-langinfo-static.out): New.
1783         * localedata/tst-langinfo.sh: Send output to stdout.
1784         * localedata/tst-langinfo-static.c: New file.
1785
1786         [BZ #16965]
1787         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1788         when the shift amount is modulo the limb size.
1789
1790 2014-05-20  Richard Henderson  <rth@redhat.com>
1791
1792         [BZ #16967]
1793         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1794         Change type of sa_flags from unsigned int to int.
1795
1796         [BZ #16966]
1797         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1798
1799         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1800
1801 2014-05-20  Will Newton  <will.newton@linaro.org>
1802
1803         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1804         Test the return value of the system call in the nocancel case.
1805
1806 2014-05-20  Will Newton  <will.newton@linaro.org>
1807             Yvan Roux  <yvan.roux@linaro.org>
1808
1809         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1810         #include of asm/ptrace.h.
1811         (PTRACE_GET_THREAD_AREA): Remove #undef.
1812         (PTRACE_GETHBPREGS): Likewise.
1813         (PTRACE_SETHBPREGS): Likewise.
1814         (struct user_regs_struct): New structure.
1815         (struct user_fpsimd_struct): New structure.
1816         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1817         #include of asm/ptrace.h and second #include of sys/user.h.
1818         (PTRACE_GET_THREAD_AREA): Remove #undef.
1819         (PTRACE_GETHBPREGS): Likewise.
1820         (PTRACE_SETHBPREGS): Likewise.
1821         (ELF_NGREG): Use new struct user_regs_struct.
1822         (elf_fpregset_t): Use new struct user_fpsimd_struct.
1823
1824 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1825
1826         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1827         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1828
1829 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
1830
1831         [BZ #16958]
1832         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1833         membar to avoid block loads/stores to overlap previous stores.
1834
1835 2014-05-17  Richard Henderson  <rth@redhat.com>
1836
1837         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1838         Create the __##syscall_name##_nocancel entry point.
1839         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1840         Remove; let the sysdep-cancel.h code create it.
1841
1842 2014-05-17  David S. Miller  <davem@davemloft.net>
1843
1844         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1845         Protect with __USE_GNU.
1846         (TIOCSET_TEMPT): Likewise.
1847         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1848         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1849         these are already provided in bits/ioctl-types.h
1850
1851 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1852
1853         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1854         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1855
1856         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1857         Use wait4 regardless of [__NR_waitpid].
1858
1859 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1860
1861         PR libgcc/60166
1862         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1863         (_FP_NANSIGN_Q): Set the quiet bit.
1864
1865 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
1866
1867         * benchtests/Makefile
1868         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1869         not $(common-objpfx)math/libm.so.
1870         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1871         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1872         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1873         $(common-objpfx)dlfcn/libdl.so.
1874         ($(objpfx)tst-audit8): Depend on $(libm), not
1875         $(common-objpfx)math/libm.so.
1876         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1877         not $(common-objpfx)dlfcn/libdl.so.
1878         * math/Makefile
1879         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1880         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
1881         [$(build-shared) = yes].
1882         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1883         $(common-objpfx)nptl/libpthread.so.
1884         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1885         $(common-objpfx)math/libm.so$(libm.so-version) or
1886         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1887         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1888         $(common-objpfx)dlfcn/libdl.so.
1889         * setjmp/Makefile (link-libm): Remove variable.
1890         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1891         * stdio-common/Makefile (link-libm): Remove variable.
1892         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1893         * stdlib/Makefile (link-libm): Remove variable.
1894         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1895         ($(objpfx)tst-strtod-round): Likewise.
1896         ($(objpfx)tst-tininess): Likewise.
1897         ($(objpfx)tst-strtod-underflow): Likewise.
1898         ($(objpfx)tst-strtod6): Likewise.
1899         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1900         $(libdl), not $(common-objpfx)nptl/libpthread.so and
1901         $(common-objpfx)dlfcn/libdl.so.
1902
1903 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1904
1905         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1906         BSD terminal modes definitions.
1907
1908 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1909
1910         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1911         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1912
1913         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1914         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1915         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1916         Don't do #include_next.
1917         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1918         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1919         Don't do #include_next.
1920         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1921         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1922         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1923         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1924
1925 2014-05-16  Allan McRae  <allan@archlinux.org>
1926
1927         * po/sv.po: Update Swedish translation from translation project.
1928
1929         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1930         in sed expression.
1931
1932 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
1933
1934         [BZ #16917]
1935         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1936         errno if the TIOCGPTN ioctl fails with an error different than
1937         EINVAL.
1938         * login/tst-ptsname.c: New file.
1939         * login/Makefile (tests): Add tst-ptsname.
1940
1941         [BZ #16943]
1942         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1943         and prlimit64.
1944
1945 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1946
1947         [BZ #16849]
1948         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1949         herrno to return EAI_AGAIN.
1950
1951 2014-05-14  Roland McGrath  <roland@hack.frob.com>
1952
1953         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1954         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1955         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1956         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1957         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1958         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1959         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1960         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1961         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1962         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1963         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1964         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1965         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1966         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1967         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1968         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1969         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1970         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1971         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1972         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1973         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1974         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1975         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1976         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1977         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1978         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1979         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1980         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1981         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1982         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1984         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1986         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1988         Moved ...
1989         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1991         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1993         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1995         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1997         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1999         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2001         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2003         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2005         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2007         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2009         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2011         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2013         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2014         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2015         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2017         Moved ...
2018         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2019         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2020         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2021         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2022         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2023         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2024         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2026         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2028         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2030         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2032         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2034         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2036         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2038         Moved ...
2039         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2041         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2042
2043         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2044         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2045         (libpthread-sysdep_routines): Add elision-related stuff here instead.
2046         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2047         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2048         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2049         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2050         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2051         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2052         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2053         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2054         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2055         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2056         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2057         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2058         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2059         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2060         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2061         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2062         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2063         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2064         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2065         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2066         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2067         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2068         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2069         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2070         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2071         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2072         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2073         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2074
2075         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2076         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2077
2078         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2079         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2080         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2081         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2082         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2083         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2084         Moved ...
2085         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2086         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2087         Moved ...
2088         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2089         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2090         Moved ...
2091         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2092         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2093         Moved ...
2094         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2095         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2096         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2097         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2098         Moved ...
2099         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2100         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2101         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2102         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2103         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2104         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2105         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2106         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2107         Moved ...
2108         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2109         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2110         Moved ...
2111         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2112         ... here.
2113         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2114         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2115         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2116         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2117         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2118         Moved ...
2119         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2120         ... here.
2121         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2122         Moved ...
2123         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2124         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2125         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2126         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2127         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2128         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2129         Moved ...
2130         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2131         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2132         Moved ...
2133         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2134         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2135         Moved ...
2136         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2137         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2138         Moved ...
2139         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2140         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2141         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2142         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2143         Moved ...
2144         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2145         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2146         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2147         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2148         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2149         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2150         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2151         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2152         Moved ...
2153         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2154         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2155         Moved ...
2156         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2157         ... here.
2158         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2159         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2160         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2161         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2162         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2163         Moved ...
2164         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2165         ... here.
2166         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2167         Moved ...
2168         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2169         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2170         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2171         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2172         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2173         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2174         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2175         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2176         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2177         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2178         Moved ...
2179         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2180         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2181         Moved ...
2182         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2183         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2184         Moved ...
2185         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2186         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2187         Moved ...
2188         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2189         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2190         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2191         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2192         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2193         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2194         Moved ...
2195         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2196         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2197         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2198         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2199         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2200         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2201         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2202         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2203         Moved ...
2204         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2205         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2206         Moved ...
2207         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2208         ... here.
2209         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2210         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2211         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2212         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2213         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2214         Moved ...
2215         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2216         ... here.
2217         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2218         Moved ...
2219         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2220         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2221         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2222         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2223         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2224         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2225         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2226         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2227         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2228         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2229         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2230
2231         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2232         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2233
2234         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2235         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2236
2237         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2238         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2239         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2240         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2241         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2242         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2243         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2244         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2245         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2246         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2247         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2248         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2249         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2250         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2251         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2252         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2253         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2254         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2255         Moved ...
2256         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2257         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2258         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2259         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2260         Moved ...
2261         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2262         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2263         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2264         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2265         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2266         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2267         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2268         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2269         Moved ...
2270         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2271         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2272         Moved ...
2273         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2274         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2275         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2276         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2277         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2278         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2279         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2280         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2281         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2282         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2283         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2284         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2285         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2286         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2287         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2288         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2289         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2290
2291         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2292         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2293         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2294         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2295         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2296
2297         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2298         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2299         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2300         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2301         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2302         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2303         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2304         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2305         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2306         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2307
2308         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2309         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2310
2311         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2312         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2313         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2314         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2315         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2316         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2317         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2318         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2319         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2320         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2321         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2322         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2323         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2324         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2325         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2326         Update #include.
2327         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2328         Likewise.
2329         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2330         Likewise.
2331         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2332         Likewise.
2333         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2334         Likewise.
2335         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2336         Likewise.
2337         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2338         Likewise.
2339         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2340         Likewise.
2341         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2342         Likewise.
2343         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2344         Likewise.
2345         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2346         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2347         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2348         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2349         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2350         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2351         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2352         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2353         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2354         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2355         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2356         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2357         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2358         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
2359         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
2360
2361         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2362         that was previously under [RESET_PID].
2363         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2364         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2365         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2366
2367         * sysdeps/i386/nptl/Implies: New file.
2368         * sysdeps/x86_64/nptl/Implies: New file.
2369         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2370         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2371         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2372         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2373
2374         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2375         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2376         (__libc_vfork): New strong alias.
2377         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2378         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2379
2380         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2381         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2382         (__libc_vfork): New strong alias.
2383         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2384         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2385
2386         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2387         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2388         (__libc_vfork): New strong alias.
2389         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2390         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2391         * nptl/pt-vfork.c: New file.
2392         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2393         (libpthread: GLIBC_2.20): New version set (empty).
2394
2395 2014-05-14  Will Newton  <will.newton@linaro.org>
2396
2397         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2398         rather than #if.
2399
2400 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2401
2402         [BZ #16564]
2403         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2404         arguments with exponent 65 or above.
2405         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2406         arguments 0x1p113L or above.
2407         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2408         to arguments 0x1p107L or above.
2409         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2410         positive arguments with exponent 65 or above.
2411         * math/auto-libm-test-in: Add more tests of log1p.
2412         * math/auto-libm-test-out: Regenerated.
2413
2414         [BZ #16928]
2415         * math/s_cacos.c (__cacos): Ensure zero real part of result from
2416         non-finite arguments is +0.
2417         * math/s_cacosf.c (__cacosf): Likewise.
2418         * math/s_cacosl.c (__cacosl): Likewise.
2419         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2420         * sysdeps/i386/fpu/libm-test-ulps: Update.
2421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2422
2423         [BZ #16927]
2424         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2425         value.
2426         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2427         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2428         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2429         for explicit high bit of mantissa when testing for argument equal
2430         to 1.
2431         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2432         * sysdeps/i386/fpu/libm-test-ulps: Update.
2433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2434
2435         [BZ #16516]
2436         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2437         (__erf): Scale by 16 instead of 8 in potentially underflowing
2438         case.  Ensure exception if result actually underflows.
2439         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2440         (__erff): Scale by 16 instead of 8 in potentially underflowing
2441         case.  Ensure exception if result actually underflows.
2442         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2443         (efx8): Remove variable.
2444         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2445         case.  Ensure exception if result actually underflows.
2446         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2447         (efx8): Remove variable.
2448         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2449         case.  Ensure exception if result actually underflows.
2450         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2451         (efx8): Remove variable.
2452         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2453         case.  Ensure exception if result actually underflows.
2454         * math/auto-libm-test-in: Add more tests of erf.
2455         * math/auto-libm-test-out: Regenerated.
2456
2457 2014-05-14  Andreas Schwab  <schwab@suse.de>
2458
2459         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2460         Remove code conditionalized on USE___THREAD.
2461
2462         * config.h.in (HAVE_PT_CHOWN): Define as 0.
2463         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2464         not definedness.
2465
2466 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2467
2468         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2469         Define unconditionally.
2470         (__ASSUME_O_CLOEXEC): Likewise.
2471         (__ASSUME_SOCK_CLOEXEC): Likewise.
2472         (__ASSUME_IN_NONBLOCK): Likewise.
2473         (__ASSUME_PIPE2): Likewise.
2474         (__ASSUME_EVENTFD2): Likewise.
2475         (__ASSUME_SIGNALFD4): Likewise.
2476         (__ASSUME_DUP3): Likewise.
2477         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2478         (__ASSUME_DUP3): Do not define.
2479         (__ASSUME_EVENTFD2): Likewise.
2480         (__ASSUME_IN_NONBLOCK): Likewise.
2481         (__ASSUME_O_CLOEXEC): Likewise.
2482         (__ASSUME_PIPE2): Likewise.
2483         (__ASSUME_SIGNALFD4): Likewise.
2484         (__ASSUME_SOCK_CLOEXEC): Likewise.
2485         (__ASSUME_UTIMES): Undefine.
2486         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2487         (__ASSUME_UTIMES): Do not define.
2488         (__ASSUME_O_CLOEXEC): Likewise.
2489         (__ASSUME_SOCK_CLOEXEC): Likewise.
2490         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2491         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2492         0x020621].
2493         (__ASSUME_PIPE2): Likewise.
2494         (__ASSUME_EVENTFD2): Likewise.
2495         (__ASSUME_SIGNALFD4): Likewise.
2496         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2497         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2498         Do not define.
2499         (__ASSUME_EVENTFD2): Likewise.
2500         (__ASSUME_SIGNALFD4): Likewise.
2501         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2502         (__ASSUME_32BITUIDS): Likewise.
2503         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2504         (__ASSUME_IPC64): Likewise.
2505         (__ASSUME_ST_INO_64_BIT): Likewise.
2506         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2507         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2508         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2509         (__ASSUME_UTIMES): Do not define.
2510         (__ASSUME_PSELECT): Likewise.
2511         (__ASSUME_PPOLL): Likewise.
2512         (__ASSUME_O_CLOEXEC): Likewise.
2513         (__ASSUME_SOCK_CLOEXEC): Likewise.
2514         (__ASSUME_IN_NONBLOCK): Likewise.
2515         (__ASSUME_PIPE2): Likewise.
2516         (__ASSUME_EVENTFD2): Likewise.
2517         (__ASSUME_SIGNALFD4): Likewise.
2518         (__ASSUME_DUP3): Likewise.
2519         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2520         (__ASSUME_UTIMES): Likewise.
2521         (__ASSUME_O_CLOEXEC): Likewise.
2522         (__ASSUME_SOCK_CLOEXEC): Likewise.
2523         (__ASSUME_IN_NONBLOCK): Likewise.
2524         (__ASSUME_PIPE2): Likewise.
2525         (__ASSUME_EVENTFD2): Likewise.
2526         (__ASSUME_SIGNALFD4): Likewise.
2527         (__ASSUME_DUP3): Likewise.
2528         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2529         (__ASSUME_UTIMES): Likewise.
2530         (__ASSUME_O_CLOEXEC): Likewise.
2531         (__ASSUME_SOCK_CLOEXEC): Likewise.
2532         (__ASSUME_IN_NONBLOCK): Likewise.
2533         (__ASSUME_PIPE2): Likewise.
2534         (__ASSUME_EVENTFD2): Likewise.
2535         (__ASSUME_SIGNALFD4): Likewise.
2536         (__ASSUME_DUP3): Likewise.
2537         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2538         Likewise.
2539         (__ASSUME_UTIMES): Likewise.
2540         (__ASSUME_EVENTFD2): Likewise.
2541         (__ASSUME_SIGNALFD4): Likewise.
2542         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2543         (__ASSUME_O_CLOEXEC): Likewise.
2544         (__ASSUME_SOCK_CLOEXEC): Likewise.
2545         (__ASSUME_IN_NONBLOCK): Likewise.
2546         (__ASSUME_PIPE2): Likewise.
2547         (__ASSUME_EVENTFD2): Likewise.
2548         (__ASSUME_SIGNALFD4): Likewise.
2549         (__ASSUME_DUP3): Likewise.
2550         (__ASSUME_UTIMES): Undefine.
2551
2552         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2553         feclearexcept.  Remove symbol versioning code.
2554         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
2555         symbol versioning code.
2556         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
2557         symbol versioning code.
2558         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2559         feupdateenv.  Remove symbol versioning code.
2560         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2561         fegetexceptflag.  Remove symbol versioning code.
2562         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2563         fesetexceptflag.  Remove symbol versioning code.
2564         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2565         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
2566         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2567         (__posix_fadvise64_l32): Remove prototype.
2568         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2569         code.
2570
2571 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2572
2573         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2574         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2575         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2576         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2577
2578 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
2579
2580         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2581         current working directory
2582
2583 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2584
2585         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2586         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2587         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2588         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2589         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2590         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2591         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2592         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2593         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2594         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2595         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2596         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2597         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2598         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2599         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2600         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2601         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2602         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2603         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2604         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2605         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2606         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2607         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2608         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2609         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2610         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2611         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2612         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2613         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2614         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2615         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2616         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2617         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2618         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2619         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2620         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2621         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2622         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2623         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2624         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2625         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2626         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2627
2628         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2629         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2630
2631         * sysdeps/unix/sysv/linux/arm/Makefile
2632         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2633         Add rt-aeabi_unwind_cpp_pr1.
2634         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2635         Add nptl-aeabi_unwind_cpp_pr1.
2636         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2637         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2638         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2639         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2640         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2641         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2642
2643         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2644         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2645         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2646         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2647
2648         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2649         Deconditionalize the code that was previously under [RESET_PID].
2650         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2651
2652         * sysdeps/generic/exit-thread.h: New file.
2653         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2654         * include/unistd.h (__exit_thread): Remove declaration.
2655         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2656         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2657         * csu/libc-start.c: Include <exit-thread.h>.
2658         (LIBC_START_MAIN): Pass no argument to __exit_thread.
2659         * nptl/pthread_create.c: Include <exit-thread.h>.
2660         (start_thread): Call __exit_thread in place of __exit_thread_inline.
2661         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2662         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2663         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2664         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2665         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2666         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2667         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2668         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2669         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2670         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2671         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2672         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2673         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2674         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2675         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2676         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2677
2678 2014-05-13  Andreas Schwab  <schwab@suse.de>
2679
2680         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2681
2682 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
2683
2684         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2685         (__ASSUME_UTIMES): Do not condition on kernel version.
2686         (__ASSUME_PSELECT): Define unconditionally.
2687         (__ASSUME_PPOLL): Likewise.
2688         (__ASSUME_ATFCTS): Likewise.
2689         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2690         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2691         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2692         (__ASSUME_UTIMENSAT): Define unconditionally.
2693         (__ASSUME_PRIVATE_FUTEX): Likewise.
2694         (__ASSUME_FALLOCATE): Likewise.
2695         (__ASSUME_O_CLOEXEC): Likewise.
2696         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2697         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2698         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2699         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2700         (__ASSUME_IN_NONBLOCK): Likewise.
2701         (__ASSUME_PIPE2): Likewise.
2702         (__ASSUME_EVENTFD2): Likewise.
2703         (__ASSUME_SIGNALFD4): Likewise.
2704         (__ASSUME_DUP3): Likewise.
2705         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2706         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2707         (__ASSUME_AT_RANDOM): Likewise.
2708         (__ASSUME_PREADV): Likewise.
2709         (__ASSUME_PWRITEV): Likewise.
2710         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2711         (__ASSUME_F_GETOWN_EX): Define unconditionally.
2712         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2713         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2714         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2715         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2716         (__ASSUME_O_CLOEXEC): Define unconditionally.
2717         (__ASSUME_PSELECT): Do not undefine conditionally.
2718         (__ASSUME_PPOLL): Likewise.
2719         (__ASSUME_ATFCTS): Likewise.
2720         (__ASSUME_SET_ROBUST_LIST): Likewise.
2721         (__ASSUME_UTIMENSAT): Likewise.
2722         (__ASSUME_FDATASYNC): Define unconditionally.
2723         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2724         (__ASSUME_SIGFRAME_V2): Likewise.
2725         )__ASSUME_EVENTFD2): Likewise.
2726         (__ASSUME_SIGNALFD4): Likewise.
2727         (__ASSUME_PSELECT): Do not undefine conditionally.
2728         (__ASSUME_PPOLL): Likewise.
2729         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2730         (__ASSUME_PSELECT): Define unconditionally.
2731         (__ASSUME_PPOLL): Likewise.
2732         (__ASSUME_O_CLOEXEC): Likewise.
2733         (__ASSUME_SOCK_CLOEXEC): Likewise.
2734         (__ASSUME_IN_NONBLOCK): Likewise.
2735         (__ASSUME_PIPE2): Likewise.
2736         (__ASSUME_EVENTFD2): Likewise.
2737         (__ASSUME_SIGNALFD4): Likewise.
2738         (__ASSUME_DUP3): Likewise.
2739         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2740         (__ASSUME_O_CLOEXEC): Likewise.
2741         (__ASSUME_SOCK_CLOEXEC): Likewise.
2742         (__ASSUME_IN_NONBLOCK): Likewise.
2743         (__ASSUME_PIPE2): Likewise.
2744         (__ASSUME_EVENTFD2): Likewise.
2745         (__ASSUME_SIGNALFD4): Likewise.
2746         (__ASSUME_DUP3): Likewise.
2747         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2748         (__ASSUME_EVENTFD2): Likewise.
2749         (__ASSUME_SIGNALFD4): Likewise.
2750         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2751
2752 2014-05-12  Andreas Schwab  <schwab@suse.de>
2753
2754         [BZ #16932]
2755         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2756         (_nss_nis_gethostbyname4_r): Return error if item length is larger
2757         than maximum RPC packet size.
2758         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2759         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2760         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2761         (_nss_nis_getservbyport_r): Likewise.
2762
2763 2014-05-12  Will Newton  <will.newton@linaro.org>
2764
2765         * malloc/Makefile (tests): Add tst-mallopt.
2766         * malloc/tst-mallopt.c: New file.
2767
2768 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2769
2770         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2771         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2772
2773 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2774
2775         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2776         (tst-tlsmod6.so): Likewise.
2777
2778 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2779
2780         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2781
2782 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
2783
2784         [BZ #16064]
2785         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2786         and <dl-procinfo.h>.
2787         (__fegetenv): Save SSE state in envp->__eip if supported.
2788         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2789         envp->__eip if supported.
2790         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2791         and <dl-procinfo.h>.
2792         (__fesetenv): Always set __eip, __cs_selector, __opcode,
2793         __data_offset and __data_selector in environment to 0.  Set SSE
2794         state if supported.
2795         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2796         test-fenv-sse.
2797         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2798         -mfpmath=sse.
2799         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2800
2801 2014-05-09  Will Newton  <will.newton@linaro.org>
2802
2803         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2804         and libc_relro_required for ARM.
2805         * sysdeps/arm/preconfigure: Regenerate.
2806
2807 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2808             Stefan Liebler  <stli@linux.vnet.ibm.com>
2809
2810         * config.make.in (enable-lock-elision): New Makefile variable.
2811         * configure.ac: Likewise.
2812         * configure: Regenerate.
2813         * sysdeps/s390/configure.ac:
2814         Add check for gcc transactions support.
2815         * sysdeps/s390/configure: Regenerate.
2816         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2817         Build elision files if enabled.
2818         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2819         Add lock elision support for s390.
2820         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2821         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2822         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2823         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2824         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2825         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2826         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2827         Likewise.
2828         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2829         Likewise.
2830         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2831         Likewise.
2832         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2833         Likewise.
2834         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2835         (__lll_timedlock_elision, __lll_lock_elision)
2836         (__lll_unlock_elision, __lll_trylock_elision)
2837         (lll_timedlock_elision, lll_lock_elision)
2838         (lll_unlock_elision, lll_trylock_elision): Add.
2839         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2840         (pthread_mutex_t): Add lock elision support for s390.
2841
2842 2014-05-14  Wilco  <wdijkstr@arm.com>
2843
2844         * sysdeps/arm/fclrexcpt.c: Cleanup.
2845         * sysdeps/arm/fedisblxcpt.c: Cleanup.
2846         * sysdeps/arm/feenablxcpt.c: Cleanup.
2847         * sysdeps/arm/fegetenv.c: Cleanup.
2848         * sysdeps/arm/fegetexcept.c: Cleanup.
2849         * sysdeps/arm/fegetround.c: Cleanup.
2850         * sysdeps/arm/feholdexcpt.c: Cleanup.
2851         * sysdeps/arm/fesetenv.c: Cleanup.
2852         * sysdeps/arm/fesetround.c: Cleanup.
2853         * sysdeps/arm/feupdateenv.c: Cleanup.
2854         * sysdeps/arm/fgetexcptflg.c: Cleanup.
2855         * sysdeps/arm/fraiseexcpt.c: Cleanup.
2856         * sysdeps/arm/fsetexcptflg.c: Cleanup.
2857         * sysdeps/arm/ftestexcept.c: Cleanup.
2858         * sysdeps/arm/get-rounding-mode.h: Cleanup.
2859         * sysdeps/arm/setfpucw.c: Cleanup.
2860
2861 2014-05-09  Will Newton  <will.newton@linaro.org>
2862
2863         * sysdeps/arm/armv7/strcmp.S: New file.
2864         * NEWS: Mention addition of ARMv7 optimized strcmp.
2865
2866 2014-05-08  Roland McGrath  <roland@hack.frob.com>
2867
2868         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2869         look for %.ac rather than %.in.
2870
2871         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2872         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2873         * sysdeps/mach/hurd/configure: Regenerated.
2874         * sysdeps/unix/sysv/linux/configure: Regenerated.
2875
2876         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2877
2878 2014-05-07  Steve Ellcey  <sellcey@mips.com>
2879
2880         [BZ# 16922]
2881         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2882         (LONG_SUB): Ditto.
2883         (PTR_SUB): Ditto.
2884
2885 2014-05-07  Andreas Schwab  <schwab@suse.de>
2886
2887         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2888         when skipping over non-matching result from nscd.
2889
2890 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
2891
2892         [BZ #16876]
2893         * nptl/sockperf.c (client): Check socket return value.
2894
2895         [BZ #16877]
2896         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2897         nscd security class.
2898
2899 2014-05-06  Roland McGrath  <roland@hack.frob.com>
2900
2901         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2902         * sysdeps/arm/unwind.h: ... here.
2903
2904 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
2905
2906         [BZ# 16916]
2907         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2908         Define.
2909
2910 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2911
2912         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2913         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2914         multiarch strncpy for PPC64.
2915         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2916         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2917         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2918         multiarch optimizations.
2919         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2920         (__libc_ifunc_impl_list): Likewise.
2921         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2922         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2923         multiarch stpncpy for PPC64.
2924         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2925         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2926
2927 2014-05-06  Andreas Schwab  <schwab@suse.de>
2928
2929         [BZ #16912]
2930         * gmon/mcount.c (_MCOUNT_DECL): Use
2931         atomic_compare_and_exchange_bool_acq instead of
2932         catomic_compare_and_exchange_bool_acq.
2933
2934 2014-05-05  Roland McGrath  <roland@hack.frob.com>
2935
2936         * elf/Makefile (others, install-bin): Remove pldd.
2937         (pldd-modules): Variable removed.
2938         ($(objpfx)pldd): Target removed.
2939         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2940         (others, install-bin): Append pldd here.
2941         ($(objpfx)pldd): New target.
2942
2943         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2944         to 0, so the first #if test emitted later doesn't see it undefined.
2945         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2946         * sysdeps/gnu/errlist.c: Regenerated.
2947
2948 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2949
2950         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2951         [libc_hidden_builtin_def]: Define to empty value.
2952         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2953         [libc_hidden_builtin_def]: Likewise.
2954         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2955         [libc_hidden_builtin_def]: Likewise.
2956         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2957         [libc_hidden_builtin_def]: Likewise.
2958         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2959         __redirect_memcpy and define ifunc as default hidden symbol.
2960         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2961         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2962
2963 2014-05-04  Adam Conrad  <adconrad@0c3.net>
2964
2965         * locale/iso-4217.def: Reintroduce XDR currency.
2966
2967 2014-05-04  Allan McRae  <allan@archlinux.org>
2968
2969         * po/eo.po: Update Esperanto translation from translation project.
2970
2971 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
2972
2973         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2974         and FEATURE_INDEX_MAX to 1.
2975         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2976
2977 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2978
2979         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2980         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2981         * iconvdata/big5.c (ONE_DIRECTION): Define.
2982         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2983         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2984         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2985         * iconvdata/cp932.c (ONE_DIRECTION): Define.
2986         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2987         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2988         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2989         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2990         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2991         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2992         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2993         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2994         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2995         * iconvdata/gbk.c (ONE_DIRECTION): Define.
2996         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2997         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2998         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2999         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3000         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3001         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3002         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3003         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3004         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3005         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3006         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3007         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3008         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3009         * iconvdata/iso646.c (ONE_DIRECTION): Define.
3010         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3011         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3012         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3013         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3014         * iconvdata/johab.c (ONE_DIRECTION): Define.
3015         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3016         * iconvdata/sjis.c (ONE_DIRECTION): Define.
3017         * iconvdata/t.61.c (ONE_DIRECTION): Define.
3018         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3019         * iconvdata/tscii.c (ONE_DIRECTION): Define.
3020         * iconvdata/uhc.c (ONE_DIRECTION): Define.
3021         * iconvdata/unicode.c (ONE_DIRECTION): Define.
3022         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3023         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3024         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3025
3026 2014-05-01  Roland McGrath  <roland@hack.frob.com>
3027
3028         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3029         (_IO_JUMPS_OFFSET): Define to 0.
3030
3031         * nptl/sysdeps/pthread/bits/libc-lock.h
3032         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3033         (__libc_lock_define_initialized_recursive): Always define using
3034         initializer.  Modern compilers treat uninitialized (implicit zero) and
3035         explicit zero initializers the same (i.e. put the datum in bss).
3036
3037 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3038
3039         * nscd/nscd-client.h: Include <string.h>.
3040
3041 2014-05-01  David S. Miller  <davem@davemloft.net>
3042
3043         [BZ #16885]
3044         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3045         multiple zero bytes exist at the end of a string.
3046         Reported by Aurelien Jarno <aurelien@aurel32.net>
3047
3048         * string/test-strcmp.c (check): Add explicit test for situations where
3049         there are multiple zero bytes after the first.
3050
3051 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3052
3053         [BZ #16890]
3054         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3055         when compiling wprintf.
3056         * stdio-common/tstdiomisc.c (t3): New function.
3057         (main): Call it.
3058
3059 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3060
3061         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3062         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3063         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3064         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3065
3066 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3067
3068         * stdlib/longlong.h: Updated from GCC.
3069
3070 2014-05-01  Will Newton  <will.newton@linaro.org>
3071             Bernard Ogden  <bernie.ogden@linaro.org>
3072
3073         * NEWS: Update fixed bug list.
3074
3075         [BZ #15119]
3076         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3077
3078 2014-04-30  David S. Miller  <davem@davemloft.net>
3079
3080         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3081         (libc_feholdexcept_setround_sparc_ctx): New function.
3082         (libc_fesetenv_sparc_ctx): Likewise.
3083         (libc_feupdateenv_sparc_ctx): Likewise.
3084         (libc_feholdsetround_sparc_ctx): Likewise.
3085         (libc_feholdexcept_setround_ctx): Define.
3086         (libc_feholdexcept_setroundf_ctx): Likewise.
3087         (libc_feholdexcept_setroundl_ctx): Likewise.
3088         (libc_fesetenv_ctx): Likewise.
3089         (libc_fesetenvf_ctx): Likewise.
3090         (libc_fesetenvl_ctx): Likewise.
3091         (libc_feupdateenv_ctx): Likewise.
3092         (libc_feupdateenvf_ctx): Likewise.
3093         (libc_feupdateenvl_ctx): Likewise.
3094         (libc_feresetround_ctx): Likewise.
3095         (libc_feresetroundf_ctx): Likewise.
3096         (libc_feresetroundl_ctx): Likewise.
3097         (libc_feholdsetround_ctx): Likewise.
3098         (libc_feholdsetroundf_ctx): Likewise.
3099         (libc_feholdsetroundl_ctx): Likewise.
3100
3101         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3102         with __USE_GNU instead of XOPEN cpp guards.
3103
3104         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3105         0.
3106
3107         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3108         with XOPEN cpp guards.
3109
3110 2014-04-30  Julian Brown  <julian@codesourcery.com>
3111
3112         [BZ #16888]
3113         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3114         handling.
3115
3116 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
3117
3118         [BZ #9894]
3119         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3120         Change to 2.6.32.
3121         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3122         * sysdeps/unix/sysv/linux/configure: Regenerated.
3123         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3124         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3125         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3126         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3127         * README: Update reference to required Linux kernel version.
3128         * manual/install.texi (Linux): Update reference to required Linux
3129         kernel headers version.
3130         * INSTALL: Regenerated.
3131
3132         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3133         header inclusion.
3134         [POSIX] (limits.h): Likewise.
3135         [POSIX] (math.h): Likewise.
3136         [POSIX] (sys/wait.h): Likewise.
3137         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3138         function.
3139         [POSIX] (stddef.h): Do not allow header inclusion.
3140
3141 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3142
3143         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3144
3145 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
3146
3147         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3148         Return immediately after lll_futex_wake.
3149
3150 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3151
3152         [BZ #16791]
3153         * nscd/nscd-client.h (datahead_init_common): Initialize entire
3154         structure.
3155         (datahead_init_pos): Call datahead_init_common early.
3156         (datahead_init_neg): Likewise.
3157
3158         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3159         datahead_init_neg): New functions.
3160         * nscd/aicache.c (addhstaiX): Use them.
3161         * nscd/grpcache.c (cache_addgr): Likewise.
3162         * nscd/hstcache.c (cache_addhst): Likewise.
3163         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3164         * nscd/netgroupcache.c (do_notfound): Likewise.
3165         (addgetnetgrentX): Likewise.
3166         (addinnetgrX): Likewise.
3167         * nscd/pwdcache.c (cache_addpw): Likewise.
3168         * nscd/servicescache.c (cache_addserv): Likewise.
3169
3170 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3171             Atsushi Onoe  <atsushi@onoe.org>
3172
3173         [BZ #14308]
3174         [BZ #12994]
3175         [BZ #13651]
3176         * resolv/res_query.c (__libc_res_nsearch): Return if at least
3177         one response is valid.
3178         * resolv/res_send.c (send_dg): Check for validity of other
3179         response if the current response is a referral.
3180
3181 2014-04-29  Steve Ellcey  <sellcey@mips.com>
3182
3183         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3184
3185 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
3186
3187         [BZ #16823]
3188         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3189         Always divide by positive zero when computing -Inf result.
3190         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3191         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3192
3193 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3194
3195         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3196         FPSCR if value do not change.
3197         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3198         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3199         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3200         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3201         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3202         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3203         function.
3204
3205 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
3206
3207         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3208         * sysdeps/unix/sysv/linux/hppa: Move directory from
3209         ports/systeps/unix/sysv/linux/hppa.
3210         * README: Update listing for hppa-*-linux-gnu.
3211
3212 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
3213
3214         [BZ #16754]
3215         * manual/stdio.texi (Hook functions): Fix types of stream hook
3216         functions.
3217         [BZ #16854]
3218         * socket/sys/socket.h: Fix typo in comment.
3219
3220 2014-04-28  Wilco  <wdijkstr@arm.com>
3221
3222         * sysdeps/arm/fenv_private.h: New file.
3223         * sysdeps/arm/math_private.h: New file.
3224         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3225
3226 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
3227
3228         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3229         with __int128_t.
3230         (La_x86_64_retval): Likewise.
3231
3232 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
3233
3234         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3235         fpsr if value didn't change.
3236         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3237         to fpcr if value didn't change.
3238         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3239         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3240         fpsr or fpcr if value didn't change.
3241         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3242         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3243         fpcr if value didn't change.
3244         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3245         to fpsr if value didn't change.
3246
3247 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3248
3249         * nptl/tst-sem3.c: Use test-skeleton.c
3250         (main): Rename to do_test.  Use return instead of
3251         exit.
3252         * nptl/tst-sem4.c: Use test-skeleton.c
3253         (main): Rename to do_test.
3254
3255 2014-04-22  David S. Miller  <davem@davemloft.net>
3256
3257         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3258         (struct sigaction): New struct member __glibc_reserved0, change
3259         type of sa_flags to int.
3260
3261 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
3262
3263         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3264         (COUNT_LEADING_ZEROS_0): Define for AArch64.
3265
3266 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3267
3268         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3269         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3270
3271 2014-04-22  Will Newton  <will.newton@linaro.org>
3272             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
3273
3274         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3275         (__longjmp): Add longjmp and longjmp_target SystemTap
3276         probes.
3277         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3278         (__sigsetjmp): Add setjmp SystemTap probe.
3279
3280 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
3281
3282         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3283         match manual order.
3284
3285 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3286
3287         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3288
3289         * sysdeps/powerpc/fpu/fenv_private.h
3290         (libc_feholdexcept_setroundl_ctx): Define to
3291         libc_feholdexcept_setround_ppc_ctx.
3292         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3293         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3294         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3295         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3296
3297 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3298
3299         * sysdeps/aarch64/math-tests.h: New file.
3300
3301 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
3302
3303         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3304         New.
3305         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3306         Check and set bit_AVX2_Usable.
3307         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3308         macro.
3309         (bit_AVX2): Likewise.
3310         (index_AVX2_Usable): Likewise.
3311         (CPUID_AVX2): Likewise.
3312         (HAS_AVX2): Likewise.
3313
3314 2014-04-17  Will Newton  <will.newton@linaro.org>
3315
3316         * manual/setjmp.texi (System V contexts): Add note that
3317         calling setcontext on a context created by a call to a
3318         signal handler is undefined.  Update text to note that
3319         setcontext from a signal handler is possible but not
3320         recommended.
3321
3322         [BZ #16629]
3323         * stdlib/tst-setcontext.c: Include signal.h.
3324         (main): Check that the signal stack before and
3325         after swapcontext is the same.
3326
3327         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3328         Re-implement to restore registers in user code and avoid
3329         rt_sigreturn system call.
3330
3331 2014-04-17  Wilco  <wdijkstr@arm.com>
3332
3333         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3334         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3335         * math/test-fenv.c: Skip exception trap tests on targets which only
3336         support non-stop mode.
3337
3338 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3339             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3340
3341         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3342         (libc_feholdsetround_aarch64_ctx)
3343         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3344         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3345         (libc_feresetround_ctx, libc_feresetroundf_ctx)
3346         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3347         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3348         (libc_feresetround_noexl_ctx): Define.
3349
3350 2014-04-16  Richard Henderson  <rth@redhat.com>
3351
3352         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3353
3354         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3355         unwind tables.
3356
3357         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3358         const from the non-libc, non-ldso copy.
3359
3360         * sysdeps/alpha/libm-test-ulps: Regenerate.
3361
3362 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
3363             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3364
3365         * sysdeps/aarch64/fpu/math_private.h: New file.
3366
3367 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3368
3369         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3370
3371 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
3372
3373         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3374         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3375         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3376         Intel MPX bound registers before _dl_profile_fixup.
3377         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3378         registers after _dl_profile_fixup.  Save and restore bound
3379         registers bnd0/bnd1 when calling _dl_call_pltexit.
3380         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3381         (LR_BND_OFFSET): Likewise.
3382         (LRV_BND0_OFFSET): Likewise.
3383         (LRV_BND1_OFFSET): Likewise.
3384
3385 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3386
3387         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3388         to...
3389         * sysdeps/mach/hurd/i386/tls.h: ... here.
3390         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3391         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3392         fields.
3393
3394 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3395
3396         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3397
3398 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3399
3400         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3401
3402 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3403
3404         [BZ #14770]
3405         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3406         * sysdeps/s390/configure: Regenerate.
3407
3408         [BZ #16824]
3409         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3410         Set round-to-nearest internally to reduce error accumulation.
3411
3412 2014-04-16  Alan Modra  <amodra@gmail.com>
3413
3414         [BZ #16740]
3415         [BZ #16619]
3416         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3417         * math/libm-test.inc (frexp_test_data): Add tests.
3418         * NEWS: Update fixed bug list.
3419
3420 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3421
3422         * benchtests/Makefile: Depend on libraries in build directory.
3423         (bench-math): Separate out math tests.
3424         (bench-pthread): Separate out pthread tests.
3425         (bench): Include math and pthread tests.
3426
3427 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
3428
3429         [BZ #16831]
3430         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3431         _dl_debug_initialize.
3432
3433         * configure.ac: Remove SELinux header check.
3434         * configure: Regenerate.
3435         * nscd/selinux.c (perms): Array of const char* to permission names.
3436         (nscd_request_avc_has_perm): Call security_deny_unknown to find
3437         default policy. Call string_to_security_class and string_to_av_perm to
3438         translate strings. Enforce default policy and call avs_has_perm with
3439         results of translated strings.
3440
3441 2014-04-13  David S. Miller  <davem@davemloft.net>
3442
3443         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3444
3445 2014-04-12  Allan McRae  <allan@archlinux.org>
3446
3447         [BZ #16838]
3448         * manual/string.texi (Collation Functions): Fix qsort argument
3449         order in example.
3450         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3451
3452 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
3453
3454         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3455         Make the test a no-op if there are no exceptions defined.
3456
3457 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3458
3459         * elf/Makefile (tests): make tst-dlopen-aout conditional on
3460         enable-hardcoded-path-in-tests
3461
3462 2014-04-11  Will Newton  <will.newton@linaro.org>
3463
3464         * benchtests/Makefile (extra-objs): Add json-lib.o.
3465         (bench-func): Tidy up JSON output.
3466         * benchtests/bench-skeleton.c: Include json-lib.h.
3467         (main): Use JSON library functions to do output of
3468         benchmark results.
3469         * benchtests/bench-timing-type.c (main): Output the
3470         timing type simply, leaving formatting to the user.
3471         * benchtests/json-lib.c: New file.
3472         * benchtests/json-lib.h: Likewise.
3473
3474 2014-04-11  Torvald Riegel  <triegel@redhat.com>
3475
3476         [BZ #15215]
3477         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3478         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
3479         memory barriers.  Add comments.
3480         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3481         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3482         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3483         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3484         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3485         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3486
3487 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3488
3489         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3490         * sysdeps/s390/s390-64/configure.ac: ... this ...
3491         * sysdeps/s390/configure.ac: ... to here.
3492         * sysdeps/s390/s390-32/configure: Delete file.
3493         * sysdeps/s390/s390-64/configure: Delete file.
3494         * sysdeps/s390/configure: Regenerate.
3495
3496 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
3497
3498         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3499
3500 2014-04-11  Will Newton  <will.newton@linaro.org>
3501
3502         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3503         to zero if it is not defined elsewhere.  (mtrim): Test
3504         the value of MALLOC_DEBUG with #if rather than #ifdef.
3505
3506 2014-04-10 Torvald Riegel  <triegel@redhat.com>
3507
3508         * benchtests/pthread_once-inputs: New file.
3509         * benchtests/pthread_once-source.c: New file.
3510         * benchtests/README: Update documentation.
3511
3512 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3513             H.J. Lu  <hongjiu.lu@intel.com>
3514
3515         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3516         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3517         * sysdeps/x86_64/configure: Regenerated.
3518         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3519         macro.
3520         (REGISTER_SAVE_RAX): Likewise.
3521         (REGISTER_SAVE_RCX): Likewise.
3522         (REGISTER_SAVE_RDX): Likewise.
3523         (REGISTER_SAVE_RSI): Likewise.
3524         (REGISTER_SAVE_RDI): Likewise.
3525         (REGISTER_SAVE_R8): Likewise.
3526         (REGISTER_SAVE_R9): Likewise.
3527         (REGISTER_SAVE_BND0): Likewise.
3528         (REGISTER_SAVE_BND1): Likewise.
3529         (REGISTER_SAVE_BND2): Likewise.
3530         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
3531         bound registers when calling _dl_fixup.
3532
3533 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3534
3535         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3536         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3537         of its definition.
3538         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3539         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3540         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3541         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3542         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3543         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3544         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3545
3546 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
3547
3548         [BZ #15514]
3549         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3550         pathconf(_PC_NAME_MAX).
3551
3552 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3553
3554         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3555         Remove macro usage.
3556         (__PTHREAD_SPINS): Move definition to ...
3557         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3558         (__PTHREAD_SPINS): ... here.
3559         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3560         (__PTHREAD_SPIN): Likewise.
3561         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3562         (__PTHREAD_SPIN): Likewise.
3563         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3564         (__PTHREAD_SPIN): Likewise.
3565         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3566         (__PTHREAD_SPIN): Likewise.
3567         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3568         (__PTHREAD_SPIN): Likewise.
3569         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3570         (__PTHREAD_SPIN): Likewise.
3571         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3572         (__PTHREAD_SPIN): Likewise.
3573         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3574         (__PTHREAD_SPIN): Likewise.
3575         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3576         (__PTHREAD_SPIN): Likewise.
3577         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3578         (__PTHREAD_SPIN): Likewise.
3579         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3580         (__PTHREAD_SPIN): Likewise.
3581         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3582         (__PTHREAD_SPIN): Likewise.
3583
3584         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3585         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3586         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3587         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3588         imply folder.
3589         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3590         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3591         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3592         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3593         correct imply path.
3594         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3595         strlen symbol for non multi-arch builds.
3596         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3597         missing hidden_def and weak_alias.
3598
3599 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
3600
3601         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3602
3603 2014-04-07  Will Newton  <will.newton@linaro.org>
3604
3605         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3606         and contents.  [!_LIBC] Remove #ifndef and contents.
3607         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
3608         * string/memccpy.c (__memccpy): Use ANSI prototype.
3609         * string/memfrob.c (memfrob): Likewise.
3610         * string/strcoll.c (STRCOLL): Likewise.
3611         * string/strlen.c (strlen): Likewise.
3612         * string/strtok.c (STRTOK): Likewise.
3613         * string/strcat.c: Remove unused #include of memcopy.h.
3614         (strcat): Use ANSI prototype.
3615         * string/strchr.c: Remove unused #include of memcopy.h.
3616         (strchr): Use ANSI prototype.
3617         * string/strcmp.c: Remove unused #include of memcopy.h.
3618         (strcmp): Use ANSI prototype.
3619         * string/strcpy.c: Remove unused #include of memcopy.h.
3620         (strcpy): Use ANSI prototype.
3621
3622 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3623
3624         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3625         * config.make.in (config-extra-cppflags): Set it from
3626         libc_extra_cppflags.
3627         * configure.ac (libc_extra_cflags): Make it accumulate over
3628         configure fragments.
3629         (libc_extra_cppflags): New flag.
3630         * configure. Regenerate.
3631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3632         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3633         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3635
3636         [BZ #16815]
3637         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3638         result for FE_DOWNWARD rounding mode.
3639         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3640         Likewise.
3641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3642
3643 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
3644
3645         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3646         in function argument name.
3647
3648 2014-04-03  David Svoboda  <svoboda@cert.org>
3649
3650         [BZ #5666]
3651         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3652         explicitly.
3653
3654 2014-04-03  Roland McGrath  <roland@hack.frob.com>
3655
3656         * elf/dl-unmap-segments.h: New file.
3657         * sysdeps/generic/ldsodefs.h
3658         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3659         * elf/dl-close.c: Include <dl-unmap-segments.h>.
3660         * elf/dl-fptr.c: Likewise.
3661         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3662         * sysdeps/aarch64/tlsdesc.c: Likewise.
3663         * sysdeps/arm/tlsdesc.c: Likewise.
3664         * sysdeps/i386/tlsdesc.c: Likewise.
3665         * sysdeps/tile/dl-runtime.c: Likewise.
3666         * sysdeps/x86_64/tlsdesc.c: Likewise.
3667         * elf/dl-load.h: New file.
3668         * elf/dl-load.c: Include it.
3669         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3670         Macros moved to dl-load.h.
3671         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3672         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3673         Use _dl_unmap_segments in place of __munmap.
3674         Break out segment-mapping loop into ...
3675         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3676
3677 2014-04-03  Will Newton  <will.newton@linaro.org>
3678
3679         * elf/dl-lookup.c (do_lookup_x): Remove comment
3680         referring to nested function and move variable
3681         declarations down to before first use.
3682
3683 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
3684
3685         [BZ #16799]
3686         [BZ #16800]
3687         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3688         with 0 numerator.
3689         * math/s_catanf.c (__catanf): Likewise.
3690         * math/s_catanh.c (__catanh): Likewise.
3691         * math/s_catanhf.c (__catanhf): Likewise.
3692         * math/s_catanhl.c (__catanhl): Likewise.
3693         * math/s_catanl.c (__catanl): Likewise.
3694         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3695         by positive zero when computing -Inf result.
3696         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3697         (catanh_test): Likewise.
3698         * sysdeps/i386/fpu/libm-test-ulps: Update.
3699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3700
3701         [BZ #16789]
3702         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3703         instead of using underflowing value in computing result.
3704         * math/s_clog10.c (__clog10): Likewise.
3705         * math/s_clog10f.c (__clog10f): Likewise.
3706         * math/s_clog10l.c (__clog10l): Likewise.
3707         * math/s_clogf.c (__clogf): Likewise.
3708         * math/s_clogl.c (__clogl): Likewise.
3709         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3710         (clog10_test): Likewise.
3711         * sysdeps/i386/fpu/libm-test-ulps: Update.
3712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3713
3714 2014-04-02  Alan Modra  <amodra@gmail.com>
3715
3716         [BZ #16739]
3717         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3718         output when value is near a power of two.  Use int64_t for lx and
3719         remove casts.  Use decimal rather than hex exponent constants.
3720         Don't use long double multiplication when double will suffice.
3721         * math/libm-test.inc (nextafter_test_data): Add tests.
3722         * NEWS: Add 16739 and 16786 to bug list.
3723
3724         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3725
3726         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3727
3728 2014-04-01  Will Newton  <will.newton@linaro.org>
3729
3730         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3731         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
3732
3733 2014-04-01  Florian Weimer  <fweimer@redhat.com>
3734
3735         [BZ #13347]
3736         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3737         * nptl/tst-setuid2.c: New file.
3738         * nptl/Makefile (xtests): Add tst-setuid2.
3739
3740 2014-04-01  Alan Modra  <amodra@gmail.com>
3741
3742         [BZ #16786]
3743         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3744
3745 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3746
3747         [BZ #6803]
3748         [BZ #6804]
3749         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3750         set errno as appropriate.
3751         * math/w_scalbf.c (__scalbf): Likewise.
3752         * math/w_scalbl.c (__scalbl): Likewise.
3753         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3754         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3755         * math/libm-test.inc (scalb_test_data): Add errno expectations.
3756         Add more NaN tests.
3757
3758         [BZ #16349]
3759         * math/w_atan2.c: Include <errno.h>.
3760         (__atan2): Set errno for result underflowing to zero.
3761         * math/w_atan2f.c: Include <errno.h>.
3762         (__atan2f): Set errno for result underflowing to zero.
3763         * math/w_atan2l.c: Include <errno.h>.
3764         (__atan2l): Set errno for result underflowing to zero.
3765         * math/auto-libm-test-in: Don't allow missing errno for some atan2
3766         tests.
3767         * math/auto-libm-test-out: Regenerated.
3768
3769 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3770
3771         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3772         Encode instruction correctly in little endian.
3773         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3774         Likewise.
3775         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3776         Likewise.
3777         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3778         Likewise.
3779         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3780         Likewise.
3781
3782 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3783
3784         [BZ #9894]
3785         * sysdeps/unix/sysv/linux/kernel-features.h
3786         [__sparc__ && !__arch64__ && !__sparc_v9__]
3787         (__ASSUME_SET_ROBUST_LIST): Do not define.
3788         [__sparc__ && !__arch64__ && !__sparc_v9__]
3789         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3790         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3791         Likewise.
3792         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3793         (__ASSUME_FUTEX_LOCK_PI): Undefine.
3794         (__ASSUME_REQUEUE_PI): Likewise.
3795         (__ASSUME_SET_ROBUST_LIST): Likewise.
3796         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3797         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3798         Undefine.
3799         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3800         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3801         Likewise.
3802         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3803         Likewise.
3804         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3805         Likewise.
3806         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3807         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3808         Undefine.
3809         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3810         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3811         Likewise.
3812
3813         [BZ #16648]
3814         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3815         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3816         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3817
3818 2014-03-31  Will Newton  <will.newton@linaro.org>
3819
3820         * benchtests/Makefile (bench): Add ffs and ffsll to list
3821         of tests.
3822         * benchtests/ffs-inputs: New file.
3823         * benchtests/ffsll-inputs: Likewise.
3824
3825 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
3826
3827         [BZ #16770]
3828         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3829         too large before casting to int.
3830         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3831         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3832         * math/libm-test.inc (scalb_test_data): Add more tests.
3833
3834 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3835
3836         * benchtests/Makefile (DETAILED_OPT): New make option.
3837         (bench-func): Run benchmark program with -d if DETAILED_OPT is
3838         set.
3839         * benchtests/bench-skeleton.c: Include stdbool.h.
3840         (main): Store and print timings per input.
3841         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3842         member to each argument value.
3843         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3844         (_print_arg_data): Initialize per-input timing to 0.
3845
3846         * benchtests/Makefile (timing-type): New binary.
3847         (bench-clean): Also remove bench-timing-type.
3848         (bench): New target for timing-type.
3849         (bench-func): Print output in JSON format.
3850         * benchtests/bench-skeleton.c (main): Print output in JSON
3851         format.
3852         * benchtests/bench-timing-type.c: New file.
3853         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3854         (TIMING_PRINT_STATS): Remove.
3855         * benchtests/scripts/bench.py (_print_arg_data): Store variant
3856         name separately.
3857
3858         * benchtests/bench-modf.c: Remove.
3859         * benchtests/modf-inputs: New inputs file.
3860
3861 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
3862
3863         [BZ #16362]
3864         * math/s_clog10.c (M_PI_LOG10E): New macro.
3865         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3866         imaginary parts are 0.
3867         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3868         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3869         imaginary parts are 0.
3870         * math/s_clog10l.c (M_PI_LOG10El): New macro.
3871         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3872         imaginary parts are 0.
3873         * math/libm-test.inc (clog10_test_data): Update expected results
3874         for when real and imaginary parts are 0.
3875
3876 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
3877
3878         * elf/dl-load.c: Finish conversion of __builtin_expect into
3879         __glibc_{un}likely.
3880
3881 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
3882
3883         [BZ #16348]
3884         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3885         1+x for argument with exponent below -67.
3886         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3887         Likewise.
3888         * math/auto-libm-test-in: Add more tests of exp.
3889         * math/auto-libm-test-out: Regenerated.
3890
3891 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3892
3893         [BZ #16759]
3894         * inet/getnetgrent_r.c (get_nonempty_val): New function.
3895         (nscd_getnetgrent): Use it.
3896
3897         [BZ #16760]
3898         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3899         of stpcpy.
3900
3901 2014-03-27  Andi Kleen  <ak@linux.intel.com>
3902
3903         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3904         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3905         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3906         (lll_robust_unlock): Remove out of line section. Use cfi
3907         intrinsics.
3908         (LLL_STUB_UNWIND_INFO*): Remove.
3909         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3910         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3911         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3912         (lll_robust_unlock): Remove out of line section. Use cfi
3913         intrinsics.
3914         (LLL_STUB_UNWIND_INFO*): Remove.
3915
3916 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3917
3918         [BZ #16758]
3919         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3920         blank values.
3921
3922 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3923
3924         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3925
3926 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
3927
3928         [BZ #16198]
3929         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3930         fnstenv.
3931         * math/test-fenv-preserve.c: New file.
3932         * math/Makefile (tests): Add test-fenv-preserve.
3933
3934 2014-03-26  Will Newton <will.newton@linaro.org>
3935
3936         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3937
3938 2014-03-25  Roland McGrath  <roland@hack.frob.com>
3939
3940         * scripts/versionlist.awk: Partition the version sets and emit all
3941         GLIBC_* (sorted) before all others (sorted).
3942
3943 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3944
3945         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3946         GLIBC_2.2.5 version.
3947
3948 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3949
3950         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3951         calls.
3952
3953         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3954         previous change.
3955
3956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3957
3958 2014-03-25  Andreas Schwab  <schwab@suse.de>
3959
3960         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3961         label to be used after in6ailist is initialized.
3962
3963 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3964
3965         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3966         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3967
3968 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3969
3970         [BZ #16357]
3971         [BZ #16599]
3972         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3973         min_plus_half.
3974         (fp_formats): Update initializers.
3975         (init_fp_formats): Initialize new field.
3976         (output_for_one_input_case): Allow underflow for results up to
3977         min_plus_half.
3978         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3979         * math/auto-libm-test-in: Don't mark some underflows from asin and
3980         atanh as spurious.
3981         * math/auto-libm-test-out: Regenerated.
3982         * sysdeps/i386/fpu/libm-test-ulps: Update.
3983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3984
3985 2014-03-25  Andreas Schwab  <schwab@suse.de>
3986
3987         * libio/Makefile (tst-ftell-partial-wide-ENV)
3988         (tst-ftell-active-handler-ENV): Define.
3989
3990 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
3991
3992         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3993
3994 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3995
3996         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3997
3998 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3999
4000         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4001         * sysdeps/x86_64/fpu/multiarch/e_exp.c
4002         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4003
4004 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4005
4006         [BZ #16634]
4007         * elf/dl-load.c (open_verify): Add mode parameter.
4008         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4009         (open_path): Change from boolean 'secure' to complete flag 'mode'
4010         (_dl_map_object): Adjust.
4011         * elf/Makefile (tests): Add tst-dlopen-aout.
4012         * elf/tst-dlopen-aout.c: New test.
4013
4014 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
4015
4016         [BZ #16714]
4017         * sysdeps/unix/sysv/linux/s390/bits/stat.h
4018         (struct stat): Rename member pad0 to __glibc_reserved0.
4019
4020         [BZ #16712]
4021         * sysdeps/s390/s390-32/bits/wordsize.h
4022         (__WORDSIZE32_SIZE_ULONG): New define.
4023         * sysdeps/s390/s390-64/bits/wordsize.h
4024         (__WORDSIZE32_SIZE_ULONG): Likewise.
4025         * sysdeps/generic/stdint.h (SIZE_MAX):
4026         Define as UL if __WORDSIZE32_SIZE_ULONG.
4027
4028         [BZ #16713]
4029         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4030         (__glibc_reserved0): New variable.
4031         (sa_flags): Change type to int.
4032
4033         * posix/Makefile (before-compile): Use += before-compile instead
4034         of a :=.
4035
4036         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4037         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4038
4039 2014-03-20  Andreas Schwab  <schwab@suse.de>
4040
4041         [BZ #16743]
4042         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4043         non-matching result from nscd.
4044
4045 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4046
4047         * scripts/bench.py: Moved to ...
4048         * benchtests/scripts/bench.py: ... here.
4049         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4050
4051 2014-03-24  Andreas Schwab  <schwab@suse.de>
4052
4053         [BZ #16002]
4054         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4055         alloca_account and account alloca use for struct in6ailist.
4056
4057 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
4058
4059         [BZ #16284]
4060         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4061         rounding mode to recompute results that overflow to infinity or
4062         underflow to zero.
4063         * math/auto-libm-test-in: Don't mark tests as expected to fail for
4064         bug 16284.
4065         * math/auto-libm-test-out: Regenerated.
4066         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4067         (ccosh_test): Likewise.
4068         (csin_test_data): Use plus_oflow.
4069         (csin_test): Use ALL_RM_TEST.
4070         (csinh_test_data): Use plus_oflow.
4071         (csinh_test): Use ALL_RM_TEST.
4072         * sysdeps/i386/fpu/libm-test-ulps: Update.
4073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4074
4075 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
4076
4077         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4078         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4079         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4080
4081         [BZ #16731]
4082         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4083         when x - 1 is zero.
4084         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4085         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4086         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4087         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4088         argument is 1.
4089         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4090         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4091         zero.
4092         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4093         * sysdeps/i386/fpu/libm-test-ulps: Update.
4094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4095
4096 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4097
4098         * scripts/bench.pl: Remove file.
4099         * scripts/bench.py: New benchmark script.
4100         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4101         * benchtests/README: Mention python dependency.
4102         * scripts/pylintrc: New file.
4103         * scripts/pylint: New file.
4104
4105         * bits/mathdef.h: Use #ifdef instead of #if.
4106         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4107         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4108         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4109         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4110         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4111         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4112
4113 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4114             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4115
4116         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4117         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4118         and strpbrk-ppc64 objects.
4119         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4120         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4121         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4122         multiarch strpbrk for POWER7.
4123         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4124         multiarch strpbrk for PPC64.
4125         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4126         ifunc selector.
4127         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4128         strpbrk for POWER7.
4129
4130 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4131
4132         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4133         (atan_test): Likewise.
4134         (atanh_test_data): Use NO_TEST_INLINE for two tests.
4135         (atanh_test): Use ALL_RM_TEST.
4136         (atan2_test_data): Likewise.
4137         (cabs_test): Likewise.
4138         (cacosh_test): Likewise.
4139         (carg_test): Likewise.
4140         (casin_test): Likewise.
4141         (casinh_test): Likewise.
4142         (cbrt_test): Likewise.
4143         (csqrt_test): Likewise.
4144         (erf_test): Likewise.
4145         (erfc_test): Likewise.
4146         (pow10_test): Likewise.
4147         (exp2_test): Likewise.
4148         (hypot_test): Likewise.
4149         (j0_test): Likewise.
4150         (j1_test): Likewise.
4151         (lgamma_test): Likewise.
4152         (gamma_test): Likewise.
4153         (sincos_test): Likewise.
4154         (tanh_test): Likewise.
4155         (y0_test): Likewise.
4156         (y1_test): Likewise.
4157         * sysdeps/i386/fpu/libm-test-ulps: Update.
4158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4159
4160 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4161
4162         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4164         and strcspn-ppc64 objects.
4165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4166         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4167         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4168         multiarch strcspn for POWER7.
4169         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4170         multiarch strcspn for PPC64.
4171         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4172         ifunc selector.
4173         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4174         strcspn for POWER7.
4175
4176 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4177
4178         * math/gen-libm-test.pl (generate_testfile): Expect only function
4179         name as argument to AUTO_TESTS_* and pass results for all rounding
4180         modes to parse_args.
4181         (parse_auto_input): Separate inputs of automatic tests from
4182         outputs before storing in %auto_tests.
4183         * math/libm-test.inc (acos_test_data): Update call to
4184         AUTO_TESTS_f_f.
4185         (acos_test): Use ALL_RM_TEST.
4186         (acos_tonearest_test_data): Remove.
4187         (acos_test_tonearest): Likewise.
4188         (acos_towardzero_test_data): Likewise.
4189         (acos_test_towardzero): Likewise.
4190         (acos_downward_test_data): Likewise.
4191         (acos_test_downward): Likewise.
4192         (acos_upward_test_data): Likewise.
4193         (acos_test_upward): Likewise.
4194         (acosh_test_data): Update call to AUTO_TESTS_f_f.
4195         (asin_test_data): Likewise.
4196         (asin_test): Use ALL_RM_TEST.
4197         (asin_tonearest_test_data): Remove.
4198         (asin_test_tonearest): Likewise.
4199         (asin_towardzero_test_data): Likewise.
4200         (asin_test_towardzero): Likewise.
4201         (asin_downward_test_data): Likewise.
4202         (asin_test_downward): Likewise.
4203         (asin_upward_test_data): Likewise.
4204         (asin_test_upward): Likewise.
4205         (asinh_test_data): Update call to AUTO_TESTS_f_f.
4206         (atan_test_data): Likewise.
4207         (atanh_test_data): Likewise.
4208         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4209         (cabs_test_data): Update call to AUTO_TESTS_c_f.
4210         (carg_test_data): Likewise.
4211         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4212         (ccos_test_data): Update call to AUTO_TESTS_c_c.
4213         (ccosh_test_data): Likewise.
4214         (cexp_test_data): Likewise.
4215         (clog_test_data): Likewise.
4216         (clog10_test_data): Likewise.
4217         (cos_test_data): Update call to AUTO_TESTS_f_f.
4218         (cos_test): Use ALL_RM_TEST.
4219         (cos_tonearest_test_data): Remove.
4220         (cos_test_tonearest): Likewise.
4221         (cos_towardzero_test_data): Likewise.
4222         (cos_test_towardzero): Likewise.
4223         (cos_downward_test_data): Likewise.
4224         (cos_test_downward): Likewise.
4225         (cos_upward_test_data): Likewise.
4226         (cos_test_upward): Likewise.
4227         (cosh_test_data): Update call to AUTO_TESTS_f_f.
4228         (cosh_test): Use ALL_RM_TEST.
4229         (cosh_tonearest_test_data): Remove.
4230         (cosh_test_tonearest): Likewise.
4231         (cosh_towardzero_test_data): Likewise.
4232         (cosh_test_towardzero): Likewise.
4233         (cosh_downward_test_data): Likewise.
4234         (cosh_test_downward): Likewise.
4235         (cosh_upward_test_data): Likewise.
4236         (cosh_test_upward): Likewise.
4237         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4238         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4239         (ctan_test_data): Likewise.
4240         (ctan_test): Use ALL_RM_TEST.
4241         (ctan_tonearest_test_data): Remove.
4242         (ctan_test_tonearest): Likewise.
4243         (ctan_towardzero_test_data): Likewise.
4244         (ctan_test_towardzero): Likewise.
4245         (ctan_downward_test_data): Likewise.
4246         (ctan_test_downward): Likewise.
4247         (ctan_upward_test_data): Likewise.
4248         (ctan_test_upward): Likewise.
4249         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4250         (ctanh_test): Use ALL_RM_TEST.
4251         (ctanh_tonearest_test_data): Remove.
4252         (ctanh_test_tonearest): Likewise.
4253         (ctanh_towardzero_test_data): Likewise.
4254         (ctanh_test_towardzero): Likewise.
4255         (ctanh_downward_test_data): Likewise.
4256         (ctanh_test_downward): Likewise.
4257         (ctanh_upward_test_data): Likewise.
4258         (ctanh_test_upward): Likewise.
4259         (erf_test_data): Update call to AUTO_TESTS_f_f.
4260         (erfc_test_data): Likewise.
4261         (exp_test_data): Likewise.
4262         (exp_test): Use ALL_RM_TEST.
4263         (exp_tonearest_test_data): Remove.
4264         (exp_test_tonearest): Likewise.
4265         (exp_towardzero_test_data): Likewise.
4266         (exp_test_towardzero): Likewise.
4267         (exp_downward_test_data): Likewise.
4268         (exp_test_downward): Likewise.
4269         (exp_upward_test_data): Likewise.
4270         (exp_test_upward): Likewise.
4271         (exp10_test_data): Update call to AUTO_TESTS_f_f.
4272         (exp10_test): Use ALL_RM_TEST.
4273         (exp10_tonearest_test_data): Remove.
4274         (exp10_test_tonearest): Likewise.
4275         (exp10_towardzero_test_data): Likewise.
4276         (exp10_test_towardzero): Likewise.
4277         (exp10_downward_test_data): Likewise.
4278         (exp10_test_downward): Likewise.
4279         (exp10_upward_test_data): Likewise.
4280         (exp10_test_upward): Likewise.
4281         (exp2_test_data): Update call to AUTO_TESTS_f_f.
4282         (expm1_test_data): Likewise.
4283         (expm1_test): Use ALL_RM_TEST.
4284         (expm1_tonearest_test_data): Remove.
4285         (expm1_test_tonearest): Likewise.
4286         (expm1_towardzero_test_data): Likewise.
4287         (expm1_test_towardzero): Likewise.
4288         (expm1_downward_test_data): Likewise.
4289         (expm1_test_downward): Likewise.
4290         (expm1_upward_test_data): Likewise.
4291         (expm1_test_upward): Likewise.
4292         (fma_test_data): Update call to AUTO_TESTS_fff_f.
4293         (fma_test): Use ALL_RM_TEST.
4294         (fma_towardzero_test_data): Remove.
4295         (fma_test_towardzero): Likewise.
4296         (fma_downward_test_data): Likewise.
4297         (fma_test_downward): Likewise.
4298         (fma_upward_test_data): Likewise.
4299         (fma_test_upward): Likewise.
4300         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4301         (j0_test_data): Update call to AUTO_TESTS_f_f.
4302         (j1_test_data): Likewise.
4303         (jn_test_data): Update call to AUTO_TESTS_if_f.
4304         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4305         (log_test_data): Update call to AUTO_TESTS_f_f.
4306         (log10_test_data): Likewise.
4307         (log1p_test_data): Likewise.
4308         (log2_test_data): Likewise.
4309         (pow_test_data): Update call to AUTO_TESTS_ff_f.
4310         (pow_tonearest_test_data): Likewise.
4311         (sin_test_data): Update call to AUTO_TESTS_f_f.
4312         (sin_test): Use ALL_RM_TEST.
4313         (sin_tonearest_test_data): Remove.
4314         (sin_test_tonearest): Likewise.
4315         (sin_towardzero_test_data): Likewise.
4316         (sin_test_towardzero): Likewise.
4317         (sin_downward_test_data): Likewise.
4318         (sin_test_downward): Likewise.
4319         (sin_upward_test_data): Likewise.
4320         (sin_test_upward): Likewise.
4321         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4322         (sinh_test_data): Update call to AUTO_TESTS_f_f.
4323         (sinh_test): Use ALL_RM_TEST.
4324         (sinh_tonearest_test_data): Remove.
4325         (sinh_test_tonearest): Likewise.
4326         (sinh_towardzero_test_data): Likewise.
4327         (sinh_test_towardzero): Likewise.
4328         (sinh_downward_test_data): Likewise.
4329         (sinh_test_downward): Likewise.
4330         (sinh_upward_test_data): Likewise.
4331         (sinh_test_upward): Likewise.
4332         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4333         (sqrt_test): Use ALL_RM_TEST.
4334         (sqrt_tonearest_test_data): Remove.
4335         (sqrt_test_tonearest): Likewise.
4336         (sqrt_towardzero_test_data): Likewise.
4337         (sqrt_test_towardzero): Likewise.
4338         (sqrt_downward_test_data): Likewise.
4339         (sqrt_test_downward): Likewise.
4340         (sqrt_upward_test_data): Likewise.
4341         (sqrt_test_upward): Likewise.
4342         (tan_test_data): Update call to AUTO_TESTS_f_f.
4343         (tan_test): Use ALL_RM_TEST.
4344         (tan_tonearest_test_data): Remove.
4345         (tan_test_tonearest): Likewise.
4346         (tan_towardzero_test_data): Likewise.
4347         (tan_test_towardzero): Likewise.
4348         (tan_downward_test_data): Likewise.
4349         (tan_test_downward): Likewise.
4350         (tan_upward_test_data): Likewise.
4351         (tan_test_upward): Likewise.
4352         (tanh_test_data): Update call to AUTO_TESTS_f_f.
4353         (tgamma_test_data): Likewise.
4354         (y0_test_data): Likewise.
4355         (y1_test_data): Likewise.
4356         (yn_test_data): Update call to AUTO_TESTS_if_f.
4357         (main): Do not call removed functions.
4358
4359 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4360
4361         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4362         (ldexp_test_data): Remove.
4363         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
4364         scalbn_test_data.
4365         (scalb_test): Use ALL_RM_TEST.
4366
4367 2014-03-19  Andreas Schwab  <schwab@suse.de>
4368
4369         * nscd/nscd.service: Also invalidate netgroup cache on reload.
4370
4371 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4372
4373         [BZ #16649]
4374         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4375         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4376         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4377         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4378         (__ASSUME_PREADV): Undefine.
4379         (__ASSUME_PWRITEV): Likewise.
4380
4381 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4382
4383         * bits/mman-linux.h: Add comment about non-Linux use.
4384         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4385         bits/mman-linux.h resting place.
4386
4387         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4388         * bits/mman-linux.h: ... here.
4389
4390 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4391
4392         * conform/conformtest.pl: Add standard definition when calling C
4393         preprocessor on data files.
4394         (checknamespace): Remove unused variable.
4395
4396 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4397
4398         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4399         minus_oflow, plus_uflow and minus_uflow in expected results.
4400         * math/libm-test.inc (scalbn_test_data): Add more tests of
4401         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
4402         minus_uflow.
4403         (scalbn_test): Use ALL_RM_TEST.
4404         (scalbln_test_data): Add more tests of negative arguments.  Use
4405         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4406         (scalbln_test): Use ALL_RM_TEST.
4407
4408 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4409
4410         * scripts/abilist.awk: Ignore symbols marked with .hidden.
4411
4412 2014-03-18  Will Newton  <will.newton@linaro.org>
4413
4414         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4415         inaccurate comment.
4416
4417 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4418
4419         * Makerules [!subdir] (check-abi): Exit with error status if a
4420         test failed.
4421
4422 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4423
4424         * math/libm-test.inc (nearbyint_test_data): Include all tests used
4425         for rint.  Include results for all rounding modes.
4426         (nearbyint_test): Use ALL_RM_TEST.
4427         (rint_test_data): Include all tests used for nearbyint.
4428
4429 2014-03-17  Will Newton  <will.newton@linaro.org>
4430
4431         * nptl/sysdeps/pthread/pthread.h: Revert previous
4432         change.
4433
4434         * sysdeps/generic/ldsodefs.h: Revert previous
4435         change.
4436
4437         * libio/genops.c: Revert previous change.
4438         * libio/libioP.h: Likewise.
4439         * stdio-common/vfprintf.c: Likewise.
4440
4441         * sysdeps/generic/math_private.h: Revert previous
4442         change.
4443
4444         * sysdeps/generic/math_private.h: Check whether
4445         HAVE_RM_CTX is defined with #ifdef rather
4446         than #if.
4447
4448         * argp/argp-fmtstream.h: Check whether
4449         __STRICT_ANSI__ is defined with #ifdef rather
4450         than #if.
4451         * argp/argp.h: Likewise.
4452
4453         * libio/genops.c: Check whether
4454         _IO_JUMPS_OFFSET is defined with #ifdef rather
4455         than #if.
4456         * libio/libioP.h: Likewise.
4457         * stdio-common/vfprintf.c: Likewise.
4458
4459         * sysdeps/generic/ldsodefs.h: Check whether
4460         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4461         than #if.
4462
4463         * nptl/sysdeps/pthread/pthread.h: Check
4464         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4465         its value.
4466
4467 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4468
4469         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4470         setting O_APPEND.
4471         * libio/tst-ftell-active-handler.c (do_append_test): Add a
4472         test case.
4473
4474         [BZ #16680]
4475         * libio/fileops.c (_IO_file_open): Seek to end of file but
4476         don't cache the offset.
4477         (get_file_offset): Remove function.
4478         (do_ftell): Use cached offset when available.
4479         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4480         don't cache the offset.
4481         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4482         case.
4483         (do_one_test): Call it.
4484         (do_ftell_test): Fix up expected old offset for a+ mode.
4485         * libio/wfileops.c (do_ftell_wide): Used cached offset when
4486         available.
4487
4488         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4489         up test status with function return status.
4490         (do_write_test): Likewise.
4491         (do_append_test): Likewise.
4492
4493         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4494         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4495         Remove.
4496
4497 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4498
4499         * math/gen-libm-test.pl (parse_args): Handle results specified for
4500         each rounding mode separately.
4501         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4502         tests and results from lrint_tonearest_test_data,
4503         lrint_towardzero_test_data, lrint_downward_test_data and
4504         lrint_upward_test_data.
4505         (lrint_test): Use ALL_RM_TEST.
4506         (lrint_tonearest_test_data): Remove.
4507         (lrint_test_tonearest): Likewise.
4508         (lrint_towardzero_test_data): Likewise.
4509         (lrint_test_towardzero): Likewise.
4510         (lrint_downward_test_data): Likewise.
4511         (lrint_test_downward): Likewise.
4512         (lrint_upward_test_data): Likewise.
4513         (lrint_test_upward): Likewise.
4514         (llrint_test_data): Merge in per-rounding-mode tests and results
4515         from llrint_tonearest_test_data, llrint_towardzero_test_data,
4516         llrint_downward_test_data and llrint_upward_test_data.
4517         (llrint_test): Use ALL_RM_TEST.
4518         (llrint_tonearest_test_data): Remove.
4519         (llrint_test_tonearest): Likewise.
4520         (llrint_towardzero_test_data): Likewise.
4521         (llrint_test_towardzero): Likewise.
4522         (llrint_downward_test_data): Likewise.
4523         (llrint_test_downward): Likewise.
4524         (llrint_upward_test_data): Likewise.
4525         (llrint_test_upward): Likewise.
4526         (rint_test_data): Merge in per-rounding-mode tests and results
4527         from rint_tonearest_test_data, rint_towardzero_test_data,
4528         rint_downward_test_data and rint_upward_test_data.  Add
4529         per-rounding-mode results for tests not in those arrays.
4530         (rint_test): Use ALL_RM_TEST.
4531         (rint_tonearest_test_data): Remove.
4532         (rint_test_tonearest): Likewise.
4533         (rint_towardzero_test_data): Likewise.
4534         (rint_test_towardzero): Likewise.
4535         (rint_downward_test_data): Likewise.
4536         (rint_test_downward): Likewise.
4537         (rint_upward_test_data): Likewise.
4538         (rint_test_upward): Likewise.
4539         (main): Don't call removed functions.
4540
4541 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4542
4543         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4544         "Compiled on ..." crapola.  It is anti-useful.
4545
4546 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
4547
4548         * scripts/evaluate-test.sh: Handle fourth argument to determine
4549         whether test run should stop on failure.
4550         * Makeconfig (stop-on-test-failure): New variable.
4551         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4552         $(stop-on-test-failure).
4553         * Makefile (tests): Give a summary of results from testing and
4554         exit with failure status if they include an ERROR or FAIL.
4555         (xtests): Likewise.
4556         * manual/install.texi (Configuring and compiling): Mention
4557         stop-on-test-failure=y.
4558         * INSTALL: Regenerated.
4559
4560 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4561
4562         * scripts/versionlist.awk: New file.
4563         * Makerules [$(build-shared) = yes]
4564         (postclean-generated): Add Versions.def, not Versions.def.v and
4565         Versions.def.v.i.
4566         ($(common-objpfx)Versions.def.v.i): Target removed.
4567         ($(common-objpfx)Versions.def): New target.
4568         ($(common-objpfx)Versions.all): Depend on that rather that
4569         $(common-objpfx)Versions.def.v.
4570         * Versions.def: File removed.
4571
4572         * Makeconfig (+gccwarn): Add -Wundef.
4573         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4574         a dl-sysdep.h breaking its contract.
4575         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4576         * include/stackinfo.h: New file.
4577         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4578         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4579         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4580         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4581         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4582         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4583         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4584         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4585         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4586         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4587         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4588         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4589         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4590         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4591         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4592
4593 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4594
4595         [BZ #16707]
4596         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4597         implementation.
4598         * math/libm-test.inc (round_test_data): Add more tests.
4599
4600         [BZ #16706]
4601         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4602         implementation.
4603         * math/libm-test.inc (nearbyint_test_data): Add more tests.
4604
4605         [BZ #16701]
4606         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4607         implementation.
4608         * math/libm-test.inc (ceil_test_data): Add more tests.
4609
4610         * math/libm-test.inc (trunc_test_data): Add more tests related to
4611         BZ#16414.
4612
4613 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4614
4615         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4616         with #if rather than #ifdef.
4617         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4618
4619 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
4620
4621         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4622         first.  Disable AVX-512 GCC support if assembler doesn't support
4623         it.
4624         * sysdeps/x86_64/configure: Regenerated.
4625
4626 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
4627
4628         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4629         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4630         (__old_pthread_attr_setstack): Likewise.
4631         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4632         [!_STACK_GROWS_DOWN]: Likewise.
4633
4634 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
4635
4636         * config.make.in (have-bash2): Delete.
4637         * configure.ac (libc_cv_have_bash2): Delete.
4638         * configure: Regenerate.
4639         * elf/Makefile (common-ldd-rewrite): Rename to ...
4640         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
4641         (sh-ldd-rewrite): Delete.
4642         (bash-ldd-rewrite): Delete.
4643         (have-bash2): Delete checks.
4644         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4645         ldd-rewrite.
4646
4647         * config.make.in (have-ksh): Delete.
4648         (KSH): Delete.
4649         * configure.ac (libc_cv_have_ksh): Delete.
4650         * configure: Regenerate.
4651
4652         * elf/Makefile: Delete $(have-ksh) check.
4653         ($(objpfx)sotruss): Change KSH to BASH.
4654         * elf/sotruss.ksh: Rename to ...
4655         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
4656         function style to match POSIX.  Drop ksh vim mode setting.
4657
4658         * manual/time.texi (Specifying the Time Zone with TZ): Change
4659         Tuesday to Thursday.
4660
4661         * debug/tst-longjmp_chk2.c: Update header comment.
4662         (stackoverflow_handler): Add comment.  Call assert on pass value.
4663
4664 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
4665
4666         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4667         (HAVE_AVX512_ASM_SUPPORT): Likewise.
4668         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4669         (La_x86_64_vector): Add zmm.
4670         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4671         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4672         ($(objpfx)tst-audit10): New target.
4673         ($(objpfx)tst-audit10.out): Likewise.
4674         (tst-audit10-ENV): New.
4675         (AVX512-CFLAGS): Likewise.
4676         (CFLAGS-tst-audit10.c): Likewise.
4677         (CFLAGS-tst-auditmod10a.c): Likewise.
4678         (CFLAGS-tst-auditmod10b.c): Likewise.
4679         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4680         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4681         * sysdeps/x86_64/configure: Regenerated.
4682         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4683         AVX-512 zmm register support.
4684         (_dl_x86_64_save_sse): Likewise.
4685         (_dl_x86_64_restore_sse): Likewise.
4686         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4687         size vector registers.
4688         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4689         (ZMM_SIZE): Likewise.
4690         * sysdeps/x86_64/tst-audit10.c: New file.
4691         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4692         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4693
4694 2014-03-13  Roland McGrath  <roland@hack.frob.com>
4695
4696         * configure.ac (HAVE_EHDR_START): New check.
4697         * configure: Regenerated.
4698         * config.h.in (HAVE_EHDR_START): New #undef.
4699         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4700         assuming the lowest-addressed segment maps the start of the file.
4701
4702 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
4703
4704         * INSTALL: Regenerated.
4705
4706 2014-03-13  Will Newton  <will.newton@linaro.org>
4707
4708         * manual/setjmp.texi (System V contexts): Improve
4709         clarity and grammar of documentation.
4710
4711 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
4712
4713         [BZ #16381]
4714         * elf/Makefile (tests): Add tst-pie2.
4715         (tests-pie): Add tst-pie2.
4716         * elf/tst-pie2.c: New file.
4717         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4718         for ET_EXEC.
4719         * elf/rtld.c (map_doit): Load executable as lt_executable.
4720         (dl_main): Likewise.
4721
4722 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
4723
4724         [BZ #16642]
4725         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4726         (__ASSUME_PSELECT): Undefine.
4727
4728 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4729
4730         [BZ #16689]
4731         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4732         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4733         static build.
4734         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4735         selector for static builds.
4736
4737 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4738
4739         [BZ #16695]
4740         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4741         key in the buffer.
4742
4743 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4744
4745         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4746         IFUNC selector for static builds.
4747
4748 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
4749
4750         * sysdeps/mips/math_private.h [__mips_hard_float]
4751         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4752         libc_feresetround_mips_ctx.
4753         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4754         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4755         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4756
4757         [BZ #16677]
4758         * math/s_nextafter.c (__nextafter): Do not return value from
4759         overflowing computation.
4760         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4761         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4762         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4763         Likewise.
4764         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4765         Likewise.
4766         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4767         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4768
4769 2014-03-11  Roland McGrath  <roland@hack.frob.com>
4770
4771         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4772         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4773         Move sfi_sp use from the load-multiple (that no longer sets sp) to
4774         the new mov targetting sp.
4775
4776 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4777
4778         [BZ #16683]
4779         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4780         Define it for static builds as well.
4781         (NO_BZERO_IMPL): Likewise.
4782
4783 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4784
4785         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4786         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4787         multiarch strspn for PPC64.
4788         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4789         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4791         (__libc_ifunc_impl_list): Likewise.
4792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4793         multiarch optimizations
4794         * string/strspn.c (strspn): Using macro to redefine symbol name.
4795
4796 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4797             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4798
4799         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4800         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4801         multiarch strncat for PPC64.
4802         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4803         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4805         (__libc_ifunc_impl_list): Likewise.
4806         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4807         multiarch optimizations
4808
4809 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4810
4811         [BZ #16639]
4812         * nscd/nscd.service: Make service type forking.
4813
4814 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4815
4816         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4817         sign in non default rounding modes.
4818         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4819
4820 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
4821
4822         * math/libm-test.inc (ALL_RM_TEST): New macro.
4823         (ceil_test): Use ALL_RM_TEST.
4824         (cimag_test): Likewise.
4825         (conj_test): Likewise.
4826         (copysign_test): Likewise.
4827         (cproj_test): Likewise.
4828         (creal_test): Likewise.
4829         (fabs_test): Likewise.
4830         (floor_test): Likewise.
4831         (fmax_test): Likewise.
4832         (fmin_test): Likewise.
4833         (fmod_test): Likewise.
4834         (fpclassify_test): Likewise.
4835         (frexp_test): Likewise.
4836         (ilogb_test): Likewise.
4837         (isfinite_test): Likewise.
4838         (finite_test): Likewise.
4839         (isgreater_test): Likewise.
4840         (isgreaterequal_test): Likewise.
4841         (isinf_test): Likewise.
4842         (isless_test): Likewise.
4843         (islessequal_test): Likewise.
4844         (islessgreater_test): Likewise.
4845         (isnan_test): Likewise.
4846         (isnormal_test): Likewise.
4847         (issignaling_test): Likewise.
4848         (isunordered_test): Likewise.
4849         (logb_test): Likewise.
4850         (logb_downward_test_data): Remove.
4851         (logb_test_downward): Likewise.
4852         (lround_test): Use ALL_RM_TEST.
4853         (llround_test): Likewise.
4854         (modf_test): Likewise.
4855         (nexttoward_test): Likewise.
4856         (remainder_test): Likewise.
4857         (drem_test): Likewise.
4858         (remainder_tonearest_test_data): Likewise.
4859         (remainder_test_tonearest): Likewise.
4860         (drem_test_tonearest): Likewise.
4861         (remainder_towardzero_test_data): Likewise.
4862         (remainder_test_towardzero): Likewise.
4863         (drem_test_towardzero): Likewise.
4864         (remainder_downward_test_data): Likewise.
4865         (remainder_test_downward): Likewise.
4866         (drem_test_downward): Likewise.
4867         (remainder_upward_test_data): Likewise.
4868         (remainder_test_upward): Likewise.
4869         (drem_test_upward): Likewise.
4870         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
4871         (round_test): Use ALL_RM_TEST.
4872         (signbit_test): Likewise.
4873         (trunc_test): Likewise.
4874         (significand_test): Likewise.
4875         (main): Don't call removed functions.
4876
4877 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4878
4879         [BZ #16674]
4880         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4881         || __USE_XOPEN2K8].
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         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4903         (TRAP_TRACE): Likewise.
4904         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4905         __USE_XOPEN2K8].
4906         (CLD_KILLED): Likewise.
4907         (CLD_DUMPED): Likewise.
4908         (CLD_TRAPPED): Likewise.
4909         (CLD_STOPPED): Likewise.
4910         (CLD_CONTINUED): Likewise.
4911         (POLL_IN): Likewise.
4912         (POLL_OUT): Likewise.
4913         (POLL_MSG): Likewise.
4914         (POLL_ERR): Likewise.
4915         (POLL_PRI): Likewise.
4916         (POLL_HUP): Likewise.
4917         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4918         Likewise.
4919         (ILL_ILLOPN): Likewise.
4920         (ILL_ILLADR): Likewise.
4921         (ILL_ILLTRP): Likewise.
4922         (ILL_PRVOPC): Likewise.
4923         (ILL_PRVREG): Likewise.
4924         (ILL_COPROC): Likewise.
4925         (ILL_BADSTK): Likewise.
4926         (FPE_INTDIV): Likewise.
4927         (FPE_INTOVF): Likewise.
4928         (FPE_FLTDIV): Likewise.
4929         (FPE_FLTOVF): Likewise.
4930         (FPE_FLTUND): Likewise.
4931         (FPE_FLTRES): Likewise.
4932         (FPE_FLTINV): Likewise.
4933         (FPE_FLTSUB): Likewise.
4934         (SEGV_MAPERR): Likewise.
4935         (SEGV_ACCERR): Likewise.
4936         (BUS_ADRALN): Likewise.
4937         (BUS_ADRERR): Likewise.
4938         (BUS_OBJERR): Likewise.
4939         (BUS_MCEERR_AR): Likewise.
4940         (BUS_MCEERR_AO): Likewise.
4941         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4942         (TRAP_TRACE): Likewise.
4943         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4944         __USE_XOPEN2K8].
4945         (CLD_KILLED): Likewise.
4946         (CLD_DUMPED): Likewise.
4947         (CLD_TRAPPED): Likewise.
4948         (CLD_STOPPED): Likewise.
4949         (CLD_CONTINUED): Likewise.
4950         (POLL_IN): Likewise.
4951         (POLL_OUT): Likewise.
4952         (POLL_MSG): Likewise.
4953         (POLL_ERR): Likewise.
4954         (POLL_PRI): Likewise.
4955         (POLL_HUP): Likewise.
4956         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4957         (ILL_ILLOPN): Likewise.
4958         (ILL_ILLADR): Likewise.
4959         (ILL_ILLTRP): Likewise.
4960         (ILL_PRVOPC): Likewise.
4961         (ILL_PRVREG): Likewise.
4962         (ILL_COPROC): Likewise.
4963         (ILL_BADSTK): Likewise.
4964         (FPE_INTDIV): Likewise.
4965         (FPE_INTOVF): Likewise.
4966         (FPE_FLTDIV): Likewise.
4967         (FPE_FLTOVF): Likewise.
4968         (FPE_FLTUND): Likewise.
4969         (FPE_FLTRES): Likewise.
4970         (FPE_FLTINV): Likewise.
4971         (FPE_FLTSUB): Likewise.
4972         (SEGV_MAPERR): Likewise.
4973         (SEGV_ACCERR): Likewise.
4974         (BUS_ADRALN): Likewise.
4975         (BUS_ADRERR): Likewise.
4976         (BUS_OBJERR): Likewise.
4977         (BUS_MCEERR_AR): Likewise.
4978         (BUS_MCEERR_AO): Likewise.
4979         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4980         (TRAP_TRACE): Likewise.
4981         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4982         __USE_XOPEN2K8].
4983         (CLD_KILLED): Likewise.
4984         (CLD_DUMPED): Likewise.
4985         (CLD_TRAPPED): Likewise.
4986         (CLD_STOPPED): Likewise.
4987         (CLD_CONTINUED): Likewise.
4988         (POLL_IN): Likewise.
4989         (POLL_OUT): Likewise.
4990         (POLL_MSG): Likewise.
4991         (POLL_ERR): Likewise.
4992         (POLL_PRI): Likewise.
4993         (POLL_HUP): Likewise.
4994         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4995         Likewise.
4996         (ILL_ILLOPN): Likewise.
4997         (ILL_ILLADR): Likewise.
4998         (ILL_ILLTRP): Likewise.
4999         (ILL_PRVOPC): Likewise.
5000         (ILL_PRVREG): Likewise.
5001         (ILL_COPROC): Likewise.
5002         (ILL_BADSTK): Likewise.
5003         (ILL_BADIADDR): Likewise.
5004         (ILL_BREAK): Likewise.
5005         (FPE_INTDIV): Likewise.
5006         (FPE_INTOVF): Likewise.
5007         (FPE_FLTDIV): Likewise.
5008         (FPE_FLTOVF): Likewise.
5009         (FPE_FLTUND): Likewise.
5010         (FPE_FLTRES): Likewise.
5011         (FPE_FLTINV): Likewise.
5012         (FPE_FLTSUB): Likewise.
5013         (FPE_DECOVF): Likewise.
5014         (FPE_DECDIV): Likewise.
5015         (FPE_DECERR): Likewise.
5016         (FPE_INVASC): Likewise.
5017         (FPE_INVDEC): Likewise.
5018         (SEGV_MAPERR): Likewise.
5019         (SEGV_ACCERR): Likewise.
5020         (SEGV_PSTKOVF): Likewise.
5021         (BUS_ADRALN): Likewise.
5022         (BUS_ADRERR): Likewise.
5023         (BUS_OBJERR): Likewise.
5024         (BUS_MCEERR_AR): Likewise.
5025         (BUS_MCEERR_AO): Likewise.
5026         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5027         (TRAP_TRACE): Likewise.
5028         (TRAP_BRANCH): Likewise.
5029         (TRAP_HWBKPT): Likewise.
5030         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5031         __USE_XOPEN2K8].
5032         (CLD_KILLED): Likewise.
5033         (CLD_DUMPED): Likewise.
5034         (CLD_TRAPPED): Likewise.
5035         (CLD_STOPPED): Likewise.
5036         (CLD_CONTINUED): Likewise.
5037         (POLL_IN): Likewise.
5038         (POLL_OUT): Likewise.
5039         (POLL_MSG): Likewise.
5040         (POLL_ERR): Likewise.
5041         (POLL_PRI): Likewise.
5042         (POLL_HUP): Likewise.
5043         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5044         (ILL_ILLOPN): Likewise.
5045         (ILL_ILLADR): Likewise.
5046         (ILL_ILLTRP): Likewise.
5047         (ILL_PRVOPC): Likewise.
5048         (ILL_PRVREG): Likewise.
5049         (ILL_COPROC): Likewise.
5050         (ILL_BADSTK): Likewise.
5051         (FPE_INTDIV): Likewise.
5052         (FPE_INTOVF): Likewise.
5053         (FPE_FLTDIV): Likewise.
5054         (FPE_FLTOVF): Likewise.
5055         (FPE_FLTUND): Likewise.
5056         (FPE_FLTRES): Likewise.
5057         (FPE_FLTINV): Likewise.
5058         (FPE_FLTSUB): Likewise.
5059         (SEGV_MAPERR): Likewise.
5060         (SEGV_ACCERR): Likewise.
5061         (BUS_ADRALN): Likewise.
5062         (BUS_ADRERR): Likewise.
5063         (BUS_OBJERR): Likewise.
5064         (BUS_MCEERR_AR): Likewise.
5065         (BUS_MCEERR_AO): Likewise.
5066         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5067         (TRAP_TRACE): Likewise.
5068         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5069         __USE_XOPEN2K8].
5070         (CLD_KILLED): Likewise.
5071         (CLD_DUMPED): Likewise.
5072         (CLD_TRAPPED): Likewise.
5073         (CLD_STOPPED): Likewise.
5074         (CLD_CONTINUED): Likewise.
5075         (POLL_IN): Likewise.
5076         (POLL_OUT): Likewise.
5077         (POLL_MSG): Likewise.
5078         (POLL_ERR): Likewise.
5079         (POLL_PRI): Likewise.
5080         (POLL_HUP): Likewise.
5081         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5082         (ILL_ILLOPN): Likewise.
5083         (ILL_ILLADR): Likewise.
5084         (ILL_ILLTRP): Likewise.
5085         (ILL_PRVOPC): Likewise.
5086         (ILL_PRVREG): Likewise.
5087         (ILL_COPROC): Likewise.
5088         (ILL_BADSTK): Likewise.
5089         (FPE_INTDIV): Likewise.
5090         (FPE_INTOVF): Likewise.
5091         (FPE_FLTDIV): Likewise.
5092         (FPE_FLTOVF): Likewise.
5093         (FPE_FLTUND): Likewise.
5094         (FPE_FLTRES): Likewise.
5095         (FPE_FLTINV): Likewise.
5096         (FPE_FLTSUB): Likewise.
5097         (SEGV_MAPERR): Likewise.
5098         (SEGV_ACCERR): Likewise.
5099         (BUS_ADRALN): Likewise.
5100         (BUS_ADRERR): Likewise.
5101         (BUS_OBJERR): Likewise.
5102         (BUS_MCEERR_AR): Likewise.
5103         (BUS_MCEERR_AO): Likewise.
5104         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5105         (TRAP_TRACE): Likewise.
5106         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5107         __USE_XOPEN2K8].
5108         (CLD_KILLED): Likewise.
5109         (CLD_DUMPED): Likewise.
5110         (CLD_TRAPPED): Likewise.
5111         (CLD_STOPPED): Likewise.
5112         (CLD_CONTINUED): Likewise.
5113         (POLL_IN): Likewise.
5114         (POLL_OUT): Likewise.
5115         (POLL_MSG): Likewise.
5116         (POLL_ERR): Likewise.
5117         (POLL_PRI): Likewise.
5118         (POLL_HUP): Likewise.
5119         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5120         (ILL_ILLOPN): Likewise.
5121         (ILL_ILLADR): Likewise.
5122         (ILL_ILLTRP): Likewise.
5123         (ILL_PRVOPC): Likewise.
5124         (ILL_PRVREG): Likewise.
5125         (ILL_COPROC): Likewise.
5126         (ILL_BADSTK): Likewise.
5127         (FPE_INTDIV): Likewise.
5128         (FPE_INTOVF): Likewise.
5129         (FPE_FLTDIV): Likewise.
5130         (FPE_FLTOVF): Likewise.
5131         (FPE_FLTUND): Likewise.
5132         (FPE_FLTRES): Likewise.
5133         (FPE_FLTINV): Likewise.
5134         (FPE_FLTSUB): Likewise.
5135         (SEGV_MAPERR): Likewise.
5136         (SEGV_ACCERR): Likewise.
5137         (BUS_ADRALN): Likewise.
5138         (BUS_ADRERR): Likewise.
5139         (BUS_OBJERR): Likewise.
5140         (BUS_MCEERR_AR): Likewise.
5141         (BUS_MCEERR_AO): Likewise.
5142         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5143         (TRAP_TRACE): Likewise.
5144         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5145         __USE_XOPEN2K8].
5146         (CLD_KILLED): Likewise.
5147         (CLD_DUMPED): Likewise.
5148         (CLD_TRAPPED): Likewise.
5149         (CLD_STOPPED): Likewise.
5150         (CLD_CONTINUED): Likewise.
5151         (POLL_IN): Likewise.
5152         (POLL_OUT): Likewise.
5153         (POLL_MSG): Likewise.
5154         (POLL_ERR): Likewise.
5155         (POLL_PRI): Likewise.
5156         (POLL_HUP): Likewise.
5157         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5158         (ILL_ILLOPN): Likewise.
5159         (ILL_ILLADR): Likewise.
5160         (ILL_ILLTRP): Likewise.
5161         (ILL_PRVOPC): Likewise.
5162         (ILL_PRVREG): Likewise.
5163         (ILL_COPROC): Likewise.
5164         (ILL_BADSTK): Likewise.
5165         (ILL_DBLFLT): Likewise.
5166         (ILL_HARDWALL): Likewise.
5167         (FPE_INTDIV): Likewise.
5168         (FPE_INTOVF): Likewise.
5169         (FPE_FLTDIV): Likewise.
5170         (FPE_FLTOVF): Likewise.
5171         (FPE_FLTUND): Likewise.
5172         (FPE_FLTRES): Likewise.
5173         (FPE_FLTINV): Likewise.
5174         (FPE_FLTSUB): Likewise.
5175         (SEGV_MAPERR): Likewise.
5176         (SEGV_ACCERR): Likewise.
5177         (BUS_ADRALN): Likewise.
5178         (BUS_ADRERR): Likewise.
5179         (BUS_OBJERR): Likewise.
5180         (BUS_MCEERR_AR): Likewise.
5181         (BUS_MCEERR_AO): Likewise.
5182         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5183         (TRAP_TRACE): Likewise.
5184         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5185         __USE_XOPEN2K8].
5186         (CLD_KILLED): Likewise.
5187         (CLD_DUMPED): Likewise.
5188         (CLD_TRAPPED): Likewise.
5189         (CLD_STOPPED): Likewise.
5190         (CLD_CONTINUED): Likewise.
5191         (POLL_IN): Likewise.
5192         (POLL_OUT): Likewise.
5193         (POLL_MSG): Likewise.
5194         (POLL_ERR): Likewise.
5195         (POLL_PRI): Likewise.
5196         (POLL_HUP): Likewise.
5197         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5198         (ILL_ILLOPN): Likewise.
5199         (ILL_ILLADR): Likewise.
5200         (ILL_ILLTRP): Likewise.
5201         (ILL_PRVOPC): Likewise.
5202         (ILL_PRVREG): Likewise.
5203         (ILL_COPROC): Likewise.
5204         (ILL_BADSTK): Likewise.
5205         (FPE_INTDIV): Likewise.
5206         (FPE_INTOVF): Likewise.
5207         (FPE_FLTDIV): Likewise.
5208         (FPE_FLTOVF): Likewise.
5209         (FPE_FLTUND): Likewise.
5210         (FPE_FLTRES): Likewise.
5211         (FPE_FLTINV): Likewise.
5212         (FPE_FLTSUB): Likewise.
5213         (SEGV_MAPERR): Likewise.
5214         (SEGV_ACCERR): Likewise.
5215         (BUS_ADRALN): Likewise.
5216         (BUS_ADRERR): Likewise.
5217         (BUS_OBJERR): Likewise.
5218         (BUS_MCEERR_AR): Likewise.
5219         (BUS_MCEERR_AO): Likewise.
5220         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5221         (TRAP_TRACE): Likewise.
5222         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5223         __USE_XOPEN2K8].
5224         (CLD_KILLED): Likewise.
5225         (CLD_DUMPED): Likewise.
5226         (CLD_TRAPPED): Likewise.
5227         (CLD_STOPPED): Likewise.
5228         (CLD_CONTINUED): Likewise.
5229         (POLL_IN): Likewise.
5230         (POLL_OUT): Likewise.
5231         (POLL_MSG): Likewise.
5232         (POLL_ERR): Likewise.
5233         (POLL_PRI): Likewise.
5234         (POLL_HUP): Likewise.
5235         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5236         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5237
5238         [BZ #16670]
5239         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5240         before #include of <time.h>.
5241         [!__USE_XOPEN2K] (__need_timespec): Likewise.
5242         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5243         (test-xfail-UNIX98/sched.h/conform): Likewise.
5244
5245 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5246
5247         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5248         error absence of trapping exception support.
5249         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5250
5251 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5252
5253         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5254         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5255         * timezone/Makefile (testdata): Move definition above include of
5256         Rules.
5257         (test-zones): New variable.
5258         (tests-special): Add zone files.
5259         (build-testdata): Use $(evaluate-test).
5260
5261         * elf/Makefile (tests-special): Rename tests to end with .out.
5262         ($(objpfx)noload-mem): Likewise.
5263         ($(objpfx)tst-leaks1-mem): Likewise.
5264         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5265         * iconv/Makefile (xtests-special): Change test-iconvconfig to
5266         $(objpfx)test-iconvconfig.out.
5267         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
5268         set -e inside subshell and redirect output to file.
5269         * iconvdata/Makefile (generated): Rename tests to end with .out.
5270         Correct type.
5271         (tests-special): Rename tests to end with .out.
5272         ($(objpfx)mtrace-tst-loading): Likewise.
5273         * intl/Makefile (generated): Likewise.
5274         (tests-special): Likewise.
5275         ($(objpfx)mtrace-tst-gettext): Likewise.
5276         * misc/Makefile (generated): Likewise.
5277         (tests-special): Likewise.
5278         ($(objpfx)tst-error1-mem): Likewise.
5279         * nptl/Makefile (tests-special): Likewise.
5280         ($(objpfx)tst-stack3-mem): Likewise.
5281         (generated): Likewise.
5282         * posix/Makefile (generated): Likewise.
5283         (tests-special): Likewise.
5284         (xtests-special): Likewise.
5285         ($(objpfx)tst-fnmatch-mem): Likewise.
5286         ($(objpfx)bug-regex2-mem): Likewise.
5287         ($(objpfx)bug-regex14-mem): Likewise.
5288         ($(objpfx)bug-regex21-mem): Likewise.
5289         ($(objpfx)bug-regex31-mem): Likewise.
5290         ($(objpfx)tst-vfork3-mem): Likewise.
5291         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5292         ($(objpfx)tst-pcre-mem): Likewise.
5293         ($(objpfx)tst-boost-mem): Likewise.
5294         ($(objpfx)bug-ga2-mem): Likewise.
5295         ($(objpfx)bug-glob2-mem): Likewise.
5296         * resolv/Makefile (generate): Likewise.
5297         (tests-special): Likewise.
5298         (xtests-special): Likewise.
5299         (generated): Likewise.
5300         ($(objpfx)mtrace-tst-leaks): Likewise.
5301         ($(objpfx)mtrace-tst-leaks2): Likewise.
5302
5303         * scripts/merge-test-results.sh: New file.
5304         * Makefile (tests-special-notdir): New variable.
5305         (tests): Run merge-test-results.sh.
5306         (xtests): Likewise.
5307         * Rules (tests-special-notdir): New variable.
5308         (xtests-special-notdir): Likewise.
5309         (tests): Run merge-test-results.sh
5310         (xtests): Likewise.
5311
5312         * Makeconfig (test-xfail-name): New variable.
5313         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5314         compute variable name for expected failures.
5315         * conform/Makefile (conformtest-headers-data): New variable.
5316         (conformtest-standards): Likewise.
5317         (conformtest-headers-ISO): Likewise.
5318         (conformtest-headers-ISO99): Likewise.
5319         (conformtest-headers-ISO11): Likewise.
5320         (conformtest-headers-POSIX): Likewise.
5321         (conformtest-headers-XPG3): Likewise.
5322         (conformtest-headers-XPG4): Likewise.
5323         (conformtest-headers-UNIX98): Likewise.
5324         (conformtest-headers-XOPEN2K): Likewise.
5325         (conformtest-headers-POSIX2008): Likewise.
5326         (conformtest-headers-XOPEN2K8): Likewise.
5327         (conformtest-header-list-base): Likewise.
5328         (conformtest-header-list-tests): Likewise.
5329         (conformtest-header-base): Likewise.
5330         (conformtest-header-tests): Likewise.
5331         (tests-special): Add $(conformtest-header-list-tests).  If
5332         [$(fast-check) && !$(cross-compiling)], add
5333         $(conformtest-header-tests) instead of
5334         $(objpfx)run-conformtest.out.
5335         (generated): Add $(conformtest-header-list-base).  If
5336         [$(fast-check) && !$(cross-compiling)], add
5337         $(conformtest-header-base).  Remove previous setting.
5338         ($(conformtest-header-list-tests)): New target.
5339         (test-xfail-run-conformtest): Remove variable.
5340         ($(objpfx)run-conformtest.out): Remove target.
5341         (test-xfail-ISO11/complex.h/conform): New variable.
5342         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5343         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5344         (test-xfail-XPG3/varargs.h/conform): Likewise.
5345         (test-xfail-XPG4/varargs.h/conform): Likewise.
5346         (test-xfail-UNIX98/varargs.h/conform): Likewise.
5347         (test-xfail-XPG4/ndbm.h/conform): Likewise.
5348         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5349         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5350         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5351         (test-xfail-XPG3/fcntl.h/conform): Likewise.
5352         (test-xfail-XPG3/ftw.h/conform): Likewise.
5353         (test-xfail-XPG3/grp.h/conform): Likewise.
5354         (test-xfail-XPG3/langinfo.h/conform): Likewise.
5355         (test-xfail-XPG3/limits.h/conform): Likewise.
5356         (test-xfail-XPG3/pwd.h/conform): Likewise.
5357         (test-xfail-XPG3/search.h/conform): Likewise.
5358         (test-xfail-XPG3/signal.h/conform): Likewise.
5359         (test-xfail-XPG3/stdio.h/conform): Likewise.
5360         (test-xfail-XPG3/stdlib.h/conform): Likewise.
5361         (test-xfail-XPG3/string.h/conform): Likewise.
5362         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5363         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5364         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5365         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5366         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5367         (test-xfail-XPG3/sys/types.h/conform): Likewise.
5368         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5369         (test-xfail-XPG3/termios.h/conform): Likewise.
5370         (test-xfail-XPG3/time.h/conform): Likewise.
5371         (test-xfail-XPG3/unistd.h/conform): Likewise.
5372         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5373         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5374         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5375         (test-xfail-XPG4/netdb.h/conform): Likewise.
5376         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5377         (test-xfail-XPG4/signal.h/conform): Likewise.
5378         (test-xfail-XPG4/stdio.h/conform): Likewise.
5379         (test-xfail-XPG4/stdlib.h/conform): Likewise.
5380         (test-xfail-XPG4/stropts.h/conform): Likewise.
5381         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5382         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5383         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5384         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5385         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5386         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5387         (test-xfail-XPG4/sys/time.h/conform): Likewise.
5388         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5389         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5390         (test-xfail-XPG4/termios.h/conform): Likewise.
5391         (test-xfail-XPG4/ucontext.h/conform): Likewise.
5392         (test-xfail-XPG4/unistd.h/conform): Likewise.
5393         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5394         (test-xfail-POSIX/sched.h/conform): Likewise.
5395         (test-xfail-POSIX/signal.h/conform): Likewise.
5396         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5397         (test-xfail-POSIX/tar.h/conform): Likewise.
5398         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5399         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5400         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5401         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5402         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5403         (test-xfail-UNIX98/sched.h/conform): Likewise.
5404         (test-xfail-UNIX98/signal.h/conform): Likewise.
5405         (test-xfail-UNIX98/stdio.h/conform): Likewise.
5406         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5407         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5408         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5409         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5410         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5411         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5412         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5413         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5414         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5415         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5416         (test-xfail-UNIX98/unistd.h/conform): Likewise.
5417         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5418         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5419         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5420         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5421         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5422         (test-xfail-XOPEN2K/math.h/conform): Likewise.
5423         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5424         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5425         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5426         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5427         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5428         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5429         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5430         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5431         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5432         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5433         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5434         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5435         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5436         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5437         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5438         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5439         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5440         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5441         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5442         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5443         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5444         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5445         (test-xfail-POSIX2008/signal.h/conform): Likewise.
5446         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5447         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5448         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5449         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5450         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5451         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5452         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5453         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5454         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5455         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5456         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5457         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5458         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5459         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5460         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5461         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5462         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5463         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5464         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5465         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5466         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5467         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5468         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5469         (conformtest-cc-flags): Likewise.
5470         ($(conformtest-header-tests): New target.
5471         * conform/check-header-lists.sh: New file.
5472         * conform/run-conformtest.sh: Remove.
5473
5474         * conform/conformtest.pl: Allow ' and \ in values given for
5475         constants.
5476         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5477         inclusion.
5478         [POSIX] (sys/types.h): Likewise.
5479         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5480         inclusion.
5481         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5482         inclusion.
5483         * conform/data/signal.h-data (SIGIO): Remove expectation.
5484         [XPG3] (SIGBUS): Do not expect.
5485         [POSIX || XPG3] (SIGPOLL): Likewise.
5486         [POSIX || XPG3] (SIGPROF): Likewise.
5487         [POSIX || XPG3] (SIGSYS): Likewise.
5488         [XPG3] (SIGTRAP): Likewise.
5489         [POSIX || XPG3] (SIGURG): Likewise.
5490         [POSIX || XPG3] (SIGVTALRM): Likewise.
5491         [POSIX || XPG3] (SIGXCPU): Likewise.
5492         [POSIX || XPG3] (SIGXFSZ): Likewise.
5493         [POSIX] (SA_SIGINFO): Expect.
5494         [XPG3] (siginfo_t): Do not expect type or contents.
5495         [POSIX] (si_pid): Do not expect element.
5496         [POSIX] (si_uid): Likewise.
5497         [POSIX] (si_addr): Likewise.
5498         [POSIX] (si_status): Likewise.
5499         [POSIX] (si_band): Likewise.
5500         [XPG4] (si_value): Likewise.
5501         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5502         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5503         [POSIX || XPG3] (ILL_ILLADR): Likewise.
5504         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5505         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5506         [POSIX || XPG3] (ILL_PRVREG): Likewise.
5507         [POSIX || XPG3] (ILL_COPROC): Likewise.
5508         [POSIX || XPG3] (ILL_BADSTK): Likewise.
5509         [POSIX || XPG3] (FPE_INTDIV): Likewise.
5510         [POSIX || XPG3] (FPE_INTOVF): Likewise.
5511         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5512         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5513         [POSIX || XPG3] (FPE_FLTUND): Likewise.
5514         [POSIX || XPG3] (FPE_FLTRES): Likewise.
5515         [POSIX || XPG3] (FPE_FLTINV): Likewise.
5516         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5517         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5518         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5519         [POSIX || XPG3] (BUS_ADRALN): Likewise.
5520         [POSIX || XPG3] (BUS_ADRERR): Likewise.
5521         [POSIX || XPG3] (BUS_OBJERR): Likewise.
5522         [POSIX || XPG3] (CLD_EXITED): Likewise.
5523         [POSIX || XPG3] (CLD_KILLED): Likewise.
5524         [POSIX || XPG3] (CLD_DUMPED): Likewise.
5525         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5526         [POSIX || XPG3] (CLD_STOPPED): Likewise.
5527         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5528         [POSIX || XPG3] (POLL_IN): Likewise.
5529         [POSIX || XPG3] (POLL_OUT): Likewise.
5530         [POSIX || XPG3] (POLL_MSG): Likewise.
5531         [POSIX || XPG3] (POLL_ERR): Likewise.
5532         [POSIX || XPG3] (POLL_PRI): Likewise.
5533         [POSIX || XPG3] (POLL_HUP): Likewise.
5534         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5535         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5536         (SIG*): Do not allow.
5537         [XPG3] (si_*): Likewise.
5538         [XPG3] (SI_*): Likewise.
5539         [XPG3 || XPG4] (sigev_*): Likewise.
5540         [XPG3 || XPG4] (SIGEV_*): Likewise.
5541         [XPG3 || XPG4] (sival_*): Likewise.
5542         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5543         [POSIX || XPG3] (BUS_*): Likewise.
5544         [POSIX || XPG3] (CLD_*): Likewise.
5545         [POSIX || XPG3] (FPE_*): Likewise.
5546         [POSIX || XPG3] (ILL_*): Likewise.
5547         [POSIX || XPG3] (POLL_*): Likewise.
5548         [POSIX || XPG3] (SEGV_*): Likewise.
5549         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5550         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5551         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5552         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5553         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5554         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5555         Specify type and value.
5556         (TVERSLEN): Likewise.
5557         (REGTYPE): Likewise.
5558         (AREGTYPE): Likewise.
5559         (LNKTYPE): Likewise.
5560         (SYMTYPE): Likewise.
5561         (CHRTYPE): Likewise.
5562         (BLKTYPE): Likewise.
5563         (DIRTYPE): Likewise.
5564         (FIFOTYPE): Likewise.
5565         (CONTTYPE): Likewise.
5566         (TSUID): Likewise.
5567         (TSGID): Likewise.
5568         (TSVTX): Likewise.
5569         (TUREAD): Likewise.
5570         (TUWRITE): Likewise.
5571         (TUEXEC): Likewise.
5572         (TGREAD): Likewise.
5573         (TGWRITE): Likewise.
5574         (TGEXEC): Likewise.
5575         (TOREAD): Likewise.
5576         (TOWRITE): Likewise.
5577         (TOEXEC): Likewise.
5578         [POSIX] (TSVTX): Expect constant.
5579
5580 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
5581
5582         * Makefile (tests): Change dependencies to ....
5583         (tests-special): ... additions to this variable.
5584         (tests): Depend on $(tests-special).
5585         * Makerules (check-abi-list): New variable.
5586         (check-abi): Depend on $(check-abi-list).
5587         [$(subdir) = elf] (tests-special): Add
5588         $(objpfx)check-abi-libc.out.
5589         [$(build-shared) = yes && subdir] (tests-special): Add
5590         $(check-abi-list).
5591         [$(build-shared) = yes && subdir] (tests): Do not depend on
5592         check-abi.
5593         * Rules (tests): Depend on $(tests-special).
5594         (xtests): Depend on $(xtests-special).
5595         * catgets/Makefile (tests): Change dependencies to ....
5596         (tests-special): ... additions to this variable.
5597         * conform/Makefile (tests): Change dependencies to ....
5598         (tests-special): ... additions to this variable.
5599         * elf/Makefile (tests): Change dependencies to ....
5600         (tests-special): ... additions to this variable.
5601         * grp/Makefile (tests): Change dependencies to ....
5602         (tests-special): ... additions to this variable.
5603         * iconv/Makefile (xtests): Change dependencies to ....
5604         (xtests-special): ... additions to this variable.
5605         * iconvdata/Makefile (tests): Change dependencies to ....
5606         (tests-special): ... additions to this variable.
5607         * intl/Makefile (tests): Change dependencies to ....
5608         (tests-special): ... additions to this variable.  Also add
5609         $(objpfx)tst-gettext.out.
5610         * io/Makefile (tests): Change dependencies to ....
5611         (tests-special): ... additions to this variable.
5612         * libio/Makefile (tests): Change dependencies to ....
5613         (tests-special): ... additions to this variable.
5614         * malloc/Makefile (tests): Change dependencies to ....
5615         (tests-special): ... additions to this variable.
5616         * misc/Makefile (tests): Change dependencies to ....
5617         (tests-special): ... additions to this variable.
5618         * nptl/Makefile (tests): Change dependencies to ....
5619         (tests-special): ... additions to this variable.
5620         * nptl_db/Makefile (tests): Change dependencies to ....
5621         (tests-special): ... additions to this variable.
5622         * posix/Makefile (tests): Change dependencies to ....
5623         (tests-special): ... additions to this variable.
5624         (xtests): Change dependencies to ....
5625         (xtests-special): ... additions to this variable.
5626         * resolv/Makefile (tests): Change dependencies to ....
5627         (tests-special): ... additions to this variable.
5628         (xtests): Change dependencies to ....
5629         (xtests-special): ... additions to this variable.
5630         * stdio-common/Makefile (tests): Change dependencies to ....
5631         (tests-special): ... additions to this variable.
5632         (do-tst-unbputc): Remove target.
5633         (do-tst-printf): Likewise.
5634         * stdlib/Makefile (tests): Change dependencies to ....
5635         (tests-special): ... additions to this variable.
5636         * string/Makefile (tests): Change dependencies to ....
5637         (tests-special): ... additions to this variable.
5638         * sysdeps/x86/Makefile (tests): Change dependencies to ....
5639         (tests-special): ... additions to this variable.
5640
5641         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5642         whole file.
5643         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5644         whole file.
5645         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5646         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5647
5648         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5649         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5650         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5651         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5652         * conform/data/libgen.h-data [XPG3]: Likewise.
5653         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5654         * conform/data/ndbm.h-data [XPG3]: Likewise.
5655         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5656         * conform/data/netdb.h-data [XPG3]: Likewise.
5657         * conform/data/netinet/in.h-data [XPG3]: Likewise.
5658         * conform/data/poll.h-data [XPG3]: Likewise.
5659         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5660         * conform/data/strings.h-data [XPG3]: Likewise.
5661         * conform/data/stropts.h-data [XPG3]: Likewise.
5662         * conform/data/sys/mman.h-data [XPG3]: Likewise.
5663         * conform/data/sys/resource.h-data [XPG3]: Likewise.
5664         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5665         Likewise.
5666         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5667         * conform/data/sys/time.h-data [XPG3]: Likewise.
5668         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5669         * conform/data/sys/uio.h-data [XPG3]: Likewise.
5670         * conform/data/sys/un.h-data [XPG3]: Likewise.
5671         * conform/data/syslog.h-data [XPG3]: Likewise.
5672         * conform/data/ucontext.h-data [XPG3]: Likewise.
5673         * conform/data/utmpx.h-data [XPG3]: Likewise.
5674         * conform/data/varargs.h-data [UNIX98]: Enable file.
5675
5676         * manual/Makefile (INSTALL_INFO): Remove variable setting.
5677
5678         * math/libm-test.inc (struct test_f_f_data): Move expected results
5679         into structure for each rounding mode.
5680         (struct test_ff_f_data): Likewise.
5681         (struct test_ff_f_data_nexttoward): Likewise.
5682         (struct test_fi_f_data): Likewise.
5683         (struct test_fl_f_data): Likewise.
5684         (struct test_if_f_data): Likewise.
5685         (struct test_fff_f_data): Likewise.
5686         (struct test_c_f_data): Likewise.
5687         (struct test_f_f1_data): Likewise.
5688         (struct test_fF_f1_data): Likewise.
5689         (struct test_ffI_f1_data): Likewise.
5690         (struct test_c_c_data): Likewise.
5691         (struct test_cc_c_data): Likewise.
5692         (struct test_f_i_data): Likewise.
5693         (struct test_ff_i_data): Likewise.
5694         (struct test_f_l_data): Likewise.
5695         (struct test_f_L_data): Likewise.
5696         (struct test_fFF_11_data): Likewise.
5697         (RM_): New macro.
5698         (RM_FE_DOWNWARD): Likewise.
5699         (RM_FE_TONEAREST): Likewise.
5700         (RM_FE_TOWARDZERO): Likewise.
5701         (RM_FE_UPWARD): Likewise.
5702         (RUN_TEST_LOOP_f_f): Update references to expected results.
5703         (RUN_TEST_LOOP_2_f): Likewise.
5704         (RUN_TEST_LOOP_fff_f): Likewise.
5705         (RUN_TEST_LOOP_c_f): Likewise.
5706         (RUN_TEST_LOOP_f_f1): Likewise.
5707         (RUN_TEST_LOOP_fF_f1): Likewise.
5708         (RUN_TEST_LOOP_fI_f1): Likewise.
5709         (RUN_TEST_LOOP_ffI_f1): Likewise.
5710         (RUN_TEST_LOOP_c_c): Likewise.
5711         (RUN_TEST_LOOP_cc_c): Likewise.
5712         (RUN_TEST_LOOP_f_i): Likewise.
5713         (RUN_TEST_LOOP_f_i_tg): Likewise.
5714         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5715         (RUN_TEST_LOOP_f_b): Likewise.
5716         (RUN_TEST_LOOP_f_b_tg): Likewise.
5717         (RUN_TEST_LOOP_f_l): Likewise.
5718         (RUN_TEST_LOOP_f_L): Likewise.
5719         (RUN_TEST_LOOP_fFF_11): Likewise.
5720         * math/gen-libm-test.pl (parse_args): Output four copies of
5721         expected results for each test.
5722
5723         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5724         (__ASSUME_UTIMES): Remove.
5725         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5726         (__ASSUME_UTIMES): Likewise.
5727
5728         * math/gen-auto-libm-tests.c: Update comment on output format.
5729         (output_for_one_input_case): Generate before-rounding and
5730         after-rounding information as conditions on output flags not
5731         floating-point format.
5732         * math/auto-libm-test-out: Regenerated.
5733         * math/gen-libm-test.pl (cond_value): New function.
5734         (or_cond_value): Use cond_value.
5735         (generate_testfile): Handle conditional exceptions.
5736
5737 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
5738
5739         * math/libm-test.inc (max_valid_error): New variable.
5740         (init_max_error): Take new argument specifying whether function
5741         results are exactly determined.  Set max_valid_error and bound
5742         other variables for errors based on this argument.
5743         (set_max_error): Do not record results above max_valid_error.
5744         (check_float_internal): Only accept errors of up to 0.5ulps if
5745         also at most max_valid_error.
5746         (START): Take new argument EXACT and pass it to init_max_error.
5747         (acos_test): Update call to START.
5748         (acos_test_tonearest): Likewise.
5749         (acos_test_towardzero): Likewise.
5750         (acos_test_downward): Likewise.
5751         (acos_test_upward): Likewise.
5752         (acosh_test): Likewise.
5753         (asin_test): Likewise.
5754         (asin_test_tonearest): Likewise.
5755         (asin_test_towardzero): Likewise.
5756         (asin_test_downward): Likewise.
5757         (asin_test_upward): Likewise.
5758         (asinh_test): Likewise.
5759         (atan_test): Likewise.
5760         (atanh_test): Likewise.
5761         (atan2_test): Likewise.
5762         (cabs_test): Likewise.
5763         (cacos_test): Likewise.
5764         (cacosh_test): Likewise.
5765         (carg_test): Likewise.
5766         (casin_test): Likewise.
5767         (casinh_test): Likewise.
5768         (catan_test): Likewise.
5769         (catanh_test): Likewise.
5770         (cbrt_test): Likewise.
5771         (ccos_test): Likewise.
5772         (ccosh_test): Likewise.
5773         (ceil_test): Likewise.
5774         (cexp_test): Likewise.
5775         (cimag_test): Likewise.
5776         (clog_test): Likewise.
5777         (clog10_test): Likewise.
5778         (conj_test): Likewise.
5779         (copysign_test): Likewise.
5780         (cos_test): Likewise.
5781         (cos_test_tonearest): Likewise.
5782         (cos_test_towardzero): Likewise.
5783         (cos_test_downward): Likewise.
5784         (cos_test_upward): Likewise.
5785         (cosh_test): Likewise.
5786         (cosh_test_tonearest): Likewise.
5787         (cosh_test_towardzero): Likewise.
5788         (cosh_test_downward): Likewise.
5789         (cosh_test_upward): Likewise.
5790         (cpow_test): Likewise.
5791         (cproj_test): Likewise.
5792         (creal_test): Likewise.
5793         (csin_test): Likewise.
5794         (csinh_test): Likewise.
5795         (csqrt_test): Likewise.
5796         (ctan_test): Likewise.
5797         (ctan_test_tonearest): Likewise.
5798         (ctan_test_towardzero): Likewise.
5799         (ctan_test_downward): Likewise.
5800         (ctan_test_upward): Likewise.
5801         (ctanh_test): Likewise.
5802         (ctanh_test_tonearest): Likewise.
5803         (ctanh_test_towardzero): Likewise.
5804         (ctanh_test_downward): Likewise.
5805         (ctanh_test_upward): Likewise.
5806         (erf_test): Likewise.
5807         (erfc_test): Likewise.
5808         (exp_test): Likewise.
5809         (exp_test_tonearest): Likewise.
5810         (exp_test_towardzero): Likewise.
5811         (exp_test_downward): Likewise.
5812         (exp_test_upward): Likewise.
5813         (exp10_test): Likewise.
5814         (exp10_test_tonearest): Likewise.
5815         (exp10_test_towardzero): Likewise.
5816         (exp10_test_downward): Likewise.
5817         (exp10_test_upward): Likewise.
5818         (pow10_test): Likewise.
5819         (exp2_test): Likewise.
5820         (expm1_test): Likewise.
5821         (expm1_test_tonearest): Likewise.
5822         (expm1_test_towardzero): Likewise.
5823         (expm1_test_downward): Likewise.
5824         (expm1_test_upward): Likewise.
5825         (fabs_test): Likewise.
5826         (fdim_test): Likewise.
5827         (floor_test): Likewise.
5828         (fma_test): Likewise.
5829         (fma_test_towardzero): Likewise.
5830         (fma_test_downward): Likewise.
5831         (fma_test_upward): Likewise.
5832         (fmax_test): Likewise.
5833         (fmin_test): Likewise.
5834         (fmod_test): Likewise.
5835         (fpclassify_test): Likewise.
5836         (frexp_test): Likewise.
5837         (hypot_test): Likewise.
5838         (ilogb_test): Likewise.
5839         (isfinite_test): Likewise.
5840         (finite_test): Likewise.
5841         (isgreater_test): Likewise.
5842         (isgreaterequal_test): Likewise.
5843         (isinf_test): Likewise.
5844         (isless_test): Likewise.
5845         (islessequal_test): Likewise.
5846         (islessgreater_test): Likewise.
5847         (isnan_test): Likewise.
5848         (isnormal_test): Likewise.
5849         (issignaling_test): Likewise.
5850         (isunordered_test): Likewise.
5851         (j0_test): Likewise.
5852         (j1_test): Likewise.
5853         (jn_test): Likewise.
5854         (ldexp_test): Likewise.
5855         (lgamma_test): Likewise.
5856         (gamma_test): Likewise.
5857         (lrint_test): Likewise.
5858         (lrint_test_tonearest): Likewise.
5859         (lrint_test_towardzero): Likewise.
5860         (lrint_test_downward): Likewise.
5861         (lrint_test_upward): Likewise.
5862         (llrint_test): Likewise.
5863         (llrint_test_tonearest): Likewise.
5864         (llrint_test_towardzero): Likewise.
5865         (llrint_test_downward): Likewise.
5866         (llrint_test_upward): Likewise.
5867         (log_test): Likewise.
5868         (log10_test): Likewise.
5869         (log1p_test): Likewise.
5870         (log2_test): Likewise.
5871         (logb_test): Likewise.
5872         (logb_test_downward): Likewise.
5873         (lround_test): Likewise.
5874         (llround_test): Likewise.
5875         (modf_test): Likewise.
5876         (nearbyint_test): Likewise.
5877         (nextafter_test): Likewise.
5878         (nexttoward_test): Likewise.
5879         (pow_test): Likewise.
5880         (pow_test_tonearest): Likewise.
5881         (pow_test_towardzero): Likewise.
5882         (pow_test_downward): Likewise.
5883         (pow_test_upward): Likewise.
5884         (remainder_test): Likewise.
5885         (drem_test): Likewise.
5886         (remainder_test_tonearest): Likewise.
5887         (drem_test_tonearest): Likewise.
5888         (remainder_test_towardzero): Likewise.
5889         (drem_test_towardzero): Likewise.
5890         (remainder_test_downward): Likewise.
5891         (drem_test_downward): Likewise.
5892         (remainder_test_upward): Likewise.
5893         (drem_test_upward): Likewise.
5894         (remquo_test): Likewise.
5895         (rint_test): Likewise.
5896         (rint_test_tonearest): Likewise.
5897         (rint_test_towardzero): Likewise.
5898         (rint_test_downward): Likewise.
5899         (rint_test_upward): Likewise.
5900         (round_test): Likewise.
5901         (scalb_test): Likewise.
5902         (scalbn_test): Likewise.
5903         (scalbln_test): Likewise.
5904         (signbit_test): Likewise.
5905         (sin_test): Likewise.
5906         (sin_test_tonearest): Likewise.
5907         (sin_test_towardzero): Likewise.
5908         (sin_test_downward): Likewise.
5909         (sin_test_upward): Likewise.
5910         (sincos_test): Likewise.
5911         (sinh_test): Likewise.
5912         (sinh_test_tonearest): Likewise.
5913         (sinh_test_towardzero): Likewise.
5914         (sinh_test_downward): Likewise.
5915         (sinh_test_upward): Likewise.
5916         (sqrt_test): Likewise.
5917         (sqrt_test_tonearest): Likewise.
5918         (sqrt_test_towardzero): Likewise.
5919         (sqrt_test_downward): Likewise.
5920         (sqrt_test_upward): Likewise.
5921         (tan_test): Likewise.
5922         (tan_test_tonearest): Likewise.
5923         (tan_test_towardzero): Likewise.
5924         (tan_test_downward): Likewise.
5925         (tan_test_upward): Likewise.
5926         (tanh_test): Likewise.
5927         (tgamma_test): Likewise.
5928         (trunc_test): Likewise.
5929         (y0_test): Likewise.
5930         (y1_test): Likewise.
5931         (yn_test): Likewise.
5932         (significand_test): Likewise.
5933
5934         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5935         individual tests in comment.
5936         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5937         (prev_max_error): New variable.
5938         (prev_real_max_error): Likewise.
5939         (prev_imag_max_error): Likewise.
5940         (compare_ulp_data): Don't refer to test names in comment.
5941         (find_test_ulps): Remove function.
5942         (find_function_ulps): Likewise.
5943         (find_complex_function_ulps): Likewise.
5944         (init_max_error): Take function name as argument.  Look up ulps
5945         for that function.
5946         (print_ulps): Remove function.
5947         (print_max_error): Use prev_max_error instead of calling
5948         find_function_ulps.
5949         (print_complex_max_error): Use prev_real_max_error and
5950         prev_imag_max_error instead of calling find_complex_function_ulps.
5951         (check_float_internal): Take max_ulp parameter instead of calling
5952         find_test_ulps.  Don't call print_ulps.
5953         (check_float): Update call to check_float_internal.
5954         (check_complex): Update calls to check_float_internal.
5955         (START): Pass argument to init_max_error.
5956         * math/gen-libm-test.pl (%results): Don't include "kind"
5957         information.
5958         (parse_ulps): Don't handle ulps of individual tests.
5959         (print_ulps_file): Likewise.
5960         (output_ulps): Likewise.
5961         * math/README.libm-test: Update.
5962         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5963         individual tests.
5964         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5965         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5966         * sysdeps/arm/libm-test-ulps: Likewise.
5967         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5968         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5969         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5970         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5971         * sysdeps/microblaze/libm-test-ulps: Likewise.
5972         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5973         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5974         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5975         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5976         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5977         * sysdeps/sh/libm-test-ulps: Likewise.
5978         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5979         * sysdeps/tile/libm-test-ulps: Likewise.
5980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5981
5982 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
5983
5984         * math/libm-test.inc (print_complex_max_error): Check separately
5985         whether real and imaginary errors are within allowed range and
5986         pass 0 to print_complex_function_ulps instead of value within
5987         allowed range.
5988
5989 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5990
5991         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5992         formatting.
5993         (get_handles_fopen): Likewise.
5994         (do_write_test): Likewise.
5995
5996         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5997
5998         * libio/fileops.c (do_ftell): Use cached offset when
5999         available.
6000         * libio/iofwide.c (do_ftell_wide): Likewise.
6001         * libio/iofdopen.c (_IO_new_fdopen): Don't use
6002         _IO_file_attach.
6003         * libio/wfileops.c (_IO_fwide): Don't cache offset.
6004
6005         [BZ #16532]
6006         * libio/libioP.h (get_file_offset): New function.
6007         * libio/fileops.c (get_file_offset): Likewise.
6008         (do_ftell): Likewise.
6009         (_IO_new_file_seekoff): Split out ftell logic.
6010         * libio/wfileops.c (do_ftell_wide): Likewise.
6011         (_IO_wfile_seekoff): Split out ftell logic.
6012         * libio/tst-ftell-active-handler.c: New test case.
6013         * libio/Makefile (tests): Add it.
6014
6015 2014-03-03  Roland McGrath  <roland@hack.frob.com>
6016
6017         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6018         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6019
6020 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6021
6022         [BZ #16639]
6023         * nscd/connections.c (nscd_init): Call do_exit.
6024         (start_threads): Call do_exit and notify_parent.
6025         (begin_drop_privileges): Call do_exit.
6026         (finish_drop_privileges): Likewise.
6027         * nscd/selinux.c (preserve_capabilities): Likewise.
6028         (install_real_capabilities): Likewise.
6029         (nscd_selinux_enabled): Likewise.
6030         (avc_create_thread): Likewise.
6031         (avc_alloc_lock): Likewise.
6032         (nscd_avc_init): Likewise.
6033         * nscd/nscd.c (parent_fd): New static variable.
6034         (main): Create a pipe between parent and child processes.
6035         Skip closing parent_fd.
6036         (monitor_child): New function.
6037         (do_exit): Likewise.
6038         (notify_parent): Likewise.
6039         * nscd/nscd.h (notify_parent): Likewise.
6040         (do_exit): Likewise.
6041
6042 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
6043
6044         * malloc/malloc.c (__libc_calloc): Revert last change.
6045
6046 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6047
6048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6049
6050 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6051
6052         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6054         implementation.
6055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6056         (__libc_ifunc_impl_list): Likewise.
6057         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6058         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6059         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6060         * string/strrchr.c: Define STRRCHR.
6061
6062 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
6063
6064         * benchtest/bench-strtok.c (simple_strtok): Delete.
6065         (strtok_string): Use as benchmark.
6066         * string/strtok (STRTOK): New macro.
6067
6068 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
6069
6070         * manual/threads.texi: Add header and standard comments to all
6071         functions.
6072
6073         * elf/dl-lookup.c (check_match): New function.
6074         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6075         (do_lookup_x): Remove nested function check_match. Use non-nested
6076         function check_match.
6077
6078 2014-02-28  Roland McGrath  <roland@hack.frob.com>
6079
6080         * csu/Makefile (generated, before-compile): Use += rather than =.
6081         * catgets/Makefile (generated, generated-dirs): Likewise.
6082         * debug/Makefile (generated): Likewise.
6083         * dlfcn/Makefile (generated): Likewise.
6084         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6085         * iconvdata/Makefile (before-compile, generated): Likewise.
6086         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6087         * libio/Makefile (generated): Likewise.
6088         * malloc/Makefile (generated): Likewise.
6089         * manual/Makefile (generated, generated-dirs): Likewise.
6090         * misc/Makefile (generated): Likewise.
6091         * posix/Makefile (generated): Likewise.
6092         * resolv/Makefile (generated): Likewise.
6093         * sunrpc/Makefile (generated, generated-dirs): Likewise.
6094         * timezone/Makefile (generated, generated-dirs): Likewise.
6095
6096         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6097
6098 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6099
6100         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6101         power8 implementation.
6102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6103         file: POWER8 llround ifunc implementation.
6104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6105         (__lllround): Add POWER8 implementation.
6106         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6107         POWER8 llround implementation.
6108
6109         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6110         power8 implementation.
6111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6112         file: POWER8 llrint ifunc implementation.
6113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6114         Add POWER8 implementation.
6115         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6116         POWER8 llrint implementation.
6117
6118         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6119         power8 implementation.
6120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6121         file: POWER8 finite ifunc implementation.
6122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6123         Add POWER8 implementation.
6124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6125         Likewise.
6126         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6127         POWER8 finite implementation.
6128         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6129
6130         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6131         power8 implementation.
6132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6133         file: POWER8 isinf ifunc implementation.
6134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6135         POWER8 implementation.
6136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6137         Likewise.
6138         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6139         isinf implementation.
6140         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6141
6142         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6143         (INIT_ARCH): Add hwcap2 initialization.
6144         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6145         power8 implementation.
6146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6147         file: POWER8 isnan ifunc implementation.
6148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6149         POWER8 implementation.
6150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6151         Likewise.
6152         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6153         isnan implementation.
6154         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6155
6156 2014-02-27  Joey Ye  <joey.ye@arm.com>
6157
6158         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6159         (_FP_NANFRAC_Q): Set to zero.
6160
6161 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6162
6163         [BZ #16623]
6164         * math/auto-libm-test-in: New test inputs.
6165         * math/auto-libm-test-out: Regenerate.
6166         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6167         and DA.
6168         (__cos): Likewise.
6169         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6170
6171 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
6172
6173         * scripts/evaluate-test.sh: Take new argument indicating whether
6174         failure is expected.
6175         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6176         indicating whether failure is expected.
6177         * conform/Makefile (test-xfail-run-conformtest): New variable.
6178         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6179         level.
6180         * posix/Makefile (test-xfail-annexc): New variable.
6181         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6182
6183 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
6184
6185         * argp/Makefile: Include Makeconfig immediately after defining
6186         subdir.
6187         * assert/Makefile: Likewise.
6188         * benchtests/Makefile: Likewise.
6189         * catgets/Makefile: Likewise.
6190         * conform/Makefile: Likewise.
6191         * crypt/Makefile: Likewise.
6192         * csu/Makefile: Likewise.
6193         (all): Remove target.
6194         * ctype/Makefile: Include Makeconfig immediately after defining
6195         subdir.
6196         * debug/Makefile: Likewise.
6197         * dirent/Makefile: Likewise.
6198         * dlfcn/Makefile: Likewise.
6199         * gmon/Makefile: Likewise.
6200         * gnulib/Makefile: Likewise.
6201         * grp/Makefile: Likewise.
6202         * gshadow/Makefile: Likewise.
6203         * hesiod/Makefile: Likewise.
6204         * hurd/Makefile: Likewise.
6205         (all): Remove target.
6206         * iconvdata/Makefile: Include Makeconfig immediately after
6207         defining subdir.
6208         * inet/Makefile: Likewise.
6209         * intl/Makefile: Likewise.
6210         * io/Makefile: Likewise.
6211         * libio/Makefile: Likewise.
6212         (all): Remove target.
6213         * locale/Makefile: Include Makeconfig immediately after defining
6214         subdir.
6215         * login/Makefile: Likewise.
6216         * mach/Makefile: Likewise.
6217         (all): Remove target.
6218         * malloc/Makefile: Include Makeconfig immediately after defining
6219         subdir.
6220         (all): Remove target.
6221         * manual/Makefile: Include Makeconfig immediately after defining
6222         subdir.
6223         * math/Makefile: Likewise.
6224         * misc/Makefile: Likewise.
6225         * nis/Makefile: Likewise.
6226         * nss/Makefile: Likewise.
6227         * po/Makefile: Likewise.
6228         (all): Remove target.
6229         * posix/Makefile: Include Makeconfig immediately after defining
6230         subdir.
6231         * pwd/Makefile: Likewise.
6232         * resolv/Makefile: Likewise.
6233         * resource/Makefile: Likewise.
6234         * rt/Makefile: Likewise.
6235         * setjmp/Makefile: Likewise.
6236         * shadow/Makefile: Likewise.
6237         * signal/Makefile: Likewise.
6238         * socket/Makefile: Likewise.
6239         * soft-fp/Makefile: Likewise.
6240         * stdio-common/Makefile: Likewise.
6241         * stdlib/Makefile: Likewise.
6242         * streams/Makefile: Likewise.
6243         * string/Makefile: Likewise.
6244         * sunrpc/Makefile: Likewise.
6245         (all): Remove target.
6246         * sysvipc/Makefile: Include Makeconfig immediately after defining
6247         subdir.
6248         * termios/Makefile: Likewise.
6249         * time/Makefile: Likewise.
6250         * timezone/Makefile: Likewise.
6251         (all): Remove target.
6252         * wcsmbs/Makefile: Include Makeconfig immediately after defining
6253         subdir.
6254         * wctype/Makefile: Likewise.
6255
6256 2014-02-26  Steve Ellcey  <sellcey@mips.com>
6257
6258         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6259         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6260         (libc_feholdexcept_setround_mips): Ditto.
6261         (libc_feholdsetround): New.
6262         (libc_feholdsetroundf): New.
6263         (libc_feholdsetroundl): New.
6264         (libc_feupdateenv_test_mips): New.
6265         (libc_feupdateenv_test): New.
6266         (libc_feupdateenv_testf): New.
6267         (libc_feupdateenv_testl): New.
6268         (libc_feresetround): New.
6269         (libc_feresetroundf): New.
6270         (libc_feresetroundl): New.
6271         (libc_fetestexcept_mips): New.
6272         (libc_fetestexcept): New.
6273         (libc_fetestexceptf): New.
6274         (libc_fetestexceptl): New.
6275         (HAVE_RM_CTX): New.
6276         (libc_feholdexcept_setround_mips_ctx): New.
6277         (libc_feholdexcept_setround_ctx): New.
6278         (libc_feholdexcept_setroundf_ctx): New.
6279         (libc_feholdexcept_setroundl_ctx): New.
6280         (libc_fesetenv_mips_ctx): New.
6281         (libc_fesetenv_ctx): New.
6282         (libc_fesetenv_ctxf): New.
6283         (libc_fesetenv_ctxl): New.
6284         (libc_feupdateenv_mips_ctx): New.
6285         (libc_feupdateenv_ctx): New.
6286         (libc_feupdateenvf_ctx): New.
6287         (libc_feupdateenvl_ctx): New.
6288         (libc_feholdsetround_mips_ctx): New.
6289         (libc_feholdsetround_ctx): New.
6290         (libc_feholdsetroundf_ctx): New.
6291         (libc_feholdsetroundl_ctx): New.
6292         (libc_feresetround_mips_ctx): New.
6293         (libc_feresetround_ctx): New.
6294         (libc_feresetroundf_ctx): New.
6295         (libc_feresetroundl_ctx): New.
6296
6297 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
6298
6299         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6300
6301         * manual/ipc.texi: New file.
6302         * manual/Makefile (chapters): Add ipc.
6303         * manual/job.texi: Add "Inter-Process Communication" to next.
6304         * manual/process.texi: Add "Inter-Process Communication" to prev.
6305
6306 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6307
6308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6309
6310 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
6311
6312         * malloc/malloc.c (__libc_calloc): Simplify implementation.
6313
6314         * manual/arith.texi: Fix spaces after sentences.
6315         * manual/charset.texi: Likewise.
6316         * manual/errno.texi: Likewise.
6317         * manual/install.texi: Likewise.
6318         * manual/llio.texi: Likewise.
6319         * manual/locale.texi: Likewise.
6320         * manual/maint.texi: Likewise.
6321         * manual/math.texi: Likewise.
6322         * manual/memory.texi: Likewise.
6323         * manual/message.texi: Likewise.
6324         * manual/probes.texi: Likewise.
6325         * manual/resource.texi: Likewise.
6326         * manual/signal.texi: Likewise.
6327         * manual/socket.texi: Likewise.
6328         * manual/stdio.texi: Likewise.
6329         * manual/string.texi: Likewise.
6330         * manual/time.texi: Likewise.
6331         * manual/users.texi: Likewise.
6332
6333 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
6334
6335         [BZ #16632]
6336         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6337         _DEFAULT_SOURCE is defined.
6338
6339 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
6340             Carlos O'Donell  <carlos@redhat.com>
6341
6342         [BZ #16613]
6343         * elf/dl-tls.c (_dl_count_modids): New function.
6344         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6345         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6346         audit library and increment generation counter.
6347         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6348         * elf/tst-audit9.c: New file.
6349         * elf/tst-auditmod9a.c: New file.
6350         * elf/tst-auditmod9b.c: New file.
6351         * elf/Makefile: Add rules to build and run tst-audit9.
6352
6353 2014-02-25  Florian Weimer  <fweimer@redhat.com>
6354
6355         [BZ #15347]
6356         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6357
6358 2014-02-25  Will Newton  <will.newton@linaro.org>
6359
6360         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6361         (__longjmp): Restore sp and lr before restoring callee
6362         saved registers.  Add longjmp and longjmp_target
6363         SystemTap probe point.
6364         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6365         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6366         Define to zero to match jmpbuf layout.
6367         * sysdeps/arm/setjmp.S: Include stap-probe.h.
6368         (__sigsetjmp): Save sp and lr before saving callee
6369         saved registers.  Add setjmp SystemTap probe point.
6370
6371 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6372
6373         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6374
6375 2014-02-24  Andreas Schwab  <schwab@suse.de>
6376
6377         [BZ #15804]
6378         * elf/pldd.c (wait_for_ptrace_stop): New function.
6379         (main): Call it after attaching.
6380
6381 2014-02-22  Roland McGrath  <roland@hack.frob.com>
6382
6383         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6384         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6385         Versions files is now verboten.
6386         * hurd/Versions (libc: GLIBC_2.0):
6387         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6388         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6389         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6390         * mach/Versions: Likewise.
6391
6392         * csu/Versions: Remove unused %include.
6393         * resolv/Versions: Likewise.
6394
6395 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
6396
6397         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6398         ($(objpfx)check-local-headers.out): Likewise.
6399         ($(objpfx)begin-end-check.out): Likewise.
6400         * Makerules (check-abi-%.out): Likewise.
6401         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6402         ($(objpfx)test2.cat): Likewise.
6403         ($(objpfx)de/libc.cat): Likewise.
6404         ($(objpfx)test-gencat.out): Likewise.
6405         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6406         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6407         ($(objpfx)noload-mem): Likewise.
6408         ($(objpfx)tst-pathopt.out): Likewise.
6409         ($(objpfx)tst-rtld-load-self.out): Likewise.
6410         ($(objpfx)tst-array1-cmp.out): Likewise.
6411         ($(objpfx)tst-array1-static-cmp.out): Likewise.
6412         ($(objpfx)tst-array2-cmp.out): Likewise.
6413         ($(objpfx)tst-array3-cmp.out): Likewise.
6414         ($(objpfx)tst-array4-cmp.out): Likewise.
6415         ($(objpfx)tst-array5-cmp.out): Likewise.
6416         ($(objpfx)tst-array5-static-cmp.out): Likewise.
6417         ($(objpfx)check-textrel.out): Likewise.
6418         ($(objpfx)check-execstack.out): Likewise.
6419         ($(objpfx)check-localplt.out): Likewise.
6420         ($(objpfx)order2-cmp.out): Likewise.
6421         ($(objpfx)tst-leaks1-mem): Likewise.
6422         ($(objpfx)tst-leaks1-static-mem): Likewise.
6423         ($(objpfx)tst-initorder-cmp.out): Likewise.
6424         ($(objpfx)tst-initorder2-cmp.out): Likewise.
6425         ($(objpfx)tst-unused-dep.out): Likewise.
6426         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6427         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6428         * iconv/Makefile (test-iconvconfig): Likewise.
6429         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6430         ($(objpfx)iconv-test.out): Likewise.
6431         ($(objpfx)tst-tables.out): Likewise.
6432         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6433         ($(objpfx)tst-gettext.out): Likewise.
6434         ($(objpfx)tst-translit.out): Likewise.
6435         ($(objpfx)tst-gettext2.out): Likewise.
6436         ($(objpfx)tst-gettext4.out): Likewise.
6437         ($(objpfx)tst-gettext6.out): Likewise.
6438         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6439         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6440         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6441         ($(objpfx)tst-fopenloc-mem.out): Likewise.
6442         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6443         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6444         * posix/Makefile ($(objpfx)globtest.out): Likewise.
6445         ($(objpfx)wordexp-tst.out): Likewise.
6446         ($(objpfx)annexc.out): Likewise.
6447         ($(objpfx)tst-fnmatch-mem): Likewise.
6448         ($(objpfx)bug-regex2-mem): Likewise.
6449         ($(objpfx)bug-regex14-mem): Likewise.
6450         ($(objpfx)bug-regex21-mem): Likewise.
6451         ($(objpfx)bug-regex31-mem): Likewise.
6452         ($(objpfx)tst-vfork3-mem): Likewise.
6453         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6454         ($(objpfx)tst-pcre-mem): Likewise.
6455         ($(objpfx)tst-boost-mem): Likewise.
6456         ($(objpfx)tst-getconf.out): Likewise.
6457         ($(objpfx)bug-ga2-mem): Likewise.
6458         ($(objpfx)bug-glob2-mem): Likewise.
6459         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6460         ($(objpfx)mtrace-tst-leaks2): Likewise.
6461         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6462         ($(objpfx)tst-printf.out): Likewise.
6463         ($(objpfx)tst-setvbuf1.out): Likewise.
6464         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6465         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6466         ($(objpfx)tst-fmtmsg.out): Likewise.
6467         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6468         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6469
6470         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6471         * bits/sigaction.h [__USE_MISC]: Likewise.
6472         * bits/waitstatus.h: Update #endif comments.
6473         * ctype/ctype.h: Likewise.
6474         * dirent/dirent.h: Likewise.
6475         [__USE_MISC]: Remove redundant conditionals.
6476         * grp/grp.h: Update #endif comments.
6477         [__USE_GNU]: Remove redundant conditionals.
6478         [__USE_MISC]: Likewise.
6479         * inet/netinet/in.h [__USE_GNU]: Likewise.
6480         * io/sys/stat.h [__USE_MISC]: Likewise.
6481         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6482         * libio/bits/stdio.h: Update #endif comments.
6483         [__USE_MISC]: Remove redundant conditionals.
6484         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6485         * libio/stdio.h: Update #endif comments.
6486         [__USE_MISC]: Remove redundant conditionals.
6487         * math/bits/math-finite.h [__USE_MISC]: Likewise.
6488         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6489         * math/math.h: Update #else and #endif comments.
6490         [__USE_MISC]: Remove redundant conditionals.
6491         * misc/sys/uio.h: Update #endif comments.
6492         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6493         * posix/glob.h [__USE_MISC]: Likewise.
6494         * posix/sys/types.h: Update #endif comments.
6495         [__USE_MISC]: Remove redundant conditionals.
6496         * posix/sys/wait.h: Update #endif comments.
6497         [__USE_MISC]: Remove redundant conditionals.
6498         * posix/unistd.h: Update #endif comments.
6499         [__USE_MISC]: Remove redundant conditionals.
6500         * pwd/pwd.h [__USE_GNU]: Likewise.
6501         [__USE_MISC]: Likewise.
6502         * resolv/netdb.h [__USE_GNU]: Likewise.
6503         * signal/signal.h: Update #endif comments.
6504         [__USE_MISC]: Remove redundant conditionals.
6505         * stdlib/stdlib.h: Update #else and #endif comments.
6506         [__USE_MISC]: Remove redundant conditionals.
6507         [__USE_GNU]: Likewise.
6508         * string/bits/string2.h [__USE_MISC]: Likewise.
6509         * string/string.h: Update #endif comments.
6510         [__USE_MISC]: Remove redundant conditionals.
6511         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6512         Likewise.
6513         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6514         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6515         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6516         Likewise.
6517         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6518         Likewise.
6519         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6520         comments.
6521         [__USE_MISC]: Remove redundant conditionals.
6522         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6523         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6524         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6525         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6526         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6527         Likewise.
6528         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6529         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6530         Likewise.
6531         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6532         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6533         Likewise.
6534         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6535         Likewise.
6536         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6537         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6538         Likewise.
6539         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6540         Likewise.
6541         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6542         * sysdeps/x86/bits/string.h: Update #endif comments.
6543         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6544         conditionals.
6545         * time/sys/time.h: Update #endif comments.
6546         * time/time.h: Likewise.
6547         [__USE_MISC]: Remove redundant conditionals.
6548
6549 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
6550
6551         [BZ #16600]
6552         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6553
6554 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
6555
6556         * Versions.def (librt): Add GLIBC_2.17.
6557
6558 2014-02-21  Adam Conrad  <adconrad@0c3.net>
6559
6560         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6561         synonym for _SYS_AUXV_H to allow direct inclusion.
6562         * sysdeps/sparc/bits/hwcap.h: Likewise.
6563         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6564         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6565         * sysdeps/sparc/sysdep.h: Likewise.
6566
6567 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6568
6569         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6570
6571 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6572
6573         * benchtests/bench-strrchr.c: Print length instead of position.
6574
6575 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
6576
6577         [BZ #16611]
6578         * sysdeps/unix/sysv/linux/kernel-features.h
6579         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6580         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6581         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6582         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6583         Likewise.
6584         [__i386__ || __powerpc__ || __sh__ || __sparc__]
6585         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6586         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6587         (__ASSUME_SENDMMSG): Define instead of using previous
6588         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6589         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6590         (__ASSUME_SENDMMSG_SYSCALL): Define.
6591         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6592         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6593         Likewise.
6594         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6595         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6596         Likewise.
6597         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6598         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6599         Likewise.
6600         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6601         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6602         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6603         [__ASSUME_SENDMMSG]: Change conditionals to
6604         [__ASSUME_SENDMMSG_SOCKETCALL].
6605         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6606         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6607         Define.
6608         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6609         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6610         Likewise.
6611         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6612         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6613         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6614         [!__ASSUME_SENDMMSG]: Change conditional to
6615         [!__ASSUME_SENDMMSG_SOCKETCALL].
6616         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6617         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6618         Define.
6619
6620         [BZ #16610]
6621         * sysdeps/unix/sysv/linux/kernel-features.h
6622         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6623         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6624         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6625         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6626         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6627         [__i386__ || __sparc__]
6628         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6629         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6630         (__ASSUME_RECVMMSG): Define instead of using previous
6631         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6632         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6633         (__ASSUME_RECVMMSG_SYSCALL): Define.
6634         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6635         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6636         Likewise.
6637         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6638         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6639         Likewise.
6640         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6641         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6642         Likewise.
6643         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6644         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6645         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6646         [__ASSUME_RECVMMSG]: Change condition to
6647         [__ASSUME_RECVMMSG_SOCKETCALL].
6648         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6649         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6650         Define.
6651         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6652         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6653         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6654         Likewise.
6655         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6656         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6657         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6658         [!__ASSUME_RECVMMSG]: Change condition to
6659         [!__ASSUME_RECVMMSG_SOCKETCALL].
6660         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6661         (__ASSUME_RECVMMSG_SYSCALL): Define.
6662
6663         [BZ #16609]
6664         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6665         __powerpc__ || __s390__ || __sh__ || __sparc__]
6666         (__ASSUME_SOCKETCALL): Define.
6667         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6668         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6669         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6670         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6671         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6672         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6673         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6674         (__ASSUME_ACCEPT4): Define instead of using previous
6675         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6676         __powerpc__ || __sparc__ || __s390__)] condition.
6677         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6678         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6679         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6680         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6681         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6682         [!__ASSUME_ACCEPT4]: Change condition to
6683         [!__ASSUME_ACCEPT4_SOCKETCALL].
6684         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6685         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
6686         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6687         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6688         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6689         __ASSUME_ACCEPT4_SYSCALL.
6690         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6691         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6692         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6693         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6694         __ASSUME_ACCEPT4_SYSCALL.
6695         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6696         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6697         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6698         [__ASSUME_ACCEPT4]: Change condition to
6699         [__ASSUME_ACCEPT4_SOCKETCALL].
6700         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6701         (__ASSUME_SOCKETCALL): Define.
6702         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6703         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6704         (__ASSUME_SOCKETCALL): Define.
6705         (__ASSUME_ACCEPT4): Remove.
6706         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6707         Define.
6708         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6709         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6710         Likewise.
6711         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6712         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6713
6714         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6715         macro.
6716         (HWCAP_ARM_LPAE): Likewise.
6717         (HWCAP_ARM_EVTSTRM): Likewise.
6718         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6719         Add vpfd32, lpae and evtstrm.
6720         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6721         Increase to 22.
6722
6723 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
6724
6725         * math/auto-libm-test-in: Add tests of clog10.
6726         * math/auto-libm-test-out: Regenerated.
6727         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6728         * sysdeps/i386/fpu/libm-test-ulps: Update.
6729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6730
6731 2014-02-18  Andreas Schwab  <schwab@suse.de>
6732
6733         [BZ #16574]
6734         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6735         Store non-zero if the second buffer was newly allocated.
6736         (send_dg): Likewise.
6737         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6738         to send_vc and send_dg.
6739         (res_nsend): Pass NULL for ansp2_malloced.
6740         * resolv/res_query.c (__libc_res_nquery): Add parameter
6741         answerp2_malloced and pass it down to __libc_res_nsend.
6742         (res_nquery): Pass additional NULL to __libc_res_nquery.
6743         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6744         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
6745         second answer buffer if answerp2_malloced was set.
6746         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6747         (__libc_res_nquerydomain): Add parameter
6748         answerp2_malloced and pass it down to __libc_res_nquery.
6749         (res_nquerydomain): Pass additional NULL to
6750         __libc_res_nquerydomain.
6751         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6752         additional NULL to __libc_res_nsend and __libc_res_nquery.
6753         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6754         additional NULL to __libc_res_nsearch.
6755         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
6756         parameter of __libc_res_nsearch to check for separately allocated
6757         second buffer.
6758         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6759         __libc_res_nquery.
6760         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6761         additional NULL to __libc_res_nquery.
6762         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6763         __libc_res_nsearch.
6764         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6765         * include/resolv.h: Update prototypes of __libc_res_nquery,
6766         __libc_res_nsearch, __libc_res_nsend.
6767
6768 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
6769
6770         * math/auto-libm-test-in: Add tests of fma.
6771         * math/auto-libm-test-out: Regenerated.
6772         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6773         (fma_towardzero_test_data): Likewise.
6774         (fma_downward_test_data): Likewise.
6775         (fma_upward_test_data): Likewise.
6776         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6777         mpc_mode.
6778         (rounding_modes): Add values for new field.
6779         (func_calc_method): Add value mpfr_fff_f.
6780         (func_calc_desc): Add mpfr_fff_f union field.
6781         (test_function): Add field exact_args.
6782         (FUNC): Add macro argument EXACT_ARGS.
6783         (FUNC_mpfr_f_f): Update call to FUNC.
6784         (FUNC_mpfr_f_f): Likewise.
6785         (FUNC_mpfr_ff_f): Likewise.
6786         (FUNC_mpfr_if_f): Likewise.
6787         (FUNC_mpc_c_f): Likewise.
6788         (FUNC_mpc_c_c): Likewise.
6789         (test_functions): Add fma.  Update calls to FUNC.
6790         (handle_input_arg): Add argument exact_args.
6791         (add_test): Update call to handle_input_arg.
6792         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
6793         (output_for_one_input_case): Update call to calc_generic_results.
6794         Recalculate exact zero results in each rounding mode.
6795
6796         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6797         non-negative before setting low bit.
6798         * math/auto-libm-test-in: Mark one asin test possibly having
6799         spurious underflow.
6800         * math/auto-libm-test-out: Regenerated.
6801         * sysdeps/i386/fpu/libm-test-ulps: Update.
6802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6803
6804 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
6805
6806         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6807         * sysdeps/unix/sysv/linux/microblaze: Move directory from
6808         ports/sysdeps/unix/sysv/linux/microblaze.
6809         * README: Add missing listing for microblaze*-*-linux-gnu.
6810
6811 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
6812
6813         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6814         * sysdeps/unix/sysv/linux/ia64: Move directory from
6815         ports/sysdeps/unix/sysv/linux/ia64.
6816         * README: Update listing for ia64-*-linux-gnu.
6817
6818 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
6819             Joseph Myers  <joseph@codesourcery.com>
6820
6821         * Makeconfig (test-name): New variable.
6822         (evaluate-test): Likewise.
6823         * Makerules (do-test-clean): Remove .test-result files.
6824         (common-mostlyclean): Likewise.
6825         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6826         * scripts/evaluate-test.sh: New file.
6827
6828 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
6829
6830         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6831         separate $(objpfx)tst-fopenloc-cmp.out and
6832         $(objpfx)tst-fopenloc-mem.out targets.
6833         (tests): Update dependencies.
6834         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6835         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6836         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6837         (tst-rxspencer-no-utf8-ARGS): New variable.
6838         (tst-rxspencer-no-utf8-ENV): Likewise.
6839         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6840         instead of $(objpfx)tst-rxspencer-mem.
6841         ($(objpfx)tst-rxspencer-mem): Change target to
6842         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
6843         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6844         * posix/tst-rxspencer-no-utf8.c: New file.
6845
6846         * elf/Makefile ($(objpfx)order.out): Remove rule.
6847         [$(run-built-tests) = yes] (tests): Depend on
6848         $(objpfx)order-cmp.out.
6849         ($(objpfx)order-cmp.out): New rule.
6850         [$(run-built-tests) = yes] (tests): Depend on
6851         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6852         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6853         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6854         $(objpfx)tst-array5-static-cmp.out.
6855         ($(objpfx)tst-array1.out): Remove rule.
6856         ($(objpfx)tst-array1-cmp.out): New rule.
6857         ($(objpfx)tst-array1-static.out): Remove rule.
6858         ($(objpfx)tst-array1-static-cmp.out): New rule.
6859         ($(objpfx)tst-array2.out): Remove rule.
6860         ($(objpfx)tst-array2-cmp.out): New rule.
6861         ($(objpfx)tst-array3.out): Remove rule.
6862         ($(objpfx)tst-array3-cmp.out): New rule.
6863         ($(objpfx)tst-array4.out): Remove rule.
6864         ($(objpfx)tst-array4-cmp.out): New rule.
6865         ($(objpfx)tst-array5.out): Remove rule.
6866         ($(objpfx)tst-array5-cmp.out): New rule.
6867         ($(objpfx)tst-array5-static.out): Remove rule.
6868         ($(objpfx)tst-array5-static-cmp.out): New rule.
6869         [$(run-built-tests) = yes] (tests): Depend on
6870         $(objpfx)order2-cmp.out.
6871         ($(objpfx)order2.out): Remove rule.
6872         ($(objpfx)order2-cmp.out): New rule.
6873         ($(objpfx)tst-initorder.out): Remove rule.
6874         [$(run-built-tests) = yes] (tests): Depend on
6875         $(objpfx)tst-initorder-cmp.out.
6876         ($(objpfx)tst-initorder-cmp.out): New rule.
6877         ($(objpfx)tst-initorder2.out): Remove rule.
6878         [$(run-built-tests) = yes] (tests): Depend on
6879         $(objpfx)tst-initorder2-cmp.out.
6880         ($(objpfx)tst-initorder2-cmp.out): New rule.
6881         [$(run-built-tests) = yes] (tests): Depend on
6882         $(objpfx)tst-unused-dep-cmp.out.
6883         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6884         ($(objpfx)tst-unused-dep-cmp.out): New rule.
6885         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6886         on $(objpfx)tst-setvbuf1-cmp.out.
6887         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6888         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6889         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6890         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6891         ($(objpfx)tst-svc.out): Remove rule.
6892         ($(objpfx)tst-svc-cmp.out): New rule.
6893
6894 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
6895
6896         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6897         * ctype/ctype.h [__USE_MISC]: Likewise.
6898         * dirent/dirent.h [__USE_MISC]: Likewise.
6899         * grp/grp.h [__USE_MISC]: Likewise.
6900         * io/fcntl.h [__USE_MISC]: Likewise.
6901         * io/sys/stat.h [__USE_MISC]: Likewise.
6902         * libio/stdio.h [__USE_MISC]: Likewise.
6903         * posix/unistd.h [__USE_MISC]: Likewise.
6904         * pwd/pwd.h [__USE_MISC]: Likewise.
6905         * stdlib.h [__USE_MISC]: Likewise.
6906         * string/bits/string2.h [__USE_MISC]: Likewise.
6907         * string/string.h [__USE_MISC]: Likewise.
6908         * time/time.h [__USE_MISC]: Likewise.
6909
6910 2014-02-13  Andreas Schwab  <schwab@suse.de>
6911
6912         [BZ #16574]
6913         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6914         second answer buffer if it was separately allocated.
6915
6916 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6917
6918         * sysdeps/mips/math-tests.h: Include <features.h>.
6919         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6920         (ROUNDING_TESTS_long_double): Do not define.
6921         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6922         (EXCEPTION_TESTS_long_double): Likewise.
6923         * sysdeps/mips/mips64/libm-test-ulps: Update.
6924
6925         * include/features.h (__USE_BSD): Remove macro definitions.
6926         (__USE_SVID): Likewise.
6927         (_BSD_SOURCE): Likewise.
6928         (_SVID_SOURCE): Likewise.
6929         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6930         from definition of _DEFAULT_SOURCE.
6931         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6932         [_DEFAULT_SOURCE].
6933         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6934         * bits/mman.h [__USE_BSD]: Likewise.
6935         * bits/termios.h [__USE_BSD]: Likewise.
6936         * bits/waitstatus.h [__USE_BSD]: Likewise.
6937         * ctype/ctype.h [__USE_SVID]: Likewise.
6938         * dirent/dirent.h [__USE_BSD]: Likewise.
6939         * grp/grp.h [__USE_SVID]: Likewise.
6940         [__USE_BSD]: Likewise.
6941         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6942         * io/fcntl.h [__USE_BSD]: Likewise.
6943         * io/ftw.h [__USE_BSD]: Likewise.
6944         * io/sys/stat.h [__USE_BSD]: Likewise.
6945         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6946         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6947         * libio/stdio.h [__USE_SVID]: Likewise.
6948         [__USE_BSD]: Likewise.
6949         * math/math.h [__USE_SVID]: Likewise.
6950         [__USE_BSD]: Likewise.
6951         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6952         * misc/bits/syslog.h [__USE_BSD]: Likewise.
6953         * misc/search.h [__USE_SVID]: Likewise.
6954         * misc/sys/mman.h [__USE_BSD]: Likewise.
6955         * misc/sys/syslog.h [__USE_BSD]: Likewise.
6956         * misc/sys/uio.h [__USE_BSD]: Likewise.
6957         * posix/bits/unistd.h [__USE_BSD]: Likewise.
6958         * posix/glob.h [__USE_BSD]: Likewise.
6959         * posix/regex.h [__USE_BSD]: Likewise.
6960         * posix/sys/types.h [__USE_BSD]: Likewise.
6961         [__USE_SVID]: Likewise.
6962         * posix/sys/utsname.h [__USE_SVID]: Likewise.
6963         * posix/sys/wait.h [__USE_BSD]: Likewise.
6964         [__USE_SVID]: Likewise.
6965         * posix/unistd.h [__USE_BSD]: Likewise.
6966         [__USE_SVID]: Likewise.
6967         * pwd/pwd.h [__USE_SVID]: Likewise.
6968         * resolv/netdb.h [__USE_BSD]: Likewise.
6969         * setjmp/setjmp.h [__USE_BSD]: Likewise.
6970         * signal/signal.h [__USE_BSD]: Likewise.
6971         [__USE_SVID]: Likewise.
6972         * socket/sys/socket.h [__USE_BSD]: Likewise.
6973         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6974         * stdlib/stdlib.h [__USE_BSD]: Likewise.
6975         [__USE_SVID]: Likewise.
6976         * string/bits/string2.h [__USE_BSD]: Likewise.
6977         [__USE_SVID]: Likewise.
6978         * string/bits/string3.h [__USE_BSD]: Likewise.
6979         * string/endian.h [__USE_BSD]: Likewise.
6980         * string/string.h [__USE_SVID]: Likewise.
6981         [__USE_BSD]: Likewise.
6982         * string/strings.h [__USE_BSD]: Likewise.
6983         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6984         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6985         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6986         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6987         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6988         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6989         Likewise.
6990         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6991         Likewise.
6992         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6993         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6994         Likewise.
6995         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6996         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6997         Likewise.
6998         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6999         Likewise.
7000         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7001         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7002         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7003         Likewise.
7004         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7005         Likewise.
7006         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7007         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7008         * termios/termios.h [__USE_BSD]: Likewise.
7009         * time/sys/time.h [__USE_BSD]: Likewise.
7010         * time/time.h [__USE_BSD]: Likewise.
7011         [__USE_SVID]: Likewise.
7012
7013         * Makefile (subdir_targets): Remove subdir_lint.out.
7014
7015         * stdio-common/Makefile (do-tst-unbputc): Remove target.
7016         (do-tst-printf): Likewise.
7017         (tests): Depend directly on $(objpfx)tst-unbputc.out and
7018         $(objpfx)tst-printf.out.
7019
7020         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7021
7022         * Makerules (check-abi-%): Change target to
7023         $(objpfx)check-abi-%.out.
7024         (check-abi target): Update dependencies.
7025         (check-abi-pattern variable): Redirect output of diff to $@.
7026         (check-abi variable): Likewise.
7027         * elf/Makefile (check-abi): Update dependencies.
7028
7029         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7030         unused.
7031         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7032         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7033         subnormal range.
7034         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7035         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7036         value has largest subnormal exponent.
7037         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7038         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7039         * sysdeps/aarch64/soft-fp/sfp-machine.h
7040         (_FP_TININESS_AFTER_ROUNDING): New macro.
7041         * sysdeps/alpha/soft-fp/sfp-machine.h
7042         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7043         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7044         Likewise.
7045         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7046         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7047         * sysdeps/mips/soft-fp/sfp-machine.h
7048         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7049         * sysdeps/powerpc/soft-fp/sfp-machine.h
7050         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7051         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7052         Likewise.
7053         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7054         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7055         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7056         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7057         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7058         Likewise.
7059
7060 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
7061
7062         [BZ #16545]
7063         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7064         model 1.
7065
7066 2014-02-12  Richard Henderson  <rth@redhat.com>
7067
7068         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7069         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7070         * sysdeps/unix/sysv/linux/alpha: Move directory from
7071         ports/sysdeps/unix/sysv/linux/alpha.
7072         * README: Update listing for alpha-*-linux-gnu.
7073
7074 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
7075
7076         * include/features.h: Update comment documenting feature test
7077         macros.
7078         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
7079         _DEFAULT_SOURCE.
7080         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7081         (_SVID_SOURCE): Likewise.
7082         (_DEFAULT_SOURCE): Update description of default features.
7083         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7084         with _GNU_SOURCE.
7085         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7086         (S_ISVTX): Likewise.
7087         * manual/math.texi (Mathematical Constants): Likewise.
7088         * manual/signal.texi (Interrupted Primitives): Likewise.
7089         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7090         * math/test-matherr.c (_SVID_SOURCE): Do not define.
7091         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7092         Don't refer to _SVID_SOURCE in warning text.
7093
7094         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7095
7096         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7097         already defined.
7098         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7099         * sysdeps/mips/dl-lookup.c: Remove.
7100         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7101
7102 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7103
7104         [BZ #16447]
7105         * math/auto-libm-test-in: Add testcase for expl.
7106         * math/auto-libm-test-out: Regenerate.
7107         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7108         calculation of unsafe.
7109         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7110
7111 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7112
7113         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7114         * sysdeps/unix/sysv/linux/aarch64: Move directory from
7115         ports/sysdeps/unix/sysv/linux/aarch64.
7116         * README: Update listing for aarch64*-*-linux-gnu.
7117
7118 2014-02-11  Will Newton  <will.newton@linaro.org>
7119
7120         * manual/probes.texi (Mathematical Function Probes): Use
7121         "triggered" instead of "hit".
7122
7123         * manual/probes.texi (Internal Probes): Add documentation
7124         of setjmp, longjmp and longjmp_target probes.
7125
7126         * include/stap-probe.h: Add comment about probe argument
7127         format.
7128
7129         * malloc/mtrace.c (attribute_hidden): Remove unused macro
7130         definition.  (tr_where, tr_freehook, tr_mallochook,
7131         tr_reallochook, tr_memalignhook): Use ANSI protoype.
7132
7133 2014-02-11  David S. Miller  <davem@davemloft.net>
7134
7135         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7136         processing int_tests.
7137
7138 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
7139
7140         * sysdeps/mips: Move directory from ports/sysdeps/mips.
7141         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7142         * sysdeps/unix/sysv/linux/mips: Move directory from
7143         ports/sysdeps/unix/sysv/linux/mips.
7144         * README: Update listing for mips-*-linux-gnu and
7145         mips64-*-linux-gnu.
7146
7147 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
7148
7149         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7150         * sysdeps/unix/sysv/linux/m68k: Move directory from
7151         ports/sysdeps/unix/sysv/linux/m68k.
7152         * README: Update listing for m68k-*-linux-gnu.
7153
7154 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
7155
7156         * sysdeps/tile: Move directory from ports/sysdeps/tile.
7157         * sysdeps/unix/sysv/linux/generic: Move directory from
7158         ports/sysdeps/unix/sysv/linux/generic.
7159         * sysdeps/unix/sysv/linux/tile: Move directory from
7160         ports/sysdeps/unix/sysv/linux/tile.
7161         * README: Update listing for tile*-*-linux-gnu.
7162
7163 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
7164
7165         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7166         __builtin_expect.
7167         * benchtests/bench-memmem.c (simple_memmem): Likewise.
7168         * catgets/open_catalog.c (__open_catalog): Likewise.
7169         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7170         * debug/confstr_chk.c: Likewise.
7171         * debug/fread_chk.c (__fread_chk): Likewise.
7172         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7173         * debug/getgroups_chk.c: Likewise.
7174         * debug/mbsnrtowcs_chk.c: Likewise.
7175         * debug/mbsrtowcs_chk.c: Likewise.
7176         * debug/mbstowcs_chk.c: Likewise.
7177         * debug/memcpy_chk.c: Likewise.
7178         * debug/memmove_chk.c: Likewise.
7179         * debug/mempcpy_chk.c: Likewise.
7180         * debug/memset_chk.c: Likewise.
7181         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7182         * debug/strcat_chk.c (__strcat_chk): Likewise.
7183         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7184         * debug/strncat_chk.c (__strncat_chk): Likewise.
7185         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7186         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7187         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7188         * debug/wcpncpy_chk.c: Likewise.
7189         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7190         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7191         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7192         * debug/wcsncpy_chk.c: Likewise.
7193         * debug/wcsnrtombs_chk.c: Likewise.
7194         * debug/wcsrtombs_chk.c: Likewise.
7195         * debug/wcstombs_chk.c: Likewise.
7196         * debug/wmemcpy_chk.c: Likewise.
7197         * debug/wmemmove_chk.c: Likewise.
7198         * debug/wmempcpy_chk.c: Likewise.
7199         * debug/wmemset_chk.c: Likewise.
7200         * dirent/scandirat.c (SCANDIRAT): Likewise.
7201         * dlfcn/dladdr1.c (dladdr1): Likewise.
7202         * dlfcn/dladdr.c (dladdr): Likewise.
7203         * dlfcn/dlclose.c (dlclose_doit): Likewise.
7204         * dlfcn/dlerror.c (__dlerror): Likewise.
7205         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7206         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7207         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7208         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7209         * dlfcn/dlsym.c (dlsym_doit): Likewise.
7210         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7211         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7212         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7213         Likewise.
7214         * elf/dl-conflict.c: Likewise.
7215         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7216         * elf/dl-dst.h: Likewise.
7217         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7218         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7219         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7220         * elf/dl-init.c (call_init, _dl_init): Likewise.
7221         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7222         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7223         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7224         Likewise.
7225         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7226         Likewise.
7227         * elf/dl-minimal.c (__libc_memalign): Likewise.
7228         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7229         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7230         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7231         * elf/dl-sym.c (do_sym): Likewise.
7232         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7233         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7234         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7235         * elf/dl-writev.h (_dl_writev): Likewise.
7236         * elf/ldconfig.c (search_dir): Likewise.
7237         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7238         (dl_main): Likewise.
7239         * elf/setup-vdso.h (setup_vdso): Likewise.
7240         * grp/compat-initgroups.c (compat_call): Likewise.
7241         * grp/fgetgrent.c (fgetgrent): Likewise.
7242         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7243         * grp/putgrent.c (putgrent): Likewise.
7244         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7245         Likewise.
7246         * hurd/hurdinit.c: Likewise.
7247         * iconvdata/8bit-gap.c (struct): Likewise.
7248         * iconvdata/ansi_x3.110.c : Likewise.
7249         * iconvdata/big5.c : Likewise.
7250         * iconvdata/big5hkscs.c : Likewise.
7251         * iconvdata/cp1255.c: Likewise.
7252         * iconvdata/cp1258.c : Likewise.
7253         * iconvdata/cp932.c : Likewise.
7254         * iconvdata/euc-cn.c: Likewise.
7255         * iconvdata/euc-jisx0213.c : Likewise.
7256         * iconvdata/euc-jp.c: Likewise.
7257         * iconvdata/euc-jp-ms.c : Likewise.
7258         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7259         * iconvdata/gb18030.c : Likewise.
7260         * iconvdata/gbbig5.c (const): Likewise.
7261         * iconvdata/gbgbk.c: Likewise.
7262         * iconvdata/gbk.c : Likewise.
7263         * iconvdata/ibm1364.c : Likewise.
7264         * iconvdata/ibm930.c : Likewise.
7265         * iconvdata/ibm932.c: Likewise.
7266         * iconvdata/ibm933.c : Likewise.
7267         * iconvdata/ibm935.c : Likewise.
7268         * iconvdata/ibm937.c : Likewise.
7269         * iconvdata/ibm939.c : Likewise.
7270         * iconvdata/ibm943.c: Likewise.
7271         * iconvdata/iso_11548-1.c: Likewise.
7272         * iconvdata/iso-2022-cn.c : Likewise.
7273         * iconvdata/iso-2022-cn-ext.c : Likewise.
7274         * iconvdata/iso-2022-jp-3.c: Likewise.
7275         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7276         * iconvdata/iso-2022-kr.c : Likewise.
7277         * iconvdata/iso646.c (gconv_end): Likewise.
7278         * iconvdata/iso_6937-2.c : Likewise.
7279         * iconvdata/iso_6937.c : Likewise.
7280         * iconvdata/iso8859-1.c: Likewise.
7281         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7282         * iconvdata/shift_jisx0213.c : Likewise.
7283         * iconvdata/sjis.c : Likewise.
7284         * iconvdata/t.61.c : Likewise.
7285         * iconvdata/tcvn5712-1.c : Likewise.
7286         * iconvdata/tscii.c: Likewise.
7287         * iconvdata/uhc.c : Likewise.
7288         * iconvdata/unicode.c (gconv_end): Likewise.
7289         * iconvdata/utf-16.c (gconv_end): Likewise.
7290         * iconvdata/utf-32.c (gconv_end): Likewise.
7291         * iconvdata/utf-7.c (base64): Likewise.
7292         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7293         * iconv/gconv_close.c (__gconv_close): Likewise.
7294         * iconv/gconv_open.c (__gconv_open): Likewise.
7295         * iconv/gconv_simple.c (internal_ucs4_loop_single)
7296         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7297         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7298         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7299         (ucs4le_internal_loop_single): Likewise.
7300         * iconv/iconv.c (iconv): Likewise.
7301         * iconv/iconv_close.c: Likewise.
7302         * iconv/loop.c (SINGLE): Likewise.
7303         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7304         * include/atomic.h: Likewise.
7305         * inet/inet6_option.c (option_alloc): Likewise.
7306         * intl/bindtextdom.c (set_binding_values): Likewise.
7307         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7308         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7309         * intl/localealias.c (read_alias_file): Likewise.
7310         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7311         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7312         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7313         * libio/fmemopen.c (fmemopen): Likewise.
7314         * libio/iofgets.c (_IO_fgets): Likewise.
7315         * libio/iofgets_u.c (fgets_unlocked): Likewise.
7316         * libio/iofgetws.c (fgetws): Likewise.
7317         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7318         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7319         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7320         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7321         * locale/findlocale.c (_nl_find_locale): Likewise.
7322         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7323         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7324         Likewise.
7325         * locale/setlocale.c (setlocale): Likewise.
7326         * login/programs/pt_chown.c (main): Likewise.
7327         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7328         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7329         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7330         (mmap, mmap64, mremap, munmap): Likewise.
7331         * math/e_exp2l.c: Likewise.
7332         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7333         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7334         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7335         * math/s_catan.c (__catan): Likewise.
7336         * math/s_catanf.c (__catanf): Likewise.
7337         * math/s_catanh.c (__catanh): Likewise.
7338         * math/s_catanhf.c (__catanhf): Likewise.
7339         * math/s_catanhl.c (__catanhl): Likewise.
7340         * math/s_catanl.c (__catanl): Likewise.
7341         * math/s_ccosh.c (__ccosh): Likewise.
7342         * math/s_ccoshf.c (__ccoshf): Likewise.
7343         * math/s_ccoshl.c (__ccoshl): Likewise.
7344         * math/s_cexp.c (__cexp): Likewise.
7345         * math/s_cexpf.c (__cexpf): Likewise.
7346         * math/s_cexpl.c (__cexpl): Likewise.
7347         * math/s_clog10.c (__clog10): Likewise.
7348         * math/s_clog10f.c (__clog10f): Likewise.
7349         * math/s_clog10l.c (__clog10l): Likewise.
7350         * math/s_clog.c (__clog): Likewise.
7351         * math/s_clogf.c (__clogf): Likewise.
7352         * math/s_clogl.c (__clogl): Likewise.
7353         * math/s_csin.c (__csin): Likewise.
7354         * math/s_csinf.c (__csinf): Likewise.
7355         * math/s_csinh.c (__csinh): Likewise.
7356         * math/s_csinhf.c (__csinhf): Likewise.
7357         * math/s_csinhl.c (__csinhl): Likewise.
7358         * math/s_csinl.c (__csinl): Likewise.
7359         * math/s_csqrt.c (__csqrt): Likewise.
7360         * math/s_csqrtf.c (__csqrtf): Likewise.
7361         * math/s_csqrtl.c (__csqrtl): Likewise.
7362         * math/s_ctan.c (__ctan): Likewise.
7363         * math/s_ctanf.c (__ctanf): Likewise.
7364         * math/s_ctanh.c (__ctanh): Likewise.
7365         * math/s_ctanhf.c (__ctanhf): Likewise.
7366         * math/s_ctanhl.c (__ctanhl): Likewise.
7367         * math/s_ctanl.c (__ctanl): Likewise.
7368         * math/w_pow.c: Likewise.
7369         * math/w_powf.c: Likewise.
7370         * math/w_powl.c: Likewise.
7371         * math/w_scalb.c (sysv_scalb): Likewise.
7372         * math/w_scalbf.c (sysv_scalbf): Likewise.
7373         * math/w_scalbl.c (sysv_scalbl): Likewise.
7374         * misc/error.c (error_tail): Likewise.
7375         * misc/pselect.c (__pselect): Likewise.
7376         * nis/nis_callback.c (__nis_create_callback): Likewise.
7377         * nis/nis_call.c (__nisfind_server): Likewise.
7378         * nis/nis_creategroup.c (nis_creategroup): Likewise.
7379         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7380         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7381         * nis/nis_getservlist.c (nis_getservlist): Likewise.
7382         * nis/nis_lookup.c (nis_lookup): Likewise.
7383         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7384         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7385         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7386         * nis/nis_xdr.c (xdr_endpoint): Likewise.
7387         * nis/nss_compat/compat-grp.c (getgrent_next_file)
7388         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7389         * nis/nss_compat/compat-initgroups.c (add_group)
7390         (internal_getgrent_r): Likewise.
7391         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7392         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7393         * nis/nss_compat/compat-spwd.c (getspent_next_file)
7394         (internal_getspnam_r): Likewise.
7395         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7396         (_nss_nis_getaliasbyname_r): Likewise.
7397         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7398         (_nss_nis_getntohost_r): Likewise.
7399         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7400         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7401         (_nss_nis_getgrgid_r): Likewise.
7402         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7403         (internal_nis_gethostent_r, internal_gethostbyname2_r)
7404         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7405         (_nss_nis_gethostbyname4_r): Likewise.
7406         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7407         (initgroups_netid): Likewise.
7408         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7409         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7410         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7411         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7412         (_nss_nis_getprotobynumber_r): Likewise.
7413         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7414         (_nss_nis_getsecretkey): Likewise.
7415         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7416         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7417         (_nss_nis_getpwuid_r): Likewise.
7418         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7419         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7420         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7421         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7422         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7423         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7424         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7425         Likewise.
7426         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7427         (_nss_nisplus_getntohost_r): Likewise.
7428         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7429         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7430         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7431         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7432         Likewise.
7433         * nis/nss_nisplus/nisplus-initgroups.c
7434         (_nss_nisplus_initgroups_dyn): Likewise.
7435         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7436         (_nss_nisplus_getnetbyaddr_r): Likewise.
7437         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7438         (_nss_nisplus_getprotobynumber_r): Likewise.
7439         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7440         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7441         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7442         Likewise.
7443         * nis/nss_nisplus/nisplus-service.c
7444         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7445         (_nss_nisplus_getservbyport_r): Likewise.
7446         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7447         (_nss_nisplus_getspnam_r): Likewise.
7448         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7449         Likewise.
7450         * nscd/aicache.c (addhstaiX): Likewise.
7451         * nscd/cache.c (cache_search, prune_cache): Likewise.
7452         * nscd/connections.c (register_traced_file, send_ro_fd)
7453         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7454         (main_loop_epoll): Likewise.
7455         * nscd/grpcache.c (addgrbyX): Likewise.
7456         * nscd/hstcache.c (addhstbyX): Likewise.
7457         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7458         * nscd/mem.c (gc, mempool_alloc): Likewise.
7459         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7460         (addinnetgrX): Likewise.
7461         * nscd/nscd-client.h (__nscd_acquire_maplock)
7462         (__nscd_drop_map_ref): Likewise.
7463         * nscd/nscd_getai.c (__nscd_getai): Likewise.
7464         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7465         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7466         Likewise.
7467         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7468         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7469         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7470         (__nscd_get_map_ref): Likewise.
7471         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7472         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7473         Likewise.
7474         * nscd/pwdcache.c (addpwbyX): Likewise.
7475         * nscd/selinux.c (preserve_capabilities): Likewise.
7476         * nscd/servicescache.c (addservbyX): Likewise.
7477         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7478         * posix/fnmatch.c (fnmatch): Likewise.
7479         * posix/getopt.c (_getopt_internal_r): Likewise.
7480         * posix/glob.c (glob, glob_in_dir): Likewise.
7481         * posix/wordexp.c (exec_comm_child): Likewise.
7482         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7483         (getanswer_r, gaih_getanswer_slice): Likewise.
7484         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7485         * resolv/res_init.c: Likewise.
7486         * resolv/res_mkquery.c (res_nmkquery): Likewise.
7487         * resolv/res_query.c (__libc_res_nquery): Likewise.
7488         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7489         Likewise.
7490         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7491         * stdio-common/perror.c (perror): Likewise.
7492         * stdio-common/printf_fp.c (___printf_fp): Likewise.
7493         * stdio-common/tmpnam.c (tmpnam): Likewise.
7494         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7495         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7496         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7497         Likewise.
7498         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7499         * stdlib/putenv.c (putenv): Likewise.
7500         * stdlib/setenv.c (__add_to_environ): Likewise.
7501         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7502         * stdlib/strtol_l.c (INTERNAL): Likewise.
7503         * string/memmem.c (memmem): Likewise.
7504         * string/strerror.c (strerror): Likewise.
7505         * string/strnlen.c (__strnlen): Likewise.
7506         * string/test-memmem.c (simple_memmem): Likewise.
7507         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7508         * sunrpc/pm_getport.c (__get_socket): Likewise.
7509         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7510         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7511         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7512         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7513         Likewise.
7514         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7515         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7516         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7517         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7518         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7519         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7520         Likewise.
7521         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7522         Likewise.
7523         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7524         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7525         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7526         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7527         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7528         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7529         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7530         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7531         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7532         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7533         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7534         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7535         Likewise.
7536         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7537         Likewise.
7538         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7539         Likewise.
7540         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7541         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7542         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7543         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7544         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7545         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7546         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7547         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7548         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7549         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7550         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7551         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7552         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7553         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7554         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7555         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7556         Likewise.
7557         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7558         Likewise.
7559         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7560         Likewise.
7561         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7562         Likewise.
7563         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7564         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7565         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7566         Likewise.
7567         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7568         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7569         * sysdeps/posix/opendir.c (__opendirat): Likewise.
7570         * sysdeps/posix/sleep.c: Likewise.
7571         * sysdeps/posix/tempname.c: Likewise.
7572         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7573         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7574         Likewise.
7575         * sysdeps/powerpc/powerpc32/dl-machine.h
7576         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7577         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7578         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7579         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7580         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7581         Likewise.
7582         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7583         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7584         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7585         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7586         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7587         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7588         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7589         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7590         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7591         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7592         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7593         (elf_machine_lazy_rel): Likewise.
7594         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7595         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7596         (elf_machine_lazy_rel): Likewise.
7597         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7598         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7599         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7600         * sysdeps/unix/grantpt.c (grantpt): Likewise.
7601         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7602         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7603         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7604         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7605         Likewise.
7606         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7607         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7608         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7609         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7610         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7611         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7612         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7613         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7614         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7615         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7616         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7617         Likewise.
7618         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7619         (__posix_fallocate64_l64): Likewise.
7620         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7621         (posix_fallocate): Likewise.
7622         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7623         Likewise.
7624         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7625         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7626         (getifaddrs_internal): Likewise.
7627         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7628         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7629         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7630         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7631         * sysdeps/unix/sysv/linux/posix_fallocate64.c
7632         (__posix_fallocate64_l64): Likewise.
7633         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7634         Likewise.
7635         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7636         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7637         (__get_clockfreq): Likewise.
7638         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7639         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7640         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7641         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7642         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7643         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7644         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7645         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7646         Likewise.
7647         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7648         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7649         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7650         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7651         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7652         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7653         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7654         Likewise.
7655         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7656         (posix_fallocate): Likewise.
7657         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7658         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7659         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7660         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7661         (elf_machine_rela, elf_machine_rela_relative)
7662         (elf_machine_lazy_rel): Likewise.
7663         * time/asctime.c (asctime_internal): Likewise.
7664         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7665         * time/tzset.c (__tzset_parse_tz): Likewise.
7666         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7667         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7668         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7669         * wcsmbs/wcsmbsload.h: Likewise.
7670
7671         [BZ #15894]
7672         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7673
7674         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7675         (arena_get2): Remove THREAD_STATS conditionals.
7676         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7677         (__malloc_stats, int): Likewise.
7678
7679 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
7680
7681         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7682         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
7683
7684         * manual/setjmp.texi: Fix typos/grammar errors.
7685
7686         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7687         Only return early when n is <= 0.  Delete unused return statement.
7688
7689         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7690         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7691         * debug/tst-longjmp_chk3.c: New file.
7692
7693         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7694         (test_main): Replace code with set_fortify_handler call.
7695         * debug/test-strcpy_chk.c: Likewise.
7696         * debug/tst-chk1.c: Likewise.
7697         * debug/tst-longjmp_chk.c: Likewise.
7698         * test-skeleton.c: Include fcntl.h & paths.h
7699         (set_fortify_handler): Define.
7700
7701         * debug/tst-longjmp_chk.c: Add header comment and include
7702         ../test-skeleton.c.
7703         (do_test): Mark static.
7704         (TEST_FUNCTION): Define.
7705
7706         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7707         (IP_PMTUDISC_INTERFACE): Likewise.
7708         (IP_MULTICAST_IF): Likewise.
7709         (IP_MULTICAST_TTL): Likewise.
7710         (IP_MULTICAST_LOOP): Likewise.
7711         (IP_ADD_MEMBERSHIP): Likewise.
7712         (IP_DROP_MEMBERSHIP): Likewise.
7713         (IP_UNBLOCK_SOURCE): Likewise.
7714         (IP_BLOCK_SOURCE): Likewise.
7715         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7716         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7717         (IP_MSFILTER): Likewise.
7718         (MCAST_JOIN_GROUP): Likewise.
7719         (MCAST_BLOCK_SOURCE): Likewise.
7720         (MCAST_UNBLOCK_SOURCE): Likewise.
7721         (MCAST_LEAVE_GROUP): Likewise.
7722         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7723         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7724         (MCAST_MSFILTER): Likewise.
7725         (IP_MULTICAST_ALL): Likewise.
7726         (IP_UNICAST_IF): Likewise.
7727
7728         * timezone/Makefile: Delete $(have-ksh) check.
7729         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7730         * timezone/tzselect.ksh: Add +x mode bits.
7731
7732         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7733         (ANON_INODE_FS_MAGIC): Likewise.
7734         (BDEVFS_MAGIC): Likewise.
7735         (BINFMTFS_MAGIC): Likewise.
7736         (BTRFS_TEST_MAGIC): Likewise.
7737         (CRAMFS_MAGIC_WEND): Likewise.
7738         (DEBUGFS_MAGIC): Likewise.
7739         (ECRYPTFS_SUPER_MAGIC): Likewise.
7740         (EXT3_SUPER_MAGIC): Likewise.
7741         (EXT4_SUPER_MAGIC): Likewise.
7742         (FUTEXFS_SUPER_MAGIC): Likewise.
7743         (HOSTFS_SUPER_MAGIC): Likewise.
7744         (HUGETLBFS_MAGIC): Likewise.
7745         (MINIX3_SUPER_MAGIC): Likewise.
7746         (MTD_INODE_FS_MAGIC): Likewise.
7747         (NILFS_SUPER_MAGIC): Likewise.
7748         (OPENPROM_SUPER_MAGIC): Likewise.
7749         (PIPEFS_MAGIC): Likewise.
7750         (PSTOREFS_MAGIC): Likewise.
7751         (QNX6_SUPER_MAGIC): Likewise.
7752         (RAMFS_MAGIC): Likewise.
7753         (REISERFS_SUPER_MAGIC_STRING): Likewise.
7754         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7755         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7756         (SECURITYFS_MAGIC): Likewise.
7757         (SELINUX_MAGIC): Likewise.
7758         (SMACK_MAGIC): Likewise.
7759         (SOCKFS_MAGIC): Likewise.
7760         (SQUASHFS_MAGIC): Likewise.
7761         (STACK_END_MAGIC): Likewise.
7762         (TMPFS_MAGIC): Likewise.
7763         (USBDEVICE_SUPER_MAGIC): Likewise.
7764         (V9FS_MAGIC): Likewise.
7765         (XENFS_SUPER_MAGIC): Likewise.
7766         (CRAMFS_MAGIC): Fix typo in comment.
7767         (EXT2_SUPER_MAGIC): Update comment.
7768         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7769
7770 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
7771
7772         * sysdeps/arm: Move directory from ports/sysdeps/arm.
7773         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7774         * sysdeps/unix/sysv/linux/arm: Move directory from
7775         ports/sysdeps/unix/sysv/linux/arm.
7776         * README: Update listing for arm-*-linux-gnueabi.
7777
7778         * README: Remove mention of am33.
7779
7780 2014-02-07  Roland McGrath  <roland@hack.frob.com>
7781
7782         * bits/sigset.h (__sigemptyset): Use a statement expression rather
7783         than the comma operator, to avoid "rhs of comma has no effect"
7784         compiler warnings.
7785         (__sigfillset, __sigandset, __sigorset): Likewise.
7786         * include/signal.h (__sigemptyset): Likewise.
7787         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7788
7789 2014-02-07  Allan McRae  <allan@archlinux.org>
7790
7791         * version.h (RELEASE): Set to "development".
7792         (VERSION): Set to "2.19.90"
7793         * NEWS: Add 2.20 section.
7794
7795 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
7796
7797         [BZ #16529]
7798         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7799
7800 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7801
7802         * manual/contrib.texi: Update entry for Carlos O'Donell,
7803         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7804
7805 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
7806
7807         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7808
7809         * sysdeps/unix/sysv/linux/kernel-features.h
7810         [__LINUX_KERNEL_VERSION >= 0x020621]
7811         (__ASSUME_PROC_PID_TASK_COMM): Define.
7812
7813 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7814
7815         [BZ #16398]
7816         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7817         conversion when destination buffer does not have enough space.
7818         * libio/tst-ftell-partial-wide.c: New test case.
7819         * libio/Makefile (tests): Add tst-ftell-partial-wide.
7820
7821         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7822         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
7823         Leonard and Allan McRae.
7824
7825 2014-02-04  David S. Miller  <davem@davemloft.net>
7826
7827         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7828         32-bit.
7829
7830 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7831
7832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7833         New file
7834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7835         New file
7836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7837         New file.
7838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7839         New file.
7840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7841         New file.
7842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7843         New file.
7844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7845         New file.
7846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7847         New file.
7848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7849         New file.
7850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7851         New file.
7852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7853         New file.
7854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7855         New file.
7856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7857         New file.
7858
7859 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7860
7861         * nptl/shlib-versions: Change powerpc*le start to 2.17.
7862         * shlib-versions: Likewise.
7863
7864 2014-02-04  Roland McGrath  <roland@hack.frob.com>
7865             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7866
7867         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7868         (abilist-pattern): New variable, set to %-le.abilist.
7869
7870         * Makerules (abilist-pattern): New variable.
7871         (vpath): Use $(abilist-pattern) in place of %.abilist.
7872         (check-abi-% pattern rule): Likewise.
7873         (check-abi, update-abi): Likewise.
7874
7875 2014-02-04  Eric Wong  <normalperson@yhbt.net>
7876
7877         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7878
7879 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
7880
7881         * manual/startup.texi: Add next, previous, and top entries for
7882         the `Program Arguments' and `Environment Variables' nodes.
7883
7884 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
7885
7886         * manual/macros.texi: Add comments before MTASC-safety macros.
7887
7888         * manual/users.texi: Document MTASC-safety properties.
7889
7890         * manual/threads.texi (pthread_key_create, pthread_key_delete)
7891         (pthread_getspecific, pthread_setspecific): Format with
7892         @deftypefun, and add @safety note.
7893         * manual/signal.texi: Move comments that analyze the above
7894         functions to their home place.
7895
7896 2014-02-03  Allan McRae  <allan@archlinux.org>
7897
7898         * po/sl.po: Update Slovenian translation from translation project.
7899
7900 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
7901
7902         * manual/time.texi (timegm): Add missing blank after @c.
7903         Reported by Joseph Myers <joseph@codesourcery.com>.
7904
7905 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
7906
7907         * manual/check-safety.sh: New.
7908         * manual/Makefile ($(objpfx)stamp-summary): Run it.
7909
7910         * manual/terminal.texi: Document MTASC-safety properties.
7911
7912         * manual/filesys.texi: Document MTASC-safety properties.
7913
7914         * manual/errno.texi: Document MTASC-safety properties.
7915
7916         * manual/intro.texi: Document safety identifiers and
7917         conditionals.
7918
7919         * manual/string.texi (wcstok): Fix prototype.
7920         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7921
7922         * manual/time.texi: Document MTASC-safety properties.
7923
7924         * manual/string.texi: Document MTASC-safety properties.
7925
7926         * manual/threads.texi: Document MTASC-safety properties.
7927
7928         * manual/stdio.texi: Document MTASC-safety properties.
7929
7930         * manual/syslog.texi: Document MTASC-safety properties.
7931
7932         * manual/sysinfo.texi: Document MTASC-safety properties.
7933
7934         * manual/startup.texi: Document MTASC-safety properties.
7935
7936         * manual/socket.texi: Document MTASC-safety properties.
7937
7938         * manual/signal.texi: Document MTASC-safety properties.
7939
7940 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
7941
7942         * manual/setjmp.texi: Document MTASC-safety properties.
7943
7944         * manual/search.texi: Document MTASC-safety properties.
7945
7946         * manual/resource.texi: Document MTASC-safety properties.
7947
7948         * manual/process.texi: Document MTASC-safety properties.
7949
7950         * manual/platform.texi: Document MTASC-safety properties.
7951
7952         * manual/pipe.texi: Document MTASC-safety properties.
7953
7954         * manual/pattern.texi: Document MTASC-safety properties.
7955
7956         * manual/message.texi: Document MTASC-safety properties.
7957
7958         [BZ #12751]
7959         * manual/memory.texi: Document MTASC-safety properties.
7960
7961         * manual/math.texi: Document MTASC-safety properties.
7962
7963         * manual/locale.texi: Document MTASC-safety properties.
7964
7965         * manual/llio.texi: Document MTASC-safety properties.
7966
7967         * manual/libdl.texi: New.
7968
7969         * manual/lang.texi: Document MTASC-safety properties.
7970
7971         * manual/job.texi: Document MTASC-safety properties.
7972
7973         * manual/getopt.texi: Document MTASC-safety properties.
7974
7975         * manual/ctype.texi: Document MTASC-safety properties.
7976
7977 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
7978
7979         [BZ #16046]
7980         * csu/libc-tls.c (static_map): Remove variable.
7981         (__libc_setup_tls): Use main executable's link map for TLS data.
7982         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7983         casing for LM_ID_BASE and GL(dl_nns).
7984         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7985         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
7986         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7987         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7988         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7989         member.
7990         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7991         l_phnum members.
7992
7993 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
7994
7995         * manual/debug.texi: Document MTASC-safety properties.
7996
7997 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
7998
7999         [BZ #16510]
8000         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8001         of __x86_64__ when disabling x87 inline functions.
8002
8003 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
8004
8005         * manual/charset.texi: Document MTASC-safety properties.
8006
8007         * manual/crypt.texi: Document MTASC-safety properties.
8008
8009         * manual/conf.texi: Document MTASC-safety properties.
8010
8011         * manual/arith.texi: Document MTASC-safety properties.
8012
8013         * manual/argp.texi: Document MTASC-safety properties.
8014
8015         * manual/macros.texi: Introduce macros to document multi
8016         thread, asynchronous signal and asynchronous cancellation
8017         safety properties.
8018         * manual/intro.texi: Introduce the properties themselves.
8019
8020 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8021
8022         * sysdeps/sh/sh4/Makefile: New file.
8023
8024 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
8025
8026         * math/gen-libm-test.pl ($srcdir): New variable.
8027         ($auto_input): Use it.
8028
8029 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8030
8031         [BZ #16506]
8032         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8033         access beyond array bounds when parsing netgroups file.
8034
8035         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8036         the old buffer before realloc.
8037
8038 2014-01-27  Allan McRae  <allan@archlinux.org>
8039
8040         * po/fr.po: Update French translation from translation project.
8041
8042 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8043
8044         * sysdeps/sh/libm-test-ulps: Regenerate.
8045
8046 2014-01-24  David S. Miller  <davem@davemloft.net>
8047
8048         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8049
8050 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8051
8052         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8053         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8054
8055 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8056
8057         [BZ #16474]
8058         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8059         string pointers after reallocation.
8060
8061 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8062
8063         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8064         __SH4A__ instead of __SH_FPU_ANY__.
8065
8066 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8067
8068         * sysdeps/sh/fpu_control.h: New file.
8069         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8070         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8071         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8072         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8073         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8074         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8075         * sysdeps/sh/sys/ucontext.h: Remove.
8076         * sysdeps/sh/sys: Remove directory.
8077
8078 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8079
8080         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8081         s390/sys/ucontext.h.
8082         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8083         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8084
8085 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
8086
8087         [BZ #15605]
8088         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8089
8090 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8091
8092         [BZ#16431]
8093         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8094         Adjust the vDSO correctly for internal calls.
8095         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8096
8097 2014-01-20  Allan McRae  <allan@archlinux.org>
8098
8099         * po/ca.po: Update Catalan translation from translation project.
8100
8101 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
8102
8103         * sysdeps/s390/sotruss-lib.c: New file.
8104
8105 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8106
8107         [BZ#16430]
8108         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8109         (__GI___gettimeofday): Alias for a different internal symbol to avoid
8110         local calls issues by not having a PLT stub required for IFUNC calls.
8111         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8112
8113 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
8114
8115         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8116         * math/test-fpucw-static.c: Likewise.
8117
8118 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8119
8120         [BZ #16453]
8121         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8122
8123 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8124
8125         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8126         implementation for powerpc.
8127
8128 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
8129
8130         [BZ #14782]
8131         * sysdeps/posix/system.c (__libc_system): Do not enable
8132         asynchronous cancellation.
8133
8134 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8135
8136         [BZ #16427]
8137         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8138         handling only for numbers special also in the IEEE case.
8139
8140 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8141
8142         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8143
8144 2014-01-11  Allan McRae  <allan@archlinux.org>
8145
8146         * po/bg.po: Update Bulgarian translation from translation project.
8147
8148         * po/de.po: Update German translation from translation project.
8149
8150 2014-01-10  Roland McGrath  <roland@hack.frob.com>
8151
8152         * sysdeps/generic/gcc-compat.h: New file.
8153
8154 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8155
8156         * benchtests/asin-inputs: Correct slow inputs.
8157         * benchtests/acos-inputs: Likewise.
8158
8159 2014-01-10  Allan McRae  <allan@archlinux.org>
8160
8161         * po:sv.po: Update Swedish translation from translation project.
8162
8163         * po/vi.po: Update Vietnamese translation from translation project.
8164
8165         * po/eo.po: Update Esperanto translation from translation project.
8166
8167         * po/cs.po: Update Czech translation from translation project.
8168
8169         * po/nl.po: Update Dutch translation from translation project.
8170
8171         * po/pl.po: Update Polish translation from translation project.
8172
8173         * po/ru.po: Update Russian translation from translation project.
8174
8175         * po/uk.po: Update Ukrainian translation from translation project.
8176
8177 2014-01-08  Brooks Moses  <bmoses@google.com>
8178
8179         * elf/dl-load.c: Fix comment typo.
8180
8181 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
8182
8183         * po/header.pot: Rename to...
8184         * po/pot.header: ... this.
8185         * po/Makefile: Use pot.header.
8186
8187 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
8188             Maxim Kuvyrkov  <maxim@kugelworks.com>
8189
8190         [BZ #16394]
8191         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8192         SRC and DEST against LEN.
8193
8194 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8195
8196         [BZ #16414]
8197         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8198         implementation.
8199         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8200
8201 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8202
8203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8204
8205 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
8206
8207         [BZ #16408]
8208         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8209         for large positive arguments.
8210
8211 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
8212
8213         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8214
8215         * math/auto-libm-test-in: Mark various tests with
8216         xfail-rounding:ldbl-128ibm.
8217         * math/auto-libm-test-out: Regenerated.
8218
8219         [BZ #16407]
8220         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8221         Increase overflow threshold.
8222
8223 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
8224
8225         [BZ #14286]
8226         * stdio-common/vfprintf.c: Check for integer overflow.
8227
8228 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8229
8230         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8231         the first argument and return value of __tls_get_addr_internal.
8232
8233 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8234
8235         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8236         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8237
8238 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8239
8240         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8241         * sysdeps/s390/rtld-global-offsets.sym: New file.
8242         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8243         GLIBC_2.19 symbol.
8244         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8245         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8246         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8247         ... this.
8248         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8249         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8250         ... this.
8251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8252         Regenerate.
8253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8254         Regenerate.
8255         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8256         halfs of GPRs for high_gprs contexts.
8257         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8258         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
8259         field.
8260         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8261         uc_flags field.
8262         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8263         64 bit versions:
8264         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8265         for high GPRs (uc_high_gprs) and for future extensions
8266         (__reserved).
8267         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8268         for future extensions (__reserved).
8269         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8270         64 bit versions:
8271         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8272         SC_HIGHGPRS offset definition.
8273         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8274         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8275
8276         * Versions.def: Add GLIBC_2.19 for libpthread.
8277         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8278         siglongjmp for libpthread with GLIBC_2.19 symver.
8279         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8280         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8281         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8282         * sysdeps/s390/__longjmp.c: New file.
8283         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8284         * sysdeps/s390/longjmp.c: New file.
8285         * sysdeps/s390/setjmp.S: New file.
8286         * sysdeps/s390/sigjmp.S: New file.
8287         * sysdeps/s390/v1-longjmp.c: New file.
8288         * sysdeps/s390/v1-setjmp.h: New file.
8289         * sysdeps/s390/v1-sigjmp.c: New file.
8290         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8291         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8292         GLIBC_2.19 version.
8293         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8294         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8295         versioned symbols for ____longjmp_chk.
8296         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8297         Likewise.
8298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8299         Regenerate.
8300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8301         Regenerate.
8302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8303         Regenerate.
8304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8305         Regenerate.
8306         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8307         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8308         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8309         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8310         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8311         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8312         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8313         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8314         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8315         * sysdeps/s390/rtld-__longjmp.c: New file.
8316         * sysdeps/s390/rtld-setjmp.S: New file.
8317
8318 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
8319
8320         [BZ #16400]
8321         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8322         Return -__logl (x) for small positive arguments without evaluating
8323         a polynomial.
8324
8325 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
8326
8327         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8328         Rename to ...
8329         (__ptrace_peeksiginfo_args): ... this.
8330         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8331         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8332         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8333
8334 2014-01-06  Allan McRae  <allan@archlinux.org>
8335
8336         * inet/netinet/in.h: Fix typo in comment.
8337
8338 2014-01-05  Andreas Jaeger  <aj@suse.de>
8339
8340         * sysdeps/i386/fpu/libm-test-ulps: Update.
8341
8342 2014-01-05  Allan McRae  <allan@archlinux.org>
8343
8344         * po/libc.pot: Regenerated.
8345
8346         * malloc/memusagestat.c: Fix gettext call formatting.
8347
8348 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
8349
8350         * nscd/nscd.c: Improve usage() output.
8351
8352 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
8353
8354         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8355         * sysdeps/unix/sysv/linux/configure: Regenerated.
8356         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8357         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8358
8359 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8360
8361         [BZ #16390]
8362         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8363         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8364
8365 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8366
8367         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8368         extra tokens at end of #undef directive.
8369         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8370         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8371         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8372
8373 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8374
8375         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8376
8377         * math/auto-libm-test-in: Mark various tests with
8378         xfail-rounding:ldbl-128ibm.
8379         * math/auto-libm-test-out: Regenerated.
8380
8381 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8382
8383         [BZ #16386]
8384         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8385         numbers with subnormal high part when calculating exponent.
8386
8387         [BZ #16385]
8388         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8389         fabs.
8390
8391         [BZ #16384]
8392         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8393         M_LN2l.
8394         (__ieee754_acoshl): Use __log1pl not __log1p.
8395
8396 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
8397
8398         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8399         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8400         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8401         (grow_heap, heap_trim, _int_new_arena, get_free_list)
8402         (reused_arena, arena_get2): Convert to GNU style.
8403         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8404         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8405         (memalign_check, __malloc_set_state): Likewise.
8406         * malloc/mallocbug.c (main): Likewise.
8407         * malloc/malloc.c (__malloc_assert, malloc_init_state)
8408         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8409         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8410         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8411         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8412         (__posix_memalign, malloc_info): Likewise.
8413         * malloc/malloc.h: Likewise.
8414         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8415         (mallochook, memalignhook, reallochook, mabort): Likewise.
8416         * malloc/mcheck.h: Likewise.
8417         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8418         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8419         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8420         * malloc/morecore.c (__default_morecore): Likewise.
8421         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8422         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8423         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8424         (print_and_abort): Likewise.
8425         * malloc/obstack.h: Likewise.
8426         * malloc/set-freeres.c (__libc_freeres): Likewise.
8427         * malloc/tst-mallocstate.c (main): Likewise.
8428         * malloc/tst-mtrace.c (main): Likewise.
8429         * malloc/tst-realloc.c (do_test): Likewise.
8430
8431 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8432
8433         [BZ #16366]
8434         * nscd/netgroupcache.c (do_notfound): New function.
8435         (addgetnetgrentX): Use it.
8436
8437         [BZ # 16365]
8438         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8439         NSS_STATUS_NOTFOUND.
8440
8441 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
8442
8443         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8445
8446 2014-01-01  Allan McRae  <allan@archlinux.org>
8447
8448         * scripts/update-copyrights: Update configure input file suffix.
8449
8450         * NEWS: Update copyright year.
8451         * catgets/gencat.c: Likewise.
8452         * csu/version.c: Likewise.
8453         * debug/catchsegv.sh: Likewise.
8454         * debug/pcprofiledump.c: Likewise.
8455         * debug/xtrace.sh: Likewise.
8456         * elf/ldconfig.c: Likewise.
8457         * elf/ldd.bash.in: Likewise.
8458         * elf/pldd.c: Likewise.
8459         * elf/sotruss.ksh: Likewise.
8460         * elf/sprof.c: Likewise.
8461         * iconv/iconv_prog.c: Likewise.
8462         * iconv/iconvconfig.c: Likewise.
8463         * locale/programs/locale.c: Likewise.
8464         * locale/programs/localedef.c: Likewise.
8465         * login/programs/pt_chown.c: Likewise.
8466         * malloc/memusage.sh: Likewise.
8467         * malloc/memusagestat.c: Likewise.
8468         * malloc/mtrace.pl: Likewise.
8469         * manual/libc.texinfo: Likewise.
8470         * nscd/nscd.c: Likewise.
8471         * nss/getent.c: Likewise.
8472         * nss/makedb.c: Likewise.
8473         * posix/getconf.c: Likewise.
8474         * scripts/test-installation.pl: Likewise.
8475
8476         * All files with FSF copyright notices: Update copyright dates
8477         using scripts/update-copyrights.
8478         * intl/plural.c: Regenerated.
8479         * locale/programs/charmap-kw.h: Likewise.
8480         * locale/programs/locfile-kw.h: Likewise.
8481
8482 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
8483
8484         * sysdeps/unix/sysv/linux/configure: Regenerated.
8485         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8486         the linux/fanotify.h header.
8487         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8488         HAVE_LINUX_FANOTIFY_H is defined.
8489
8490 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8491
8492         * benchtests/cos-inputs: New inputs.
8493         * benchtests/sin-inputs: Likewise.
8494
8495         * benchtests/atan-inputs: New inputs. Fix name of multiple
8496         precision fallback inputs.
8497
8498         * benchtests/atanh-inputs: New inputs.
8499         * benchtests/tanh-inputs: Likewise.
8500
8501         * benchtests/acosh-inputs: New inputs.
8502         * benchtests/asinh-inputs: Likewise.
8503
8504         * benchtests/cosh-inputs: New inputs.
8505         * benchtests/sinh-inputs: Likewise.
8506
8507         * benchtests/acos-inputs: Add more inputs.
8508         * benchtests/asin-inputs: Likewise.
8509
8510 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
8511
8512         [BZ #16375]
8513         * manual/arith.texi: Fix spelling.
8514         * manual/charset.texi: Likewise.
8515         * manual/errno.texi: Likewise.
8516         * manual/filesys.texi: Likewise.
8517         * manual/lang.texi: Likewise.
8518         * manual/llio.texi: Likewise.
8519         * manual/locale.texi: Likewise.
8520         * manual/message.texi: Likewise.
8521         * manual/resource.texi: Likewise.
8522         * manual/search.texi: Likewise.
8523         * manual/setjmp.texi: Likewise.
8524         * manual/stdio.texi: Likewise.
8525         * manual/string.texi: Likewise.
8526         * manual/sysinfo.texi: Likewise.
8527         * manual/time.texi: Likewise.
8528
8529 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
8530
8531         * po/sl.po: New file.
8532
8533 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
8534
8535         * .gitignore: Add core/.gdbinit/.gdb_history.
8536
8537 2013-12-27  Allan McRae  <allan@archlinux.org>
8538
8539         [BZ #16369]
8540         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8541         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8542
8543 2013-12-24  Brooks Moses  <bmoses@google.com>
8544
8545         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8546         all compilers that claim C++98 compliance, not just GCC.
8547         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8548         Likewise.
8549
8550 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8551
8552         * NEWS: Restore accidentally deleted bug-fix entries.
8553
8554 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8555             Ondřej Bílka  <neleai@seznam.cz>
8556
8557         [BZ #15073]
8558         * malloc/malloc.c (_int_free): Perform sanity check only if we
8559         have_lock.
8560
8561 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
8562
8563         [BZ #12986]
8564         * manual/stdio.texi (String Input Conversions): Clarify that character
8565         classes are not supported.
8566
8567 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8568
8569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8570
8571 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
8572
8573         [BZ #16337]
8574         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8575         Calculate results for small negative arguments directly rather
8576         than using reflection formula with special underflow handling.
8577
8578         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8579         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8580         sysdeps/unix/bsd/bsd4.4/syscalls.list.
8581         (fchflags): Likewise.
8582         (revoke): Likewise.
8583         (setlogin): Likewise.
8584         (sigaltstack): Likewise.
8585         (wait4): Likewise.
8586         (sigblock): Remove.
8587         (sigsetmask): Likewise.
8588         (wait3): Likewise.
8589         (waitpid): Likewise.
8590         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8591         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8592         file.
8593         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8594         * sysdeps/unix/bsd/Makefile: ... here.
8595         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8596         * sysdeps/unix/bsd/Versions: ... here.
8597         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8598         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8599         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8600         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8601         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8602         * sysdeps/unix/bsd/sigblock.c: ... here.
8603         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8604         * sysdeps/unix/bsd/sigsetmask.c: ... here.
8605         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8606         * sysdeps/unix/bsd/sigvec.c: ... here.
8607         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8608         * sysdeps/unix/bsd/tcdrain.c: ... here.
8609         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8610         * sysdeps/unix/bsd/tcgetattr.c: ... here.
8611         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8612         * sysdeps/unix/bsd/tcsetattr.c: ... here.
8613         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8614         * sysdeps/unix/bsd/wait.c: ... here.
8615         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8616         * sysdeps/unix/bsd/wait3.c: ... here.
8617         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8618         * sysdeps/unix/bsd/waitpid.c: ... here.
8619
8620 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
8621
8622         [BZ #16356]
8623         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8624         round-to-nearest for [!USE_AS_EXPM1L].
8625         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8626         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
8627         more tests of exp and exp10.  Expect some exp10 tests to miss
8628         exceptions or fail in directed rounding modes.
8629         * math/auto-libm-test-out: Regenerated.
8630         * math/libm-test.inc (exp10_tonearest_test_data): New array.
8631         (exp10_test_tonearest): New function.
8632         (exp10_towardzero_test_data): New array.
8633         (exp10_test_towardzero): New function.
8634         (exp10_downward_test_data): New array.
8635         (exp10_test_downward): New function.
8636         (exp10_upward_test_data): New array.
8637         (exp10_test_upward): New function.
8638         (main): Call the new functions.
8639         * sysdeps/i386/fpu/libm-test-ulps: Update.
8640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8641
8642 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
8643
8644         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8645         asinh, atan, atan2, atanh, cbrt, cos and cosh.
8646         * math/auto-libm-test-out: Regenerated.
8647         * math/libm-test.inc (acosh_test_data): Add more tests.
8648         (atanh_test_data): Likewise.
8649         (ceil_test_data): Likewise.
8650         (copysign_test_data): Likewise.
8651         * sysdeps/i386/fpu/libm-test-ulps: Update.
8652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8653
8654         * timezone/checktab.awk: Update from tzcode 2013i.
8655         * timezone/private.h: Likewise.
8656         * timezone/scheck.c: Likewise.
8657         * timezone/tzfile.h: Likewise.
8658         * timezone/tzselect.ksh: Likewise.
8659         * timezone/zdump.c: Likewise.
8660         * timezone/zic.c: Likewise.
8661
8662         * math/auto-libm-test-in: Add tests of cpow.
8663         * math/auto-libm-test-out: Regenerated.
8664         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8665         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8666         mpc_cc_c.
8667         (func_calc_desc): Add mpc_cc_c union field.
8668         (test_functions): Add cpow.
8669         (special_fill_2pi): New function.
8670         (special_real_inputs): Add 2pi.
8671         (calc_generic_results): Handle mpc_cc_c.
8672         * sysdeps/i386/fpu/libm-test-ulps: Update.
8673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8674
8675         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8676         csqrt, ctan and ctanh.
8677         * math/auto-libm-test-out: Regenerated.
8678         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8679         (TEST_COND_x86): Likewise.
8680         (ccos_test_data): Use AUTO_TESTS_c_c.
8681         (ccosh_test_data): Likewise.
8682         (cexp_test_data): Likewise.
8683         (clog_test_data): Likewise.
8684         (csqrt_test_data): Likewise.
8685         (ctan_test_data): Likewise.
8686         (ctan_tonearest_test_data): Likewise.
8687         (ctan_towardzero_test_data): Likewise.
8688         (ctan_downward_test_data): Likewise.
8689         (ctan_upward_test_data): Likewise.
8690         (ctanh_test_data): Likewise.
8691         (ctanh_tonearest_test_data): Likewise.
8692         (ctanh_towardzero_test_data): Likewise.
8693         (ctanh_downward_test_data): Likewise.
8694         (ctanh_upward_test_data): Likewise.
8695         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8696         mpc_c_c.
8697         (func_calc_desc): Add mpc_c_c union field.
8698         (FUNC_mpc_c_c): New macro.
8699         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8700         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8701         ctanh.
8702         (special_fill_min_subnorm_p120): New function.
8703         (special_real_inputs): Add min_subnorm_p120.
8704         (calc_generic_results): Handle mpc_c_c.
8705         * sysdeps/i386/fpu/libm-test-ulps: Update.
8706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8707
8708 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8709
8710         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8711         (do_sin_slow): New functions.
8712         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8713         (cslow2, csloww1, csloww2): Use the new functions.
8714
8715         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8716         Use M to change sign of result instead of X.  Assume X is
8717         positive.
8718         (csloww1): Likewise.
8719         (__sin): Adjust.
8720         (__cos): Adjust.
8721
8722         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8723         arguments A and DA.
8724         (__sin): Adjust.
8725         (__cos): Likewise.
8726
8727         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8728         (__cos): Likewise.
8729         (sloww1): Don't adjust sign of DX.
8730         (csloww1): Likewise.
8731         (sloww2): Use X directly and don't adjust sign of DX.
8732         (csloww2): Likewise.
8733
8734 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8735
8736         * math/auto-libm-test-in: Add tests of cabs and carg.
8737         * math/auto-libm-test-out: Regenerated.
8738         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8739         (carg_test_data): Likewise.
8740         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8741         mpc_c_f.
8742         (func_calc_desc): Add mpc_c_f union field.
8743         (test_functions): Add cabs and carg.
8744         (calc_generic_results): Handle mpc_c_f.
8745
8746         * sysdeps/powerpc/powerpc32/libgcc-compat.S
8747         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8748         as a macro and a compat symbol.
8749         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8750         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8751         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8752         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8753         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8754         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8755         not use .hidden.
8756         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8757         Likewise.
8758         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8759         Likewise.
8760         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8761         Likewise.
8762         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8763         Likewise.
8764         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8765         Likewise.
8766         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8767         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8768         from GLIBC_2.3.2.
8769
8770 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8771
8772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8773
8774 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8775
8776         * manual/texinfo.tex: Update to version 2013-11-26.10 with
8777         trailing whitespace removed.
8778         * scripts/config.guess: Update to version 2013-11-29.
8779         * scripts/config.sub: Update to version 2013-10-01.
8780
8781         * math/auto-libm-test-in: Add tests of sincos.
8782         * math/auto-libm-test-out: Regenerated.
8783         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8784         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8785         mpfr_f_11.
8786         (func_calc_desc): Add mpfr_f_11 union field.
8787         (test_functions): Add sincos.
8788         (calc_generic_results): Handle mpfr_f_11.
8789         * sysdeps/i386/fpu/libm-test-ulps: Update.
8790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8791
8792 2013-12-19  Andreas Schwab  <schwab@suse.de>
8793
8794         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8795         CALL_MCOUNT.
8796         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8797         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8798         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8799
8800 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8801
8802         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8803         * sysdeps/i386/fpu/libm-test-ulps: Update.
8804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8805
8806         [BZ #16293]
8807         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8808         round-to-nearest mode when using frndint.
8809         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8810         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8811         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8812         Likewise.
8813         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
8814         sinh test to fail.
8815         * math/auto-libm-test-out: Regenerated.
8816         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8817         (TEST_COND_x86): Likewise.
8818         (expm1_tonearest_test_data): New array.
8819         (expm1_test_tonearest): New function.
8820         (expm1_towardzero_test_data): New array.
8821         (expm1_test_towardzero): New function.
8822         (expm1_downward_test_data): New array.
8823         (expm1_test_downward): New function.
8824         (expm1_upward_test_data): New array.
8825         (expm1_test_upward): New function.
8826         (main): Run the new test functions.
8827         * sysdeps/i386/fpu/libm-test-ulps: Update.
8828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8829
8830         * include/features.h: Update comment documenting feature test
8831         macros.  Mention _DEFAULT_SOURCE in comment.
8832         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8833         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8834         _BSD_SOURCE and _SVID_SOURCE.
8835         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8836         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8837         !_SVID_SOURCE]: Likewise.
8838         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8839         (__USE_POSIX_IMPLICITLY): Define.
8840         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8841         (_POSIX_SOURCE): Undefine and redefine.
8842         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8843         (_POSIX_C_SOURCE): Likewise.
8844         * manual/creature.texi (_DEFAULT_SOURCE): Document.
8845         (Feature Test Macros): Update documentation of default features.
8846
8847 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8848
8849         * benchtests/Makefile: Add bench-strtok.
8850         * benchtests/bench-strtok.c: New file: strtok benchtest.
8851
8852 2013-12-19  Allan McRae  <allan@archlinux.org>
8853
8854         * manual/install.texi: Suppress menu for plain text output.
8855         * INSTALL: Regenerated.
8856
8857 2013-12-18  Brooks Moses  <bmoses@google.com>
8858
8859         [BZ #15846]
8860         * misc/getauxval.c: Include errno.h.
8861         (__getauxval): Set errno to ENOENT if the requested type is not
8862         found.
8863         * misc/sys/auxv.h (getauxval): Document that it may set errno;
8864         don't declare with __attribute_const__.
8865         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8866         * manual/startup.texi: Document that getauxval sets errno.
8867
8868 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8869
8870         * math/auto-libm-test-in: Add tests of jn and yn.
8871         * math/auto-libm-test-out: Regenerated.
8872         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8873         (yn_test_data): Likewise.
8874         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8875         mpfr_if_f.
8876         (func_calc_desc): Add mpfr_if_f union field.
8877         (FUNC_mpfr_if_f): New macro.
8878         (test_functions): Add jn and yn.
8879         (calc_generic_results): Assert type of second input for
8880         mpfr_ff_f.  Handle mpfr_if_f.
8881         (output_for_one_input_case): Disable all checking for arguments
8882         fitting floating-point types in case of an integer argument.
8883         * sysdeps/i386/fpu/libm-test-ulps: Update.
8884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8885
8886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8887         Don't expect fegetround reference in libm.so.
8888
8889 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8890
8891         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8892         $(config-cflags-nofma).
8893
8894 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8895
8896         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8897         * math/auto-libm-test-out: Regenerated.
8898
8899         [BZ #16338]
8900         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8901         to determine exponent and adjust argument to have exponent of -1.
8902         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8903         log2.
8904         * math/auto-libm-test-out: Regenerated.
8905         * sysdeps/i386/fpu/libm-test-ulps: Update.
8906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8907
8908 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
8909
8910         * manual/probes.texi: Remove cases when per-thread arenas are
8911         disabled.
8912
8913 2013-12-18  Andreas Schwab  <schwab@suse.de>
8914
8915         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8916         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8917         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8918         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8919         * sysdeps/i386/i686/multiarch/Makefile: Update.
8920         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8921
8922 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8923
8924         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8925         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8926
8927 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
8928
8929         [BZ #15968]
8930         Support TZ transition times < 00:00:00.
8931         This is needed for version-3 tz-format files; it supports time
8932         stamps past 2037 for America/Godthab (the only entry in the tz
8933         database for which this change is relevant).
8934         * manual/time.texi (TZ Variable): Document transition times
8935         from -167:59:59 through -00:00:01.
8936         * time/tzset.c (tz_rule): Time of day is now signed.
8937         (__tzset_parse_tz): Parse negative time of day.
8938
8939         Document TZ transition times >= 25:00:00.
8940         * manual/time.texi (TZ Variable): Document transition times from
8941         25:00:00 through 167:59:59.  These are already supported, and this
8942         support will help with version-3 tz-format files.
8943
8944         * manual/time.texi (TZ Variable): Modernize North America example
8945         to reflect current (i.e., 2007-and-later) daylight saving rules.
8946
8947         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8948
8949 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8950
8951         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8952         * sysdeps/unix/bsd/bits/stat.h: Likewise.
8953         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8954         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8955         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8956         * sysdeps/unix/bsd/bsdstat.h: Likewise.
8957         * sysdeps/unix/bsd/clock.c: Likewise.
8958         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8959         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8960         * sysdeps/unix/bsd/init-posix.c: Likewise.
8961         * sysdeps/unix/bsd/poll.c: Likewise.
8962         * sysdeps/unix/bsd/ptsname.c: Likewise.
8963         * sysdeps/unix/bsd/seekdir.c: Likewise.
8964         * sysdeps/unix/bsd/setegid.c: Likewise.
8965         * sysdeps/unix/bsd/seteuid.c: Likewise.
8966         * sysdeps/unix/bsd/setgid.c: Likewise.
8967         * sysdeps/unix/bsd/setrgid.c: Likewise.
8968         * sysdeps/unix/bsd/setruid.c: Likewise.
8969         * sysdeps/unix/bsd/setsid.c: Likewise.
8970         * sysdeps/unix/bsd/setuid.c: Likewise.
8971         * sysdeps/unix/bsd/sigaction.c: Likewise.
8972         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8973         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8974         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8975         * sysdeps/unix/bsd/telldir.c: Likewise.
8976         * sysdeps/unix/bsd/times.c: Likewise.
8977         * sysdeps/unix/bsd/usleep.c: Likewise.
8978
8979         * misc/Makefile (install-lib): Remove libbsd-compat.a.
8980         ($(objpfx)libbsd-compat.a): Remove rule.
8981
8982         * include/features.h (__FAVOR_BSD): Do not define.
8983         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8984         features conflicting with POSIX.
8985         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8986         (_BSD_SOURCE): Remove description of not being a subset of other
8987         feature test macros.
8988         * manual/job.texi (getpgrp): Do not document BSD version.
8989         (getpgid): Do not document by reference to BSD getpgrp.
8990         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8991         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8992         * signal/signal.h [__FAVOR_BSD]: Likewise.
8993         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8994         instead of making contents conditional on [__FAVOR_BSD].
8995         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8996
8997 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8998
8999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9000
9001 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9002
9003         [BZ #16314]
9004         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9005         values below 2**-450, not 2**-500.
9006         * math/auto-libm-test-in: Don't allow spurious underflow from
9007         hypot.
9008         * math/auto-libm-test-out: Regenerated.
9009
9010         [BZ #16316]
9011         [BZ #16330]
9012         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9013         values of ha and hb and sort them after adjusting subnormal
9014         arguments.
9015         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9016         Likewise.
9017         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9018         values of ea and eb and sort them after adjusting subnormal
9019         arguments.
9020         * math/auto-libm-test-in: Do not expect some hypot tests of
9021         subnormals to fail.  Add more hypot tests.
9022         * math/auto-libm-test-out: Regenerated.
9023
9024 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9025
9026         [BZ #13304]
9027         * sysdeps/sh/s_fma.c: New file.
9028         * sysdeps/sh/s_fmaf.c: New file.
9029         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
9030         version.
9031         * sysdeps/sh/Implies: Add sh/soft-fp.
9032
9033 2013-12-16  Roland McGrath  <roland@hack.frob.com>
9034
9035         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
9036         level of indirection to members `objname', `errstring', `malloced'.
9037         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9038         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
9039         it as the __longjmp argument (just pass 1 instead).
9040         (_dl_catch_error): Initialize C with argument pointers and address of
9041         volatile local ERRCODE rather than copying values out of C at return.
9042
9043 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
9044
9045         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9046         * math/auto-libm-test-out: Regenerated.
9047         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9048         (hypot_test_data): Likewise.
9049         (pow_test_data): Likewise.
9050         (pow_tonearest_test_data): Likewise.
9051         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9052         mpfr_ff_f.
9053         (func_calc_desc): Add mpfr_ff_f union field.
9054         (FUNC_mpfr_ff_f): New macro.
9055         (test_functions): Add atan2, hypot and pow.
9056         (special_fill_min): New function.
9057         (special_fill_minus_min): Likewise.
9058         (special_fill_min_subnorm): Likewise.
9059         (special_fill_minus_min_subnorm): Likewise.
9060         (special_real_inputs): Add min, -min, min_subnorm and
9061         -min_subnorm.
9062         (calc_generic_results): Handle mpfr_ff_f.
9063         * sysdeps/i386/fpu/libm-test-ulps: Update.
9064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9065
9066 2013-12-16  Will Newton  <will.newton@linaro.org>
9067
9068         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9069         (Aligned Memory Blocks): Add documentation for aligned_alloc
9070         and suggest it as an alternative to posix_memalign.
9071         (Hooks for Malloc): Document __memalign_hook is also called
9072         for aligned_alloc.  (Summary of Malloc): Add summary for
9073         aligned alloc.  Document __memalign_hook is also called
9074         for aligned_alloc.
9075
9076 2013-12-16  Will Newton  <will.newton@linaro.org>
9077
9078         * manual/memory.texi (Malloc Examples): Clarify default
9079         alignment documentation.  Suggest posix_memalign rather
9080         than memalign or valloc.
9081         (Aligned Memory Blocks): Remove suggestion to use memalign
9082         or valloc.  Remove obsolete comment about BSD.
9083         Document memalign errno values and mark the function obsolete.
9084         Document posix_memalign returned error codes.  Mark valloc
9085         as obsolete.  (Hooks for Malloc): __memalign_hook is also
9086         called for posix_memalign and valloc.
9087         (Summary of Malloc): Add posix_memalign to function summary.
9088         __memalign_hook is also called for posix_memalign and valloc.
9089
9090 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9091
9092         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9093         TAYLOR_SIN.
9094         (__sin): Adjust.
9095         (__cos): Likewise.
9096         (sloww): Use mynumber union.  Expand ternary operator into
9097         if-else statements.
9098         (cslow): use mynumber union.
9099
9100 2013-12-16  Allan McRae  <allan@archlinux.org>
9101
9102         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9103         * configure: Regenerated.
9104
9105         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9106
9107         [BZ #14120]
9108         * configure.ac: Added --enable-maintainer-mode. Check for
9109         autoconf when enabled.
9110         * configure: Regenerated.
9111
9112         * nscd/nscd.service: New file.
9113         * nscd/nscd.tmpfiles: New file.
9114
9115 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
9116
9117         [BZ #12100]
9118         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9119         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9120         * sysdeps/x86_64/multiarch/strstr.c: ... here.
9121         (strstr): Add __strstr_sse2_unaligned ifunc.
9122         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9123         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9124         (strcasestr): Remove __strcasestr_sse42 ifunc.
9125         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9126         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9127         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9128
9129 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9130
9131         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9132         * sysdeps/sh/bits/fenv.h: ... here.
9133         * sysdeps/sh/sh4/fpu/bits: Remove directory.
9134
9135 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9136
9137         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9138
9139         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9140         hypotf multiarch implementations.
9141         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9142         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9143         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9144         multiarch hypot for PPC64.
9145         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9146         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9147         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9148         multiarch hypotf for PPC64.
9149
9150         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9151         modff multiarch implementations.
9152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9155         multiarch modf for PPC64.
9156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9159         multiarch modff for PPC64.
9160
9161         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9162         and logl multiarch implementations.
9163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9166         multiarch logb for PPC64.
9167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9170         multiarch logb for PPC64.
9171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9174         multiarch logb for PPC64.
9175
9176         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9177         isinff multiarch implementation.
9178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9179         file.
9180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9182         multiarch isinf for PPC64.
9183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9184         file.
9185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9186         multiarch isinff for PPC64.
9187
9188         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9189         finitef multiarch implementation.
9190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9191         file.
9192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9194         multiarch finite for PPC64.
9195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9196         file.
9197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9198         multiarch finitef for PPC64.
9199
9200         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9201         lrint multiarch implementation.
9202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9203         file.
9204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9206         multiarch llrint for PPC64.
9207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9208         multiarch lrint for PPC64.
9209
9210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9211         copysignf multiarch implementation.
9212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9213         file.
9214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9215         file.
9216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9217         multiarch copysign for PPC64.
9218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9219         multiarch copysignf for PPC64.
9220
9221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9222         multiarch implementation.
9223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9224         file.
9225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9226         file.
9227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9228         file.
9229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9230         file.
9231         multiarch llround for PPC64.
9232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9233         multiarch trunc for PPC64.
9234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9235         multiarch truncf for PPC64.
9236
9237         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9238         multiarch implementation.
9239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9240         file.
9241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9242         file.
9243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9244         file.
9245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9246         file.
9247         multiarch llround for PPC64.
9248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9249         multiarch round for PPC64.
9250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9251         multiarch roundf for PPC64.
9252
9253         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9254         multiarch implementation.
9255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9256         file.
9257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9258         file.
9259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9260         file.
9261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9262         file.
9263         multiarch llround for PPC64.
9264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9265         multiarch floor for PPC64.
9266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9267         multiarch floorf for PPC64.
9268
9269         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9270         multiarch implementation.
9271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9272         file.
9273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9274         file.
9275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9276         file.
9277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9278         file.
9279         multiarch llround for PPC64.
9280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9281         multiarch ceil for PPC64.
9282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9283         multiarch ceilf for PPC64.
9284
9285         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9286         multiarch implementation.
9287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9288         file.
9289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9290         file.
9291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9292         file.
9293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9294         multiarch llround for PPC64.
9295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9296         multiarch lround for PPC64.
9297
9298         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9299         multiarch implementation.
9300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9303         file.
9304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9307         multiarch isnan for PPC64.
9308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9309         multiarch isnanf for PPC64.
9310
9311         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9312         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9313         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9314         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9315         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9317
9318         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9319         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9320         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9321         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9322
9323         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9324         multiarch implementations.
9325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9326         (__libc_ifunc_impl_list): Likewise.
9327         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9328         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9329         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9330         multiarch stpcpy for PPC64.
9331
9332         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9333         multiarch implementations.
9334         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9335         (__libc_ifunc_impl_list): Likewise.
9336         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9337         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9338         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9339         multiarch strcpy for PPC64.
9340
9341         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9342         redefine function name.
9343         (_wordcopy_fwd_dest_aligned): Likewise.
9344         (_wordcopy_bwd_aligned): Likewise.
9345         (_wordcopy_bwd_dest_aligned): Likewise.
9346         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9347         multiarch implementations.
9348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9349         (__libc_ifunc_impl_list): Likewise.
9350         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9351         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9352         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9353         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9354         multiarch wcscpy for PPC64.
9355
9356         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9357         multiarch implementations.
9358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9359         (__libc_ifunc_impl_list): Likewise.
9360         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9361         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9362         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9363         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9364         multiarch wcscpy for PPC64.
9365
9366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9367         multiarch implementations.
9368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9369         (__libc_ifunc_impl_list): Likewise.
9370         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9371         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9372         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9373         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9374         multiarch wcsrchr for PPC64.
9375
9376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9377         multiarch implementations.
9378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9379         (__libc_ifunc_impl_list): Likewise.
9380         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9381         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9382         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9383         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9384         multiarch wcschr for PPC64.
9385
9386         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9387         multiarch implementations.
9388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9389         (__libc_ifunc_impl_list): Likewise.
9390         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9391         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9392         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9393         multiarch strchrnul for PPC64.
9394
9395         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9396         implementations.
9397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9398         (__libc_ifunc_impl_list): Likewise.
9399         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9400         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9401         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9402         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9403         strchr for PPC64.
9404
9405         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9406         implementations.
9407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9408         (__libc_ifunc_impl_list): Likewise.
9409         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9410         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9411         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9412         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9413         strncmp for PPC64.
9414
9415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9416         multiarch implementations.
9417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9418         (__libc_ifunc_impl_list): Likewise.
9419         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9420         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9421         strncasecmp for PPC64.
9422         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9423         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9424         multiarch strncasecmp_l for PPC64.
9425
9426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9427         multiarch implementations.
9428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9429         (__libc_ifunc_impl_list): Likewise.
9430         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9431         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9432         multiarch strcasecmp for PPC64.
9433         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9434         file.
9435         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9436         multiarch strcasecmp_l for PPC64.
9437
9438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9439         implementations.
9440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9441         (__libc_ifunc_impl_list): Likewise.
9442         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9443         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9444         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9445         strnlen for PPC64.
9446
9447         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9448         implementations.
9449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9450         (__libc_ifunc_impl_list): Likewise.
9451         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9452         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9453         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9454         strlen for PPC64.
9455
9456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9457         implementations.
9458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9459         (__libc_ifunc_impl_list): Likewise.
9460         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9461         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9462         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9463         rawmemrchr for PPC64.
9464
9465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9466         implementation.
9467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9468         (__libc_ifunc_impl_list): Likewise.
9469         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9470         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9471         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9472         memrchr for PPC64.
9473
9474         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9475         implementation.
9476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9477         (__libc_ifunc_impl_list): Likewise.
9478         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9479         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9480         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9481         memchr for PPC64.
9482
9483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9484         implementation.
9485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9486         (__libc_ifunc_impl_list): Likewise.
9487         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9488         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9489         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9490         mempcpy for PPC64.
9491
9492         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9493         avoid cretion of __bzero symbol.
9494         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9495         Likewise.
9496         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9497         Likewise.
9498         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9499         Likewise.
9500         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9501         multiarch implementations.
9502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9503         (__libc_ifunc_impl_list): Likewise.
9504         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9505         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9506         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9507         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9508         bzero for PPC32.
9509         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9510         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9511         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9512         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9513         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9514         memset for PPC64.
9515         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9516
9517         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9519         implementations.
9520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9521         (__libc_ifunc_impl_list): Likewise.
9522         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9523         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9524         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9525         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9526         memcmp for PPC64.
9527
9528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9529         multiarch for POWER/PPC64.
9530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9531         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9532         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9533         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9534         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9535         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9536         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9537         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9538         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9539         memcpy for PPC64.
9540
9541         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9542         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9543         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9544         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9545         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9546         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9547         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9548         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9549         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9550         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9551         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9552         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9553         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9554         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9555         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9563
9564 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9565
9566         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9567
9568 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9569
9570         * benchtests/Makefile (bench): Add exp2 and log2.
9571         (LDLIBS-bench-exp2): Add -lm.
9572         (LDLIBS-bench-log2): Likewise.
9573         * benchtests/exp2-inputs: New inputs file.
9574         * benchtests/log2-inputs: New inputs file.
9575         * benchtests/log-inputs: Add new inputs.
9576         * benchtests/tan-inputs: Likewise.
9577
9578 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9579
9580         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9581         definition...
9582         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9583         (csloww2): ... from here.
9584
9585         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9586         instead of structures.
9587         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9588         (POLYNOMIAL): Likewise.
9589         (TAYLOR_SLOW): Likewise.
9590         (__sin): Likewise.
9591         (__cos): Likewise.
9592         (slow1): Likewise.
9593         (slow2): Likewise.
9594         (sloww): Likewise.
9595         (sloww1); Likewise.
9596         (sloww2): Likewise.
9597         (bsloww1): Likewise.
9598         (bsloww2): Likewise.
9599         (cslow2): Likewise.
9600         (csloww): Likewise.
9601         (csloww1): Likewise.
9602         (csloww2): Likewise.
9603
9604 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
9605
9606         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9607         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9608         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9609         * malloc/hooks.c (realloc_check): Likewise.
9610
9611         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9612         * malloc/arena.c: Remove PER_THREAD conditional.
9613         [!PER_THREAD]: Remove code.
9614         (ptmalloc_unlock_all2): Likewise.
9615         (ptmalloc_init): Likewise.
9616         (_int_new_arena): Likewise.
9617         (arena_get2): Likewise.
9618         * malloc/hooks.c (__malloc_get_state): Likewise.
9619         (__malloc_set_state): Likewise.
9620         * malloc/malloc.c: Likewise.
9621         (struct malloc_state): Likewise.
9622         (struct malloc_par): Likewise.
9623         (__libc_realloc): Likewise.
9624         (__libc_mallopt): Likewise.
9625
9626 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9627
9628         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9629
9630 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
9631
9632         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9633         macro to a function.  Check for zero perturb_byte.
9634         (_int_malloc, _int_free): Remove zero perturb_byte checks.
9635
9636         * malloc/malloc.c: (force_reg): Remove.
9637         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9638         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9639         force_reg by atomic_forced_read.
9640         * malloc/arena.c (ptmalloc_init): Likewise.
9641         * malloc/hooks.c (top_check): Likewise.
9642
9643 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9644
9645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9646
9647 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
9648
9649         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9650
9651 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
9652
9653         * math/auto-libm-test-in: Add tests of lgamma.
9654         * math/auto-libm-test-out: Regenerated.
9655         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9656         (M_LOG_2_SQRT_PIl): Likewise.
9657         (lgamma_test_data): Use AUTO_TESTS_f_f1.
9658         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9659         mpfr_f_f1.
9660         (func_calc_desc): Add mpfr_f_f1 union field.
9661         (ARGS1): New macro.
9662         (ARGS2): Likewise.
9663         (ARGS3): Likewise.
9664         (ARGS4): Likewise.
9665         (RET1): Likewise.
9666         (RET2): Likewise.
9667         (CALC): Likewise.
9668         (FUNC): Likewise.
9669         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9670         (test_functions): Add lgamma.
9671         (calc_generic_results): Handle mpfr_f_f1.
9672         * sysdeps/i386/fpu/libm-test-ulps: Update.
9673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9674
9675 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9676
9677         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9678         __mpn_add_n for PowerPC64/POWER7.
9679         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9680         __mpn_sub_n for PowerPC64/POWER7.
9681
9682         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9683         __mpn_addmul_1 for PowerPC64.
9684         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9685         __mpn_submul_1 for PowerPC64.
9686         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9687         for PowerPC64.
9688         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9689         for PowerPC64.
9690
9691 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
9692
9693         [BZ #15089]
9694         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9695
9696 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9697
9698         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9699
9700         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9701         add multiarch folders.
9702         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9703         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9704         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9705         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9706         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9707         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9708         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9709         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9710         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9711         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9712         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9719
9720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9721         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9723         New file.
9724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9725         New file.
9726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9727         multiarch __ieee754_hypot for PowerPC32.
9728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9729         New file.
9730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9731         New file.
9732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9733         multiarch __ieee754_hypotf for PowerPC32.
9734
9735         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9736         long_double_symbol only if __logbl is defined.
9737         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9738         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9739         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9740         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9741         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9742         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9743         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9744         path for implementation.
9745         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9746         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9748         logb, and logbl multiarch implementations for PowerPC32.
9749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9750         file.
9751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9752         file.
9753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9754         multiarch logb for PowerPC32.
9755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9756         file.
9757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9758         file.
9759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9760         multiarch logbf for PowerPC32.
9761         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9763         file.
9764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9765         multiarch logbl implementation for PowerPC32.
9766
9767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9768         and modff multiarch implementations.
9769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9770         New file.
9771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9772         New file.
9773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9774         multiarch modf for PowerPC32.
9775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9776         New file.
9777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9778         New file.
9779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9780         multiarch modff for PowerPC32.
9781
9782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9783         and lrintf multiarch implementations.
9784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9785         New file.
9786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9787         New file.
9788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9789         multiarch lrint for PowerPC32.
9790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9791         file: multiarch lrintf for PowerPC32.
9792
9793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9794         and lroundf multiarch implementations.
9795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9796         New file.
9797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9798         New file.
9799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9800         New file.
9801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9802         multiarch lround for PowerPC32.
9803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9804         file: multiarch lroundf for PowerPC32.
9805
9806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9807         copysign and copysignf multiarch implementations.
9808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9809         New file.
9810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9811         New file.
9812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9813         file: multiarch copysign for PowerPC32.
9814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9815         file: multiarch copysignf for PowerPC32.
9816
9817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9818         and truncf multiarch implementations.
9819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9820         New file.
9821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9822         file.
9823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9824         multiarch trunc for PowerPC32.
9825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9826         New file.
9827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9828         New file.
9829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9830         multiarch truncf for PowerPC32.
9831
9832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9833         and roundf multiarch implementations.
9834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9835         New file.
9836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9837         file.
9838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9839         multiarch round for PowerPC32.
9840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9841         New file.
9842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9843         New file.
9844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9845         multiarch roundf for PowerPC32.
9846
9847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9848         and floorf multiarch implementations.
9849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9850         New file.
9851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9852         file.
9853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9854         multiarch floor for PowerPC32.
9855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9856         New file.
9857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9858         New file.
9859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9860         multiarch floorf for PowerPC32.
9861
9862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9863         and ceilf multiarch implementations.
9864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9865         New file.
9866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9867         file.
9868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9869         multiarch ceil for PowerPC32.
9870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9871         New file.
9872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9873         file.
9874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9875         multiarch ceilf for PowerPC32.
9876
9877         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9878         is defined.
9879         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9880         FINITEF is defined.
9881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9882         and finitef multiarch implementations.
9883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9884         New file.
9885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9886         file.
9887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9888         multiarch finite for PowerPC32.
9889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9890         New file.
9891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9892         file: multiarch finitef for PowerPC32.
9893
9894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9895         and isinff multiarch implementations.
9896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9897         file.
9898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9899         file.
9900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9901         multiarch isinf for PowerPC32.
9902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9903         New file.
9904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9905         multiarch isinff for PowerPC32.
9906
9907         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9908         alias when __isnan is defined.
9909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9910         and isnanf multiarch implementations.
9911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9912         file.
9913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9914         file.
9915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9916         file.
9917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9918         file.
9919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9920         multiarch isnan for PowerPC32.
9921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9922         New file.
9923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9924         New file.
9925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9926         multiarch isnanf for PowerPC32.
9927
9928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9929         and sqrtf multiarch implementations.
9930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9931         file.
9932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9933         file.
9934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9935         multiarch sqrt for PowerPC32.
9936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9937         file.
9938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9939         file.
9940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9941         multiarch sqrtf for PowerPC32.
9942
9943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9944         and llroundf multiarch implementations.
9945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9946         New file.
9947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9948         New file.
9949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9950         New file.
9951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9952         file: multiarch llround for PowerPC32.
9953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9954         file: multiarch llroundf for PowerPC32.
9955
9956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9957         multiarch PowerPC32 fpu implementations.
9958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9959         New file.
9960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9961         New file.
9962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9963         multiarch llrint for PowerPC32.
9964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9965         New file.
9966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9967         New file.
9968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9969         file.
9970
9971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9972
9973         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9974         file.
9975         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9976         file.
9977         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9978         file.
9979         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9980         multiarch wordcopy for PPC32.
9981         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9982         wordcopy objects.
9983         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9984         (__libc_ifunc_impl_list): Likewise.
9985         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9986         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9987         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9988         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9989         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9990         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9991
9992         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9993         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9994         file.
9995         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9996         file.
9997         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9998         file.
9999         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10000         multiarch wcscpy for PPC32.
10001         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10002         multiarch objects.
10003         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10004         (__libc_ifunc_impl_list): Likewise.
10005         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10006         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10007         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10008         sysdeps/powerpc/power6/wcscpy.c.
10009
10010         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10011         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10012         file.
10013         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10014         file.
10015         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10016         file.
10017         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10018         multiarch wcsrchr for PPC32.
10019         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10020         multiarch objects.
10021         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10022         (__libc_ifunc_impl_list): Likewise.
10023         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10024         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10025         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10026         sysdeps/powerpc/power6/wcsrchr.c.
10027
10028         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10029         file.
10030         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10031         file.
10032         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10033         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10034         multiarch wcschr for PPc32.
10035         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10036         multiarch objects.
10037         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10038         (__libc_ifunc_impl_list): Likewise.
10039         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10040         * sysdeps/powerpc/power6/wcschr.c: ... to here.
10041         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10042         sysdeps/powerpc/power6/wcschr.c.
10043
10044         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10045         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10046         file.
10047         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10048         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10049         file: multiarch strchr for PPC32.
10050         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10051         multiarch objects.
10052         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10053         (__libc_ifunc_impl_list): Likewise.
10054
10055         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10056         name.
10057         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10058         file.
10059         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10060         file.
10061         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10062         multiarch strchrnul for PPC32.
10063         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10064         multiarch objects.
10065         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10066         (__libc_ifunc_impl_list): Likewise.
10067
10068         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10069         file.
10070         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10071         multiarch strncasecmp for PPC32.
10072         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10073         file.
10074         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10075         multiarch strncasecmp_l for PPC32.
10076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10077         strncasecmp multiarch objects.
10078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10079         (__libc_ifunc_impl_list): Likewise.
10080
10081         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10082         file.
10083         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10084         multiarch strncasecmp for PPC32.
10085         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10086         New file.
10087         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10088         multiarch strcasecmp_l for PPC32.
10089         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10090         multiarch objects.
10091         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10092         (__libc_ifunc_impl_list): Likewise.
10093
10094         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10095         file.
10096         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10097         file.
10098         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10099         multiarch strncmp for PPC32.
10100         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10101         multiarch objects.
10102         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10103         (__libc_ifunc_impl_list): Likewise.
10104
10105         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10106         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10107         file.
10108         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10109         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10110         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10111         multiarch objects.
10112         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10113         (__libc_ifunc_impl_list): Likewise.
10114
10115         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10116         file.
10117         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10118         file.
10119         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10120         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10121         multiarch objects.
10122         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10123         (__libc_ifunc_impl_list): Likewise.
10124
10125         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10126         file.
10127         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10128         file.
10129         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10130         multiarch rawmemchr for PPC32.
10131         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10132         multiarch objects.
10133         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10134         (__libc_ifunc_impl_list): Likewise.
10135
10136         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10137         file.
10138         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10139         file.
10140         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10141         file: memrchr multiarch for PPC32.
10142         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10143         multiarch objects.
10144         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10145         (__libc_ifunc_impl_list): Likewise.
10146
10147         * string/memchr.c (__memchr): Using macro to redefine symbol name.
10148         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10149         file.
10150         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10151         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10152         multiarch memchr for PPC32.
10153         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10154         multiarch objects.
10155         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10156         (__libc_ifunc_impl_list): Likewise.
10157
10158         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10159         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10160         file.
10161         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10162         file.
10163         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10164         file: multiarch mempcpy for PPC32.
10165         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10166         multiarch objects.
10167         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10168         (__libc_ifunc_impl_list): Likewise.
10169
10170         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10171         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10172         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10173         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10174         multiarch bzero for PPC32.
10175         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10176         file.
10177         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10178         file.
10179         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10180         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10181         file: multiarch memset for PPC32.
10182         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10183         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10184         memset multiarch objects.
10185         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10186         (__libc_ifunc_impl_list): Likewise.
10187
10188         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10189         file.
10190         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10191         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10192         memcmp for PPC32.
10193         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10194         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10195         multiarch objects.
10196         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10197         (__libc_ifunc_impl_list): Likewise.
10198
10199         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10200         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10201         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10202         file.
10203         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10204         file.
10205         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10206         file.
10207         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10208         multiarch memcpy for PPC32.
10209         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10210         multiarch objects.
10211         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10212         (__libc_ifunc_impl_list): Likewise.
10213
10214         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10215         support multiarch for POWER/PPC32.
10216         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10217         Likewise.
10218         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10220         Implies file to make multiarch folder appers before the fpu and
10221         default folder for power4 configuration.
10222
10223 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10224
10225         * scripts/bench.pl: Append volatile keyword to type.
10226
10227 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10228
10229         * sysdeps/sh/sotruss-lib.c: New file.
10230         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10231
10232 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10233
10234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10235
10236 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
10237
10238         [BZ #6810]
10239         * math/w_tgamma.c: Include <errno.h>.
10240         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
10241         * math/w_tgammaf.c: Include <errno.h>.
10242         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
10243         * math/w_tgammal.c: Include <errno.h>.
10244         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
10245         * math/auto-libm-test-in: Do not allow missing errno on tgamma
10246         underflow.  Add more tgamma tests.
10247         * math/auto-libm-test-out: Regenerated.
10248         * sysdeps/i386/fpu/libm-test-ulps: Update.
10249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10250
10251         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10252         sin, sinh, tan, tanh, tgamma, y0 and y1.
10253         * math/auto-libm-test-out: Regenerated.
10254         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10255         (TEST_COND_x86): Likewise.
10256         (M_E2l): Remove macro.
10257         (M_E3l): Likewise.
10258         (M_2_SQRT_PIl): Likewise.
10259         (M_SQRT_PIl): Likewise.
10260         (M_1_DIV_El): Likewise.
10261         (log_test_data): Use AUTO_TESTS_f_f.
10262         (log10_test_data): Likewise.
10263         (log1p_test_data): Likewise.
10264         (log2_test_data): Likewise.
10265         (sin_test_data): Likewise.
10266         (sin_tonearest_test_data): Likewise.
10267         (sin_towardzero_test_data): Likewise.
10268         (sin_downward_test_data): Likewise.
10269         (sin_upward_test_data): Likewise.
10270         (sinh_test_data): Likewise.
10271         (sinh_tonearest_test_data): Likewise.
10272         (sinh_towardzero_test_data): Likewise.
10273         (sinh_downward_test_data): Likewise.
10274         (sinh_upward_test_data): Likewise.
10275         (tan_test_data): Likewise.
10276         (tan_tonearest_test_data): Likewise.
10277         (tan_towardzero_test_data): Likewise.
10278         (tan_downward_test_data): Likewise.
10279         (tan_upward_test_data): Likewise.
10280         (tanh_test_data): Likewise.
10281         (tgamma_test_data): Likewise.
10282         (y0_test_data): Likewise.
10283         (y1_test_data): Likewise.
10284         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10285         (special_real_inputs): Add pi/4.
10286         * sysdeps/i386/fpu/libm-test-ulps: Update.
10287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10288
10289 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10290
10291         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10292         "longjmp_target" static probes.
10293         (__longjmp): Rename to __longjmp_symbol.
10294         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10295         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10296         on which longjmp to generate.
10297         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10298         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10299         probe.
10300         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10301         (__sigjmp_save): Rename to __sigjmp_save_symbol.
10302         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10303         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10304         and __sigjmp_save_symbol based on which sigsetjmp to generated.
10305         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10307         __longjmp_symbol based on which __longjmp to generate.
10308         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10309         probe.
10310         (setjmp): Rename to setjmp_symbol.
10311         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10312         (_setjmp): Rename to _setjmp_symbol.
10313         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10314         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10315         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10316         which setjmp to generate.
10317         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10318         "longjmp_target" static probes.
10319
10320 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10321
10322         * benchtests/README: Add note about output arguments.
10323         * benchtests/bench-sincos.c: Remove file.
10324         * benchtests/sincos-inputs: New file.
10325         * scripts/bench.pl: Identify output arguments and define
10326         static variables for them.
10327
10328         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10329
10330         [BZ #15941]
10331         * Makefile (INSTALL): Add install-plain.texi as the primary
10332         dependency.
10333         * manual/install-plain.texi: New file.
10334         * manual/install.texi: Include node directive only for
10335         non-plaintext output.
10336
10337 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
10338
10339         * stdlib/longlong.h: Update from GCC.
10340
10341         [BZ #6807]
10342         [BZ #15901]
10343         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10344         * math/w_j0f.c (y0f): Likewise.
10345         * math/w_j0l.c (__y0l): Likewise.
10346         * math/w_j1.c (y1): Likewise.
10347         * math/w_j1f.c (y1f): Likewise.
10348         * math/w_j1l.c (__y1l): Likewise
10349         * math/w_jn.c (yn): Likewise.
10350         * math/w_jnf.c (ynf): Likewise.
10351         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10352         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
10353         value for Bessel function domain errors outside _SVID_ mode.
10354         Adjust sign of return value for yn (negative integer, 0).
10355         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10356         by zero in return for negative x and set sign appropriately for
10357         negative n.
10358         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10359         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10360         * math/libm-test.inc (y0_test_data): Add more tests and adjust
10361         expectations in error cases.
10362         (y1_test_data): Likewise.
10363         (yn_test_data): Likewise.
10364         * sysdeps/i386/fpu/libm-test-ulps: Update.
10365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10366
10367 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10368
10369         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10370         "64" to "64-v1".  Add "64-v2".
10371         (abi-64-options): Rename to ...
10372         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
10373         (abi-64-condition): Rename to ...
10374         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
10375         (abi-64-ld-soname): Rename to ...
10376         (abi-64-v1-ld-soname): ... this.
10377         (abi-64-v2-options): Define.
10378         (abi-64-v2-condition): Likewise.
10379         (abi-64-v2-ld-soname): Likewise.
10380         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10381         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10385
10386 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10387             Alan Modra  <amodra@gmail.com>
10388
10389         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10390         New versions for use with the ELFv2 ABI.
10391         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10392         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10393         declaration.
10394         (struct La_ppc64v2_retval): Likewise.
10395         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10396         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10397         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10398         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10399         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10400         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10401         Do not save or restore CR.
10402         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10403         (_dl_profile_resolve): Do no save or restore CR.  Support extended
10404         return values for ELFv2 ABI.  Fix location of FPR return registers.
10405         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10406         updated values for _CALL_ELF == 2.
10407         (La_regs, La_retval, int_retval): Likewise.
10408
10409 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10410
10411         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10412         (FRAME_MIN_SIZE_PARM): Likewise.
10413         (FRAME_BACKCHAIN): Likewise.
10414         (FRAME_CR_SAVE): Likewise.
10415         (FRAME_LR_SAVE): Likewise.
10416         (FRAME_TOC_SAVE): Likewise.
10417         (FRAME_PARM_SAVE): Likewise.
10418         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10419         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10420         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10421         (call_mcount_parm_offset): New macro.
10422         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10423         (PROF): Use symbolic stack frame offsets.
10424         (TAIL_CALL_SYSCALL_ERROR): Likewise.
10425         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10426         Redefine in terms of FRAME_MIN_SIZE.
10427         (_dl_runtime_resolve): Use symbolic stack frame offsets.
10428         (_dl_profile_resolve): Likewise.  Update comment.
10429         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10430         symbols stack frame offsets.
10431         (__sigsetjmp): Likewise.
10432         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10433         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10434         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10435         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10436
10437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10438         (FRAME_BACKCHAIN): Remove.
10439         (FRAME_CR_SAVE): Likewise.
10440         (FRAME_LR_SAVE): Likewise.
10441         (FRAME_COMPILER_DW): Likewise.
10442         (FRAME_LINKER_DW): Likewise.
10443         (FRAME_TOC_SAVE): Likewise.
10444         (FRAME_PARM_SAVE): Likewise.
10445         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10446         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10447         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10449         (CHECK_SP): Use symbolic stack frame offsets.
10450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10451         zone" instead of caller's parameter save area for temp storage.
10452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10453         Likewise.  Also, use symbolic stack frame offsets.
10454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10455         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10456         our own stack frame instead of the caller's.
10457         (__socket): Use symbolic stack frame offsets.
10458
10459 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10460             Alan Modra  <amodra@gmail.com>
10461
10462         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10463         Define.
10464         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10465         (PPC64_LOCAL_ENTRY_OFFSET): Define.
10466         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10467         New function.
10468         (elf_machine_fixup_plt): Call it.
10469         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
10470         reloc arguments.
10471         (elf_machine_rela): Update call to elf_machine_plt_conflict.
10472         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10473         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10474         r2 before calling target.
10475
10476 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10477             Alan Modra  <amodra@gmail.com>
10478
10479         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10480         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10481         versions of macros to support ELFv2 ABI.
10482         (LOCALENTRY): New macro.
10483         (ENTRY, EALIGN): Use it.
10484         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10485         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10486         fall through into ENTRY entry point.
10487         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10488         Only define if _CALL_ELF != 2.
10489
10490         (elf_machine_matches_host): Verify ABI version matches.
10491         (RTLD_START): Use LOCALENTRY.
10492         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10493         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10494         (PLT_ENTRY_WORDS): New macro.
10495         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10496         (elf_machine_runtime_setup): Support ELFv2 ABI.
10497         (elf_machine_fixup_plt): Likewise.
10498         (elf_machine_plt_conflict): Likewise.
10499         (resolve_ifunc): Likewise.
10500         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10501         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10502         Likewise.
10503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10504         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10506         (makecontext): Support ELFv2 ABI.
10507         * elf/elf.h (EF_PPC64_ABI): Define.
10508
10509 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10510
10511         * sysdeps/powerpc/powerpc64/sysdep.h
10512         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10513         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10514         (ENTRY) [ASSEMBLER]: ... but instead here ...
10515         (EALIGN) [ASSEMBLER]: ... and here.
10516         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10517         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10518         (ENTRY_2) [!ASSEMBLER]: Use it.
10519         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10520         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
10521         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10522         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10523         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10525         Use PPC64_LOAD_FUNCPTR.
10526
10527         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10528
10529 2013-12-04  Alan Modra  <amodra@gmail.com>
10530
10531         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10532         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10533         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10534         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10535
10536         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10537         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10538         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10539         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10540         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10541         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10542
10543 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10544
10545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10546         (__makecontext): Fix incorrect CFI when backtracing out of
10547         context created via makecontext.
10548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10549         (__setcontext): Fix incorrect CFI during switch to new context.
10550         (__novec_setcontext): Likewise.
10551
10552 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10553
10554         [BZ #4772]
10555         * time/strptime_l.c (__strptime_internal): Allow modifiers
10556         in strptime.
10557         * time/tst-strptime.c (day_tests): Add testcase.
10558
10559 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10560
10561         * scripts/bench.pl: Skip over blank lines.
10562
10563 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10564
10565         [BZ #926]
10566         * manual/time.texi (Calendar Time): Clarify what timezone functions
10567         use.
10568
10569 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10570
10571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10572
10573 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10574
10575         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10576         implementation.
10577         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10578         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10579         * debug/memset_chk.c (__memset_chk): Likewise.
10580         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10581         * debug/strncpy_chk.c: Likewise.
10582
10583 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10584
10585         [BZ #15268]
10586         [BZ #15425]
10587         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10588         (__ieee754_exp): For possibly underflowing results, check size of
10589         result and force underflow exception if required.
10590         * math/auto-libm-test-in: Add more tests of exp.
10591         * math/auto-libm-test-out: Regenerated.
10592         * sysdeps/i386/fpu/libm-test-ulps: Update.
10593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10594
10595         [BZ #16283]
10596         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10597         * math/w_exp2f.c (__exp2f): Likewise.
10598         * math/w_exp2l.c (__exp2l): Likewise.
10599         * math/auto-libm-test-in: Do not allow missing errno on exp2
10600         underflow.
10601         * math/auto-libm-test-out: Regenerated.
10602
10603 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
10604
10605         [BZ #16274]
10606         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10607         handle filename validation.
10608         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10609         (do_open): Delete.
10610
10611 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10612
10613         [BZ #6786]
10614         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10615         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10616         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10617         <float.h>.
10618         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10619         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10620         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10621         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10622         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10623         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10624         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10625         * math/auto-libm-test-in: Don't allow missing errno from erfc.
10626         Add more erfc tests.
10627         * math/auto-libm-test-out: Regenerated.
10628         * sysdeps/i386/fpu/libm-test-ulps: Update.
10629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10630
10631         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10632         exp2, expm1, j0 and j1.
10633         * math/auto-libm-test-out: Regenerated.
10634         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10635         (erfc_test_data): Likewise.
10636         (exp_test_data): Likewise.
10637         (exp_tonearest_test_data): Likewise.
10638         (exp_towardzero_test_data): Likewise.
10639         (exp_downward_test_data): Likewise.
10640         (exp_upward_test_data): Likewise.
10641         (exp10_test_data): Likewise.
10642         (exp2_test_data): Likewise.
10643         (expm1_test_data): Likewise.
10644         (j0_test_data): Likewise.
10645         (j1_test_data): Likewise.
10646         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10647         (input_flag_type): Add flag_xfail_rounding.
10648         (input_flags): Add xfail-rounding.
10649         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10650         (output_for_one_input_case): Handle flag_xfail_rounding.
10651         * sysdeps/i386/fpu/libm-test-ulps: Update.
10652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10653
10654 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
10655
10656         [BZ #16289]
10657         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10658         division by 0.
10659
10660 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10661
10662         [BZ #16195]
10663         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10664         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10665         (STAP_PROBE0): New macro.
10666         (STAP_PROBE1): Likewise.
10667         (STAP_PROBE2): Likewise.
10668         (STAP_PROBE3): Likewise.
10669         (STAP_PROBE4): Likewise.
10670
10671 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
10672
10673         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10674
10675 2013-12-02  Steve Ellcey  <sellcey@mips.com>
10676
10677         * benchtests/Makefile (bench): Add sqrt.
10678         (LDLIBS-bench-sqrt): New.
10679         * benchtests/sqrt-input: New.
10680
10681 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
10682
10683         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10684         (GAIH_EAI): Likewise.
10685         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10686         (gaih_inet): Likewise.
10687         (getaddrinfo): Don't use GAIH_EAI.
10688
10689         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10690         (struct gaih): Remove definition.
10691
10692 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10693
10694         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10695         Use HERRNOP directly.
10696
10697 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10698
10699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10700
10701 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
10702
10703         * math/gen-auto-libm-tests.c (test_functions): Add more
10704         single-argument functions.
10705         (special_fill_pi_2): New function.
10706         (special_fill_minus_pi_2): Likewise.
10707         (special_fill_pi_6): Likewise.
10708         (special_fill_minus_pi_6): Likewise.
10709         (special_fill_pi_3): Likewise.
10710         (special_fill_2pi_3): Likewise.
10711         (special_fill_e): Likewise.
10712         (special_fill_1_e): Likewise.
10713         (special_fill_e_minus_1): Likewise.
10714         (special_real_inputs): Add more special inputs.
10715         (output_for_one_input_case): Do not require ERANGE on underflow to
10716         zero if round-to-nearest result does not underflow to zero, unless
10717         exact results required.
10718         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10719         atan, atanh, cbrt, cos and cosh.
10720         * math/auto-libm-test-out: Regenerated.
10721         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10722         (acos_tonearest_test_data): Likewise.
10723         (acos_towardzero_test_data): Likewise.
10724         (acos_downward_test_data): Likewise.
10725         (acos_upward_test_data): Likewise.
10726         (acosh_test_data): Likewise.
10727         (asin_test_data): Likewise.
10728         (asin_tonearest_test_data): Likewise.
10729         (asin_towardzero_test_data): Likewise.
10730         (asin_upward_test_data): Likewise.
10731         (asinh_test_data): Likewise.
10732         (atan_test_data): Likewise.
10733         (atanh_test_data): Likewise.
10734         (cbrt_test_data): Likewise.
10735         (cos_test_data): Likewise.
10736         (cos_tonearest_test_data): Likewise.
10737         (cos_towardzero_test_data): Likewise.
10738         (cos_downward_test_data): Likewise.
10739         (cos_upward_test_data): Likewise.
10740         (cosh_test_data): Likewise.
10741         (cosh_tonearest_test_data): Likewise.
10742         (cosh_towardzero_test_data): Likewise.
10743         (cosh_downward_test_data): Likewise.
10744         (cosh_upward_test_data): Likewise.
10745         * sysdeps/i386/fpu/libm-test-ulps: Update.
10746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10747
10748 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
10749
10750         [BZ #6787]
10751         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10752         * math/w_exp10f.c (__exp10f): Likewise.
10753         * math/w_exp10l.c (__exp10l): Likewise.
10754         * math/libm-test.inc (exp10_test_data): Add more tests and expect
10755         errno settings in existing tests.
10756
10757         [BZ #14032]
10758         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10759         precision control set to double precision.
10760         * sysdeps/i386/fpu/w_sqrt.c: New file.
10761         * math/auto-libm-test-in: Add more tests.
10762         * math/auto-libm-test-out: Update.
10763
10764         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10765         (sqrt_test_tonearest): New function.
10766         (sqrt_towardzero_test_data): New variable.
10767         (sqrt_test_towardzero): New function.
10768         (sqrt_downward_test_data): New variable.
10769         (sqrt_test_downward): New function.
10770         (sqrt_upward_test_data): New variable.
10771         (sqrt_test_upward): New function.
10772         (main): Call the new functions.
10773
10774         * math/gen-auto-libm-tests.c: New file.
10775         * math/auto-libm-test-in: Likewise.
10776         * math/auto-libm-test-out: New generated file.
10777         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10778         variables.
10779         (%beautify): Add generated representations of zero.
10780         (top level): Set $auto_input and call parse_auto_input.
10781         (beautify): Remove trailing "f" from hex float constants.
10782         (parse_args): Handle XFAIL_TEST.
10783         (convert_condition): New function.
10784         (or_value): Likewise.
10785         (or_cond_value): Likewise.
10786         (generate_testfile): Handle AUTO_TESTS_* lines.
10787         (parse_auto_input): New function.
10788         * math/libm-test.inc (XFAIL_TEST): New macro.
10789         (ERRNO_UNCHANGED): Update value.
10790         (ERRNO_EDOM): Likewise.
10791         (ERRNO_ERANGE): Likewise.
10792         (IGNORE_RESULT): Likewise.
10793         (TEST_COND_flt_32): New macro.
10794         (TEST_COND_dbl_64): Likewise.
10795         (TEST_COND_ldbl_96_intel): Likewise.
10796         (TEST_COND_ldbl_96_m68k): Likewise.
10797         (TEST_COND_ldbl_128): Likewise.
10798         (TEST_COND_ldbl_128ibm): Likewise.
10799         (TEST_COND_long32): Likewise.
10800         (TEST_COND_long64): Likewise.
10801         (TEST_COND_before_rounding): Likewise.
10802         (TEST_COND_after_rounding): Likewise.
10803         (enable_test): Handle XFAIL_TEST flag.
10804         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10805         with finite results.
10806         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10807         auto-libm-test-out.
10808
10809 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10810             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10811
10812         [BZ #16214]
10813         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10814         __tls_get_addr_internal instead of __tls_get_offset in order to
10815         avoid GOT pointer dependency.  Make rtld export
10816         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10817         __tls_get_addr since we are a __tls_get_offset platform.
10818         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10819         GOT pointer being set up before.
10820         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10821
10822 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
10823
10824         * manual/math.texi (Errors in Math Functions): Document accuracy
10825         goals.
10826
10827         [BZ #15004]
10828         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10829         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10830         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10831         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10832         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10833         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10834         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10835         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10836         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10837         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10838         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10839         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10840         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10841         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10842         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10843         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10844
10845         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10846         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10847         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10848         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10849         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10850         Likewise.
10851         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10852         Likewise.
10853         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10854         Likewise.
10855         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10856         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10857         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10858         atomic-feupdateenv and flt-rounds.
10859         * sysdeps/powerpc/nofpu/Versions (libc): Add
10860         __atomic_feholdexcept, __atomic_feclearexcept,
10861         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10862         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10863         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10864         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10865         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10866         here.
10867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10868         Update.
10869
10870         * manual/arith.texi (FP Exceptions): Document that exceptions may
10871         not be raised when matherr is used.
10872         (Math Error Reporting): Document overflow in directed rounding
10873         modes.  Document that errno may not be set when finite values are
10874         returned on overflow.  Document intent to set errno on underflow
10875         only for underflow to zero.
10876
10877         [BZ #16271]
10878         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10879         round-to-nearest then adjust result for other rounding modes.
10880         * include/fenv.h (fegetround): Use libm_hidden_proto.
10881         * math/fegetround.c (fegetround): Use libm_hidden_def.
10882         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10883         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10884         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10885         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10886         Likewise.
10887         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10888         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10889         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10890         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10891
10892 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10893
10894         [BZ #16077]
10895         * nss/Versions (libnss_files): Add
10896         _nss_files_gethostbyname3_r.
10897         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10898         New function.
10899         (HOST_DB_LOOKUP): Remove macro.
10900         (_nss_files_gethostbyname_r): Implement function without the
10901         HOST_DB_LOOKUP macro.
10902         (_nss_files_gethostbyname2_r): Likewise.
10903
10904 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
10905
10906         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10907
10908 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
10909
10910         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10911         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10912         warning.
10913
10914 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10915
10916         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10917         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10918         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10919         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10920         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10921         __fe_nomask_env_priv and attribute_hidden.
10922         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10923         (libc_feupdateenv_test_ppc): Likewise.
10924         (libc_feresetround_ppc): Likewise.
10925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10926         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10927         compat_symbol macro.
10928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10929         (__fe_nomask_env): Likewise.
10930         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10931
10932 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10933
10934         * string/Makefile: Remove ifunc tests.
10935         * string/test-string.h: Define TEST_IFUNC.
10936         * string/test-bcopy-ifunc.c: Remove.
10937         * string/test-bzero-ifunc.c: Likewise.
10938         * string/test-memccpy-ifunc.c: Likewise.
10939         * string/test-memchr-ifunc.c: Likewise.
10940         * string/test-memcmp-ifunc.c: Likewise.
10941         * string/test-memcpy-ifunc.c: Likewise.
10942         * string/test-memmem-ifunc.c: Likewise.
10943         * string/test-memmove-ifunc.c: Likewise.
10944         * string/test-mempcpy-ifunc.c: Likewise.
10945         * string/test-memrchr-ifunc.c: Likewise.
10946         * string/test-memset-ifunc.c: Likewise.
10947         * string/test-rawmemchr-ifunc.c: Likewise.
10948         * string/test-stpcpy-ifunc.c: Likewise.
10949         * string/test-stpncpy-ifunc.c: Likewise.
10950         * string/test-strcasecmp-ifunc.c: Likewise.
10951         * string/test-strcasestr-ifunc.c: Likewise.
10952         * string/test-strcat-ifunc.c: Likewise.
10953         * string/test-strchr-ifunc.c: Likewise.
10954         * string/test-strchrnul-ifunc.c: Likewise.
10955         * string/test-strcmp-ifunc.c: Likewise.
10956         * string/test-strcpy-ifunc.c: Likewise.
10957         * string/test-strcspn-ifunc.c: Likewise.
10958         * string/test-strlen-ifunc.c: Likewise.
10959         * string/test-strncasecmp-ifunc.c: Likewise.
10960         * string/test-strncat-ifunc.c: Likewise.
10961         * string/test-strncmp-ifunc.c: Likewise.
10962         * string/test-strncpy-ifunc.c: Likewise.
10963         * string/test-strnlen-ifunc.c: Likewise.
10964         * string/test-strpbrk-ifunc.c: Likewise.
10965         * string/test-strrchr-ifunc.c: Likewise.
10966         * string/test-strspn-ifunc.c: Likewise.
10967         * string/test-strstr-ifunc.c: Likewise.
10968
10969 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10970
10971         * benchtests/Makefile: Remove ifunc tests.
10972         * benchtests/bench-string.h: Define TEST_IFUNC.
10973         * benchtests/bench-bcopy-ifunc.c: Remove.
10974         * benchtests/bench-bzero-ifunc.c: Likewise.
10975         * benchtests/bench-memccpy-ifunc.c: Likewise.
10976         * benchtests/bench-memchr-ifunc.c: Likewise.
10977         * benchtests/bench-memcmp-ifunc.c: Likewise.
10978         * benchtests/bench-memcpy-ifunc.c: Likewise.
10979         * benchtests/bench-memmem-ifunc.c: Likewise.
10980         * benchtests/bench-memmove-ifunc.c: Likewise.
10981         * benchtests/bench-mempcpy-ifunc.c: Likewise.
10982         * benchtests/bench-memrchr-ifunc.c: Likewise.
10983         * benchtests/bench-memset-ifunc.c: Likewise.
10984         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10985         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10986         * benchtests/bench-stpcpy-ifunc.c: Likewise.
10987         * benchtests/bench-stpncpy-ifunc.c: Likewise.
10988         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10989         * benchtests/bench-strcasestr-ifunc.c: Likewise.
10990         * benchtests/bench-strcat-ifunc.c: Likewise.
10991         * benchtests/bench-strchr-ifunc.c: Likewise.
10992         * benchtests/bench-strchrnul-ifunc.c: Likewise.
10993         * benchtests/bench-strcmp-ifunc.c: Likewise.
10994         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10995         * benchtests/bench-strcpy-ifunc.c: Likewise.
10996         * benchtests/bench-strcspn-ifunc.c: Likewise.
10997         * benchtests/bench-strlen-ifunc.c: Likewise.
10998         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10999         * benchtests/bench-strncat-ifunc.c: Likewise.
11000         * benchtests/bench-strncmp-ifunc.c: Likewise.
11001         * benchtests/bench-strncpy-ifunc.c: Likewise.
11002         * benchtests/bench-strnlen-ifunc.c: Likewise.
11003         * benchtests/bench-strpbrk-ifunc.c: Likewise.
11004         * benchtests/bench-strrchr-ifunc.c: Likewise.
11005         * benchtests/bench-strsep-ifunc.c: Likewise.
11006         * benchtests/bench-strspn-ifunc.c: Likewise.
11007         * benchtests/bench-strstr-ifunc.c: Likewise.
11008
11009 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11010
11011         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11012
11013 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11014
11015         * resolv/netdb.h: Use __glibc_reserved instead __unused.
11016         * rt/aio.h: Likewise.
11017         * sysdeps/gnu/bits/utmp.h: Likewise.
11018         * sysdeps/gnu/bits/utmpx.h: Likewise.
11019         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11020         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11021         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11022         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11023         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11024         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11025         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11026         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11027         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11028         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11029         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11030         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11031         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11033         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11034         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11035         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11036         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11037         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11038         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11039         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11040         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11041         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11042         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11043         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11044         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11045         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11046         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11047         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11048         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11049         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11050         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11051         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11052         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11053         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11054         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11055         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11056         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11057         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11058         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11059         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11060         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11061
11062 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
11063
11064         [BZ #16245]
11065         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11066         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11067
11068 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
11069
11070         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11071         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11072         Likewise.
11073
11074 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11075
11076         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11077         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11078         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11079         (__fesetround): Remove define.
11080         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11081         rounding and exceptions handling.
11082         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11083         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11084         (__fe_nomask_env): Likewise.
11085         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11086         __fegetround instead of fegetround.
11087         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11088         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11089
11090 2013-11-21  Roland McGrath  <roland@hack.frob.com>
11091
11092         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11093         it's there.
11094
11095         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11096
11097 2013-11-21  Meador Inge  <meadori@codesourcery.com>
11098
11099         [BZ #11157]
11100         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11101         (encrypt_r): Likewise.
11102         * malloc/obstack.h (obstack_free): Likewise.
11103         * posix/unistd.h (encrypt): Likewise.
11104
11105 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
11106
11107         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11108         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11109         DL_CALL_DT_FINI() that call the functions directly.
11110         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11111         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11112         * elf/dl-fini.c: Likewise.
11113
11114 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
11115
11116         * malloc/hooks.c (memalign_check): Add alignment rounding.
11117         * malloc/malloc.c (_mid_memalign): New function.
11118         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11119         Implement by calling _mid_memalign.
11120         * manual/probes.texi (Memory Allocation Probes): Remove
11121         memory_valloc_retry and memory_pvalloc_retry.
11122
11123 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11124
11125         * locale/programs/locarchive.c (open_archive): Add const
11126         qualifier to ARCHIVEFNAME and copy default fname to
11127         DEFAULT_FNAME.
11128
11129         [BZ #15601]
11130         * libio/tst-widetext.input: Rename Oriya to Odia.
11131         * locale/iso-639.def: Likewise.
11132
11133         * manual/probes.texi (Mathematical Function Probes): Add
11134         documentation for sin, cos, asin and acos probes.
11135         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11136         (__sin32): Add slowasin probe.
11137         (__cos32): Add slowacos probe.
11138         (__mpsin): Add slowsin probe.
11139         (__mpcos): Add slowcos probe.
11140
11141 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
11142
11143         [BZ #15483]
11144         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11145         thread-local __sim_exceptions_thread and global
11146         __sim_exceptions_global.
11147         (__sim_disabled_exceptions): Change to thread-local
11148         __sim_disabled_exceptions_thread and global
11149         __sim_disabled_exceptions_global.
11150         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11151         and global __sim_round_mode_global.
11152         (__simulate_exceptions): Use thread-local floating-point state and
11153         set global state from it as needed.
11154         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11155         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11156         __sim_round_mode_thread.
11157         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11158         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11159         and global __sim_exceptions_global.
11160         (__sim_disabled_exceptions): Change to thread-local
11161         __sim_disabled_exceptions_thread and global
11162         __sim_disabled_exceptions_global.
11163         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11164         and global __sim_round_mode_global.
11165         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11166         (SIM_SET_GLOBAL): Likewise.
11167         * sysdeps/powerpc/soft-fp/sfp-machine.h
11168         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11169         __sim_round_mode_thread.
11170         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11171         __sim_disabled_exceptions_thread.
11172         (__sim_exceptions): Change to __sim_exceptions_thread.
11173         (__sim_disabled_exceptions): Change to
11174         __sim_disabled_exceptions_thread.
11175         (__sim_round_mode): Change to __sim_round_mode_thread.
11176         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11177         thread-local floating-point state and set global state from it as
11178         needed.
11179         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11180         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11181         (__sim_disabled_exceptions): Remove extern declaration.
11182         (feenableexcept): Use thread-local floating-point state and set
11183         global state from it as needed.
11184         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11185         extern declaration.
11186         (__sim_disabled_exceptions): Likewise.
11187         (__sim_round_mode): Likewise.
11188         (__fegetenv): Use thread-local floating-point state.
11189         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11190         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11191         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11192         floating-point state and set global state from it as needed.
11193         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11194         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11195         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11196         Likewise.
11197         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11198         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11199         Likewise.
11200         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11201         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11202         Use __sim_round_mode_thread.
11203         * math/test-fenv-tls.c: New file.
11204         * math/Makefile (tests): Add test-fenv-tls.
11205         ($(objpfx)test-fenv-tls): Depend on
11206         $(common-objpfx)nptl/libpthread.so.
11207
11208 2013-11-19  Andreas Schwab  <schwab@suse.de>
11209
11210         * locale/programs/locale.c (show_info): Decode wordarray elements.
11211         * locale/categories.def (LC_MONETARY): Add element for
11212         _NL_MONETARY_CRNCYSTR.
11213         * locale/C-monetary.c (conversion_rate): New variable.
11214         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11215         element.
11216
11217 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
11218
11219         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11220         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11221
11222 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11223
11224         * elf/Makefile (tst-auxv): New test.
11225         * elf/tst-auxv.c: New
11226         * elf/rtld.c (dl_main): Adjust AT_EXECFN
11227
11228 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
11229
11230         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11231         (hidden_proto): Caller changed.
11232         (hidden_tls_proto): New macro.
11233         (libc_hidden_tls_proto): Likewise.
11234         (rtld_hidden_tls_proto): Likewise.
11235         (libm_hidden_tls_proto): Likewise.
11236         (libresolv_hidden_tls_proto): Likewise.
11237         (librt_hidden_tls_proto): Likewise.
11238         (libdl_hidden_tls_proto): Likewise.
11239         (libnss_files_hidden_tls_proto): Likewise.
11240         (libnsl_hidden_tls_proto): Likewise.
11241         (libnss_nisplus_hidden_tls_proto): Likewise.
11242         (libutil_hidden_tls_proto): Likewise.
11243
11244 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
11245
11246         [BZ #10253]
11247         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11248         (decompose_rpath): Defer expansion to fillin_rpath.
11249         (_dl_init_paths): Pass linkmap to fillin_rpath.
11250
11251 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11252
11253         * benchtests/Makefile: Add strsep.
11254         * benchtests/bench-strsep.c: New file: strsep benchtest.
11255         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11256
11257 2013-11-18  Andreas Schwab  <schwab@suse.de>
11258
11259         * locale/programs/locale.c (show_info) [case byte]: Check for
11260         '\377' instead of '\177'.
11261         * locale/C-monetary.c (not_available): Always use "\377".
11262         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11263         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
11264         detect unavailable sign_posn locale elements.
11265         * locale/localeconv.c (__localeconv): For grouping and
11266         mon_grouping handle "\177" and "\377" like no grouping.
11267         (INT_ELEM): New macro.  Use it to set all numeric members.
11268         * locale/programs/ld-monetary.c (monetary_read)
11269         <tok_mon_grouping>: Normalize single -1 to the empty string.
11270         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11271         Likewise.
11272
11273 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11274
11275         [BZ #16055]
11276         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11277         when we match (nil).
11278         * stdio-common/tst-sscanf.c (struct test): Add testcase.
11279
11280 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
11281
11282         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11283         (NO_TEST_INLINE): Update value.
11284         (ERRNO_UNCHANGED): Likewise.
11285         (ERRNO_EDOM): Likewise.
11286         (ERRNO_ERANGE): Likewise.
11287         (IGNORE_RESULT): Likewise.
11288         (check_float_internal): Check signs of NaN results if
11289         TEST_NAN_SIGN used.
11290         (check_complex): Pass TEST_NAN_SIGN flag through to second
11291         check_float_internal call.
11292         (copysign_test_data): Add tests with quiet NaNs as second
11293         argument.  Use TEST_NAN_SIGN.
11294         (fabs_test_data): Add test of negative quiet NaN argument.  Use
11295         TEST_NAN_SIGN.
11296         (signbit_test_data): Add tests of quiet NaN argument.
11297         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11298
11299         * math/gen-libm-test.pl (show_exceptions): Take extra argument
11300         $ignore_result.
11301         (parse_args): Handle function results specified as IGNORE.
11302         * math/libm-test.inc (IGNORE_RESULT): New macro.
11303         (check_float_internal): Do not check numerical result if flag
11304         IGNORE_RESULT set.
11305         (check_complex): Pass through IGNORE_RESULT to second
11306         check_float_internal call.
11307         (check_int): Do not check numerical result if flag IGNORE_RESULT
11308         set.
11309         (check_long): Likewise.
11310         (check_bool): Likewise.
11311         (check_longlong): Likewise.
11312         (lrint_test_data): Add tests of infinite and NaN arguments.
11313         (lrint_tonearest_test_data): Likewise.
11314         (lrint_towardzero_test_data): Likewise.
11315         (lrint_downward_test_data): Likewise.
11316         (lrint_upward_test_data): Likewise.
11317         (llrint_test_data): Likewise.
11318         (llrint_tonearest_test_data): Likewise.
11319         (llrint_towardzero_test_data): Likewise.
11320         (llrint_downward_test_data): Likewise.
11321         (llrint_upward_test_data): Likewise.
11322         (lround_test_data): Likewise.
11323         (llround_test_data): Likewise.
11324
11325         * math/libm-test.inc (NO_TEST_INLINE): New macro.
11326         (ERRNO_UNCHANGED): Update value.
11327         (ERRNO_EDOM): Likewise.
11328         (ERRNO_ERANGE): Likewise.
11329         (NO_TEST_INLINE_FLOAT): New macro.
11330         (NO_TEST_INLINE_DOUBLE): Likewise.
11331         (enable_test): New function.
11332         (RUN_TEST_f_f): Check enable_test before running test.
11333         (RUN_TEST_2_f): Likewise.
11334         (RUN_TEST_fff_f): Likewise.
11335         (RUN_TEST_c_f): Likewise.
11336         (RUN_TEST_f_f1): Likewise.
11337         (RUN_TEST_fF_f1): Likewise.
11338         (RUN_TEST_fI_f1): Likewise.
11339         (RUN_TEST_ffI_f1): Likewise.
11340         (RUN_TEST_c_c): Likewise.
11341         (RUN_TEST_cc_c): Likewise.
11342         (RUN_TEST_f_i): Likewise.
11343         (RUN_TEST_f_i_tg): Likewise.
11344         (RUN_TEST_ff_i_tg): Likewise.
11345         (RUN_TEST_f_b): Likewise.
11346         (RUN_TEST_f_b_tg): Likewise.
11347         (RUN_TEST_f_l): Likewise.
11348         (RUN_TEST_f_L): Likewise.
11349         (RUN_TEST_fFF_11): Likewise.
11350         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11351         conditionals.
11352         (cosh_test_data): Likewise.
11353         (exp_test_data): Likewise.
11354         (expm1_test_data): Likewise.
11355         (hypot_test_data): Likewise.
11356         (pow_test_data): Likewise.
11357         (sinh_test_data): Likewise.
11358         (tanh_test_data): Likewise.
11359         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11360         flags argument.
11361
11362         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11363         tests with quiet NaN input and output.
11364         (acosh_test_data): Likewise.
11365         (asin_test_data): Likewise.
11366         (asinh_test_data): Likewise.
11367         (atan_test_data): Likewise.
11368         (atanh_test_data): Likewise.
11369         (atan2_test_data): Likewise.
11370         (cbrt_test_data): Likewise.
11371         (cos_test_data): Likewise.
11372         (cosh_test_data): Likewise.
11373         (erf_test_data): Likewise.
11374         (erfc_test_data): Likewise.
11375         (exp_test_data): Likewise.
11376         (exp10_test_data): Likewise.
11377         (exp2_test_data): Likewise.
11378         (expm1_test_data): Likewise.
11379         (hypot_test_data): Likewise.
11380         (j0_test_data): Likewise.
11381         (j1_test_data): Likewise.
11382         (jn_test_data): Likewise.
11383         (lgamma_test_data): Likewise.
11384         (log_test_data): Likewise.
11385         (log10_test_data): Likewise.
11386         (log1p_test_data): Likewise.
11387         (log2_test_data): Likewise.
11388         (pow_test_data): Likewise.
11389         (scalb_test_data): Likewise.
11390         (sin_test_data): Likewise.
11391         (sincos_test_data): Likewise.
11392         (sinh_test_data): Likewise.
11393         (tan_test_data): Likewise.
11394         (tanh_test_data): Likewise.
11395         (tgamma_test_data): Likewise.
11396         (y0_test_data): Likewise.
11397         (y1_test_data): Likewise.
11398         (yn_test_data): Likewise.
11399
11400         [BZ #16167]
11401         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11402         argument being NaN and avoid computations with second argument in
11403         that case.
11404         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11405         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11406         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11407
11408 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
11409
11410         * locale/iso-639.def: Add Chitwani Tharu (the).
11411
11412 2013-11-14  Andreas Schwab  <schwab@suse.de>
11413
11414         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11415         word instead of empty string.
11416
11417 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11418
11419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11420         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11422         (__fe_nomask_env): Likewise.
11423
11424 2013-11-13  Steve Ellcey  <sellcey@mips.com>
11425
11426         * benchtests/bench-timing.h: Include time.h.
11427
11428 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
11429
11430         [BZ #15997]
11431         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11432         to 3.4.0 for x32.
11433         * sysdeps/unix/sysv/linux/configure: Regenerated.
11434
11435 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
11436
11437         [BZ #16151]
11438         * stdlib/strtod_l.c (round_and_return): Do not consider
11439         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11440         exponent one less than half the least subnormal exponent.
11441         * stdlib/test-strtod-round-data: Add more tests.
11442         * stdlib/tst-strtod-round.c (tests): Regenerated.
11443
11444 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11445
11446         [BZ #14143]
11447         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11448         (__fe_mask_env): Likewise.
11449         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11450         libm_hidden_proto and add function prototype.
11451         (__fe_mask_env): Add function prototype.
11452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11453         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11455         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11457         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11458
11459 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11460
11461         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11462         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11463
11464 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11465
11466         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11467         of htab_find_slot().
11468
11469 2013-11-11  David S. Miller  <davem@davemloft.net>
11470
11471         [BZ #16150]
11472         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11473         symbol in the non-vis3 case in static builds.
11474         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11475         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11476         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11477         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11478
11479 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11480
11481         [BZ #387]
11482         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11483         it is empty.
11484
11485 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11486
11487         * benchtests/Makefile: Add bench-strtod.
11488         * benchtests/bench-strtod.c: New file: strtod benchtest
11489
11490 2013-11-11  Andreas Schwab  <schwab@suse.de>
11491
11492         [BZ #16153]
11493         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11494         terminating NUL in key length.
11495
11496 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11497
11498         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11499         Add artificial ODP entry for vDSO symbol for PPC64.
11500         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11501         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11502
11503 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11504
11505         [BZ #15374]
11506         * nss/getent.c (services_keys): Recognize services starting with digit.
11507
11508 2013-11-06  David S. Miller  <davem@davemloft.net>
11509
11510         [BZ #15985]
11511         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11512         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11513
11514 2013-11-06  Will Newton  <will.newton@linaro.org>
11515
11516         * manual/memory.texi (Malloc Examples): Remove register
11517         keyword from examples.
11518
11519 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
11520
11521         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11522
11523 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
11524
11525         [BZ #6981]
11526         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11527         depending on [__GCC_IEC_559 > 0].
11528         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11529         depending on [__GCC_IEC_559_COMPLEX > 0].
11530
11531 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
11532
11533         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11534         to iso-639.def.
11535
11536 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
11537
11538         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11539
11540 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
11541
11542         [BZ #16112]
11543         * malloc/malloc (malloc_info): Do not handle first bin as
11544         special case.
11545
11546 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
11547
11548         * locale/iso-639.def: Add Central Nahuatl (nhn).
11549
11550 2013-11-01  Bruno Haible  <bruno@clisp.org>
11551
11552         [BZ #7003]
11553         * manual/math.texi (BSD Random): Specify range upper bound as
11554         in POSIX.
11555
11556 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
11557
11558         * locale/iso-639.def: Add Meadow Mari (mhr).
11559
11560 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
11561
11562         [BZ #14752], [BZ #15763]
11563         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11564         Validate name.
11565         * rt/tst_shm.c: Add test for escaping directory.
11566
11567 2013-10-31  Andreas Schwab  <schwab@suse.de>
11568
11569         [BZ #15917]
11570         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11571         followed by 'x' as part of digit sequence.
11572         * stdio-common/tst-sscanf.c (double_tests2): New tests.
11573
11574 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11575
11576         [BZ #16037]
11577         * configure.ac: allow GNU Make 4.0 and greater.
11578         * configure: Regenerated.
11579
11580 2013-10-30  Will Newton  <will.newton@linaro.org>
11581
11582         [BZ #16038]
11583         * malloc/hooks.c (memalign_check): Limit alignment to the
11584         maximum representable power of two.
11585         * malloc/malloc.c (__libc_memalign): Likewise.
11586         * malloc/tst-memalign.c (do_test): Add test for very
11587         large alignment values.
11588         * malloc/tst-posix_memalign.c (do_test): Likewise.
11589
11590 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11591
11592         [BZ #11087]
11593         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11594         (munmap_chunk): Likewise.
11595         (mremap_chunk): Likewise.
11596
11597 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11598
11599         [BZ #15799]
11600         * stdlib/div.c (div): Remove obsolete code.
11601         * stdlib/ldiv.c (ldiv): Likewise.
11602         * stdlib/lldiv.c (lldiv): Likewise.
11603
11604 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11605
11606         [BZ #16071]
11607         * nss/nss_files/files-XXX.c (get_contents_ret): New
11608         enumerator.
11609         (get_contents): New function.
11610         (internal_getent): Use it.  Expand size of LINEBUFLEN.
11611
11612 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
11613
11614         * configure.in: Moved to ...
11615         * configure.ac: ... here. Change reference to configure.in
11616         to configure.ac.
11617         * sysdeps/arm/preconfigure.ac: ... here.
11618         configure.in to configure.ac.
11619         * sysdeps/gnu/configure.in: Moved to ...
11620         * sysdeps/gnu/configure.ac: ... here.
11621         * sysdeps/i386/configure.in: Moved to ...
11622         * sysdeps/i386/configure.ac: ... here.
11623         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11624         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11625         * sysdeps/mach/configure.in: Moved to ...
11626         * sysdeps/mach/configure.ac: ... here.
11627         * sysdeps/mach/hurd/configure.in: Moved to ...
11628         * sysdeps/mach/hurd/configure.ac: ... here.
11629         * sysdeps/powerpc/configure.in: Moved to ...
11630         * sysdeps/powerpc/configure.ac: ... here.
11631         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11632         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11633         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11634         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11635         * sysdeps/s390/s390-32/configure.in: Moved to ...
11636         * sysdeps/s390/s390-32/configure.ac: ... here.
11637         * sysdeps/s390/s390-64/configure.in: Moved to ...
11638         * sysdeps/s390/s390-64/configure.ac: ... here.
11639         * sysdeps/sh/configure.in: Moved to ...
11640         * sysdeps/sh/configure.ac: ... here.
11641         * sysdeps/sparc/configure.in: Moved to ...
11642         * sysdeps/sparc/configure.ac: ... here.
11643         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11644         * sysdeps/unix/sysv/linux/configure.ac: ... here.
11645         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11646         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11647         * sysdeps/x86_64/configure.in: Moved to ...
11648         * sysdeps/x86_64/configure.ac: ... here.
11649         * sysdeps/x86_64/preconfigure.in: Moved to ...
11650         * sysdeps/x86_64/preconfigure.ac: ... here.
11651         * aclocal.m4: Change reference to configure.in to configure.ac.
11652         * config.h.in: Likewise.
11653         * manual/install.texi: Likewise.
11654         * manual/maint.texi: Likewise.
11655         * Makefile: Likewise.
11656         * malloc/Makefile: Likewise.
11657         * nscd/Makefile: Likewise.
11658         * Makeconfig: Change reference to configure.in and
11659         preconfigure.in to configure.ac and preconfigure.ac
11660         respectively.
11661         * INSTALL: Regenerated.
11662         * configure: Likewise.
11663         * sysdeps/gnu/configure: Likewise.
11664         * sysdeps/i386/configure: Likewise.
11665         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11666         * sysdeps/mach/configure: Likewise.
11667         * sysdeps/mach/hurd/configure: Likewise.
11668         * sysdeps/powerpc/configure: Likewise.
11669         * sysdeps/powerpc/powerpc32/configure: Likewise.
11670         * sysdeps/powerpc/powerpc64/configure: Likewise.
11671         * sysdeps/s390/s390-32/configure: Likewise.
11672         * sysdeps/s390/s390-64/configure: Likewise.
11673         * sysdeps/sh/configure: Likewise.
11674         * sysdeps/sparc/configure: Likewise.
11675         * sysdeps/unix/sysv/linux/configure: Likewise.
11676         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11677         * sysdeps/x86_64/configure: Likewise.
11678         * sysdeps/x86_64/preconfigure: Likewise.
11679
11680 2013-10-29  Andreas Schwab  <schwab@suse.de>
11681
11682         * stdio-common/Makefile (tst-swscanf-ENV): Define.
11683
11684 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11685
11686         * benchtests/pow-inputs: Add new inputs.
11687
11688         * benchtests/exp-inputs: Add new inputs.
11689
11690         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11691         conditional check for return value.
11692         (__cos32): Likewise.
11693
11694 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11695
11696         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11697         to provide a boost for large inputs with word alignment.
11698         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11699         implementation based on optimized PPC64 strcpy.
11700         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11701         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11702         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11703         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11704
11705 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11706
11707         [BZ #2801]
11708         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11709
11710 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11711
11712         [BZ #14876]
11713         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11714         * time/tst-strptime.c (day_tests): Add testcase.
11715
11716 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11717
11718         [BZ #14029]
11719         * manual/pattern.texi: Acknowledge that fnmatch can fail.
11720
11721 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
11722
11723         [BZ #16074]
11724         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11725         MAP_FAILED on error.
11726
11727 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11728
11729         [BZ #16072]
11730         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11731         heap for large requests.
11732
11733 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
11734
11735         [BZ #9954]
11736         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11737         result if the result has no associated interface.
11738         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11739         interface for all 127.X.Y.Z addresses.
11740
11741 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
11742
11743         * locale/iso-639.def: Add Ligurian (lij)
11744
11745 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
11746
11747         [BZ #15825]
11748         * sunrpc/rpc_main.c: Document rpcgen -5.
11749
11750 2013-10-19  Michael Stahl  <mstahl@redhat.com>
11751
11752         * elf/rtld.c (do_preload): Print the reason why preloading failed.
11753
11754 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11755
11756         [BZ #10278]
11757         * posix/glob.c: Match only directories when trailing slash is present.
11758         * posix/tst-gnuglob.c (my_opendir): Do not open files.
11759         (main): Add testcase.
11760
11761 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11762
11763         [BZ #15670]
11764         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11765
11766 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
11767
11768         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11769         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11770         AUTH_DES and cindex for FIPS 140-2.
11771         (DES Encryption): Add cindex FIPS 46-3.
11772
11773         * locale/locarchive.h (struct locarhandle): Add fname.
11774         * locale/programs/localedef.c (main): Pass ARGV[remaining]
11775         if an optional argument was specified to --list-archive,
11776         otherwise NULL.
11777         * locale/programs/locarchive.c (show_archive_content): Take new
11778         argument fname and pass it via ah.fname to open_archive.
11779         * locale/programs/localedef.h: Update decl.
11780         (open_archive): If AH->fname is non-null, open that file
11781         rather than the default file name, and don't ignore ENOENT.
11782         (create_archive): Set AH.fname to NULL.
11783         (delete_locales_from_archive): Likewise.
11784         (add_locales_to_archive): Likewise.
11785         * locale/programs/locfile.c (write_all_categories): Likewise.
11786
11787 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
11788             Aldy Hernandez  <aldyh@redhat.com>
11789
11790         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11791         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11792         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11793         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11794         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11795         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11796         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11797         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11798         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11799         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11800         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11801         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11802         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11803         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11804         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11805         Likewise.
11806         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11807         Likewise.
11808         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11809         Likewise.
11810         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11811         Likewise.
11812         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11813         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11814         Likewise.
11815         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11816         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11817         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11818         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11819         Likewise.
11820         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11821         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11822         * sysdeps/powerpc/preconfigure: Likewise.
11823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11824         Likewise.
11825         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11826         Replace contents of file by #include of <fenv_libc.h>.
11827         * sysdeps/powerpc/soft-fp/sfp-machine.h
11828         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11829         and <sys/prctl.h>.
11830         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11831         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11832         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11833         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11834         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11835         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11836         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11837         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11838         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11839         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11840         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11841         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11843         Allow copysignl PLT reference to be missing.
11844
11845 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
11846             Joseph Myers  <joseph@codesourcery.com
11847
11848         [BZ #15948]
11849         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11850         single character.
11851         (add_to_tablewc): Assert sequence of wide characters is nonempty.
11852
11853 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11854
11855         * elf/tst-tls-dlinfo.c: Don't include tls.h.
11856         * elf/tst-tls1.c: Likewise.
11857         * elf/tst-tls10.h: Likewise.
11858         * elf/tst-tls14.c: Likewise.
11859         * elf/tst-tls2.c: Likewise.
11860         * elf/tst-tls3.c: Likewise.
11861         * elf/tst-tls4.c: Likewise.
11862         * elf/tst-tls5.c: Likewise.
11863         * elf/tst-tls6.c: Likewise.
11864         * elf/tst-tls7.c: Likewise.
11865         * elf/tst-tls8.c: Likewise.
11866         * elf/tst-tls9.c: Likewise.
11867         * elf/tst-tlsmod1.c: Likewise.
11868         * elf/tst-tlsmod13.c: Likewise.
11869         * elf/tst-tlsmod13a.c: Likewise.
11870         * elf/tst-tlsmod14a.c: Likewise.
11871         * elf/tst-tlsmod16a.c: Likewise.
11872         * elf/tst-tlsmod16b.c: Likewise.
11873         * elf/tst-tlsmod2.c: Likewise.
11874         * elf/tst-tlsmod3.c: Likewise.
11875         * elf/tst-tlsmod4.c: Likewise.
11876         * elf/tst-tlsmod5.c: Likewise.
11877         * elf/tst-tlsmod6.c: Likewise.
11878
11879 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
11880
11881         [BZ #12486]
11882         * malloc/malloc.c: remove checks for statistics.
11883
11884 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11885
11886         [BZ #15277]
11887         * inet/inet_net.c (inet_network): Detect additional invalid strings.
11888         * inet/tst-network.c: Add testcase.
11889
11890 2013-10-17  Andreas Schwab  <schwab@suse.de>
11891
11892         [BZ #15218]
11893         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11894         to determine canonical name.
11895
11896 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11897
11898         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11899         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11900         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11901         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11902         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11903         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11904         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11905         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11906         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11907         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11908         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11909         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11910         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11911         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11912         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11913         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11914         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11915         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11916         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11917         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11918         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11919         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11920         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11921         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11922         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11923         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11924         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11925         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11926         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11927         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11928         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11929         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11930         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11931         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11932         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11933         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11934         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11935         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11936         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11937         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11938         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11939         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11940         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11941         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11942         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11943         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11944         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11945         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11946         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11947         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11948         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11949         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11950         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11951         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11952         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11953         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11954         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11955         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11956
11957 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
11958
11959         [BZ #16041]
11960         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11961         make result into a quiet NaN.
11962
11963 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
11964
11965         * soft-fp/adddf3.c: Fix horizontal whitespace.
11966         * soft-fp/addsf3.c: Likewise.
11967         * soft-fp/addtf3.c: Likewise.
11968         * soft-fp/divdf3.c: Likewise.
11969         * soft-fp/divsf3.c: Likewise.
11970         * soft-fp/divtf3.c: Likewise.
11971         * soft-fp/double.h: Likewise.
11972         * soft-fp/eqdf2.c: Likewise.
11973         * soft-fp/eqsf2.c: Likewise.
11974         * soft-fp/eqtf2.c: Likewise.
11975         * soft-fp/extenddftf2.c: Likewise.
11976         * soft-fp/extended.h: Likewise.
11977         * soft-fp/extendsfdf2.c: Likewise.
11978         * soft-fp/extendsftf2.c: Likewise.
11979         * soft-fp/extendxftf2.c: Likewise.
11980         * soft-fp/fixdfdi.c: Likewise.
11981         * soft-fp/fixdfsi.c: Likewise.
11982         * soft-fp/fixdfti.c: Likewise.
11983         * soft-fp/fixsfdi.c: Likewise.
11984         * soft-fp/fixsfsi.c: Likewise.
11985         * soft-fp/fixsfti.c: Likewise.
11986         * soft-fp/fixtfdi.c: Likewise.
11987         * soft-fp/fixtfsi.c: Likewise.
11988         * soft-fp/fixtfti.c: Likewise.
11989         * soft-fp/fixunsdfdi.c: Likewise.
11990         * soft-fp/fixunsdfsi.c: Likewise.
11991         * soft-fp/fixunsdfti.c: Likewise.
11992         * soft-fp/fixunssfdi.c: Likewise.
11993         * soft-fp/fixunssfsi.c: Likewise.
11994         * soft-fp/fixunssfti.c: Likewise.
11995         * soft-fp/fixunstfdi.c: Likewise.
11996         * soft-fp/fixunstfsi.c: Likewise.
11997         * soft-fp/fixunstfti.c: Likewise.
11998         * soft-fp/floatdidf.c: Likewise.
11999         * soft-fp/floatdisf.c: Likewise.
12000         * soft-fp/floatditf.c: Likewise.
12001         * soft-fp/floatsidf.c: Likewise.
12002         * soft-fp/floatsisf.c: Likewise.
12003         * soft-fp/floatsitf.c: Likewise.
12004         * soft-fp/floattidf.c: Likewise.
12005         * soft-fp/floattisf.c: Likewise.
12006         * soft-fp/floattitf.c: Likewise.
12007         * soft-fp/floatundidf.c: Likewise.
12008         * soft-fp/floatundisf.c: Likewise.
12009         * soft-fp/floatunditf.c: Likewise.
12010         * soft-fp/floatunsidf.c: Likewise.
12011         * soft-fp/floatunsisf.c: Likewise.
12012         * soft-fp/floatunsitf.c: Likewise.
12013         * soft-fp/floatuntidf.c: Likewise.
12014         * soft-fp/floatuntisf.c: Likewise.
12015         * soft-fp/floatuntitf.c: Likewise.
12016         * soft-fp/fmadf4.c: Likewise.
12017         * soft-fp/fmasf4.c: Likewise.
12018         * soft-fp/fmatf4.c: Likewise.
12019         * soft-fp/gedf2.c: Likewise.
12020         * soft-fp/gesf2.c: Likewise.
12021         * soft-fp/getf2.c: Likewise.
12022         * soft-fp/ledf2.c: Likewise.
12023         * soft-fp/lesf2.c: Likewise.
12024         * soft-fp/letf2.c: Likewise.
12025         * soft-fp/muldf3.c: Likewise.
12026         * soft-fp/mulsf3.c: Likewise.
12027         * soft-fp/multf3.c: Likewise.
12028         * soft-fp/negdf2.c: Likewise.
12029         * soft-fp/negsf2.c: Likewise.
12030         * soft-fp/negtf2.c: Likewise.
12031         * soft-fp/op-1.h: Likewise.
12032         * soft-fp/op-2.h: Likewise.
12033         * soft-fp/op-4.h: Likewise.
12034         * soft-fp/op-8.h: Likewise.
12035         * soft-fp/op-common.h: Likewise.
12036         * soft-fp/quad.h: Likewise.
12037         * soft-fp/single.h: Likewise.
12038         * soft-fp/soft-fp.h: Likewise.
12039         * soft-fp/sqrtdf2.c: Likewise.
12040         * soft-fp/sqrtsf2.c: Likewise.
12041         * soft-fp/sqrttf2.c: Likewise.
12042         * soft-fp/subdf3.c: Likewise.
12043         * soft-fp/subsf3.c: Likewise.
12044         * soft-fp/subtf3.c: Likewise.
12045         * soft-fp/truncdfsf2.c: Likewise.
12046         * soft-fp/trunctfdf2.c: Likewise.
12047         * soft-fp/trunctfsf2.c: Likewise.
12048         * soft-fp/trunctfxf2.c: Likewise.
12049         * soft-fp/unorddf2.c: Likewise.
12050         * soft-fp/unordsf2.c: Likewise.
12051         * soft-fp/unordtf2.c: Likewise.
12052
12053 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
12054
12055         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12056         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12057
12058 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
12059
12060         * elf/dl-libc.c: Clear initfini list after freeing.
12061
12062 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
12063
12064         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12065         * soft-fp/addsf3.c: Likewise.
12066         * soft-fp/addtf3.c: Likewise.
12067         * soft-fp/divdf3.c: Likewise.
12068         * soft-fp/divsf3.c: Likewise.
12069         * soft-fp/divtf3.c: Likewise.
12070         * soft-fp/double.h: Likewise.
12071         * soft-fp/eqdf2.c: Likewise.
12072         * soft-fp/eqsf2.c: Likewise.
12073         * soft-fp/eqtf2.c: Likewise.
12074         * soft-fp/extenddftf2.c: Likewise.
12075         * soft-fp/extended.h: Likewise.
12076         * soft-fp/extendsfdf2.c: Likewise.
12077         * soft-fp/extendsftf2.c: Likewise.
12078         * soft-fp/extendxftf2.c: Likewise.
12079         * soft-fp/fixdfdi.c: Likewise.
12080         * soft-fp/fixdfsi.c: Likewise.
12081         * soft-fp/fixdfti.c: Likewise.
12082         * soft-fp/fixsfdi.c: Likewise.
12083         * soft-fp/fixsfsi.c: Likewise.
12084         * soft-fp/fixsfti.c: Likewise.
12085         * soft-fp/fixtfdi.c: Likewise.
12086         * soft-fp/fixtfsi.c: Likewise.
12087         * soft-fp/fixtfti.c: Likewise.
12088         * soft-fp/fixunsdfdi.c: Likewise.
12089         * soft-fp/fixunsdfsi.c: Likewise.
12090         * soft-fp/fixunsdfti.c: Likewise.
12091         * soft-fp/fixunssfdi.c: Likewise.
12092         * soft-fp/fixunssfsi.c: Likewise.
12093         * soft-fp/fixunssfti.c: Likewise.
12094         * soft-fp/fixunstfdi.c: Likewise.
12095         * soft-fp/fixunstfsi.c: Likewise.
12096         * soft-fp/fixunstfti.c: Likewise.
12097         * soft-fp/floatdidf.c: Likewise.
12098         * soft-fp/floatdisf.c: Likewise.
12099         * soft-fp/floatditf.c: Likewise.
12100         * soft-fp/floatsidf.c: Likewise.
12101         * soft-fp/floatsisf.c: Likewise.
12102         * soft-fp/floatsitf.c: Likewise.
12103         * soft-fp/floattidf.c: Likewise.
12104         * soft-fp/floattisf.c: Likewise.
12105         * soft-fp/floattitf.c: Likewise.
12106         * soft-fp/floatundidf.c: Likewise.
12107         * soft-fp/floatundisf.c: Likewise.
12108         * soft-fp/floatunsidf.c: Likewise.
12109         * soft-fp/floatunsisf.c: Likewise.
12110         * soft-fp/floatuntidf.c: Likewise.
12111         * soft-fp/floatuntisf.c: Likewise.
12112         * soft-fp/floatuntitf.c: Likewise.
12113         * soft-fp/fmadf4.c: Likewise.
12114         * soft-fp/fmasf4.c: Likewise.
12115         * soft-fp/fmatf4.c: Likewise.
12116         * soft-fp/gedf2.c: Likewise.
12117         * soft-fp/gesf2.c: Likewise.
12118         * soft-fp/getf2.c: Likewise.
12119         * soft-fp/ledf2.c: Likewise.
12120         * soft-fp/lesf2.c: Likewise.
12121         * soft-fp/letf2.c: Likewise.
12122         * soft-fp/muldf3.c: Likewise.
12123         * soft-fp/mulsf3.c: Likewise.
12124         * soft-fp/multf3.c: Likewise.
12125         * soft-fp/negdf2.c: Likewise.
12126         * soft-fp/negsf2.c: Likewise.
12127         * soft-fp/negtf2.c: Likewise.
12128         * soft-fp/op-1.h: Likewise.
12129         * soft-fp/op-2.h: Likewise.
12130         * soft-fp/op-4.h: Likewise.
12131         * soft-fp/op-8.h: Likewise.
12132         * soft-fp/op-common.h: Likewise.
12133         * soft-fp/quad.h: Likewise.
12134         * soft-fp/single.h: Likewise.
12135         * soft-fp/soft-fp.h: Likewise.
12136         * soft-fp/sqrtdf2.c: Likewise.
12137         * soft-fp/sqrtsf2.c: Likewise.
12138         * soft-fp/sqrttf2.c: Likewise.
12139         * soft-fp/subdf3.c: Likewise.
12140         * soft-fp/subsf3.c: Likewise.
12141         * soft-fp/subtf3.c: Likewise.
12142         * soft-fp/truncdfsf2.c: Likewise.
12143         * soft-fp/trunctfdf2.c: Likewise.
12144         * soft-fp/trunctfsf2.c: Likewise.
12145         * soft-fp/trunctfxf2.c: Likewise.
12146         * soft-fp/unorddf2.c: Likewise.
12147         * soft-fp/unordsf2.c: Likewise.
12148         * soft-fp/unordtf2.c: Likewise.
12149
12150 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
12151
12152         [BZ #15672]
12153         * misc/error.c (error_tail): Fix possible buffer overflow.
12154
12155 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
12156
12157         [BZ #13028]
12158         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12159         address.
12160
12161 2013-10-14  P. J. McDermott  <pj@pehjota.net>
12162
12163         [BZ #832]
12164         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
12165         testing pipefail option.
12166
12167 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12168
12169         * soft-fp/double.h: Indent preprocessor directives inside #if.
12170         * soft-fp/extended.h: Likewise.
12171         * soft-fp/op-2.h: Likewise.
12172         * soft-fp/op-4.h: Likewise.
12173         * soft-fp/op-common.h: Likewise.
12174         * soft-fp/quad.h: Likewise.
12175         * soft-fp/single.h: Likewise.
12176         * soft-fp/soft-fp.h: Likewise.
12177
12178 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
12179
12180         * iconv/iconv_prog.c: Fix typos.
12181         * stdio-common/psiginfo-data.h: Likewise.
12182
12183 2013-10-12   Reuben Thomas <rrt@sc3d.org>
12184
12185         [BZ #15764]
12186         * locale/setlocale.c: Fix typo.
12187
12188 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12189
12190         [BZ #16036]
12191         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12192         signaling NaN arguments.
12193         * soft-fp/unordsf2.c (__unordsf2): Likewise.
12194         * soft-fp/unordtf2.c (__unordtf2): Likewise.
12195
12196         [BZ #14910]
12197         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12198         unordered operands.
12199         * soft-fp/gesf2.c (__gesf2): Likewise.
12200         * soft-fp/getf2.c (__getf2): Likewise.
12201         * soft-fp/ledf2.c (__ledf2): Likewise.
12202         * soft-fp/lesf2.c (__lesf2): Likewise.
12203         * soft-fp/letf2.c (__letf2): Likewise.
12204
12205         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12206         * soft-fp/eqsf2.c (__eqsf2): Likewise.
12207         * soft-fp/eqtf2.c (__eqtf2): Likewise.
12208         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12209         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12210         * soft-fp/fixdfti.c (__fixdfti): Likewise.
12211         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12212         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12213         * soft-fp/fixsfti.c (__fixsfti): Likewise.
12214         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12215         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12216         * soft-fp/fixtfti.c (__fixtfti): Likewise.
12217         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12218         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12219         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12220         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12221         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12222         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12223         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12224         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12225         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12226         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12227         * soft-fp/floatdisf.c (__floatdisf): Likewise.
12228         * soft-fp/floatsisf.c (__floatsisf): Likewise.
12229         * soft-fp/floattidf.c (__floattidf): Likewise.
12230         * soft-fp/floattisf.c (__floattisf): Likewise.
12231         * soft-fp/floattitf.c (__floattitf): Likewise.
12232         * soft-fp/floatundidf.c (__floatundidf): Likewise.
12233         * soft-fp/floatundisf.c (__floatundisf): Likewise.
12234         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12235         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12236         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12237         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12238         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12239         * soft-fp/gesf2.c (__gesf2): Likewise.
12240         * soft-fp/getf2.c (__getf2): Likewise.
12241         * soft-fp/ledf2.c (__ledf2): Likewise.
12242         * soft-fp/lesf2.c (__lesf2): Likewise.
12243         * soft-fp/letf2.c (__letf2): Likewise.
12244
12245         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12246         Undefine and redefine.
12247         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12248         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12249         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12250         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12251         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12252         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12253         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12254         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12255         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12256         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12257         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12258         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12259         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12260         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12261         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12262
12263         [BZ #16032]
12264         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12265         without decrementing exponent if mantissa >= that for the
12266         denominator, not >.
12267         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12268         denominator, not >.  Decrement exponent in < case instead of
12269         incrementing in >= case.
12270         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12271         without decrementing exponent if mantissa >= that for the
12272         denominator, not >.
12273
12274         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12275         computing saturated result for unsigned overflow.
12276
12277 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12278             Jeff Law  <law@redhat.com>
12279
12280         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12281         (atan2Mp): Add systemtap probe marker.
12282         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12283         (__ieee754_log): Add systemtap probe marker.
12284         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12285         (atanMp): Add systemtap probe marker.
12286         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12287         (tanMp): Add systemtap probe marker.
12288         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12289         (__slowexp): Add systemtap probe marker.
12290         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12291         (__slowpow): Add systemtap probe marker.
12292         * manual/probes.texi: Document probes.
12293
12294 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
12295
12296         [BZ #15362]
12297         * libio/fileops.c (_IO_new_file_write): Return count of bytes
12298         written.
12299         (_IO_new_file_xsputn): Don't return EOF if nothing has been
12300         written.
12301         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12302         written to buffer but not flushed.
12303         * libio/iofwrite_u.c:  Likewise.
12304         * libio/iopadn.c:  Return bytes returned even if EOF was
12305         encountered.
12306         * libio/iowpadn.c:  Likewise.
12307         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12308         if _IO_padn does not write the whole buffer.
12309         [!COMPILE_WPRINTF] (PAD): Likewise.
12310
12311 2013-10-10  David S. Miller  <davem@davemloft.net>
12312
12313         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12314         directory block.
12315
12316 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12317
12318         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
12319         instead of FSF address.
12320         * soft-fp/fixdfti.c: Likewise.
12321         * soft-fp/fixsfti.c: Likewise.
12322         * soft-fp/fixtfti.c: Likewise.
12323         * soft-fp/fixunsdfti.c: Likewise.
12324         * soft-fp/fixunssfti.c: Likewise.
12325         * soft-fp/fixunstfti.c: Likewise.
12326         * soft-fp/floattidf.c: Likewise.
12327         * soft-fp/floattisf.c: Likewise.
12328         * soft-fp/floattitf.c: Likewise.
12329         * soft-fp/floatuntidf.c: Likewise.
12330         * soft-fp/floatuntisf.c: Likewise.
12331         * soft-fp/floatuntitf.c: Likewise.
12332         * soft-fp/trunctfxf2.c: Likewise.
12333
12334         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
12335         * soft-fp/fixdfti.c: Likewise.
12336         * soft-fp/fixsfti.c: Likewise.
12337         * soft-fp/fixtfti.c: Likewise.
12338         * soft-fp/fixunsdfti.c: Likewise.
12339         * soft-fp/fixunssfti.c: Likewise.
12340         * soft-fp/fixunstfti.c: Likewise.
12341         * soft-fp/floattidf.c: Likewise.
12342         * soft-fp/floattisf.c: Likewise.
12343         * soft-fp/floattitf.c: Likewise.
12344         * soft-fp/floatuntidf.c: Likewise.
12345         * soft-fp/floatuntisf.c: Likewise.
12346         * soft-fp/floatuntitf.c: Likewise.
12347         * soft-fp/trunctfxf2.c: Likewise.
12348
12349 2013-10-10  David S. Miller  <davem@davemloft.net>
12350
12351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12352
12353 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
12354
12355         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12356         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12357         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12358         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12359         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12360         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12361         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12362
12363         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12364         for NaNs before doing comparisons on argument.
12365         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12366         Likewise.
12367
12368 2013-10-10  Will Newton  <will.newton@linaro.org>
12369
12370         * malloc/hooks.c (memalign_check): Ensure the value of bytes
12371         passed to _int_memalign does not overflow.
12372
12373 2013-10-10  Torvald Riegel  <triegel@redhat.com>
12374
12375         * scripts/bench.pl: Add include-sources directive.
12376         * benchtests/README: Update documentation.
12377
12378 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12379
12380         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12381         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12382         instead of FP_INIT_ROUNDMODE.
12383         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12384         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12385
12386         [BZ #16034]
12387         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
12388         copy class of input value.
12389         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
12390         not handle exceptions.
12391         * soft-fp/negsf2.c (__negsf2): Likewise.
12392         * soft-fp/negtf2.c (__negtf2): Likewise.
12393         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12394
12395 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
12396
12397         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12398         semicolon.  From Linux kernel.
12399
12400 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
12401
12402         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12403
12404 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
12405
12406         [BZ #156]
12407         * manual/socket.texi: Added statement about buffer
12408         for gethostbyname2_r.
12409
12410 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
12411
12412         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12413         Use .p2align directive instead, throughout.
12414         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12415         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12416         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12417         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12418         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12419         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12420         * sysdeps/x86_64/strchr.S: Likewise.
12421         * sysdeps/x86_64/strrchr.S: Likewise.
12422
12423 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12424
12425         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12426
12427         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12428
12429         * sysdeps/generic/math_private.h (__mpsin1): Remove
12430         declaration.
12431         (__mpcos1): Likewise.
12432         (__mpsin): New argument __range_reduce.
12433         (__mpcos): Likewise.
12434         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12435         (slow): Use __mpsin and __mpcos.
12436         (slow1): Likewise.
12437         (slow2): Likewise.
12438         (sloww): Likewise.
12439         (sloww1): Likewise.
12440         (sloww2): Likewise.
12441         (bsloww): Likewise.
12442         (bsloww1): Likewise.
12443         (bsloww2): Likewise.
12444         (cslow2): Likewise.
12445         (csloww): Likewise.
12446         (csloww1): Likewise.
12447         (csloww2): Likewise.
12448         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12449         range_reduce.  Merge in __mpsin1.
12450         (__mpcos): Likewise.
12451         (__mpsin1): Remove.
12452         (__mpcos1): Likewise.
12453
12454 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
12455
12456         * locale/loadlocale.c (_nl_intern_locale_data): Use
12457         LOCFILE_ALIGNED_P.
12458         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12459         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12460         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12461         obstack data is appropriately aligned.
12462         (obstack_int32_grow_fast): Likewise.
12463         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12464         * locale/programs/locfile.c (add_locale_uint32): Likewise.
12465         (add_locale_uint32_array): Likewise.
12466
12467 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12468
12469         * benchtests/Makefile: Remove ARGLIST and RET variables.
12470         ($(objpfx)bench-%.c): Pass only function name to the script.
12471         * benchtests/README: Update documentation.
12472         * benchtests/acos-inputs: Add new directives.
12473         * benchtests/acosh-inputs: Likewise.
12474         * benchtests/asin-inputs: Likewise.
12475         * benchtests/asinh-inputs: Likewise.
12476         * benchtests/atan-inputs: Likewise.
12477         * benchtests/atanh-inputs: Likewise.
12478         * benchtests/cos-inputs: Likewise.
12479         * benchtests/cosh-inputs: Likewise.
12480         * benchtests/exp-inputs: Likewise.
12481         * benchtests/log-inputs: Likewise.
12482         * benchtests/pow-inputs: Likewise.
12483         * benchtests/rint-inputs: Likewise.
12484         * benchtests/sin-inputs: Likewise.
12485         * benchtests/sinh-inputs: Likewise.
12486         * benchtests/tan-inputs: Likewise.
12487         * benchtests/tanh-inputs: Likewise.
12488         * scripts/bench.pl: Add support for new directives.
12489
12490 2013-10-07  Alan Modra  <amodra@gmail.com>
12491
12492         * README: Fix careless merge.
12493
12494 2013-10-05  Alan Modra  <amodra@gmail.com>
12495
12496         * NEWS: Mention powerpc64le support and bugs fixed.
12497         * README: Both big-endian and little-endian powerpc64 supported.
12498
12499 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12500
12501         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12502         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12503         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12504         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12505
12506 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
12507
12508         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12509         match prototype.
12510
12511 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
12512
12513         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12514         Move -mhard-float appending from
12515         ports/sysdeps/powerpc/powerpc32/Makefile.
12516         [$(with-fp) = yes] (ASFLAGS): Likewise.
12517         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12518         * sysdeps/powerpc/nofpu: Move directory from
12519         ports/sysdeps/powerpc/nofpu.
12520         * sysdeps/powerpc/soft-fp: Move directory from
12521         ports/sysdeps/powerpc/soft-fp.
12522         * sysdeps/powerpc/powerpc32/405: Move directory from
12523         ports/sysdeps/powerpc/powerpc32/405.
12524         * sysdeps/powerpc/powerpc32/440: Move directory from
12525         ports/sysdeps/powerpc/powerpc32/440.
12526         * sysdeps/powerpc/powerpc32/464: Move directory from
12527         ports/sysdeps/powerpc/powerpc32/464.
12528         * sysdeps/powerpc/powerpc32/476: Move directory from
12529         ports/sysdeps/powerpc/powerpc32/476.
12530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12531         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12533         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12535         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12537         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12539         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12540         * README: Update for powerpc-*-linux-gnu software floating point
12541         support in libc.
12542
12543         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12544         case to powerpc/powerpc32*.
12545         * sysdeps/unix/sysv/linux/configure: Regenerated.
12546
12547         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12548         (_FPU_MASK_OM): Define as 0x04.
12549         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12550         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12551         0x00c10080.
12552         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12553         0x0000003c.
12554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12555
12556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12557         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12558         getcontext_e500.
12559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12560         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12561         setcontext_e500.
12562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12563         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12564         and setcontext_e500.
12565
12566 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
12567
12568         * locale/iso-3166.def: Update iso-1366.def and related occurrences
12569
12570 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12571
12572         * manual/threads.texi (Default Thread Attributes): Fix typo.
12573
12574 2013-10-04  Will Newton  <will.newton@linaro.org>
12575
12576         * malloc/Makefile: Add tst-memalign.
12577         * malloc/tst-memalign.c: New file.
12578
12579         * malloc/tst-posix_memalign.c: Add comments.
12580         (do_test): Add comments and call free on all potentially
12581         allocated pointers. Add space after cast.
12582
12583         * malloc/tst-pvalloc.c: Add comments.
12584         (do_test): Add comments and call free on all potentially
12585         allocated pointers. Remove duplicate check for NULL pointer.
12586         Add space after cast.
12587
12588         * malloc/tst-valloc.c: Add comments.
12589         (do_test): Add comments and call free on all potentially
12590         allocated pointers. Remove duplicate check for NULL pointer.
12591         Add space after cast.
12592
12593 2013-10-04  Alan Modra  <amodra@gmail.com>
12594
12595         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12596         Use stdint types in rather than __attribute__((mode())).
12597         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12598
12599 2013-10-04  Alan Modra  <amodra@gmail.com>
12600
12601         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12602         Correct handling of unaligned relocs for little-endian.
12603         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12604
12605 2013-10-04  Alan Modra  <amodra@gmail.com>
12606
12607         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12608         * configure: Regenerate.
12609         * nptl/shlib-versions: Powerpc*le starts at 2.18.
12610         * shlib-versions: Likewise.
12611
12612 2013-10-04  Alan Modra  <amodra@gmail.com>
12613
12614         * string/tester.c (test_memrchr): Increment reported test cycle.
12615
12616 2013-10-04  Alan Modra  <amodra@gmail.com>
12617
12618         * string/test-memcpy.c (do_one_test): When reporting errors, print
12619         string address and don't overrun end of string.
12620
12621 2013-10-04  Alan Modra  <amodra@gmail.com>
12622
12623         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12624         insrdi.  Make better use of reg selection to speed exit slightly.
12625         Schedule entry path a little better.  Remove useless "are we done"
12626         checks on entry to main loop.  Handle wrapping around zero address.
12627         Correct main loop count.  Handle single left-over word from main
12628         loop inline rather than by using loop_small.  Remove extra word
12629         case in loop_small caused by wrong loop count.  Add little-endian
12630         support.
12631         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12632         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
12633         cache hint.
12634         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12635         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12636         support.  Avoid rlwimi.
12637         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12638
12639 2013-10-04  Alan Modra  <amodra@gmail.com>
12640
12641         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12642         insrdi.  Formatting.
12643         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12644         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12645         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12646         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12647         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12648         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12649
12650 2013-10-04  Alan Modra  <amodra@gmail.com>
12651
12652         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12653         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12654         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12655         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12656         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12657         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12658         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12659         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12660         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
12661         use of regs.  Use power7 mtocrf.  Tidy function tails.
12662
12663 2013-10-04  Alan Modra  <amodra@gmail.com>
12664
12665         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12666         Formatting.  Consistently use rXXX register defines or rN defines.
12667         Use early exit labels that avoid restoring unused non-volatile regs.
12668         Make cr field use more consistent with rWORDn compares.  Rename
12669         regs used as shift registers for unaligned loop, using rN defines
12670         for short lifetime/multiple use regs.
12671         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12672         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
12673         addi 1,1,64 to pop stack frame.  Simplify return value code.
12674         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12675
12676 2013-10-04  Alan Modra  <amodra@gmail.com>
12677
12678         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12679         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
12680         rather than rlwimi.
12681         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12682         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12683         little-endian support.  Correct typos.
12684         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
12685         rather than rlwimi.
12686         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
12687         in loop and entry code to keep "and." results.
12688         (strchr): Add little-endian support.  Comment.  Move cntlzd
12689         earlier in tail.
12690         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12691
12692 2013-10-04  Alan Modra  <amodra@gmail.com>
12693
12694         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12695         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12696         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12697         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12698
12699 2013-10-04  Alan Modra  <amodra@gmail.com>
12700
12701         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12702         (rTMP): Define as r11.
12703         (strcmp): Add little-endian support.  Optimise tail.
12704         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12705         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12706         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12707         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12708         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12709         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12710         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12711
12712 2013-10-04  Alan Modra  <amodra@gmail.com>
12713
12714         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12715         little-endian support.  Remove unnecessary "are we done" tests.
12716         Handle "s" wrapping around zero and extremely large "size".
12717         Correct main loop count.  Handle single left-over word from main
12718         loop inline rather than by using small_loop.  Correct comments.
12719         Delete "zero" tail, use "end_max" instead.
12720         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12721
12722 2013-10-04  Alan Modra  <amodra@gmail.com>
12723
12724         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12725         support.  Don't branch over align.
12726         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12727         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12728         support.  Rearrange tmp reg use to suit.  Comment.
12729         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12730
12731 2013-10-04  Alan Modra  <amodra@gmail.com>
12732
12733         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12734
12735 2013-10-04  Alan Modra  <amodra@gmail.com>
12736
12737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12738         conditional form of branch and link when obtaining pc.
12739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12740
12741 2013-10-04  Alan Modra  <amodra@gmail.com>
12742
12743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12744         HIWORD/LOWORD.
12745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12747
12748 2013-10-04  Alan Modra  <amodra@gmail.com>
12749
12750         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12751         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12752         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12753         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12754         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12755         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12756         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12757         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12758         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12759         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12760
12761 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12762             Alistair Popple <alistair@ozlabs.au.ibm.com>
12763             Alan Modra <amodra@gmail.com>
12764
12765         [BZ #15723]
12766         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12767         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12768         _dl_hwcap access for little-endian.
12769         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
12770         destroy vmx regs when saving unaligned.
12771         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12772         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
12773         destroy vmx regs when saving unaligned.
12774
12775 2013-10-04  Alan Modra  <amodra@gmail.com>
12776
12777         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12778         Don't use a union to pack hi/low value.
12779
12780 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12781
12782         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12783         for little-endian.
12784         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12785         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12786         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12787         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12788         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12789
12790 2013-10-04  Alan Modra  <amodra@gmail.com>
12791
12792         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12793         constants to usual value for .cst8 section, and remove redundant
12794         high address load.
12795         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12796         constant for 0x1p52.  Load little-endian words of double from
12797         correct stack offsets.
12798
12799 2013-10-04  Alan Modra  <amodra@gmail.com>
12800
12801         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12802         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12803         words of double from correct stack offsets.
12804         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12805         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12806         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12807         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12808         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12809         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12810         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12811         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12812         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12813         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12814         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12815         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12816         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12817         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12818         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12819         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12820         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12821
12822 2013-10-04  Alan Modra  <amodra@gmail.com>
12823
12824         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12825         64-bit int/double union.
12826         (_FPU_SETCW): Likewise.
12827         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12828         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12829
12830 2013-10-04  Alan Modra  <amodra@gmail.com>
12831
12832         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12833         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12834
12835 2013-10-04  Alan Modra  <amodra@gmail.com>
12836
12837         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12838         use vector int constants.
12839         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12840
12841 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12842
12843         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12844         array with long long.
12845         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12846         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12847         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12848         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12849         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12850         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12851         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12852         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12853         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12854         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12855         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12856         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12857         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12858
12859 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12860
12861         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12862         (__signbit): Likewise.  Correct for little-endian.
12863         (__signbitl): Call __signbit.
12864         (lrint): Correct for little-endian.
12865         (lrintf): Call lrint.
12866
12867 2013-10-04  Alan Modra  <amodra@gmail.com>
12868
12869         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12870         union 32-bit int array member with 64-bit int array.
12871         (t515, tm256): Double rather than long double.
12872         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12873
12874 2013-10-04  Alan Modra  <amodra@gmail.com>
12875
12876         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12877         Delete.
12878         (IEEE854_LONG_DOUBLE_BIAS): Delete.
12879         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12880         version of math_ldbl.h.
12881
12882 2013-10-04  Alan Modra  <amodra@gmail.com>
12883
12884         [BZ #15734], [BZ #15735]
12885         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12886         all uses of ieee875 long double macros and unions.  Simplify test
12887         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
12888         ldbl_extract_mantissa value for ix,iy exponents.  Properly
12889         normalize after ldbl_extract_mantissa, and don't add hidden bit
12890         already handled.  Don't treat low word of ieee854 mantissa like
12891         low word of IBM long double and mask off bit when testing for
12892         zero.
12893         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12894         all uses of ieee875 long double macros and unions.  Simplify tests
12895         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
12896         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
12897         two1022, instead use their values.  Recognise that tests for large
12898         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
12899         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12900         Rewrite all uses of ieee875 long double macros and unions.  Simplify
12901         test for 0.0L and nan.  Correct negation.
12902         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12903         ieee875 long double macros and unions.  Correct output for large
12904         magnitude x.  Correct absolute value calculation.
12905         (__erfcl): Likewise.
12906         * math/libm-test.inc: Add tests for errors discovered in IBM long
12907         double versions of fmodl, remainderl, erfl and erfcl.
12908
12909 2013-10-04  Alan Modra  <amodra@gmail.com>
12910
12911         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12912         all uses of ieee854 long double macros and unions.  Simplify tests
12913         for long doubles that are fully specified by the high double.
12914         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12915         Likewise.
12916         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12917         Remove dead code too.
12918         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12919         (__ieee754_ynl): Likewise.
12920         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12921         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12922         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12923         Remove dead code too.
12924         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12925         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12926         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12927         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12928         Simplify.
12929         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12930         Simplify.
12931         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12932         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12933         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12934         Comment on variable precision.
12935         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12936         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12937         Likewise.
12938         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12939         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12940         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12941         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12942         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12943
12944 2013-10-04  Alan Modra  <amodra@gmail.com>
12945
12946         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12947         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12948         all uses of ieee854 long double macros and unions.
12949         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12950         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12951         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12952         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12953         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12954         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12955         Likewise.
12956         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12957         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12958         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12959         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12960         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12961         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12962         Simplify sign and nan test too.
12963         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12964         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12965         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12966         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12967         Likewise.
12968         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12969         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12970         Likewise.
12971         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12972         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12973         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12974         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12975         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12976         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12977
12978 2013-10-04  Alan Modra  <amodra@gmail.com>
12979
12980         * stdio-common/printf_size.c (__printf_size): Don't use
12981         union ieee854_long_double in fpnum union.
12982         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
12983         signbit macro to retrieve sign from long double.
12984         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12985         retrieve sign from long double.
12986         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12987         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12988         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12989         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12990         * math/test-misc.c (main): Don't use union ieee854_long_double.
12991
12992 2013-10-04  Alan Modra  <amodra@gmail.com>
12993
12994         [BZ #15680]
12995         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12996         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12997         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12998         calculation.  Remove unnecessary test for denormal exponent.
12999         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13000         Correct handling of denormals.  Avoid undefined shift behaviour.
13001         Correct normalisation of low mantissa when low double is denormal.
13002         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13003         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
13004         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13005         Correct normalisation of low mantissa.  Test for overflow of high
13006         mantissa and normalise.
13007         (ldbl_nearbyint): Use more readable constant for two52.
13008         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13009         (__mpn_construct_long_double): Fix test for overflow of high
13010         mantissa and correct normalisation.  Avoid undefined shift.
13011
13012 2013-10-04  Alan Modra  <amodra@gmail.com>
13013
13014         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13015         (union ibm_extended_long_double): Define as an array of ieee754_double.
13016         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13017         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13018         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13019         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13020         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13021         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13022         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13023         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13024         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13025         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13026         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13027
13028 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
13029
13030         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13031         page size instead of calling getpagesize.
13032
13033         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13034         (LOCFILE_ALIGN_MASK): Likewise.
13035         (LOCFILE_ALIGN_UP): Likewise.
13036         (LOCFILE_ALIGNED_P): Likewise.
13037         * locale/programs/ld-collate.c (collate_output): Use the new
13038         macros instead of __alignof__ (int32_t).
13039         * locale/weight.h (findidx): Likewise.
13040
13041 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
13042
13043         [BZ #431]
13044         * manual/string.texi: Fix strncat and wcsncat.
13045
13046 2013-10-03  Brooks Moses  <bmoses@google.com>
13047
13048         [BZ #15915]
13049         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13050         * Makerules: ...here, and adjust associated comments.
13051
13052 2013-10-02  Will Newton  <will.newton@linaro.org>
13053
13054         * malloc/Makefile: Add tst-pvalloc.
13055         * malloc/tst-pvalloc.c: New file.
13056
13057 2013-10-02  Will Newton  <will.newton@linaro.org>
13058
13059         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13060         improve test coverage.
13061
13062 2013-10-02  Will Newton  <will.newton@linaro.org>
13063
13064         * malloc/Makefile: Add tst-posix_memalign.
13065         * malloc/tst-posix_memalign.c: New file.
13066
13067 2013-10-01  Eric Blake  <eblake@redhat.com>
13068
13069         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13070         Use __THROWNL rather than __THROW on static functions.
13071
13072 2013-09-30  Petr Machata  <pmachata@redhat.com>
13073
13074         * elf/elf.h (R_AARCH64_ABS16): New macro.
13075         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13076         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13077         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13078         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13079         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13080         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13081         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13082         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13083         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13084         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13085         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13086         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13087         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13088         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13089         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13090         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13091         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13092         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13093         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13094         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13095         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13096         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13097         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13098         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13099         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13100         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13101         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13102         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13103         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13104         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13105         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13106         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13107         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13108         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13109         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13110         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13111         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13112         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13113         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13114         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13115         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13116         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13117         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13118         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13119         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13120         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13121         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13122         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13123         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13124         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13125         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13126         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13127         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13128         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13129         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13130         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13131         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13132         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13133         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13134         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13135         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13136         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13137         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13138         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13139         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13140         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13141         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13142         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13143         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13144         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13145         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13146         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13147         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13148         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13149         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13150         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13151         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13152         (R_AARCH64_TLSDESC_LDR): Likewise.
13153         (R_AARCH64_TLSDESC_ADD): Likewise.
13154         (R_AARCH64_TLSDESC_CALL): Likewise.
13155
13156 2013-09-30  Andreas Schwab  <schwab@suse.de>
13157
13158         [BZ #15048]
13159         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13160         the nss database lookup.
13161         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13162         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13163
13164 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
13165
13166         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13167
13168 2013-09-28  P. J. McDermott  <pj@pehjota.net>
13169
13170         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13171         ${Bash-specific parameter/pattern/string} parameter expansion.
13172         * sysdeps/unix/make-syscalls.sh: Likewise.
13173
13174 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13175
13176         * sysdeps/sh/stackguard-macros.h: New file.
13177
13178 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
13179
13180         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13181         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13182         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13183         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13184         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13185         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13186
13187 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13188
13189         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13190         Fix thread ID register.
13191
13192 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
13193
13194         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13195         [POSIX || UNIX98]: Require rather than permitting all symbols from
13196         <time.h>.
13197         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13198         element of struct sched_param.
13199         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13200         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13201         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13202         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13203         constant.
13204
13205 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
13206
13207         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13208         argument calculation.
13209
13210 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13211
13212         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13213         Expect macro.
13214         [POSIX] (pthread_attr_t): Do not require type.
13215         [POSIX] (pthread_cond_t): Likewise.
13216         [POSIX] (pthread_condattr_t): Likewise.
13217         [POSIX] (pthread_key_t): Likewise.
13218         [POSIX] (pthread_mutex_t): Likewise.
13219         [POSIX] (pthread_mutexattr_t): Likewise.
13220         [POSIX] (pthread_once_t): Likewise.
13221         [POSIX] (pthread_t): Likewise.
13222         [POSIX-based standards] (pthread_atfork): Expect function.
13223
13224 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13225             Richard Sandiford  <richard@codesourcery.com>
13226
13227         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13228         (swap_endianness_p): New extern variable.
13229         (set_big_endian): New inline function.
13230         (maybe_swap_uint32): Likewise.
13231         (maybe_swap_uint32_array): Likewise.
13232         (maybe_swap_uint32_obstack): Likewise.
13233         * locale/programs/locfile.c: Include <stdbool.h>.
13234         (swap_endianness_p): New variable.
13235         (add_locale_uint32): Call maybe_swap_uint32.
13236         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13237         (write_locale_data): Call maybe_swap_uint32_array.
13238         * locale/programs/ld-collate.c (obstack_int32_grow): Call
13239         maybe_swap_uint32.
13240         (obstack_int32_grow_fast): Likewise.
13241         (output_weightwc): Call maybe_swap_uint32_obstack.
13242         (collate_output): Likewise.
13243         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13244         (OPT_LITTLE_ENDIAN): Likewise.
13245         (options): Add --little-endian and --big-endian options.
13246         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13247         * locale/programs/locarchive.c: Include "locfile.h".
13248         (GET): New macro.
13249         (SET): Likewise.
13250         (INC): Likewise.
13251         (create_archive): Use the new macros to access fields of
13252         structures directly mapped from or written to locale archives.
13253         (oldlocrecentcmp): Likewise.
13254         (enlarge_archive): Likewise.
13255         (insert_name): Likewise.
13256         (add_alias): Likewise.
13257         (add_locale): Likewise.
13258         (delete_locales_from_archive): Likewise.
13259         (show_archive_content): Likewise.
13260         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
13261         locale data.
13262
13263 2013-09-24  Roland McGrath  <roland@hack.frob.com>
13264
13265         * manual/freemanuals.texi: Updated from (newly) canonical copy at
13266         http://www.gnu.org/doc/freemanuals.texi.
13267         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13268
13269 2013-09-24  Will Newton  <will.newton@linaro.org>
13270
13271         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13272         macro.
13273
13274 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
13275
13276         * locale/hashval.h (compute_hashval): Interpret bytes of key as
13277         unsigned char.
13278
13279 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
13280
13281         * manual/threads.texi (POSIX Threads): Fix a typo.
13282
13283 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13284
13285         [BZ #14547]
13286         * string/tst-strcoll-overflow.c: New test case.
13287         * string/Makefile (xtests): Add tst-strcoll-overflow.
13288         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13289         cache if string sizes may cause integer overflow.
13290
13291         [BZ #14547]
13292         * string/strcoll_l.c (coll_seq): New members rule, idx,
13293         save_idx and back_us.
13294         (get_next_seq_nocache): New function.
13295         (do_compare_nocache): New function.
13296         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13297         when malloc fails.
13298
13299 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
13300
13301         [BZ #15754]
13302         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13303         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13304         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13305
13306         [BZ #15754]
13307         * elf/Makefile (tests): Add tst-ptrguard1.
13308         (tests-static): Add tst-ptrguard1-static.
13309         (tst-ptrguard1-ARGS): Define.
13310         (tst-ptrguard1-static-ARGS): Define.
13311         * elf/tst-ptrguard1.c: New file.
13312         * elf/tst-ptrguard1-static.c: New file.
13313         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13314         * sysdeps/i386/stackguard-macros.h: Likewise.
13315         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13316         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13317         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13318         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13319         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13320         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13321
13322 2013-09-23  Hector Marco  <hecmargi@upv.es>
13323             Ismael Ripoll  <iripoll@disca.upv.es>
13324             Carlos O'Donell  <carlos@redhat.com>
13325
13326         [BZ #15754]
13327         * sysdeps/generic/stackguard-macros.h: Define
13328         __pointer_chk_guard_local and POINTER_CHK_GUARD.
13329         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13330         Define __pointer_chk_guard_local.
13331         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13332         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13333
13334 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
13335
13336         [BZ #15859]
13337         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13338
13339 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
13340
13341         * include/string.h (__ffs): Declare as hidden.
13342         * string/ffs.c (__ffs): Define as hidden.
13343         * sysdeps/i386/ffs.c (__ffs): Likewise.
13344         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13345         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13346         * sysdeps/s390/ffs.c (__ffs): Likewise.
13347         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13348
13349 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
13350
13351         * NEWS: Mention malloc probes.
13352
13353         * malloc/arena.c (new_heap): New memory_heap_new probe.
13354         (grow_heap): New memory_heap_more probe.
13355         (shrink_heap): New memory_heap_less probe.
13356         (heap_trim): New memory_heap_free probe.
13357         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13358         (systrim): New memory_sbrk_less probe.
13359         * manual/probes.texi: Document them.
13360
13361         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13362         * manual/probes.texi: Document it.
13363
13364         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13365         (__libc_realloc): Add memory_realloc_retry probe.
13366         (__libc_memalign): Add memory_memalign_retry probe.
13367         (__libc_valloc): Add memory_valloc_retry probe.
13368         (__libc_pvalloc): Add memory_pvalloc_retry probe.
13369         (__libc_calloc): Add memory_calloc_retry probe.
13370         * manual/probes.texi: Document them.
13371
13372         * malloc/arena.c (get_free_list): Add probe
13373         memory_arena_reuse_free_list.
13374         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13375         and memory_arena_reuse.
13376         (arena_get2) [!PER_THREAD]: Likewise.
13377         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13378         memory_arena_reuse_realloc.
13379         * manual/probes.texi: Document them.
13380
13381         * malloc/malloc.c (__libc_free): Add
13382         memory_mallopt_free_dyn_thresholds probe.
13383         (__libc_mallopt): Add multiple memory_mallopt probes.
13384         * manual/probes.texi: Document them.
13385
13386         * malloc/malloc.c: Include stap-probe.h.
13387         (__libc_mallopt): Add memory_mallopt probe.
13388         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13389         * manual/probes.texi: New.
13390         * manual/Makefile (chapters): Add probes.
13391         * manual/threads.texi: Set next node.
13392
13393 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
13394
13395         [BZ #15963, #13985]
13396         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13397         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13398         Add `Chinese' to `nan' entry name.
13399
13400 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13401
13402         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13403         (POLYNOMIAL): Likewise.
13404         (TAYLOR_SINCOS): Likewise.
13405         (TAYLOR_SLOW): Likewise.
13406         (__sin): Use TAYLOR_SINCOS.
13407         (__cos): Likewise.
13408         (slow): Use TAYLOR_SLOW.
13409         (sloww): Likewise.
13410         (bsloww): Likewise.
13411         (csloww): Likewise.
13412
13413 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13414
13415         * stdlib/strtod_l.c: Fix buffer overrun.
13416
13417 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13418
13419         * benchtests/Makefile (bench): Add sincos.
13420         * benchtests/bench-sincos.c: New file.
13421
13422         * math/libm-test.inc (cos_test_data): New test inputs.
13423         (sin_test_data): Likewise.
13424
13425         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13426         macro.
13427         (__sin): Use it.
13428         (__cos): Likewise.
13429         (slow1): Likewise.
13430         (slow2): Likewise.
13431         (sloww1): Likewise.
13432         (sloww2): Likewise.
13433         (bsloww1): Likewise.
13434         (bsloww2): Likewise.
13435         (cslow2): Likewise.
13436         (csloww1): Likewise.
13437         (csloww2): Likewise.
13438
13439         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13440         function.
13441         (__sin): Use it.
13442         (__cos): Likewise.
13443
13444         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13445         gotos.
13446         (__cos): Likewise.
13447
13448 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
13449
13450         * config.h.in (HAVE_MIPS_NAN2008): New macro.
13451         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13452         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13453         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13454         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13455         * elf/cache.c (print_entry): Handle the new cache flags.
13456
13457 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13458             Aldy Hernandez  <aldyh@redhat.com>
13459
13460         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13461         Change condition to [_SOFT_FLOAT].
13462         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13463         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13464         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13465         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13466         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13467         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13468         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13469         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13470         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13471         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13472         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13473         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13474         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13475         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13476         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13477         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13478         declaration.
13479
13480 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13481
13482         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13483         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13484         (__longjmp): Use LOAD_GP to load saved GPRs.
13485         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13486         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13487         (__sigsetjmp): Use SAVE_GP to save GPRs.
13488
13489         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13490         Do not append -msoft-float.
13491         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13492
13493 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13494
13495         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13496
13497 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
13498
13499         [BZ #15966]
13500         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13501         (_FPU_GETCW): Use initial "__" on variable and field names but not
13502         on macro parameter name.
13503         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
13504         parentheses around reference to macro parameter.
13505
13506 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
13507
13508         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13509         prototype.
13510         (ctype_startup): Use uint32_t in cast and sizeof for
13511         ctype->charnames.
13512
13513 2013-09-11  Jia Liu  <proljc@gmail.com>
13514
13515         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13516         __daddr_t_defined.
13517         [__FreeBSD__]: Likewise.
13518
13519 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
13520
13521         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13522         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13523         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13524         (strchr): Remove __strchr_sse42 ifunc selection.
13525         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13526         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13527
13528 2013-09-11  Will Newton  <will.newton@linaro.org>
13529
13530         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13531         parameter to RES. Remove hardcoded 1000 value.
13532         * benchtests/bench-skeleton.c (main): Pass RES parameter
13533         to TIMING_INIT and multiply result by 1000.
13534
13535 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13536
13537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13538
13539 2013-09-11  Andreas Schwab  <schwab@suse.de>
13540
13541         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13542         if not defined.
13543         (O_TMPFILE) [__USE_GNU]: Define.
13544         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13545         Define.
13546
13547 2013-09-11  Will Newton  <will.newton@linaro.org>
13548
13549         [BZ #15857]
13550         * malloc/malloc.c (__libc_memalign): Check the value of bytes
13551         does not overflow.
13552
13553 2013-09-11  Will Newton  <will.newton@linaro.org>
13554
13555         [BZ #15856]
13556         * malloc/malloc.c (__libc_valloc): Check the value of bytes
13557         does not overflow.
13558
13559 2013-09-11  Will Newton  <will.newton@linaro.org>
13560
13561         [BZ #15855]
13562         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13563         does not overflow.
13564
13565 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
13566
13567         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13568         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13569         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13570         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13571         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13572
13573 2013-09-10  Allan McRae  <allan@archlinux.org>
13574
13575         [BZ #15748]
13576         * manual/arith.texi (Parsing of Floats): Clarify
13577         cross-reference.
13578
13579         [BZ #15849]
13580         * manual/install.texi (Running make install): Mention
13581         --enable-pt-chown.
13582         * INSTALL: Regenerated.
13583
13584 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13585
13586         * csu/init-first.c (_init): Remove the !SHARED condition around
13587         FPU control word initialization.
13588         * elf/dl-support.c (_dl_fpu_control): New variable.
13589         (_dl_aux_init) <AT_FPUCW>: Initialize it.
13590         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13591         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13592         * math/test-fpucw-static.c: New file.
13593         * math/test-fpucw-ieee.c: New file.
13594         * math/test-fpucw-ieee-static.c: New file.
13595         * math/Makefile (tests): Add `test-fpucw-ieee' and
13596         `$(tests-static)'.
13597         (tests-static): New variable.
13598         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13599         dependency to...
13600         [($(build-shared),yes)]
13601         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13602         ... this.
13603         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13604         New dependency.
13605
13606 2013-09-09  Allan McRae  <allan@archlinux.org>
13607
13608         [BZ #15939]
13609         * manual/string.texi (Collation Functions): Fix typo in
13610         strcoll example.
13611         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13612
13613         [BZ #15893]
13614         * stdlib/isomac.c (get_null_defines): Fix memory leak.
13615
13616         [BZ #15892]
13617         * libio/memstream.c (open_memstream): Fix memory leak.
13618         * libio/wmemstream.c (open_wmemstream): Likewise.
13619
13620         [BZ #15895]
13621         * nscd/netgroupcache.c: Fix nesting of ifdefs.
13622
13623 2013-09-09  Will Newton  <will.newton@linaro.org>
13624
13625         * malloc/Makefile: Add tst-realloc to tests.
13626         * malloc/tst-realloc.c: New file.
13627
13628 2013-09-09  Allan McRae  <allan@archlinux.org>
13629
13630         [BZ #15844]
13631         * COPYING: Update from GNU website to fix FSF address.
13632         * COPYING.LIB: Likewise.
13633
13634 2013-09-06  David S. Miller  <davem@davemloft.net>
13635
13636         * po/zh_TW.po: Update Chinese (traditional) translation from
13637         translation project.
13638
13639 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
13640             Joseph Myers  <joseph@codesourcery.com>
13641
13642         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13643         "localeinfo.h".
13644         (obstack_chunk_alloc): New macro.
13645         (obstack_chunk_free): Likewise.
13646         (record_offset): New function.
13647         (init_locale_data): Likewise.
13648         (align_locale_data): Likewise.
13649         (add_locale_empty): Likewise.
13650         (add_locale_raw_data): Likewise.
13651         (add_locale_raw_obstack): Likewise.
13652         (add_locale_string): Likewise.
13653         (add_locale_wstring): Likewise.
13654         (add_locale_uint32): Likewise.
13655         (add_locale_uint32_array): Likewise.
13656         (add_locale_char): Likewise.
13657         (start_locale_structure): Likewise.
13658         (end_locale_structure): Likewise.
13659         (start_locale_prelude): Likewise.
13660         (end_locale_prelude): Likewise.
13661         (write_locale_data): Take locale_file structure rather than an
13662         iovec.
13663         * locale/programs/locfile.h: Include "obstack.h".
13664         (struct locale_file): Change to store locale file contents instead
13665         of header.
13666         (init_locale_data): New prototype.
13667         (align_locale_data): Likewise.
13668         (add_locale_empty): Likewise.
13669         (add_locale_raw_data): Likewise.
13670         (add_locale_raw_obstack): Likewise.
13671         (add_locale_string): Likewise.
13672         (add_locale_wstring): Likewise.
13673         (add_locale_uint32): Likewise.
13674         (add_locale_uint32_array): Likewise.
13675         (add_locale_char): Likewise.
13676         (start_locale_structure): Likewise.
13677         (end_locale_structure): Likewise.
13678         (start_locale_prelude): Likewise.
13679         (end_locale_prelude): Likewise.
13680         (write_locale_data): Update prototype.
13681         * locale/programs/3level.h (struct TABLE): Remove result field.
13682         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13683         Use new locale_file interface.
13684         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13685         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13686         * locale/programs/ld-address.c (address_output): Use new
13687         locale_file interface.
13688         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13689         NO_ADD_LOCALE.
13690         (collate_finish): Don't call collseq_table_finalize.
13691         (collate_output): Use new locale_file interface.
13692         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13693         in file.
13694         (NO_FINALIZE): Change to NO_ADD_LOCALE.
13695         (TABLE): Move defines earlier in file.
13696         (ELEMENT): Likewise.
13697         (DEFAULT): Likewise.
13698         (wctrans_table_add): Move macro and inline function earlier in
13699         file.
13700         (struct wctype_table): Move type earlier in file.
13701         (add_locale_wctype_table): New static prototype.
13702         (struct locale_ctype_t): Use logical types instead of struct iovec
13703         pointers for members.
13704         (ctype_output): Use new locale_file interface.
13705         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
13706         new locale_file interface.
13707         (allocate_arrays): Update for use of new locale_file interface.
13708         * locale/programs/ld-identification.c (identification_output): Use
13709         new locale_file interface.
13710         * locale/programs/ld-measurement.c (measurement_output): Likewise.
13711         * locale/programs/ld-messages.c (messages_output): Likewise.
13712         * locale/programs/ld-monetary.c (monetary_output): Likewise.
13713         * locale/programs/ld-name.c (name_output): Likewise.
13714         * locale/programs/ld-numeric.c (numeric_output): Likewise.
13715         * locale/programs/ld-paper.c (paper_output): Likewise.
13716         * locale/programs/ld-telephone.c (telephone_output): Likewise.
13717         * locale/programs/ld-time.c (time_output): Likewise.
13718
13719 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13720
13721         * benchtests/Makefile: Add memrchr benchmark.
13722         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13723         benchmark as memrchr.
13724         * benchtests/bench-memrchr-ifunc.c: New file.
13725         * benchtests/bench-memrchr.c: New file.
13726
13727 2013-09-06   Will Newton  <will.newton@linaro.org>
13728
13729         * benchtests/Makefile (string-bench): Add memcpy.
13730
13731 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
13732             Cong Wang  <amwang@redhat.com>
13733
13734         [BZ #15850]
13735         * sysdeps/unix/sysv/linux/bits/in.h
13736         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13737         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13738         before __USE_KERNEL_IPV6_DEFS uses.
13739         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13740         IPPROTO_BEETPH.
13741         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13742         sockaddr_in6, or ipv6_mreq.
13743
13744 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13745
13746         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13747         memory access for final bytes in some large inputs.
13748         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13749
13750 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13751
13752         * string/test-memrchr.c: New file.
13753         * string/test-memrchr-ifunc.c: New file.
13754         * string/Makefile: Add new memrchr testcase.
13755
13756 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
13757
13758         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13759         fanotify_init returns EPERM.
13760
13761 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13762
13763         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13764         errors.
13765         (top level): Treat second token from macro or constant entries for
13766         allowed headers as allowed.
13767         * include/complex.h: Condition internal declarations on
13768         [!_ISOMAC].
13769         * include/fenv.h: Condition include of <stdbool.h> and internal
13770         declarations on [!_ISOMAC].
13771
13772 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
13773
13774         [BZ #15923]
13775         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13776
13777 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13778
13779         * configure.in (--enable-versioning): Remove configure option.
13780         (libc_cv_asm_symver_directive): Remove configure test.
13781         (libc_cv_ld_version_script_option): Likewise.
13782         (VERSIONING): Remove variable and AC_SUBST.
13783         (DO_VERSIONING): Remove AC_DEFINE.
13784         * configure: Regenerated.
13785         * config.h.in (DO_VERSIONING): Remove macro.
13786         * Makerules [$(versioning) = yes]: Change conditionals to
13787         [$(build-shared) = yes].
13788         * config.make.in (versioning): Remove variable.
13789         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13790         [$(build-shared) = yes].
13791         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13792         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13793         * elf/Makefile [$(versioning) = yes]: Change conditionals to
13794         [$(build-shared) = yes].
13795         * extra-lib.mk [$(versioning) = yes]: Likewise.
13796         * hurd/Makefile [$(versioning) = yes]: Likewise.
13797         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13798         [SHARED].
13799         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13800         [SHARED].
13801         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13802         [SHARED && !NO_HIDDEN].
13803         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13804         [SHARED].
13805         [SHARED && DO_VERSIONING]: Likewise..
13806         * libio/Makefile [$(versioning) = yes]: Change conditionals to
13807         [$(build-shared) = yes].
13808         * manual/install.texi (--disable-versioning): Remove
13809         documentation.
13810         * INSTALL: Regenerated.
13811         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13812         to [SHARED].
13813         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13814         [$(build-shared) = yes].
13815         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13816         * sysdeps/i386/i686/multiarch/strstr-c.c
13817         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13818         [SHARED && !NO_HIDDEN].
13819         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13820         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13821         * sysdeps/powerpc/powerpc32/dl-machine.c
13822         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13823         * sysdeps/powerpc/powerpc32/sysdep.h
13824         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13825         to [SHARED && PIC && !NO_HIDDEN].
13826         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13827         conditional to [SHARED].
13828
13829 2013-09-04   Will Newton  <will.newton@linaro.org>
13830
13831         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13832         * benchtests/bench-string.h: Include bench-timing.h instead
13833         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13834         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13835         call to HP_TIMING_DIFF_INIT.
13836         * benchtests/bench-memccpy.c: Use bench-timing.h macros
13837         instead of hp-timing.h macros.
13838         * benchtests/bench-memchr.c: Likewise.
13839         * benchtests/bench-memcmp.c: Likewise.
13840         * benchtests/bench-memcpy.c: Likewise.
13841         * benchtests/bench-memmem.c: Likewise.
13842         * benchtests/bench-memmove.c: Likewise.
13843         * benchtests/bench-memset.c: Likewise.
13844         * benchtests/bench-rawmemchr.c: Likewise.
13845         * benchtests/bench-strcasecmp.c: Likewise.
13846         * benchtests/bench-strcasestr.c: Likewise.
13847         * benchtests/bench-strcat.c: Likewise.
13848         * benchtests/bench-strchr.c: Likewise.
13849         * benchtests/bench-strcmp.c: Likewise.
13850         * benchtests/bench-strcpy.c: Likewise.
13851         * benchtests/bench-strcpy_chk.c: Likewise.
13852         * benchtests/bench-strlen.c: Likewise.
13853         * benchtests/bench-strncasecmp.c: Likewise.
13854         * benchtests/bench-strncat.c: Likewise.
13855         * benchtests/bench-strncmp.c: Likewise.
13856         * benchtests/bench-strncpy.c: Likewise.
13857         * benchtests/bench-strnlen.c: Likewise.
13858         * benchtests/bench-strpbrk.c: Likewise.
13859         * benchtests/bench-strrchr.c: Likewise.
13860         * benchtests/bench-strspn.c: Likewise.
13861         * benchtests/bench-strstr.c: Likewise.
13862
13863 2013-09-04  Will Newton  <will.newton@linaro.org>
13864
13865         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13866
13867 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
13868
13869         [BZ #15427]
13870         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13871         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13872         * math/libm-test.inc (lgamma_test_data): Add more tests.
13873         * sysdeps/i386/fpu/libm-test-ulps: Update.
13874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13875
13876 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
13877
13878         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13879         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13880         Add ifunc.
13881         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13882         Add strcmp-sse2-unaligned
13883         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13884
13885 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13886
13887         * Versions.def (libc): Add GLIBC_2.19.
13888
13889 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13890
13891         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13892         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13893
13894 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
13895
13896         [BZ #14155]
13897         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13898         intermediate calculations in recurrence.
13899         (__ieee754_ynf): Likewise.
13900         * math/libm-test.inc (jn_test_data): Do not allow spurious
13901         underflow exception.  Add more tests.
13902         (yn_test_data): Add more tests.
13903         * sysdeps/i386/fpu/libm-test-ulps: Update.
13904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13905
13906 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
13907
13908         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13909
13910 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13911
13912         * csu/init-first.c: Fix then/than typos.
13913         * locale/programs/ld-collate.c: Likewise.
13914         * locale/programs/linereader.h: Likewise.
13915         * manual/charset.texi: Likewise.
13916         * manual/filesys.texi: Likewise.
13917         * manual/stdio.texi: Likewise.
13918         * manual/string.texi: Likewise.
13919         * stdlib/fmtmsg.c: Likewise.
13920         * sysdeps/i386/stpncpy.S: Likewise.
13921         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13922         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13923         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13924         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13925
13926 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13927
13928         * elf/dl-open.c: Fix typos.
13929         * iconvdata/gbbig5.c: Likewise.
13930         * iconvdata/iso-2022-jp.c: Likewise.
13931         * iconv/gconv_int.h: Likewise.
13932         * iconv/loop.c: Likewise.
13933         * nis/rpcsvc/nis.h: Likewise.
13934         * resolv/ns_name.c: Likewise.
13935         * stdio-common/vfscanf.c: Likewise.
13936         * streams/stropts.h: Likewise.
13937         * sunrpc/rpc_thread.c: Likewise.
13938         * sysdeps/i386/strpbrk.S: Likewise.
13939         * sysdeps/ieee754/k_standard.c: Likewise.
13940         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13941         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13942         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13943         * sysdeps/mach/hurd/profil.c: Likewise.
13944         * sysdeps/s390/dl-procinfo.h: Likewise.
13945         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13946         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13947         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13948         * sysdeps/x86_64/dl-trampoline.S: Likewise.
13949         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13950
13951 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
13952
13953         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13954         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13955
13956 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
13957
13958         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13959         aix specific files.
13960         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13961         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13962         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13963         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13964         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13965         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13966         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13967         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13968
13969 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13970             Roland McGrath  <roland@hack.frob.com>
13971
13972         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13973         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13974
13975 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13976
13977         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13978         __executable_start symbol instead of _start.
13979
13980 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13981
13982         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13983         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13984         Move macros to...
13985         * sysdeps/gnu/ldsodefs.h: ... this new file.
13986
13987         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13988         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13989         instead of ELFOSABI_LINUX.
13990
13991         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13992         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13993         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13994         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13995         Likewise.
13996         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13997         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13998         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13999         Likewise.
14000         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14001         (ibm_extended_long_double): Add ieee_nan member.
14002         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14003         (do_test): New function.
14004
14005         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14006         TEST_TRUNC.
14007         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14008         functions, renamed from truncdfsf_test, trunctfsf_test,
14009         trunctfdf_test.
14010         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14011         functions.
14012         (do_test): Run all these.
14013
14014 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
14015
14016         * argp/argp-help.c: Fix typos.
14017         * argp/argp-parse.c: Likewise.
14018         * debug/backtracesyms.c: Likewise.
14019         * elf/elf.h: Likewise.
14020         * malloc/malloc.c: Likewise.
14021         * nis/nis_print.c: Likewise.
14022         * resolv/res_comp.c: Likewise.
14023         * stdlib/stdlib.h: Likewise.
14024         * sunrpc/clnt_tcp.c: Likewise.
14025         * sunrpc/clnt_udp.c: Likewise.
14026         * sunrpc/clnt_unix.c: Likewise.
14027         * sysdeps/unix/bsd/ptsname.c: Likewise.
14028         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14029         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14031         Likewise.
14032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14033         Likewise.
14034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14035         Likewise.
14036         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14037
14038 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14039
14040         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14041         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14042
14043 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
14044
14045         [BZ #15897]
14046         * dlfcn/Makefile (tests): Add bug-dl-leaf.
14047         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14048         ($(objpfx)bug-dl-leaf): New rule.
14049         ($(objpfx)bug-dl-leaf.so): Likewise.
14050         ($(objpfx)bug-dl-leaf.out): Likewise.
14051         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14052         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14053         * dlfcn/bug-dl-leaf.c: New test.
14054         * dlfcn/bug-dl-leaf-lib.c: Likewise.
14055         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14056         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14057         (dlclose): Likewise.
14058         (dlmopen): Likewise.
14059
14060 2013-08-27  Roland McGrath  <roland@hack.frob.com>
14061
14062         * include/netdb.h [!_ISOMAC]:
14063         Don't include <tls.h>.
14064         (h_errno, __libc_h_errno): Move declaration and macros out of
14065         [_LIBC_REENTRANT].
14066
14067         * include/resolv.h [_RESOLV_H_]:
14068         Don't include <tls.h>.
14069         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14070         * resolv/res_libc.c: Don't include <tls.h>.
14071         (_res): Use __attribute__ ((nocommon)) in place of
14072         __attribute__ ((section (".bss"))).
14073
14074         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14075         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14076
14077         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14078
14079         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14080         only under [SIOCGIFCONF && SIOCGIFNETMASK].
14081
14082         * resolv/res_mkquery.c: Include <sys/time.h>.
14083
14084         * inet/ifreq.c: Moved to ...
14085         * sysdeps/unix/ifreq.c: ... here.
14086         * inet/ifreq.c: New file, true stub version.
14087
14088         * socket/sa_len.c: New file.
14089         * socket/Makefile (aux): Add it.
14090         * sysdeps/unix/sysv/linux/Makefile
14091         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14092         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14093         and #include <socket/sa_len.c>.
14094         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14095         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14096
14097         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14098         * bits/socket.h: ... here.
14099
14100         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14101         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14102         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14103
14104 2013-08-27  Andreas Schwab  <schwab@suse.de>
14105
14106         [BZ #15736]
14107         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14108         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14109         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14110         * string/test-strcasecmp.c (test_main): Run tests in several
14111         locales.
14112         * string/test-strncasecmp.c (test_main): Likewise.
14113
14114         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14115         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14116         to __strcasecmp_nonascii and __strncasecmp_nonascii.
14117         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14118         (__strncasecmp_ssse3) [PIC]: Likewise.
14119
14120 2013-08-26  Roland McGrath  <roland@hack.frob.com>
14121
14122         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14123
14124         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14125         instead of explicitly declaring xdecrypt.
14126         * nis/nss_nis/nis-publickey.c: Likewise.
14127
14128 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14129
14130         [BZ #15890]
14131         * nscd/aicache.c: Include res_hconf.h.
14132         (addhstaiX): Initialize res_hconf.
14133
14134 2013-08-26  Andreas Schwab  <schwab@suse.de>
14135
14136         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14137         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14138
14139 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14140
14141         * nscd/aicache.c (addhstaiX): Fix indentation.
14142
14143 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
14144
14145         * configure.ac: Quote $build_pt_chown test.
14146         * configure: Regenerated.
14147
14148 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
14149
14150         [BZ #15532]
14151         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14152         * math/s_cexpf.c (__cexpf): Likewise.
14153         * math/s_cexpl.c (__cexpl): Likewise.
14154         * math/libm-test.inc (cexp_test_data): Correct expected return
14155         value for NaN + i0.  Add another test.
14156
14157 2013-08-22  David S. Miller  <davem@davemloft.net>
14158
14159         * po/ca.po: Update Catalan translation from translation project.
14160         * po/uk.po: Add Ukrainian translations from translation project.
14161
14162 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
14163
14164         [BZ #15797]
14165         * math/s_fdim.c (__fdim): Check for infinite arguments if result
14166         is infinite, not alongside NaN test.
14167         * math/s_fdimf.c (__fdimf): Likewise.
14168         * math/s_fdiml.c (__fdiml): Likewise.
14169         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
14170         errno is unchanged.
14171
14172 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
14173
14174         * argp/argp-help.c: Fix typos.
14175         * crypt/speeds.c: Likewise.
14176         * csu/check_fds.c: Likewise.
14177         * elf/dl-load.c: Likewise.
14178         * elf/dl-open.c: Likewise.
14179         * elf/reldep3.c: Likewise.
14180         * elf/reldep.c: Likewise.
14181         * elf/sprof.c: Likewise.
14182         * iconv/iconv_charmap.c: Likewise.
14183         * iconv/skeleton.c: Likewise.
14184         * iconv/strtab.c: Likewise.
14185         * io/lockf64.c: Likewise.
14186         * libio/libioP.h: Likewise.
14187         * resolv/gai_notify.c: Likewise.
14188         * resolv/ns_name.c: Likewise.
14189         * resolv/ns_samedomain.c: Likewise.
14190         * resolv/res_send.c: Likewise.
14191         * stdlib/random.c: Likewise.
14192         * sunrpc/rpc/xdr.h: Likewise.
14193         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14194         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14195         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14196         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14197         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14198         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14199         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14200         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14201         * sysdeps/mach/hurd/check_fds.c: Likewise.
14202         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14203         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14204         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14205         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14206         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14207         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14208         * sysdeps/pthread/aio_notify.c: Likewise.
14209         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14210         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14211         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14212         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14213         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14214
14215 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14216
14217         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14218         version if bit_Slow_SSE4_2 is set.
14219         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14220         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14221
14222 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14223
14224         [BZ #15867]
14225         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14226         trampoline stack frame information.
14227         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14228         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14229         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14230         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14231         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14232         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14233         (_libc_vdso_platform_setup): Initialize the signal trampolines.
14234         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14235         sa_flags value.
14236         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14237         interrupting a syscall and set with option SA_SIGINFO.
14238
14239 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14240
14241         [BZ #15531]
14242         * math/s_cproj.c (__cproj): Only return an infinity if one part of
14243         argument is infinite.
14244         * math/s_cprojf.c (__cprojf): Likewise.
14245         * math/s_cprojl.c (__cprojl): Likewise.
14246         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14247         * math/libm-test.inc (cproj_test_data): Add more tests.
14248
14249         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14250
14251         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14252         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14253         size.  Use __ffs to determine corresponding shift.
14254
14255 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14256             Roland McGrath  <roland@hack.frob.com>
14257
14258         * Makefile (INSTALL): Remove trailing blank lines from output of
14259         makeinfo.
14260
14261 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14262
14263         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14264         Align 32 bit compat elf_greg to 8 bytes.
14265
14266 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14267
14268         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14269
14270 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14271
14272         * string/strcoll_l.c (coll_seq): New structure.
14273         (get_next_seq_cached): New function.
14274         (get_next_seq): New function.
14275         (do_compare): New function.
14276         (STRCOLL): Use GNU style definition.  Simplify implementation
14277         by using get_next_seq, get_next_seq_cached and do_compare.
14278
14279 2013-08-16  Florian Weimer  <fweimer@redhat.com>
14280
14281         [BZ #14699]
14282         CVE-2013-4237
14283         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14284         member.
14285         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14286         member.
14287         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14288         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14289         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
14290         conditional.
14291         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14292         GETDENTS_64BIT_ALIGNED.
14293         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14294         * manual/filesys.texi (Reading/Closing Directory): Document
14295         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
14296         strongly.
14297         * manual/conf.texi (Limits for Files): Add portability note to
14298         NAME_MAX, PATH_MAX.
14299         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14300
14301 2013-08-13  Andreas Schwab  <schwab@suse.de>
14302
14303         [BZ #15749]
14304         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14305         of fabs.
14306         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14307         LDBL_MAX_EXP >= 16384]: Add tests for it.
14308
14309 2013-08-12  David S. Miller  <davem@davemloft.net>
14310
14311         * version.h (RELEASE): Set to "development".
14312         (VERSION): Set to "2.18.90".
14313         * NEWS: Add 2.19 section.
14314
14315 2013-08-03  David S. Miller  <davem@davemloft.net>
14316
14317         * po/ko.po: Update Korean translation from translation project.
14318
14319 2013-08-01  David S. Miller  <davem@davemloft.net>
14320
14321         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
14322         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14323         Bilka.
14324
14325 2013-07-30  David S. Miller  <davem@davemloft.net>
14326
14327         * po/fr.po: Update French translation from translation project.
14328
14329 2013-07-28  David S. Miller  <davem@davemloft.net>
14330
14331         * po/cs.po: Update Czech translation from translation project.
14332
14333         * po/sv.po: Update Swedish translation from translation project.
14334
14335 2013-07-27  David S. Miller  <davem@davemloft.net>
14336
14337         * po/eo.po: Update Esperanto translation from translation project.
14338
14339         * po/vi.po: Update Vietnamese translation from translation project.
14340
14341         * po/de.po: Update German translation from translation project.
14342
14343 2013-07-26  David S. Miller  <davem@davemloft.net>
14344
14345         * po/bg.po: Update Bulgarian translation from translation project.
14346
14347         * po/nl.po: Update Dutch translation from translation project.
14348         * po/pl.po: Update Polish translation from translation project.
14349         * po/ru.po: Update Russian translation from translation project.
14350
14351 2013-07-24  David S. Miller  <davem@davemloft.net>
14352
14353         * po/libc.pot: Update.
14354
14355 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14356
14357         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14358         variable page size.
14359         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14360         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14361         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14362
14363 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14364
14365         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14366
14367 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14368             Andreas Schwab  <schwab@suse.de>
14369             Roland McGrath  <roland@hack.frob.com>
14370             Joseph Myers  <joseph@codesourcery.com>
14371             Carlos O'Donell  <carlos@redhat.com>
14372
14373         [BZ #15755]
14374         * config.h.in: Define HAVE_PT_CHOWN.
14375         * config.make.in (build-pt-chown): New variable.
14376         * configure.in (--enable-pt_chown): New configure option.
14377         * configure: Regenerate.
14378         * login/Makefile: Include Makeconfig.  Build pt_chown only if
14379         build-pt-chown is enabled.
14380         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14381         pt_chown to fix pty ownership.
14382         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14383         CLOSE_ALL_FDS.
14384         * manual/install.texi (Configuring and compiling): Mention
14385         --enable-pt_chown. Add @findex for grantpt.
14386         * INSTALL: Regenerate.
14387
14388 2013-07-20  David S. Miller  <davem@davemloft.net>
14389
14390         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14391         difference between 32-bit and 64-bit.
14392
14393 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
14394
14395         [BZ #15711]
14396         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14397         Avoid system header dependency with -ffreestanding.
14398         ($(objpfx)bits/syscall%d): Likewise.
14399
14400 2013-07-13  David S. Miller  <davem@davemloft.net>
14401
14402         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14403         underflows from atanl/atan2l due to bug 15319.
14404         (casinh_test_data): Likewise.
14405
14406 2013-07-07  David S. Miller  <davem@davemloft.net>
14407
14408         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14409
14410 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
14411
14412         * sysdeps/i386/fpu/libm-test-ulps: Update.
14413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14414
14415 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14416
14417         * configure.in (--enable-lock-elision): Fix message text.
14418         * INSTALL: Regenerate.
14419         * configure: Regenerate.
14420
14421 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14422
14423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14424
14425 2013-07-03  Andreas Jaeger  <aj@suse.de>
14426
14427         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14428         define.
14429         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14430         (ptrace_peeksiginfo_args): Add.
14431         (__ptrace_peeksiginfo_flags): Add.
14432         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14433         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14434         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14435
14436 2013-07-03  Allan McRae  <allan@archlinux.org>
14437
14438         * sysdeps/i386/fpu/libm-test-ulps: Update.
14439
14440 2013-07-02  David S. Miller  <davem@davemloft.net>
14441
14442         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14443
14444 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
14445
14446         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14447
14448 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14449
14450         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14452
14453 2013-07-02  Andi Kleen <ak@linux.intel.com>
14454
14455         * config.h.in (ENABLE_LOCK_ELISION): Add.
14456         * configure.in (--enable-lock-elision): Add option.
14457         * manual/install.texi: Document --enable lock elision.
14458         * configure: Regenerate
14459         * INSTALL: Regenerate.
14460
14461 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
14462
14463         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14464         SSE4.2 strcasecmp for libc.a.
14465         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14466
14467 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14468
14469         [BZ #13304]
14470         * soft-fp/op-common.h (_FP_FMA): New macro.
14471         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14472         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
14473         (_FP_MUL_MEAT_1_imm): ... here.
14474         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
14475         (_FP_MUL_MEAT_1_wide): ... here.
14476         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
14477         (_FP_MUL_MEAT_1_hard): ... here.
14478         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14479         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
14480         (_FP_MUL_MEAT_2_wide): ... here.
14481         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
14482         (_FP_MUL_MEAT_2_wide_3mul): ... here.
14483         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
14484         (_FP_MUL_MEAT_2_gmp): ... here.
14485         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14486         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
14487         (_FP_MUL_MEAT_4_wide): ... here.
14488         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
14489         (_FP_MUL_MEAT_4_gmp): ... here.
14490         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14491         (_FP_WFRACBITS_DW_S): Likewise.
14492         (_FP_WFRACXBITS_DW_S): Likewise.
14493         (_FP_HIGHBIT_DW_S): Likewise.
14494         (FP_FMA_S): Likewise.
14495         (_FP_FRAC_HIGH_DW_S): Likewise.
14496         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14497         (_FP_WFRACBITS_DW_D): Likewise.
14498         (_FP_WFRACXBITS_DW_D): Likewise.
14499         (_FP_HIGHBIT_DW_D): Likewise.
14500         (FP_FMA_D): Likewise.
14501         (_FP_FRAC_HIGH_DW_D): Likewise.
14502         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14503         (_FP_WFRACBITS_DW_E): Likewise.
14504         (_FP_WFRACXBITS_DW_E): Likewise.
14505         (_FP_HIGHBIT_DW_E): Likewise.
14506         (FP_FMA_E): Likewise.
14507         (_FP_FRAC_HIGH_DW_E): Likewise.
14508         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14509         (_FP_WFRACBITS_DW_Q): Likewise.
14510         (_FP_WFRACXBITS_DW_Q): Likewise.
14511         (_FP_HIGHBIT_DW_Q): Likewise.
14512         (FP_FMA_Q): Likewise.
14513         (_FP_FRAC_HIGH_DW_Q): Likewise.
14514         * soft-fp/fmasf4.c: New file.
14515         * soft-fp/fmadf4.c: Likewise.
14516         * soft-fp/fmatf4.c: Likewise.
14517
14518 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14519
14520         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14521         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14522         Silvermont.
14523         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14524         macro.
14525         (index_Slow_SSE4_2): Likewise.
14526         (index_Prefer_PMINUB_for_stringop): Likewise.
14527         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14528         bit_Slow_SSE4_2 is set.
14529         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14530         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14531
14532 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14533
14534         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14535         rtld_global._dl_hwcap2.
14536         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14537         POWER8.
14538         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14539         POWER8 feature descriptions defined in _dl_hwcap2.
14540         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14541         string handling for POWER8 feature bits.
14542         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14543         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14544         _dl_powerpc_cap_flags.
14545         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14546         * sysdeps/powerpc/rtld-global-offsets.sym
14547         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14548         _dl_hwcap2 in the rtld_global_ro structure.
14549
14550 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14551
14552         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14553         hardware capabilities in support of AT_HWCAP2.
14554         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14555         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14556         GLRO(dl_hwcap2).
14557         (_dl_show_auxv): Add support for calling _dl_procinfo to display
14558         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
14559         explicitly the unknown a_type display mechanism is used.
14560         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14561         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14562         struct member.
14563         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14564         to macro prototype for AT_HWCAP2 support.
14565         * sysdeps/i386/dl-procinfo.h: Likewise.
14566         * sysdeps/s390/dl-procinfo.h: Likewise.
14567         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14568         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
14569         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
14570         return -1 for unknown a_type display fallback.
14571         * sysdeps/sparc/dl-procinfo.h: Likewise.
14572         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14573         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14574
14575 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
14576
14577         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14578         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14579
14580 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
14581
14582         [BZ #12492]
14583         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14584         mprotect making __stack_prot writable.
14585
14586 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
14587             Joseph Myers  <joseph@codesourcery.com>
14588
14589         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14590         as being properly aligned.
14591
14592 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
14593
14594         * dlfcn/modstatic5.c: New file.
14595         * dlfcn/tststatic5.c: New file.
14596         * dlfcn/Makefile (tests): Add tststatic5.
14597         (tests-static): Likewise.
14598         (modules-names): Add modstatic5.
14599         (tststatic5-ENV): New variable.
14600         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14601
14602         [BZ #15022]
14603         * elf/dl-support.c (_dl_main_map): New variable.
14604         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14605         (_dl_nns, _dl_load_adds): Set to 1.
14606         (_dl_initial_searchlist): Refer to _dl_main_map.
14607         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14608         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14609         call to _dl_get_origin.
14610         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14611         around call_map.
14612         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14613         * dlfcn/modstatic3.c: New file.
14614         * dlfcn/tststatic3.c: New file.
14615         * dlfcn/tststatic4.c: New file.
14616         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14617         (tests-static): Likewise.
14618         (modules-names): Add modstatic3.
14619         (tststatic3-ENV, tststatic4-ENV): New variables.
14620         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14621         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14622
14623 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
14624
14625         * configure.in (CC): Require GCC version 4.4 or later.
14626         * configure: Regenerated.
14627         * manual/install.texi (Tools for Compilation): Update GCC version
14628         requirement.
14629         * INSTALL: Regenerated.
14630
14631 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14632
14633         [BZ #15674]
14634         * string/test-memcmp.c (check2): New.
14635         (main): Call check2.
14636
14637         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14638
14639 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
14640
14641         [BZ #15022]
14642         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14643         over to...
14644         (dl_open_worker) [!SHARED]: ... here.
14645
14646 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14647
14648         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14649
14650 2013-06-25  Richard Henderson  <rth@redhat.com>
14651
14652         * locale/programs/locarchive.c: Include <libc-internal.h>
14653
14654 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
14655
14656         * manual/texinfo.tex: Update to version 2013-06-21.17, with
14657         trailing whitespace removed.
14658
14659 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14660
14661         [BZ #10283]
14662         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14663         * locale/programs/locarchive.c: Include libc-mmap.h.
14664         (prepare_address_space): Take two new outputs (the mmap base and len).
14665         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
14666         values.
14667         (create_archive): Declare new mmap base and len values for
14668         prepare_address_space, and store the result in ah.
14669         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14670         (enlarge_archive): If ah->mmap_base is not NULL, use that and
14671         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14672         Declare new mmap base and len values for
14673         prepare_address_space, and store the result in new_ah.
14674         (open_archive): Declare new mmap base and len values for
14675         prepare_address_space, and store the result in ah.
14676         (close_archive): If ah->mmap_base is not NULL, use that and
14677         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14678         * sysdeps/generic/libc-mmap.h: New file.
14679
14680 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14681
14682         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14683         (ALIGN_UP): Likewise.
14684         (PTR_ALIGN_DOWN): Likewise.
14685         (PTR_ALIGN_UP): Likewise.
14686
14687 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14688
14689         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14690         entry mapped to PPC_PLATFORM_POWER8.
14691         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14692         POWER8.
14693         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14694         (_dl_string_platform): Add case for exporting platform position for
14695         POWER8.
14696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14697         search path to sysdeps/powerpc/powerpc32/power8 directory.
14698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14699         search path to sysdeps/powerpc/powerpc64/power8 directory.
14700         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14701         power7 directories.
14702         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14703         power7 directories.
14704
14705 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14706
14707         * INSTALL: Regenerate.
14708
14709         * nscd/connections.c (nscd_init): Fix comment.
14710
14711 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
14712
14713         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14714
14715         [BZ #15667]
14716         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14717         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14718
14719 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14720
14721         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14722         DL_DST_REQ_STATIC.
14723         (DL_DST_REQ_STATIC): Remove macro.
14724
14725 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
14726
14727         [BZ #7006]
14728         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14729         with a shift of 0 bits.
14730
14731 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14732
14733         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14734         $(tststatic-ENV).
14735
14736 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14737
14738         [BZ #15655]
14739         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14740
14741 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14742
14743         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14744         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14745         accepts -fno-tree-loop-distribute-patterns.
14746         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14747         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14748         recursive call.
14749         * string/memset.c (memset): Likewise.
14750         * string/test-memmove.c (simple_memmove): Disable loop transformation
14751         to library calls.
14752         * string/test-memset.c (simple_memset): Likewise.
14753         * benchtests/bench-memmove.c (simple_memmove): Likewise.
14754         * benchtests/bench-memset.c (simple_memset): Likewise.
14755         * configure: Regenerated.
14756
14757 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
14758
14759         * math/test-misc.c (main): Ignore fesetround failure when failures
14760         of subsequent rounding tests would be ignored.
14761
14762         [BZ #15654]
14763         * math/fedisblxcpt.c (fedisableexcept): Return 0.
14764         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14765         * math/fegetenv.c (__fegetenv): Return 0.
14766         * math/fegetexcept.c (fegetexcept): Return 0.
14767         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14768         FE_TONEAREST.
14769         * math/feholdexcpt.c (feholdexcept): Return 0.
14770         * math/fesetenv.c (__fesetenv): Return 0.
14771         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14772         argument FE_TONEAREST.
14773         * math/feupdateenv.c (__feupdateenv): Return 0.
14774         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14775
14776 2013-06-18  Roland McGrath  <roland@hack.frob.com>
14777
14778         * elf/rtld-Rules (rtld-compile-command.S): New variable.
14779         (rtld-compile-command.s, rtld-compile-command.c): New variables.
14780         ($(objpfx)rtld-%.os rules): Use them.
14781
14782 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14783
14784         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14785         fields.
14786
14787 2013-06-17  Roland McGrath  <roland@hack.frob.com>
14788
14789         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14790         length of target pattern, then descending length of dependency pattern.
14791         * configure.in (AWK): Require gawk 3.1.2 or newer.
14792         * manual/install.texi (Tools for Compilation): Say that we do.
14793         * configure: Regenerated.
14794
14795         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14796         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14797         * scripts/sysd-rules.awk: ... this new script.
14798         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14799         than a glob-style pattern.
14800
14801 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
14802
14803         * math/test-misc.c (main): Do not treat incorrectly rounded
14804         conversions as failure unless ROUNDING_TESTS passes.
14805
14806 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
14807
14808         [BZ #15631]
14809         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14810         restore exception state around main square root computation, then
14811         check for inexactness explicitly.
14812
14813         * math/libm-test.inc (fma_test_data): Add another test.
14814
14815 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14816
14817         * manual/threads.texi (Non-POSIX Extensions): New document
14818         node.  Document pthread_getattr_default_np and
14819         pthread_setattr_default_np.
14820
14821         * Versions.def (libpthread): Add GLIBC_2.18.
14822         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14824         Likewise.
14825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14826         Likewise.
14827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14828         Likewise.
14829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14830         Likewise.
14831         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14832         Likewise.
14833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14834         Likewise.
14835         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14836         Likewise.
14837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14838         Likewise.
14839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14840         Likewise.
14841
14842 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14843
14844         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14845         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14846
14847 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14848             H.J. Lu  <hjl.tools@gmail.com>
14849
14850         [BZ #15627]
14851         * sysdeps/x86_64/rtld-memset.c: Remove file.
14852         * sysdeps/x86_64/rtld-memset.S: New file.
14853
14854 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
14855
14856         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14857         (test_in_one_mode): Take arguments for whether the rounding mode
14858         is supported for each floating-point type.
14859         (do_test): Pass new arguments to test_in_one_mode using
14860         ROUNDING_TESTS.
14861
14862 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14863
14864         * posix/tst-waitid.c (do_test): Distinguish different instances of
14865         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
14866         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14867         before entering the kernel for waitpid.
14868
14869 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14870
14871         * NEWS: Fix note on clock function precision.  Text by Roland
14872         McGrath.
14873
14874 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14875
14876         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14877         it into place only when and if the sanity check passes.
14878
14879 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
14880
14881         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14882         output for whether conversion result is exact.  Take argument
14883         indicating whether type is IBM long double.
14884         (round_for_all): Change need_exact field to ibm_ld.
14885         * stdlib/tst-strtod-round.c (struct exactness): New type.
14886         (struct test): Change bool ld_ok field to struct exactness exact.
14887         (TEST): Update all definitions for change to field.
14888         (tests): Regenerate array contents.
14889         (test_in_one_mode): Take pointer to new field instead of old ld_ok
14890         field value.  Check for IBM long double here.
14891         (do_test): Update calls to test_in_one_mode.
14892
14893 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14894
14895         [BZ #12515]
14896         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14897         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14898
14899 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14900
14901         [BZ #15605]
14902         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14903         generated by the compiler on loop optimizations.
14904         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14905         general definitions.
14906
14907 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
14908
14909         * math/bug-nextafter.c: Include <math-tests.h>.
14910         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14911         the relevant type.
14912         * math/bug-nexttoward.c: Include <math-tests.h>.
14913         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14914         the relevant type.
14915         * math/test-misc.c: Include <math-tests.h>.
14916         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14917         the relevant type.
14918
14919 2013-06-12  Andreas Jaeger  <aj@suse.de>
14920
14921         * po/ia.po: Update Interlingua translation from translation
14922         project.
14923
14924 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14925
14926         * include/fenv.h: Include stdbool.h.
14927         (struct rm_ctx): New structure.
14928         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14929         Define macro.
14930         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14931         (SET_RESTORE_ROUNDF): Likewise.
14932         (SET_RESTORE_ROUNDL): Likewise.
14933         (SET_RESTORE_ROUND_NOEX): Likewise.
14934         (SET_RESTORE_ROUND_NOEXF): Likewise.
14935         (SET_RESTORE_ROUND_NOEXL): Likewise.
14936         (SET_RESTORE_ROUND_53BIT): Likewise.
14937         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14938         (libc_feresetround_noexf_ctx): Likewise.
14939         (libc_feresetround_noexl_ctx): Likewise.
14940         (libc_feholdsetround_53bit_ctx): Likewise.
14941         (libc_feresetround_53bit_ctx): Likewise.
14942         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14943         (libc_feholdexcept_setround_sse_ctx): New function.
14944         (libc_fesetenv_sse_ctx): Likewise.
14945         (libc_feupdateenv_sse_ctx): Likewise.
14946         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14947         (libc_feholdexcept_setround_387_ctx): Likewise.
14948         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14949         (libc_feholdsetround_387_prec_ctx): Likewise.
14950         (libc_feholdsetround_387_ctx): Likewise.
14951         (libc_feholdsetround_387_53bit_ctx): Likewise.
14952         (libc_feholdsetround_sse_ctx): Likewise.
14953         (libc_feresetround_sse_ctx): Likewise.
14954         (libc_feresetround_387_ctx): Likewise.
14955         (libc_feupdateenv_387_ctx): Likewise.
14956         (libc_feholdexcept_setroundf_ctx): Define macro.
14957         (libc_fesetenvf_ctx): Likewise.
14958         (libc_feupdateenvf_ctx): Likewise.
14959         (libc_feholdsetroundf_ctx): Likewise.
14960         (libc_feresetroundf_ctx): Likewise.
14961         (libc_feholdexcept_setround_ctx): Likewise.
14962         (libc_fesetenv_ctx): Likewise.
14963         (libc_feupdateenv_ctx): Likewise.
14964         (libc_feholdsetround_ctx): Likewise.
14965         (libc_feresetround_ctx): Likewise.
14966         (libc_feholdexcept_setroundl_ctx): Likewise.
14967         (libc_feupdateenvl_ctx): Likewise.
14968         (libc_feholdsetroundl_ctx): Likewise.
14969         (libc_feresetroundl_ctx): Likewise.
14970         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14971         (libc_feresetround_53bit_ctx): Likewise.
14972
14973 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14974
14975         * locale/iso-639.def: Convert to UTF-8.
14976
14977 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
14978
14979         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14980         (EXCEPTION_TESTS_double): Likewise.
14981         (EXCEPTION_TESTS_long_double): Likewise.
14982         (EXCEPTION_TESTS): Likewise.
14983         * math/libm-test.inc (test_exceptions): Only test exceptions if
14984         EXCEPTION_TESTS (FLOAT).
14985
14986 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14987
14988         * benchtests/Makefile (string-bench): Add strcpy_chk and
14989         stpcpy_chk.
14990         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14991         * benchtests/bench-stpcpy_chk.c: New file.
14992         * benchtests/bench-strcpy_chk-ifunc.c: New file.
14993         * benchtests/bench-strcpy_chk.c: New file.
14994         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14995         code.
14996         (do_test): Likewise.
14997
14998 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14999
15000         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15001         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15002         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15003         with tabs where appropriate.
15004         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15005         dl-procinfo.h.
15006         [PPC_PLATFORM_PPC440]: Likewise.
15007         [PPC_PLATFORM_PPC464]: Likewise.
15008         [PPC_PLATFORM_PPC476]: Likewise.
15009         (_dl_string_platform): Add support for detecting ppc405, ppc440,
15010         ppc464, and ppc476 platform strings merging from ports/
15011         dl-procinfo.h.
15012
15013 2013-06-11  Andreas Schwab  <schwab@suse.de>
15014
15015         [BZ #14991]
15016         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15017         (from_ucs4_idx): Regenerate.
15018         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15019         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15020         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15021         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15022         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15023         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15024         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15025         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15026         from FROM_LOOP and TO_LOOP specific macros.
15027         (BODY): Handle combining characters.
15028         * iconvdata/BIG5HKSCS.irreversible: Update.
15029         * iconvdata/BIG5HKSCS.precomposed: New file.
15030         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15031         characters.
15032         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15033
15034 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15035
15036         * include/sys/time.h: Fix indentation and add copyright header.
15037
15038         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15039         (do_test): Likewise.
15040         * string/test-memchr.c (do_one_test): Likewise.
15041         (do_test): Likewise.
15042         * string/test-memcmp.c (do_one_test): Likewise.
15043         (do_test): Likewise.
15044         * string/test-memcpy.c (do_one_test): Likewise.
15045         (do_test): Likewise.
15046         * string/test-memmem.c (do_one_test): Likewise.
15047         (do_test): Likewise.
15048         (do_random_tests): Likewise.
15049         * string/test-memmove.c (do_one_test): Likewise.
15050         (do_test): Likewise.
15051         * string/test-memset.c (do_one_test): Likewise.
15052         (do_test): Likewise.
15053         * string/test-rawmemchr.c (do_one_test): Likewise.
15054         (do_test): Likewise.
15055         * string/test-strcasecmp.c (do_one_test): Likewise.
15056         (do_test): Likewise.
15057         * string/test-strcasestr.c (do_one_test): Likewise.
15058         (do_test): Likewise.
15059         * string/test-strcat.c (do_one_test): Likewise.
15060         (do_test): Likewise.
15061         * string/test-strchr.c (do_one_test): Likewise.
15062         (do_test): Likewise.
15063         * string/test-strcmp.c (do_one_test): Likewise.
15064         (do_test): Likewise.
15065         * string/test-strcpy.c (do_one_test): Likewise.
15066         (do_test): Likewise.
15067         * string/test-string.h: Likewise.
15068         (test_init): Likewise.
15069         * string/test-strlen.c (do_one_test): Likewise.
15070         (do_test): Likewise.
15071         * string/test-strncasecmp.c (do_one_test): Likewise.
15072         (do_test): Likewise.
15073         * string/test-strncat.c (do_one_test): Likewise.
15074         (do_test): Likewise.
15075         * string/test-strncmp.c (do_one_test): Likewise.
15076         (do_test_limit): Likewise.
15077         (do_test): Likewise.
15078         * string/test-strncpy.c (do_one_test): Likewise.
15079         (do_test): Likewise.
15080         * string/test-strnlen.c (do_one_test): Likewise.
15081         (do_test): Likewise.
15082         * string/test-strpbrk.c (do_one_test): Likewise.
15083         (do_test): Likewise.
15084         * string/test-strrchr.c (do_one_test): Likewise.
15085         (do_test): Likewise.
15086         * string/test-strspn.c (do_one_test): Likewise.
15087         (do_test): Likewise.
15088         * string/test-strstr.c (do_one_test): Likewise.
15089         (do_test): Likewise.
15090
15091         * benchtests/Makefile (string-bench): Add string benchmarks.
15092         * benchtests/bench-bcopy-ifunc.c: New file.
15093         * benchtests/bench-bcopy.c: New file.
15094         * benchtests/bench-bzero-ifunc.c: New file.
15095         * benchtests/bench-bzero.c: New file.
15096         * benchtests/bench-memccpy-ifunc.c: New file.
15097         * benchtests/bench-memccpy.c: New file.
15098         * benchtests/bench-memchr-ifunc.c: New file.
15099         * benchtests/bench-memchr.c: New file.
15100         * benchtests/bench-memcmp-ifunc.c: New file.
15101         * benchtests/bench-memcmp.c: New file.
15102         * benchtests/bench-memmem-ifunc.c: New file.
15103         * benchtests/bench-memmem.c: New file.
15104         * benchtests/bench-memmove-ifunc.c: New file.
15105         * benchtests/bench-memmove.c: New file.
15106         * benchtests/bench-mempcpy-ifunc.c: New file.
15107         * benchtests/bench-mempcpy.c: New file.
15108         * benchtests/bench-memset-ifunc.c: New file.
15109         * benchtests/bench-memset.c: New file.
15110         * benchtests/bench-rawmemchr-ifunc.c: New file.
15111         * benchtests/bench-rawmemchr.c: New file.
15112         * benchtests/bench-stpcpy-ifunc.c: New file.
15113         * benchtests/bench-stpcpy.c: New file.
15114         * benchtests/bench-stpncpy-ifunc.c: New file.
15115         * benchtests/bench-stpncpy.c: New file.
15116         * benchtests/bench-strcasecmp-ifunc.c: New file.
15117         * benchtests/bench-strcasecmp.c: New file.
15118         * benchtests/bench-strcasestr-ifunc.c: New file.
15119         * benchtests/bench-strcasestr.c: New file.
15120         * benchtests/bench-strcat-ifunc.c: New file.
15121         * benchtests/bench-strcat.c: New file.
15122         * benchtests/bench-strchr-ifunc.c: New file.
15123         * benchtests/bench-strchr.c: New file.
15124         * benchtests/bench-strchrnul-ifunc.c: New file.
15125         * benchtests/bench-strchrnul.c: New file.
15126         * benchtests/bench-strcmp-ifunc.c: New file.
15127         * benchtests/bench-strcmp.c: New file.
15128         * benchtests/bench-strcpy-ifunc.c: New file.
15129         * benchtests/bench-strcpy.c: New file.
15130         * benchtests/bench-strcspn-ifunc.c: New file.
15131         * benchtests/bench-strcspn.c: New file.
15132         * benchtests/bench-strlen-ifunc.c: New file.
15133         * benchtests/bench-strlen.c: New file.
15134         * benchtests/bench-strncasecmp-ifunc.c: New file.
15135         * benchtests/bench-strncasecmp.c: New file.
15136         * benchtests/bench-strncat-ifunc.c: New file.
15137         * benchtests/bench-strncat.c: New file.
15138         * benchtests/bench-strncmp-ifunc.c: New file.
15139         * benchtests/bench-strncmp.c: New file.
15140         * benchtests/bench-strncpy-ifunc.c: New file.
15141         * benchtests/bench-strncpy.c: New file.
15142         * benchtests/bench-strnlen-ifunc.c: New file.
15143         * benchtests/bench-strnlen.c: New file.
15144         * benchtests/bench-strpbrk-ifunc.c: New file.
15145         * benchtests/bench-strpbrk.c: New file.
15146         * benchtests/bench-strrchr-ifunc.c: New file.
15147         * benchtests/bench-strrchr.c: New file.
15148         * benchtests/bench-strspn-ifunc.c: New file.
15149         * benchtests/bench-strspn.c: New file.
15150         * benchtests/bench-strstr-ifunc.c: New file.
15151         * benchtests/bench-strstr.c: New file.
15152
15153         * benchtests/Makefile: Disable parallel execution of targets.
15154         (string-bench): Add memcpy.
15155         (benchset): New variable to store a list of benchmark sets.
15156         (bench-func): Renamed from bench.
15157         (bench-set): New target.
15158         (bench): Depend on bench-func and bench-set.
15159         * benchtests/README: Add section on benchmark sets.
15160         * benchtests/bench-memcpy-ifunc.c: New file.
15161         * benchtests/bench-memcpy.c: New file.
15162         * benchtests/bench-string.h: New file.
15163
15164 2013-06-11  Andreas Schwab  <schwab@suse.de>
15165
15166         [BZ #15577]
15167         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15168         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15169         values in the triple.
15170         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15171         terminator in the group key.
15172
15173 2013-06-11  Andreas Jaeger  <aj@suse.de>
15174
15175         * po/zh_TW.po: Update Chinese (traditional) translation from
15176         translation project.
15177
15178 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15179
15180         * include/time.h (__clock_gettime): Add libc_hidden_proto.
15181         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15182         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
15183         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15184         (clock_getcpuclockid): Likewise.
15185         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15186         Add weak_alias and libc_hidden_def.
15187         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15188         * rt/clock_gettime.c (clock_gettime): Rename to
15189         __clock_gettime.  Add weak_alias and libc_hidden_def.
15190         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15191         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15192         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
15193         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15194         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15195         Likewise.
15196         * rt/clock_settime.c (clock_settime): Rename to
15197         __clock_settime.  Add weak_alias and libc_hidden_def.
15198         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15199
15200 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
15201
15202         * mach/err_boot.sub: Remove trailing whitespace.
15203         * mach/err_ipc.sub: Likewise.
15204         * mach/err_mach.sub: Likewise.
15205
15206         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15207         (ROUNDING_TESTS_double): Likewise.
15208         (ROUNDING_TESTS_long_double): Likewise.
15209         (ROUNDING_TESTS): Likewise.
15210         * math/libm-test.inc: Include <math-tests.h>.
15211         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15212         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15213         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15214         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15215
15216 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15217
15218         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15219         of assigning.
15220
15221 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
15222
15223         * sysdeps/gnu/errlist.awk: Do not generate space at end of
15224         otherwise empty TRANS lines.
15225         * sysdeps/gnu/errlist.c: Regenerated.
15226
15227         * catgets/gencat.c (error_print): Use (void) in function
15228         definition.
15229         * crypt/crypt_util.c (__init_des): Likewise.
15230         * crypt/speeds.c (Stop): Likewise.
15231         (main): Likewise.
15232         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15233         * inet/ruserpass.c (token): Likewise.
15234         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15235         * intl/localealias.c (extend_alias_table): Likewise.
15236         * intl/plural-exp.c (init_germanic_plural): Likewise.
15237         * libio/fcloseall.c (__fcloseall): Likewise.
15238         * libio/genops.c (_IO_flush_all): Likewise.
15239         (_IO_flush_all_linebuffered): Likewise.
15240         (_IO_cleanup): Likewise.
15241         (_IO_iter_begin): Likewise.
15242         (_IO_iter_end): Likewise.
15243         (_IO_list_lock): Likewise.
15244         (_IO_list_unlock): Likewise.
15245         (_IO_list_resetlock): Likewise.
15246         * libio/getchar.c (getchar): Likewise.
15247         * libio/getchar_u.c (getchar_unlocked): Likewise.
15248         * libio/getwchar.c (getwchar): Likewise.
15249         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15250         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15251         * login/getpt.c (__getpt): Likewise.
15252         * login/tst-utmp.c (main): Likewise.
15253         * malloc/hooks.c (__malloc_check_init): Likewise.
15254         * malloc/malloc.c (__malloc_stats): Likewise.
15255         * malloc/mtrace.c (tr_break): Likewise.
15256         (mtrace): Likewise.
15257         (muntrace): Likewise.
15258         * misc/fstab.c (endfsent): Likewise.
15259         * misc/getclktck.c (__getclktck): Likewise.
15260         * misc/getdtsz.c (__getdtablesize): Likewise.
15261         * misc/gethostid.c (gethostid): Likewise.
15262         * misc/getpagesize.c (__getpagesize): Likewise.
15263         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15264         (__get_nprocs): Likewise.
15265         (__get_phys_pages): Likewise.
15266         (__get_avphys_pages): Likewise.
15267         * misc/getttyent.c (getttyent): Likewise.
15268         (setttyent): Likewise.
15269         (endttyent): Likewise.
15270         * misc/getusershell.c (getusershell): Likewise.
15271         (endusershell): Likewise.
15272         (setusershell): Likewise.
15273         (initshells): Likewise.
15274         * misc/hsearch.c (__hdestroy): Likewise.
15275         * misc/sync.c (sync): Likewise.
15276         * misc/syslog.c (closelog_internal): Likewise.
15277         (closelog): Likewise.
15278         * misc/ttyslot.c (ttyslot): Likewise.
15279         * misc/vhangup.c (vhangup): Likewise.
15280         * posix/fork.c (__fork): Likewise.
15281         * posix/getegid.c (__getegid): Likewise.
15282         * posix/geteuid.c (__geteuid): Likewise.
15283         * posix/getgid.c (__getgid): Likewise.
15284         * posix/getpid.c (__getpid): Likewise.
15285         * posix/getppid.c (__getppid): Likewise.
15286         * posix/getuid.c (__getuid): Likewise.
15287         * posix/pause.c (pause): Likewise.
15288         * posix/setpgrp.c (setpgrp): Likewise.
15289         * posix/setsid.c (__setsid): Likewise.
15290         * posix/test-vfork.c (noop): Likewise.
15291         * resolv/gethnamaddr.c (_endhtent): Likewise.
15292         (_gethtent): Likewise.
15293         (ht_endhostent): Likewise.
15294         (gethostent): Likewise.
15295         (dns_service): Likewise.
15296         * stdlib/drand48.c (drand48): Likewise.
15297         * stdlib/lrand48.c (lrand48): Likewise.
15298         * stdlib/mrand48.c (mrand48): Likewise.
15299         * stdlib/rand.c (rand): Likewise.
15300         * stdlib/random.c (__random): Likewise.
15301         * stdlib/setenv.c (clearenv): Likewise.
15302         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15303         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15304         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15305         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15306         (__get_nprocs): Likewise.
15307         (__get_phys_pages): Likewise.
15308         (__get_avphys_pages): Likewise.
15309         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15310         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15311         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15312         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15313         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15314         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15315         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15316         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15317         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15318         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15319         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15320         * sysdeps/mach/hurd/sync.c (sync): Likewise.
15321         * sysdeps/posix/clock.c (clock): Likewise.
15322         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15323         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15324         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15325         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15326         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15327         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15328         (__get_nprocs_conf): Likewise.
15329         (__get_phys_pages): Likewise.
15330         (__get_avphys_pages): Likewise.
15331         * time/clock.c (clock): Likewise.
15332         * time/tzset.c (__tzname_max): Likewise.
15333
15334 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
15335
15336         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15337         (__bswap_32): Do not use "register".
15338         * crypt/crypt.c (_ufc_doit_r): Likewise.
15339         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15340         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15341         * gmon/gmon.c (__monstartup): Likewise.
15342         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15343         * hurd/hurdmalloc.c (more_memory): Likewise.
15344         (malloc): Likewise.
15345         (free): Likewise.
15346         (realloc): Likewise.
15347         (malloc_fork_prepare): Likewise.
15348         (malloc_fork_parent): Likewise.
15349         (malloc_fork_child): Likewise.
15350         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15351         (_svcauth_des): Likewise.
15352         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15353         * inet/inet_net.c (inet_network): Likewise.
15354         * inet/inet_netof.c (inet_netof): Likewise.
15355         * inet/rcmd.c (__validuser2_sa): Likewise.
15356         * io/fts.c (fts_open): Likewise.
15357         (fts_load): Likewise.
15358         (fts_close): Likewise.
15359         (fts_read): Likewise.
15360         (fts_children): Likewise.
15361         (fts_build): Likewise.
15362         (fts_stat): Likewise.
15363         (fts_sort): Likewise.
15364         (fts_alloc): Likewise.
15365         (fts_lfree): Likewise.
15366         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15367         (_IO_file_xsgetn): Likewise.
15368         (_IO_file_xsgetn_mmap): Likewise.
15369         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15370         (_IO_cookie_write): Likewise.
15371         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15372         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15373         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15374         * malloc/obstack.c (_obstack_begin): Likewise.
15375         (_obstack_begin_1): Likewise.
15376         (_obstack_newchunk): Likewise.
15377         (_obstack_allocated_p): Likewise.
15378         (obstack_free): Likewise.
15379         (_obstack_memory_used): Likewise.
15380         * misc/getttyent.c (getttynam): Likewise.
15381         (getttyent): Likewise.
15382         (skip): Likewise.
15383         (value): Likewise.
15384         * misc/getusershell.c (initshells): Likewise.
15385         * misc/syslog.c (__vsyslog_chk): Likewise.
15386         * misc/ttyslot.c (ttyslot): Likewise.
15387         * nis/nis_hash.c (__nis_hash): Likewise.
15388         * posix/fnmatch_loop.c (FCT): Likewise.
15389         * posix/getconf.c (print_all): Likewise.
15390         (main): Likewise.
15391         * posix/getopt.c (exchange): Likewise.
15392         * posix/glob.c (globfree): Likewise.
15393         (prefix_array): Likewise.
15394         (__glob_pattern_type): Likewise.
15395         * resolv/arpa/nameser.h (NS_GET16): Likewise.
15396         (NS_GET32): Likewise.
15397         (NS_PUT16): Likewise.
15398         (NS_PUT32): Likewise.
15399         * resolv/gethnamaddr.c (getanswer): Likewise.
15400         (gethostbyname2): Likewise.
15401         (gethostbyaddr): Likewise.
15402         (_gethtent): Likewise.
15403         (_gethtbyname2): Likewise.
15404         (_gethtbyaddr): Likewise.
15405         * resolv/ns_print.c (dst_s_get_int16): Likewise.
15406         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15407         * resolv/res_init.c (__res_vinit): Likewise.
15408         (net_mask): Likewise.
15409         * resolv/res_mkquery.c (outchar): Likewise.
15410         (PRINT): Likewise.
15411         * stdio-common/printf_fp.c (outchar): Likewise.
15412         (PRINT): Likewise.
15413         * stdio-common/printf_fphex.c (outchar): Likewise.
15414         (PRINT): Likewise.
15415         * stdio-common/printf_size.c (outchar): Likewise.
15416         (PRINT): Likewise.
15417         * stdio-common/test_rdwr.c (main): Likewise.
15418         * stdio-common/tfformat.c (matches): Likewise.
15419         * stdio-common/vfprintf.c (outchar): Likewise.
15420         (printf_unknown): Likewise.
15421         (buffered_vfprintf): Likewise.
15422         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15423         * stdio-common/xbug.c (AppendToBuffer): Likewise.
15424         (ReadFile): Likewise.
15425         * stdlib/qsort.c (SWAP): Likewise.
15426         (_quicksort): Likewise.
15427         * stdlib/setenv.c (__add_to_environ): Likewise.
15428         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15429         * stdlib/strtol_l.c (__strtol_l): Likewise.
15430         * stdlib/tst-strtod.c (main): Likewise.
15431         * stdlib/tst-strtol.c (main): Likewise.
15432         * stdlib/tst-strtoll.c (main): Likewise.
15433         * string/bits/string2.h (__strcmp_cc): Likewise.
15434         (__strcmp_cg): Likewise.
15435         (__strcspn_c1): Likewise.
15436         (__strcspn_c2): Likewise.
15437         (__strcspn_c3): Likewise.
15438         (__strspn_c1): Likewise.
15439         (__strspn_c2): Likewise.
15440         (__strspn_c3): Likewise.
15441         (__strsep_1c): Likewise.
15442         (__strsep_2c): Likewise.
15443         (__strsep_3c): Likewise.
15444         * string/memccpy.c (__memccpy): Likewise.
15445         * string/stpcpy.c (__stpcpy): Likewise.
15446         * string/strcmp.c (strcmp): Likewise.
15447         * string/strrchr.c (strrchr): Likewise.
15448         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15449         Likewise.
15450         * sysdeps/mach/hurd/getcwd.c
15451         (_hurd_canonicalize_directory_name_internal): Likewise.
15452         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15453         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15454         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15455         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15456         Likewise, in both definitions.
15457         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15458         definitions.
15459         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15460         64] (__bswap_64): Likewise.
15461         * time/test_time.c (main): Likewise.
15462         * time/tzfile.c (__tzfile_read): Likewise.
15463         (__tzfile_compute): Likewise.
15464         * time/tzset.c (__tzset_parse_tz): Likewise.
15465         (tzset_internal): Likewise.
15466         (compute_change): Likewise.
15467         * wcsmbs/wcscat.c (__wcscat): Likewise.
15468         * wcsmbs/wcschr.c (wcschr): Likewise.
15469         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15470         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15471         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15472         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15473         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15474         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15475         * wcsmbs/wmemchr.c (wmemchr): Likewise.
15476         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15477         * wcsmbs/wmemset.c (wmemset): Likewise.
15478
15479 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
15480
15481         * scripts/config.guess: Update to version 2013-05-16.
15482         * scripts/config.sub: Update to version 2013-04-24.
15483         * scripts/install-sh: Update to version 2011-11-20.07.
15484         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15485         * scripts/move-if-change: Update to version 2012-01-06 07:23.
15486
15487 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
15488
15489         * debug/fgetws_u_chk.c: Fix leading whitespaces.
15490         * elf/sln.c: Likewise.
15491         * hurd/hurd/ioctl.h: Likewise.
15492         * hurd/hurdmalloc.c: Likewise.
15493         * hurd/xattr.c: Likewise.
15494         * include/shlib-compat.h: Likewise.
15495         * inet/ruserpass.c: Likewise.
15496         * libio/iofgets_u.c: Likewise.
15497         * libio/iofgetws_u.c: Likewise.
15498         * locale/programs/ld-identification.c: Likewise.
15499         * locale/programs/ld-time.c: Likewise.
15500         * mach/msg-destroy.c: Likewise.
15501         * nss/nss_files/files-netgrp.c: Likewise.
15502         * resolv/res_data.c: Likewise.
15503         * soft-fp/op-1.h: Likewise.
15504         * soft-fp/op-2.h: Likewise.
15505         * soft-fp/op-4.h: Likewise.
15506         * soft-fp/op-common.h: Likewise.
15507         * stdio-common/printf_fphex.c: Likewise.
15508         * stdlib/strtod_l.c: Likewise.
15509         * sunrpc/rpc/clnt.h: Likewise.
15510         * sysdeps/generic/framestate.c: Likewise.
15511         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15512         * sysdeps/i386/bsd-setjmp.S: Likewise.
15513         * sysdeps/i386/__longjmp.S: Likewise.
15514         * sysdeps/i386/setjmp.S: Likewise.
15515         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15516         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15517         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15518         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15519         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15520         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15521         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15522         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15523         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15524         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15525         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15526         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15527         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15528         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15529         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15530         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15531         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15532         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15533         * sysdeps/ieee754/support.c: Likewise.
15534         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15535         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15536         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15537         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15538         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15539         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15540         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15541         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15542         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15543         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15544         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15545         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15546         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15547         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15548         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15549         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15550         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15552
15553 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
15554
15555         * posix/transbug.c: Remove executable mode.
15556
15557 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
15558
15559         * crypt/speeds.c: Remove trailing whitespace.
15560         * dlfcn/default.c: Likewise.
15561         * elf/ifuncdep2.c: Likewise.
15562         * elf/ifuncmain1.c: Likewise.
15563         * elf/ifuncmain1vis.c: Likewise.
15564         * elf/testobj.h: Likewise.
15565         * elf/tst-stackguard1.c: Likewise.
15566         * gmon/sys/gmon.h: Likewise.
15567         * hurd/hurdmsg.c: Likewise.
15568         * hurd/new-fd.c: Likewise.
15569         * hurd/ports-get.c: Likewise.
15570         * iconvdata/ibm1008_420.c: Likewise.
15571         * inet/tst-getni1.c: Likewise.
15572         * inet/tst-getni2.c: Likewise.
15573         * libio/ioungetc.c: Likewise.
15574         * libio/wfiledoalloc.c: Likewise.
15575         * manual/libm-err-tab.pl: Likewise.
15576         * math/w_dremf.c: Likewise.
15577         * misc/ftruncate.c: Likewise.
15578         * posix/bug-glob2.c: Likewise.
15579         * posix/tst-pcre.c: Likewise.
15580         * posix/wait4.c: Likewise.
15581         * resolv/README: Likewise.
15582         * resolv/res_debug.h: Likewise.
15583         * resolv/tst-inet_ntop.c: Likewise.
15584         * setjmp/bug269-setjmp.c: Likewise.
15585         * soft-fp/extended.h: Likewise.
15586         * soft-fp/op-1.h: Likewise.
15587         * soft-fp/op-2.h: Likewise.
15588         * soft-fp/op-4.h: Likewise.
15589         * soft-fp/op-8.h: Likewise.
15590         * soft-fp/testit.c: Likewise.
15591         * stdio-common/bug16.c: Likewise.
15592         * stdlib/random.c: Likewise.
15593         * sunrpc/rpcsvc/rquota.x: Likewise.
15594         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15595         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15596         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15597         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15598         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15599         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15600         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15601         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15602         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15603         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15604         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15605         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15606         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15607         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15608         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15609         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15610         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15611         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15612         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15613         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15614         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15615         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15616         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15617         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15618         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15619         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15620         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15621         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15622         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15623         * sysdeps/ieee754/s_lib_version.c: Likewise.
15624         * sysdeps/mach/hurd/check_fds.c: Likewise.
15625         * sysdeps/mach/hurd/getsockname.c: Likewise.
15626         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15627         * sysdeps/mach/hurd/recvfrom.c: Likewise.
15628         * sysdeps/powerpc/bits/link.h: Likewise.
15629         * sysdeps/powerpc/dl-procinfo.c: Likewise.
15630         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15631         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15632         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15633         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15634         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15635         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15636         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15637         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15638         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15639         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15640         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15641         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15642         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15643         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15644         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15645         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15646         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15647         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15648         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15649         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15650         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15651         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15652         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15653         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15654         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15655         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15656         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15657         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15658         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15659         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15660         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15661         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15662         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15663         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15664         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15665         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15666         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15667         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15668         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15669         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15670         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15671         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15672         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15673         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15674         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15675         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15676         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15677         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15678         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15679         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15680         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15681         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15682         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15683         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15684         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15685         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15686         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15687         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15688         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15689         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15690         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15691         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15692         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15693         * sysdeps/powerpc/sysdep.h: Likewise.
15694         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15695         * sysdeps/s390/s390-64/sub_n.S: Likewise.
15696         * sysdeps/sh/dl-trampoline.S: Likewise.
15697         * sysdeps/sh/memset.S: Likewise.
15698         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15699         * sysdeps/sh/strlen.S: Likewise.
15700         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15701         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15702         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15703         * sysdeps/sparc/sparc32/rem.S: Likewise.
15704         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15705         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15706         * sysdeps/sparc/sparc32/strchr.S: Likewise.
15707         * sysdeps/sparc/sparc32/udiv.S: Likewise.
15708         * sysdeps/sparc/sparc32/urem.S: Likewise.
15709         * sysdeps/sparc/sparc64/add_n.S: Likewise.
15710         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15711         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15712         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15713         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15714         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15715         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15716         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15717         * sysdeps/unix/bsd/times.c: Likewise.
15718         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15719         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15723         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15724         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15725         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15726         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15727         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15728         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15729         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15730         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15731         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15732         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15733         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15734         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15735         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15736         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15737         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15738         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15739         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15740         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15741         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15742         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15743         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15744         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15745         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15746         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15747         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15748         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15749         * sysdeps/x86_64/strcspn.S: Likewise.
15750
15751 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15752
15753         * locale/C-translit.h: Revert #include <stdint.h> because this is a
15754         generated file.  Regenerate properly from gen-translit.pl.
15755         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
15756         locale/C-translit.h.
15757
15758 2013-06-05  Andreas Schwab  <schwab@suse.de>
15759
15760         [BZ #15100]
15761         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15762         week as 6 instead of -1.
15763         * time/tst-strptime.c (day_tests): Add test case.
15764
15765 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15766
15767         * sysdeps/generic/math_private.h
15768         (libc_feholdexcept_setround_53bit): Replace with
15769         libc_feholdsetround_53bit.
15770         (libc_feupdateenv_53bit): Replace with
15771         libc_feresetround_53bit.
15772         (SET_RESTORE_ROUND_53BIT): Adjust.
15773
15774 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15775
15776         * string/test-strchrnul.c: Add copyright header.
15777
15778         * posix/tst-getaddrinfo4.c: Increase test timeout.
15779
15780 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
15781
15782         [BZ #15536]
15783         * math/libm-test.inc (MAX_EXP): Remove
15784         (MIN_EXP): Define.
15785         (ulp): Use MIN_EXP - MANT_DIG.
15786         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15787
15788 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
15789
15790         * po/be.po: Revert last change.
15791         * po/zh_CN.po: Likewise.
15792         * po/header.pot: Likewise.
15793
15794 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
15795
15796         * Makefile ($(common-objpfx)linkobj/libc.so): Define
15797         link-libc-deps to empty as target-specific variable.
15798         * Makerules (link-libc-args): New variable.
15799         (libc-for-link): Likewise.
15800         (link-libc-deps): Likewise.
15801         (lib%.so): Depend on $(link-libc-deps).  Link with
15802         $(link-libc-args).
15803         (build-module): Link with $(link-libc-args).
15804         (build-module-asneeded): Likewise.
15805         (build-module-helper-objlist): Filter out $(link-libc-deps) from
15806         list of objects.
15807         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15808         target-specific variable.
15809         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15810         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15811         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15812         libc.
15813         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15814         libc and ld.so.
15815         ($(objpfx)libpcprofile.so): Likewise.
15816         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15817         libc_nonshared.a.
15818         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15819         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15820         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15821         $(link-libc-deps).
15822         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15823         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15824         * login/Makefile ($(objpfx)libutil.so): Likewise.
15825         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15826         * math/Makefile ($(objpfx)libm.so): Likewise.
15827         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15828         $(objpfx)libnsl.so): Define libc-for-link as target-specific
15829         variable instead of depending directly on libc.
15830         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15831         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15832         $(link-libc-deps).
15833         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15834         libc.
15835         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15836         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15837         ($(objpfx)libanl.so): Likewise.
15838         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15839         ld.so.
15840         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15841         $(link-libc-deps).
15842         * sysdeps/i386/fpu/Makefile: Remove file.
15843         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15844         ($(objpfx)libm.so): Remove dependency on ld.so.
15845
15846 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
15847
15848         [BZ # 15553]
15849         * nis/yp_xdr.c (XDRMAXNAME): Define.
15850         (XDRMAXRECORD): Define.
15851         (xdr_domainname): Use XDRMAXNAME.
15852         (xdr_mapname): Likewise.
15853         (xdr_peername): Likewise.
15854         (xdr_keydat): Use XDRMAXRECORD.
15855         (xdr_valdat): Likewise.
15856
15857 2013-05-30  Jeff Law  <law@redhat.com>
15858
15859         [BZ #14256]
15860         * manual/errno.texi (ESTALE): Update to account for more than
15861         just NFS file systems.
15862         * sysdeps/gnu/errlist.c: Regenerated.
15863
15864 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15865
15866         [BZ #15465]
15867         * elf/Makefile (tests): Add tst-null-argv.
15868         (modules-names):  Add tst-null-argv-lib.
15869         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15870         (tst-null-argv-ENV): Set environment for tst-null-argv.
15871         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15872         (RTLD_PROGNAME): New macro.
15873         * elf/tst-null-argv.c: New test case.
15874         * elf/tst-null-argv-lib.c: Library for test case.
15875         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15876         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15877         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15878         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15879         * elf/dl-init.c (call_init): Likewise.
15880         (_dl_init): Likewise.
15881         * elf/dl-load.c (print_search_path): Likewise.
15882         (_dl_map_object): Likewise.
15883         * elf/dl-lookup.c (do_lookup_x): Likewise.
15884         (add_dependency): Likewise.
15885         (_dl_lookup_symbol_x): Likewise.
15886         (_dl_debug_bindings): Likewise.
15887         * elf/dl-open.c (_dl_show_scope): Likewise.
15888         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15889         * elf/dl-version.c (match_symbol): Likewise.
15890         (_dl_check_map_versions): Likewise.
15891         * elf/rtld.c (dl_main): Likewise.
15892         (print_unresolved): Use RTLD_PROGNAME.
15893         (print_missing_version): Likewise.
15894         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15895         (elf_machine_rela): Likewise.
15896         * sysdeps/powerpc/powerpc32/dl-machine.c
15897         (__process_machine_rela): Likewise.
15898         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15899         Likewise.
15900         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15901         Likewise.
15902         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15903         Likewise.
15904         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15905         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15906         Likewise.
15907         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15908         Likewise.
15909         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15910
15911 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
15912
15913         * po/be.po: Add descriptive title.
15914         * po/zh_CN.po: Likewise.
15915         * po/header.pot: Likewise.
15916
15917 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
15918
15919         * locale/programs/locarchive.c (create_archive): Inlucde fname in
15920         error message.
15921         (enlarge_archive): Likewise.
15922
15923 2013-05-28  Ben North  <ben@redfrontdoor.org>
15924
15925         * manual/arith.texi (frexp): It is the magnitude of the return
15926         value which lies in [0.5, 1), not the return value itself.
15927
15928 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15929
15930         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15931
15932 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
15933
15934         * stdio-common/bug26.c (main): Correct fscanf template.
15935
15936         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15937         declare _dl_skip_args.
15938
15939         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15940         Don't declare.
15941
15942         * manual/platform.texi: Add missing @end deftypefun.
15943
15944 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15945
15946         [BZ #15529]
15947         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15948         bit of mantissa of 2^16382.
15949         * math/libm-test.inc (hypot_test_data): Add more tests.
15950
15951         * math/libm-test.inc: Add drem and pow10 to list of tested
15952         functions.
15953         (pow10_test): New function.
15954         (drem_test): Likewise.
15955         (drem_test_tonearest): Likewise.
15956         (drem_test_towardzero): Likewise.
15957         (drem_test_downward): Likewise.
15958         (drem_test_upward): Likewise.
15959         (main): Call the new functions.
15960
15961         * math/libm-test.inc (finite_test_data): Remove.
15962         (finite_test): Run tests from isfinite_test_data.
15963         (gamma_test_data): Remove.
15964         (gamma_test): Run tests from lgamma_test_data.
15965         * sysdeps/i386/fpu/libm-test-ulps: Update.
15966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15967
15968 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15969
15970         * manual/platform.texi: Add PowerPC PPR function set documentation.
15971         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15972         implementation.
15973
15974 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
15975
15976         * math/libm-test.inc (MAX_EXP): Define.
15977         (ULPDIFF): Define.
15978         (ulp): New function.
15979         (check_float_internal): Use ULPDIFF.
15980         (cpow_test): Disable failing test.
15981         (check_ulp): Test ulp() implemetnation.
15982         (main): Call check_ulp before starting tests.
15983
15984 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15985
15986         * math/gen-libm-test.pl (generate_testfile): Do not handle
15987         START_DATA and END_DATA.
15988         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15989         END_DATA.
15990         (acos_tonearest_test_data): Likewise.
15991         (acos_towardzero_test_data): Likewise.
15992         (acos_downward_test_data): Likewise.
15993         (acos_upward_test_data): Likewise.
15994         (acosh_test_data): Likewise.
15995         (asin_test_data): Likewise.
15996         (asin_tonearest_test_data): Likewise.
15997         (asin_towardzero_test_data): Likewise.
15998         (asin_downward_test_data): Likewise.
15999         (asin_upward_test_data): Likewise.
16000         (asinh_test_data): Likewise.
16001         (atan_test_data): Likewise.
16002         (atanh_test_data): Likewise.
16003         (atan2_test_data): Likewise.
16004         (cabs_test_data): Likewise.
16005         (cacos_test_data): Likewise.
16006         (cacosh_test_data): Likewise.
16007         (carg_test_data): Likewise.
16008         (casin_test_data): Likewise.
16009         (casinh_test_data): Likewise.
16010         (catan_test_data): Likewise.
16011         (catanh_test_data): Likewise.
16012         (cbrt_test_data): Likewise.
16013         (ccos_test_data): Likewise.
16014         (ccosh_test_data): Likewise.
16015         (ceil_test_data): Likewise.
16016         (cexp_test_data): Likewise.
16017         (cimag_test_data): Likewise.
16018         (clog_test_data): Likewise.
16019         (clog10_test_data): Likewise.
16020         (conj_test_data): Likewise.
16021         (copysign_test_data): Likewise.
16022         (cos_test_data): Likewise.
16023         (cos_tonearest_test_data): Likewise.
16024         (cos_towardzero_test_data): Likewise.
16025         (cos_downward_test_data): Likewise.
16026         (cos_upward_test_data): Likewise.
16027         (cosh_test_data): Likewise.
16028         (cosh_tonearest_test_data): Likewise.
16029         (cosh_towardzero_test_data): Likewise.
16030         (cosh_downward_test_data): Likewise.
16031         (cosh_upward_test_data): Likewise.
16032         (cpow_test_data): Likewise.
16033         (cproj_test_data): Likewise.
16034         (creal_test_data): Likewise.
16035         (csin_test_data): Likewise.
16036         (csinh_test_data): Likewise.
16037         (csqrt_test_data): Likewise.
16038         (ctan_test_data): Likewise.
16039         (ctan_tonearest_test_data): Likewise.
16040         (ctan_towardzero_test_data): Likewise.
16041         (ctan_downward_test_data): Likewise.
16042         (ctan_upward_test_data): Likewise.
16043         (ctanh_test_data): Likewise.
16044         (ctanh_tonearest_test_data): Likewise.
16045         (ctanh_towardzero_test_data): Likewise.
16046         (ctanh_downward_test_data): Likewise.
16047         (ctanh_upward_test_data): Likewise.
16048         (erf_test_data): Likewise.
16049         (erfc_test_data): Likewise.
16050         (exp_test_data): Likewise.
16051         (exp_tonearest_test_data): Likewise.
16052         (exp_towardzero_test_data): Likewise.
16053         (exp_downward_test_data): Likewise.
16054         (exp_upward_test_data): Likewise.
16055         (exp10_test_data): Likewise.
16056         (exp2_test_data): Likewise.
16057         (expm1_test_data): Likewise.
16058         (fabs_test_data): Likewise.
16059         (fdim_test_data): Likewise.
16060         (finite_test_data): Likewise.
16061         (floor_test_data): Likewise.
16062         (fma_test_data): Likewise.
16063         (fma_towardzero_test_data): Likewise.
16064         (fma_downward_test_data): Likewise.
16065         (fma_upward_test_data): Likewise.
16066         (fmax_test_data): Likewise.
16067         (fmin_test_data): Likewise.
16068         (fmod_test_data): Likewise.
16069         (fpclassify_test_data): Likewise.
16070         (frexp_test_data): Likewise.
16071         (gamma_test_data): Likewise.
16072         (hypot_test_data): Likewise.
16073         (ilogb_test_data): Likewise.
16074         (isfinite_test_data): Likewise.
16075         (isgreater_test_data): Likewise.
16076         (isgreaterequal_test_data): Likewise.
16077         (isinf_test_data): Likewise.
16078         (isless_test_data): Likewise.
16079         (islessequal_test_data): Likewise.
16080         (islessgreater_test_data): Likewise.
16081         (isnan_test_data): Likewise.
16082         (isnormal_test_data): Likewise.
16083         (issignaling_test_data): Likewise.
16084         (isunordered_test_data): Likewise.
16085         (j0_test_data): Likewise.
16086         (j1_test_data): Likewise.
16087         (jn_test_data): Likewise.
16088         (ldexp_test_data): Likewise.
16089         (lgamma_test_data): Likewise.
16090         (lrint_test_data): Likewise.
16091         (lrint_tonearest_test_data): Likewise.
16092         (lrint_towardzero_test_data): Likewise.
16093         (lrint_downward_test_data): Likewise.
16094         (lrint_upward_test_data): Likewise.
16095         (llrint_test_data): Likewise.
16096         (llrint_tonearest_test_data): Likewise.
16097         (llrint_towardzero_test_data): Likewise.
16098         (llrint_downward_test_data): Likewise.
16099         (llrint_upward_test_data): Likewise.
16100         (log_test_data): Likewise.
16101         (log10_test_data): Likewise.
16102         (log1p_test_data): Likewise.
16103         (log2_test_data): Likewise.
16104         (logb_test_data): Likewise.
16105         (logb_downward_test_data): Likewise.
16106         (lround_test_data): Likewise.
16107         (llround_test_data): Likewise.
16108         (modf_test_data): Likewise.
16109         (nearbyint_test_data): Likewise.
16110         (nextafter_test_data): Likewise.
16111         (nexttoward_test_data): Likewise.
16112         (pow_test_data): Likewise.
16113         (pow_tonearest_test_data): Likewise.
16114         (pow_towardzero_test_data): Likewise.
16115         (pow_downward_test_data): Likewise.
16116         (pow_upward_test_data): Likewise.
16117         (remainder_test_data): Likewise.
16118         (remainder_tonearest_test_data): Likewise.
16119         (remainder_towardzero_test_data): Likewise.
16120         (remainder_downward_test_data): Likewise.
16121         (remainder_upward_test_data): Likewise.
16122         (remquo_test_data): Likewise.
16123         (rint_test_data): Likewise.
16124         (rint_tonearest_test_data): Likewise.
16125         (rint_towardzero_test_data): Likewise.
16126         (rint_downward_test_data): Likewise.
16127         (rint_upward_test_data): Likewise.
16128         (round_test_data): Likewise.
16129         (scalb_test_data): Likewise.
16130         (scalbn_test_data): Likewise.
16131         (scalbln_test_data): Likewise.
16132         (signbit_test_data): Likewise.
16133         (sin_test_data): Likewise.
16134         (sin_tonearest_test_data): Likewise.
16135         (sin_towardzero_test_data): Likewise.
16136         (sin_downward_test_data): Likewise.
16137         (sin_upward_test_data): Likewise.
16138         (sincos_test_data): Likewise.
16139         (sinh_test_data): Likewise.
16140         (sinh_tonearest_test_data): Likewise.
16141         (sinh_towardzero_test_data): Likewise.
16142         (sinh_downward_test_data): Likewise.
16143         (sinh_upward_test_data): Likewise.
16144         (sqrt_test_data): Likewise.
16145         (tan_test_data): Likewise.
16146         (tan_tonearest_test_data): Likewise.
16147         (tan_towardzero_test_data): Likewise.
16148         (tan_downward_test_data): Likewise.
16149         (tan_upward_test_data): Likewise.
16150         (tanh_test_data): Likewise.
16151         (tgamma_test_data): Likewise.
16152         (trunc_test_data): Likewise.
16153         (y0_test_data): Likewise.
16154         (y1_test_data): Likewise.
16155         (yn_test_data): Likewise.
16156         (significand_test_data): Likewise.
16157
16158         * math/gen-libm-test.pl (@functions): Remove variable.
16159         (generate_testfile): Don't handle START and END lines.
16160         * math/libm-test.inc (START): New macro.
16161         (END): Likewise.
16162         (END_COMPLEX): Likewise.
16163         (acos_test): Use END macro without arguments.
16164         (acos_test_tonearest): Likewise.
16165         (acos_test_towardzero): Likewise.
16166         (acos_test_downward): Likewise.
16167         (acos_test_upward): Likewise.
16168         (acosh_test): Likewise.
16169         (asin_test): Likewise.
16170         (asin_test_tonearest): Likewise.
16171         (asin_test_towardzero): Likewise.
16172         (asin_test_downward): Likewise.
16173         (asin_test_upward): Likewise.
16174         (asinh_test): Likewise.
16175         (atan_test): Likewise.
16176         (atanh_test): Likewise.
16177         (atan2_test): Likewise.
16178         (cabs_test): Likewise.
16179         (cacos_test): Use END_COMPLEX macro without arguments.
16180         (cacosh_test): Likewise.
16181         (carg_test): Use END macro without arguments.
16182         (casin_test): Use END_COMPLEX macro without arguments.
16183         (casinh_test): Likewise.
16184         (catan_test): Likewise.
16185         (catanh_test): Likewise.
16186         (cbrt_test): Use END macro without arguments.
16187         (ccos_test): Use END_COMPLEX macro without arguments.
16188         (ccosh_test): Likewise.
16189         (ceil_test): Use END macro without arguments.
16190         (cexp_test): Use END_COMPLEX macro without arguments.
16191         (cimag_test): Use END macro without arguments.
16192         (clog_test): Use END_COMPLEX macro without arguments.
16193         (clog10_test): Likewise.
16194         (conj_test): Likewise.
16195         (copysign_test): Use END macro without arguments.
16196         (cos_test): Likewise.
16197         (cos_test_tonearest): Likewise.
16198         (cos_test_towardzero): Likewise.
16199         (cos_test_downward): Likewise.
16200         (cos_test_upward): Likewise.
16201         (cosh_test): Likewise.
16202         (cosh_test_tonearest): Likewise.
16203         (cosh_test_towardzero): Likewise.
16204         (cosh_test_downward): Likewise.
16205         (cosh_test_upward): Likewise.
16206         (cpow_test): Use END_COMPLEX macro without arguments.
16207         (cproj_test): Likewise.
16208         (creal_test): Use END macro without arguments.
16209         (csin_test): Use END_COMPLEX macro without arguments.
16210         (csinh_test): Likewise.
16211         (csqrt_test): Likewise.
16212         (ctan_test): Likewise.
16213         (ctan_test_tonearest): Likewise.
16214         (ctan_test_towardzero): Likewise.
16215         (ctan_test_downward): Likewise.
16216         (ctan_test_upward): Likewise.
16217         (ctanh_test): Likewise.
16218         (ctanh_test_tonearest): Likewise.
16219         (ctanh_test_towardzero): Likewise.
16220         (ctanh_test_downward): Likewise.
16221         (ctanh_test_upward): Likewise.
16222         (erf_test): Use END macro without arguments.
16223         (erfc_test): Likewise.
16224         (exp_test): Likewise.
16225         (exp_test_tonearest): Likewise.
16226         (exp_test_towardzero): Likewise.
16227         (exp_test_downward): Likewise.
16228         (exp_test_upward): Likewise.
16229         (exp10_test): Likewise.
16230         (exp2_test): Likewise.
16231         (expm1_test): Likewise.
16232         (fabs_test): Likewise.
16233         (fdim_test): Likewise.
16234         (finite_test): Likewise.
16235         (floor_test): Likewise.
16236         (fma_test): Likewise.
16237         (fma_test_towardzero): Likewise.
16238         (fma_test_downward): Likewise.
16239         (fma_test_upward): Likewise.
16240         (fmax_test): Likewise.
16241         (fmin_test): Likewise.
16242         (fmod_test): Likewise.
16243         (fpclassify_test): Likewise.
16244         (frexp_test): Likewise.
16245         (gamma_test): Likewise.
16246         (hypot_test): Likewise.
16247         (ilogb_test): Likewise.
16248         (isfinite_test): Likewise.
16249         (isgreater_test): Likewise.
16250         (isgreaterequal_test): Likewise.
16251         (isinf_test): Likewise.
16252         (isless_test): Likewise.
16253         (islessequal_test): Likewise.
16254         (islessgreater_test): Likewise.
16255         (isnan_test): Likewise.
16256         (isnormal_test): Likewise.
16257         (issignaling_test): Likewise.
16258         (isunordered_test): Likewise.
16259         (j0_test): Likewise.
16260         (j1_test): Likewise.
16261         (jn_test): Likewise.
16262         (ldexp_test): Likewise.
16263         (lgamma_test): Likewise.
16264         (lrint_test): Likewise.
16265         (lrint_test_tonearest): Likewise.
16266         (lrint_test_towardzero): Likewise.
16267         (lrint_test_downward): Likewise.
16268         (lrint_test_upward): Likewise.
16269         (llrint_test): Likewise.
16270         (llrint_test_tonearest): Likewise.
16271         (llrint_test_towardzero): Likewise.
16272         (llrint_test_downward): Likewise.
16273         (llrint_test_upward): Likewise.
16274         (log_test): Likewise.
16275         (log10_test): Likewise.
16276         (log1p_test): Likewise.
16277         (log2_test): Likewise.
16278         (logb_test): Likewise.
16279         (logb_test_downward): Likewise.
16280         (lround_test): Likewise.
16281         (llround_test): Likewise.
16282         (modf_test): Likewise.
16283         (nearbyint_test): Likewise.
16284         (nextafter_test): Likewise.
16285         (nexttoward_test): Likewise.
16286         (pow_test): Likewise.
16287         (pow_test_tonearest): Likewise.
16288         (pow_test_towardzero): Likewise.
16289         (pow_test_downward): Likewise.
16290         (pow_test_upward): Likewise.
16291         (remainder_test): Likewise.
16292         (remainder_test_tonearest): Likewise.
16293         (remainder_test_towardzero): Likewise.
16294         (remainder_test_downward): Likewise.
16295         (remainder_test_upward): Likewise.
16296         (remquo_test): Likewise.
16297         (rint_test): Likewise.
16298         (rint_test_tonearest): Likewise.
16299         (rint_test_towardzero): Likewise.
16300         (rint_test_downward): Likewise.
16301         (rint_test_upward): Likewise.
16302         (round_test): Likewise.
16303         (scalb_test): Likewise.
16304         (scalbn_test): Likewise.
16305         (scalbln_test): Likewise.
16306         (signbit_test): Likewise.
16307         (sin_test): Likewise.
16308         (sin_test_tonearest): Likewise.
16309         (sin_test_towardzero): Likewise.
16310         (sin_test_downward): Likewise.
16311         (sin_test_upward): Likewise.
16312         (sincos_test): Likewise.
16313         (sinh_test): Likewise.
16314         (sinh_test_tonearest): Likewise.
16315         (sinh_test_towardzero): Likewise.
16316         (sinh_test_downward): Likewise.
16317         (sinh_test_upward): Likewise.
16318         (sqrt_test): Likewise.
16319         (tan_test): Likewise.
16320         (tan_test_tonearest): Likewise.
16321         (tan_test_towardzero): Likewise.
16322         (tan_test_downward): Likewise.
16323         (tan_test_upward): Likewise.
16324         (tanh_test): Likewise.
16325         (tgamma_test): Likewise.
16326         (trunc_test): Likewise.
16327         (y0_test): Likewise.
16328         (y1_test): Likewise.
16329         (yn_test): Likewise.
16330         (significand_test): Likewise.
16331
16332 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
16333
16334         [BZ #15381]
16335         * libio/genops.c (_IO_no_init): Initialize wide struct info.
16336
16337 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16338
16339         [BZ #14894]
16340         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16341         __ppc_mdoio and __ppc_mdoom.
16342         * manual/platform.texi: Document new functions __ppc_yield,
16343         __ppc_mdoio and __ppc_mdoom.
16344
16345 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
16346
16347         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16348         (main): Mention "tls" pseudo-hwcap is legacy.
16349         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16350
16351 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16352
16353         * math/gen-libm-test.pl (parse_args): Output only string of
16354         arguments as text for test name, not full call or descriptions of
16355         tests for extra outputs.
16356         (generate_testfile): Do not pass function name to parse_args.
16357         Generate this_func variable from START.
16358         * math/libm-test.inc (struct test_f_f_data): Rename test_name
16359         field to arg_str.
16360         (struct test_ff_f_data): Likewise.
16361         (test_ff_f_data_nexttoward): Likewise.
16362         (struct test_fi_f_data): Likewise.
16363         (struct test_fl_f_data): Likewise.
16364         (struct test_if_f_data): Likewise.
16365         (struct test_fff_f_data): Likewise.
16366         (struct test_c_f_data): Likewise.
16367         (struct test_f_f1_data): Likewise.  Remove field extra_name.
16368         (struct test_fF_f1_data): Likewise.
16369         (struct test_ffI_f1_data): Likewise.
16370         (struct test_c_c_data): Rename test_name field to arg_str.
16371         (struct test_cc_c_data): Likewise.
16372         (struct test_f_i_data): Likewise.
16373         (struct test_ff_i_data): Likewise.
16374         (struct test_f_l_data): Likewise.
16375         (struct test_f_L_data): Likewise.
16376         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
16377         and extra2_name.
16378         (COMMON_TEST_SETUP): New macro.
16379         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16380         (COMMON_TEST_CLEANUP): Likewise.
16381         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16382         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
16383         macros.
16384         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16385         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
16386         macros.
16387         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16388         (RUN_TEST_fff_f): Take argument string.  Call new setup and
16389         cleanup macros.
16390         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16391         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
16392         macros.
16393         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16394         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
16395         macros.
16396         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16397         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
16398         cleanup macros.
16399         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16400         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
16401         cleanup macros.
16402         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16403         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
16404         cleanup macros.
16405         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16406         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
16407         macros.
16408         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16409         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
16410         macros.
16411         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16412         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
16413         macros.
16414         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16415         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
16416         cleanup macros.
16417         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16418         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
16419         cleanup macros.
16420         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16421         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
16422         macros.
16423         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16424         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
16425         cleanup macros.
16426         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16427         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
16428         macros.
16429         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16430         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
16431         macros.
16432         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16433         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
16434         cleanup macros.
16435         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16436
16437 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
16438
16439         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16440         to _sifields.sigfault.
16441         (si_addr_lsb): Define new macro.
16442         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16443         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16444         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16445
16446 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
16447
16448         [BZ #15441]
16449         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16450         returns -1.
16451         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16452         null return -1.
16453         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16454         loading the domain.
16455
16456 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16457
16458         * math/gen-libm-test.pl (parse_args): Do not include expected
16459         result in test name.
16460         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16461         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16462         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16463         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16464         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16466
16467 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16468
16469         * benchtests/Makefile: Sort function entries.
16470
16471         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16472         tanh, asinh, acosh, atanh.
16473         * benchtests/acos-inputs: New file.
16474         * benchtests/acosh-inputs: New file.
16475         * benchtests/asin-inputs: New file.
16476         * benchtests/asinh-inputs: New file.
16477         * benchtests/atanh-inputs: New file.
16478         * benchtests/cosh-inputs: New file.
16479         * benchtests/log-inputs: New file.
16480         * benchtests/sinh-inputs: New file.
16481         * benchtests/tanh-inputs: New file.
16482
16483 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
16484
16485         [BZ #15339]
16486         * posix/tst-getaddrinfo4.c: New test.
16487         * posix/Makefile (tests): Add it.
16488
16489 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16490
16491         [BZ #15339]
16492         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16493         when no services were used.
16494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16495         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16496
16497 2013-05-21  Andreas Schwab  <schwab@suse.de>
16498
16499         [BZ #15014]
16500         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16501         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16502         successful.
16503         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16504         redundant variable declarations and reallocation of buffer when
16505         parsing as IPv6 address.  Always set NSS status when called from
16506         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
16507         buffer too small.  Correct computation of needed size.
16508         * nss/Makefile (tests): Add test-digits-dots.
16509         * nss/test-digits-dots.c: New test.
16510
16511 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16512
16513         * benchtests/Makefile: Remove instructions for adding
16514         benchmark tests.
16515         * benchtests/README: New file to explain how to execute and
16516         enhance the benchmark tests.
16517
16518 2013-05-21  Andreas Schwab  <schwab@suse.de>
16519
16520         [BZ #15493]
16521         * setjmp/Makefile (tests): Add tst-sigsetjmp.
16522         * setjmp/tst-sigsetjmp.c: New test.
16523
16524 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16525
16526         * sysdeps/x86_64/memset.S (memset): New implementation.
16527         (__bzero): Likewise.
16528         (__memset_tail): New function.
16529
16530 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16531
16532         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16533         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16534         __memcpy_sse2_unaligned ifunc selection.
16535         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16536         Add memcpy-sse2-unaligned.S.
16537         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16538         Add: __memcpy_sse2_unaligned.
16539
16540 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
16541
16542         [BZ #15490]
16543         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16544         math_force_eval before restoring floating-point envrionment.
16545         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16546         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16547         Likewise.
16548         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16549         <math_private.h>.
16550         (__nearbyintl): Use math_force_eval before restoring
16551         floating-point environment.
16552         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16553
16554         * math/gen-libm-test.pl (special_functions): Remove.
16555         (parse_args): Don't handle TEST_extra.  Handle functions with no
16556         return value.
16557         * math/libm-test.inc (struct test_sincos_data): Replace with
16558         struct test_fFF_11_data.
16559         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16560         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16561         (sincos_test_data): Change element type to struct
16562         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
16563         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16564         RUN_TEST_LOOP_sincos.
16565         * math/README.libm-test: Don't mention special handling of
16566         individual functions.
16567         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16568         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16569         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16570         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16571         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16573
16574         * math/gen-libm-test.pl (get_variable): Remove function.
16575         (parse_args): Don't show pointer parameters to call in test
16576         names.  Use "extra output N" in test names for extra outputs
16577         rather than naming variables.
16578
16579 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
16580
16581         [BZ #15488]
16582         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16583         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16584         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16585         double tests.
16586         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16587         disable.
16588         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16589         check_long_double.
16590
16591         * math/gen-libm-test.pl (@tests): Remove variable.
16592         ($count): Likewise.
16593         (new_test): Remove function.
16594         (show_exceptions): New function.
16595         (special_functions): Use show_exceptions instead of new_test.
16596         (parse_args): Likewise.
16597         (generate_testfile): Pass only function name in generated call to
16598         print_max_error or print_complex_max_error.
16599         (get_ulps): Do not handle complex tests specially.
16600         (output_test): Rename to ...
16601         (get_all_ulps_for_test): ... this.  Return a string rather than
16602         printing to a file.  Require ulps to be present.
16603         (output_ulps): Generate arrays rather than #defines.
16604         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16605         (struct ulp_data): New type.
16606         (BUILD_COMPLEX_ULP): Remove macro.
16607         (compare_ulp_data): New function.
16608         (find_ulps): Likewise.
16609         (find_test_ulps): Likewise.
16610         (find_function_ulps): Likewise.
16611         (find_complex_function_ulps): Likewise.
16612         (print_max_error): Determine allowed ulps using
16613         find_function_ulps.
16614         (print_complex_max_error): Determine allowed ulps using
16615         find_complex_function_ulps.
16616         (check_float_internal): Determine max ulps using find_test_ulps.
16617         (check_float): Do not take max_ulp parameter.  Update call to
16618         check_float_internal.
16619         (check_complex): Likewise.
16620         (check_int): Do not take max_ulp parameter.
16621         (check_long): Likewise.
16622         (check_bool): Likewise.
16623         (check_longlong): Likewise.
16624         (struct test_f_f_data): Remove max_ulp field.
16625         (struct test_ff_f_data): Likewise.
16626         (struct test_ff_f_data_nexttoward): Likewise.
16627         (struct test_fi_f_data): Likewise.
16628         (struct test_fl_f_data): Likewise.
16629         (struct test_if_f_data): Likewise.
16630         (struct test_fff_f_data): Likewise.
16631         (struct test_c_f_data): Likewise.
16632         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16633         (struct test_fF_f1_data): Likewise.
16634         (struct test_ffI_f1_data): Likewise.
16635         (struct test_c_c_data): Remove max_ulp field.
16636         (struct test_cc_c_data): Likewise.
16637         (struct test_f_i_data): Likewise.
16638         (struct test_ff_i_data): Likewise.
16639         (struct test_f_l_data): Likewise.
16640         (struct test_f_L_data): Likewise.
16641         (struct test_sincos_data): Likewise.
16642         (RUN_TEST_f_f): Do not handle ulps.
16643         (RUN_TEST_LOOP_f_f): Likewise.
16644         (RUN_TEST_2_f): Likewise.
16645         (RUN_TEST_LOOP_2_f): Likewise.
16646         (RUN_TEST_fff_f): Likewise.
16647         (RUN_TEST_LOOP_fff_f): Likewise.
16648         (RUN_TEST_c_f): Likewise.
16649         (RUN_TEST_LOOP_c_f): Likewise.
16650         (RUN_TEST_f_f1): Likewise.
16651         (RUN_TEST_LOOP_f_f1): Likewise.
16652         (RUN_TEST_fF_f1): Likewise.
16653         (RUN_TEST_LOOP_fF_f1): Likewise.
16654         (RUN_TEST_fI_f1): Likewise.
16655         (RUN_TEST_LOOP_fI_f1): Likewise.
16656         (RUN_TEST_ffI_f1): Likewise.
16657         (RUN_TEST_LOOP_ffI_f1): Likewise.
16658         (RUN_TEST_c_c): Likewise.
16659         (RUN_TEST_LOOP_c_c): Likewise.
16660         (RUN_TEST_cc_c): Likewise.
16661         (RUN_TEST_LOOP_cc_c): Likewise.
16662         (RUN_TEST_f_i): Likewise.
16663         (RUN_TEST_LOOP_f_i): Likewise.
16664         (RUN_TEST_f_i_tg): Likewise.
16665         (RUN_TEST_LOOP_f_i_tg): Likewise.
16666         (RUN_TEST_ff_i_tg): Likewise.
16667         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16668         (RUN_TEST_f_b): Likewise.
16669         (RUN_TEST_LOOP_f_b): Likewise.
16670         (RUN_TEST_f_b_tg): Likewise.
16671         (RUN_TEST_LOOP_f_b_tg): Likewise.
16672         (RUN_TEST_f_l): Likewise.
16673         (RUN_TEST_LOOP_f_l): Likewise.
16674         (RUN_TEST_f_L): Likewise.
16675         (RUN_TEST_LOOP_f_L): Likewise.
16676         (RUN_TEST_sincos): Likewise.
16677         (RUN_TEST_LOOP_sincos): Likewise.
16678
16679 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
16680
16681         [BZ #15480]
16682         [BZ #15485]
16683         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16684         main case of finite arguments, set rounding mode to FE_TONEAREST
16685         and discard exceptions.
16686         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16687         exceptions.
16688         (remainder_tonearest_test_data): New variable.
16689         (remainder_test_tonearest): New function.
16690         (remainder_towardzero_test_data): New variable.
16691         (remainder_test_towardzero): New function.
16692         (remainder_downward_test_data): New variable.
16693         (remainder_test_downward): New function.
16694         (remainder_upward_test_data): New variable.
16695         (remainder_test_upward): New function.
16696         (main): Call the new test functions.
16697
16698         * math/libm-test.inc (struct test_f_f1_data): Remove field
16699         extra_init.
16700         (struct test_fF_f1_data): Likewise.
16701         (struct test_ffI_f1_data): Likewise.
16702         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
16703         based on value of EXTRA_EXPECTED.
16704         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16705         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
16706         EXTRA_VAR based on value of EXTRA_EXPECTED.
16707         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16708         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
16709         EXTRA_VAR based on value of EXTRA_EXPECTED.
16710         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16711         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
16712         EXTRA_VAR based on value of EXTRA_EXPECTED.
16713         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16714         * math/gen-libm-test.pl (parse_args): Don't output initializers
16715         for extra output values.
16716
16717         * math/libm-test.inc (check_int): Expect result to be exactly
16718         equal to expected value and do not handle ulps.
16719         (check_long): Likewise.
16720         (check_longlong): Likewise.
16721
16722         * math/libm-test.inc (ceil_test_data): Test for "inexact"
16723         exceptions.
16724         (cimag_test_data): Likewise.
16725         (conj_test_data): Likewise.
16726         (copysign_test_data): Likewise.
16727         (cproj_test_data): Likewise.
16728         (creal_test_data): Likewise.
16729         (fabs_test_data): Likewise.
16730         (fdim_test_data): Likewise.
16731         (finite_test_data): Likewise.
16732         (floor_test_data): Likewise.
16733         (fmax_test_data): Likewise.
16734         (fmin_test_data): Likewise.
16735         (fmod_test_data): Likewise.
16736         (fpclassify_test_data): Likewise.
16737         (frexp_test_data): Likewise.
16738         (ilogb_test_data): Likewise.
16739         (isfinite_test_data): Likewise.
16740         (isgreater_test_data): Likewise.
16741         (isgreaterequal_test_data): Likewise.
16742         (isinf_test_data): Likewise.
16743         (isless_test_data): Likewise.
16744         (islessequal_test_data): Likewise.
16745         (islessgreater_test_data): Likewise.
16746         (isnan_test_data): Likewise.
16747         (isnormal_test_data): Likewise.
16748         (issignaling_test_data): Likewise.
16749         (isunordered_test_data): Likewise.
16750         (ldexp_test_data): Likewise.
16751         (lrint_test_data): Likewise.
16752         (lrint_test_data) [TEST_FLOAT]: Disable one test.
16753         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16754         (lrint_tonearest_test_data): Test for "inexact" exceptions.
16755         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16756         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16757         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16758         test input.
16759         (lrint_towardzero_test_data): Test for "inexact" exceptions.
16760         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16761         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16762         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16763         that test input.
16764         (lrint_downward_test_data): Test for "inexact" exceptions.
16765         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16766         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16767         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16768         test input.
16769         (lrint_upward_test_data): Test for "inexact" exceptions.
16770         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16771         test input.
16772         (llrint_test_data): Test for "inexact" exceptions.
16773         (llrint_test_data) [TEST_FLOAT]: Disable one test.
16774         (llrint_tonearest_test_data): Test for "inexact" exceptions.
16775         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16776         (llrint_towardzero_test_data): Test for "inexact" exceptions.
16777         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16778         (llrint_downward_test_data): Test for "inexact" exceptions.
16779         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16780         (llrint_upward_test_data): Test for "inexact" exceptions.
16781         (logb_test_data): Likewise.
16782         (logb_downward_test_data): Likewise.
16783         (nextafter_test_data): Likewise.
16784         (nexttoward_test_data): Likewise.
16785         (remainder_test_data): Likewise.
16786         (remquo_test_data): Likewise.
16787         (scalbn_test_data): Likewise.
16788         (scalbln_test_data): Likewise.
16789         (signbit_test_data): Likewise.
16790         (sqrt_test_data): Likewise.
16791         (significand_test_data): Likewise.
16792
16793 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16794
16795         [BZ #15424]
16796         * benchtests/bench-modf.c (struct args): Mark arg0 as
16797         volatile.
16798         * scripts/bench.pl: Mark members of struct args as volatile.
16799
16800 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16801
16802         [BZ # 15497]
16803         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16804         negative infinity on POWER6 or lower.
16805         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16806
16807 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16808
16809         [BZ #15442]
16810         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16811         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16812         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16813         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16814         (_FP_SETQNAN): New macro.
16815         (_FP_SETQNAN_SEMIRAW): Likewise.
16816         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16817         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16818         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16819         (FP_EXTEND): Use _FP_FRAC_SNANP.
16820         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16821         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16822         into account.
16823         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16824         New macro.
16825         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16826         Likewise.
16827
16828 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16829
16830         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16831         with DIVIDE_BY_ZERO_EXCEPTION.
16832         (gamma_test_data): Likewise.
16833         (lgamma_test_data): Likewise.
16834         (log_test_data): Likewise.
16835         (log10_test_data): Likewise.
16836         (log2_test_data): Likewise.
16837         (tgamma_test_data): Likewise.
16838
16839         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16840         (acos_test_tonearest): Likewise.
16841         (acos_test_towardzero): Likewise.
16842         (acos_test_downward): Likewise.
16843         (acos_test_upward): Likewise.
16844         (acosh_test): Likewise.
16845         (asin_test): Likewise.
16846         (asin_test_tonearest): Likewise.
16847         (asin_test_towardzero): Likewise.
16848         (asin_test_downward): Likewise.
16849         (asin_test_upward): Likewise.
16850         (asinh_test): Likewise.
16851         (atan_test): Likewise.
16852         (atanh_test): Likewise.
16853         (atan2_test): Likewise.
16854         (cabs_test): Likewise.
16855         (cacos_test): Likewise.
16856         (cacosh_test): Likewise.
16857         (casin_test): Likewise.
16858         (casinh_test): Likewise.
16859         (catan_test): Likewise.
16860         (catanh_test): Likewise.
16861         (cbrt_test): Likewise.
16862         (ccos_test): Likewise.
16863         (ccosh_test): Likewise.
16864         (cexp_test): Likewise.
16865         (clog_test): Likewise.
16866         (clog10_test): Likewise.
16867         (cos_test): Likewise.
16868         (cos_test_tonearest): Likewise.
16869         (cos_test_towardzero): Likewise.
16870         (cos_test_downward): Likewise.
16871         (cos_test_upward): Likewise.
16872         (cosh_test): Likewise.
16873         (cosh_test_tonearest): Likewise.
16874         (cosh_test_towardzero): Likewise.
16875         (cosh_test_downward): Likewise.
16876         (cosh_test_upward): Likewise.
16877         (cpow_test): Likewise.
16878         (csin_test): Likewise.
16879         (csinh_test): Likewise.
16880         (csqrt_test): Likewise.
16881         (ctan_test): Likewise.
16882         (ctan_test_tonearest): Likewise.
16883         (ctan_test_towardzero): Likewise.
16884         (ctan_test_downward): Likewise.
16885         (ctan_test_upward): Likewise.
16886         (ctanh_test): Likewise.
16887         (ctanh_test_tonearest): Likewise.
16888         (ctanh_test_towardzero): Likewise.
16889         (ctanh_test_downward): Likewise.
16890         (ctanh_test_upward): Likewise.
16891         (erf_test): Likewise.
16892         (erfc_test): Likewise.
16893         (exp_test): Likewise.
16894         (exp_test_tonearest): Likewise.
16895         (exp_test_towardzero): Likewise.
16896         (exp_test_downward): Likewise.
16897         (exp_test_upward): Likewise.
16898         (exp10_test): Likewise.
16899         (exp2_test): Likewise.
16900         (expm1_test): Likewise.
16901         (fmod_test): Likewise.
16902         (gamma_test): Likewise.
16903         (hypot_test): Likewise.
16904         (j0_test): Likewise.
16905         (j1_test): Likewise.
16906         (jn_test): Likewise.
16907         (lgamma_test): Likewise.
16908         (log_test): Likewise.
16909         (log10_test): Likewise.
16910         (log1p_test): Likewise.
16911         (log2_test): Likewise.
16912         (logb_test_downward): Likewise.
16913         (pow_test): Likewise.
16914         (pow_test_tonearest): Likewise.
16915         (pow_test_towardzero): Likewise.
16916         (pow_test_downward): Likewise.
16917         (pow_test_upward): Likewise.
16918         (remainder_test): Likewise.
16919         (remquo_test): Likewise.
16920         (sin_test): Likewise.
16921         (sin_test_tonearest): Likewise.
16922         (sin_test_towardzero): Likewise.
16923         (sin_test_downward): Likewise.
16924         (sin_test_upward): Likewise.
16925         (sincos_test): Likewise.
16926         (sinh_test): Likewise.
16927         (sinh_test_tonearest): Likewise.
16928         (sinh_test_towardzero): Likewise.
16929         (sinh_test_downward): Likewise.
16930         (sinh_test_upward): Likewise.
16931         (sqrt_test): Likewise.
16932         (tan_test): Likewise.
16933         (tan_test_tonearest): Likewise.
16934         (tan_test_towardzero): Likewise.
16935         (tan_test_downward): Likewise.
16936         (tan_test_upward): Likewise.
16937         (tanh_test): Likewise.
16938         (tgamma_test): Likewise.
16939         (y0_test): Likewise.
16940         (y1_test): Likewise.
16941         (yn_test): Likewise.
16942
16943         * math/gen-libm-test.pl (adjust_arg): Remove function.
16944         (special_function): Remove argument $in_func.  Only handle
16945         generating output for tables of tests, not inside functions.
16946         (parse_args): Likewise.
16947         (generate_testfile): Remove variable $in_func.  Update call to
16948         parse_args.
16949         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16950         (MINUS_ZERO_INIT): Rename macro to minus_zero.
16951         (PLUS_INFTY_INIT): Rename macro to plus_infty.
16952         (MINUS_INFTY_INIT): Rename macro to minus_infty.
16953         (QNAN_VALUE_INIT): Rename macro to qnan_value.
16954         (MAX_VALUE_INIT): Rename macro to max_value.
16955         (MIN_VALUE_INIT): Rename macro to min_value.
16956         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16957         (plus_zero): Remove variable.
16958         (minus_zero): Likewise.
16959         (plus_infty): Likewise.
16960         (minus_infty): Likewise.
16961         (qnan_value): Likewise.
16962         (max_value): Likewise.
16963         (min_value): Likewise.
16964         (min_subnorm_value): Likewise.
16965
16966 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16967
16968         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16969         uint64_t or uint32_t usage.
16970         * crypt/sha256-block.c: Likewise.
16971         * crypt/sha256-crypt.c: Likewise.
16972         * crypt/sha256.c: Likewise.
16973         * crypt/sha512-block.c: Likewise.
16974         * crypt/sha512-crypt.c: Likewise.
16975         * crypt/sha512.c: Likewise.
16976         * debug/backtrace-tst.c: Likewise.
16977         * debug/pcprofiledump.c: Likewise.
16978         * elf/cache.c: Likewise.
16979         * elf/dl-cache.c: Likewise.
16980         * elf/dl-misc.c: Likewise.
16981         * elf/dl-profile.c: Likewise.
16982         * elf/dl-support.c: Likewise.
16983         * elf/ldconfig.c: Likewise.
16984         * elf/sprof.c: Likewise.
16985         * iconv/dummy-repertoire.c: Likewise.
16986         * iconv/iconv_charmap.c: Likewise.
16987         * iconv/skeleton.c: Likewise.
16988         * iconvdata/8bit-generic.c: Likewise.
16989         * iconvdata/cp737.h: Likewise.
16990         * iconvdata/cp775.h: Likewise.
16991         * iconvdata/ibm1008.h: Likewise.
16992         * iconvdata/ibm1025.h: Likewise.
16993         * iconvdata/ibm1046.h: Likewise.
16994         * iconvdata/ibm1097.h: Likewise.
16995         * iconvdata/ibm1112.h: Likewise.
16996         * iconvdata/ibm1122.h: Likewise.
16997         * iconvdata/ibm1123.h: Likewise.
16998         * iconvdata/ibm1124.h: Likewise.
16999         * iconvdata/ibm1129.h: Likewise.
17000         * iconvdata/ibm1130.h: Likewise.
17001         * iconvdata/ibm1132.h: Likewise.
17002         * iconvdata/ibm1133.h: Likewise.
17003         * iconvdata/ibm1137.h: Likewise.
17004         * iconvdata/ibm1140.h: Likewise.
17005         * iconvdata/ibm1141.h: Likewise.
17006         * iconvdata/ibm1142.h: Likewise.
17007         * iconvdata/ibm1143.h: Likewise.
17008         * iconvdata/ibm1144.h: Likewise.
17009         * iconvdata/ibm1145.h: Likewise.
17010         * iconvdata/ibm1146.h: Likewise.
17011         * iconvdata/ibm1147.h: Likewise.
17012         * iconvdata/ibm1148.h: Likewise.
17013         * iconvdata/ibm1149.h: Likewise.
17014         * iconvdata/ibm1153.h: Likewise.
17015         * iconvdata/ibm1154.h: Likewise.
17016         * iconvdata/ibm1155.h: Likewise.
17017         * iconvdata/ibm1156.h: Likewise.
17018         * iconvdata/ibm1157.h: Likewise.
17019         * iconvdata/ibm1158.h: Likewise.
17020         * iconvdata/ibm1160.h: Likewise.
17021         * iconvdata/ibm1161.h: Likewise.
17022         * iconvdata/ibm1162.h: Likewise.
17023         * iconvdata/ibm1163.h: Likewise.
17024         * iconvdata/ibm1164.h: Likewise.
17025         * iconvdata/ibm1166.h: Likewise.
17026         * iconvdata/ibm1167.h: Likewise.
17027         * iconvdata/ibm12712.h: Likewise.
17028         * iconvdata/ibm1390.h: Likewise.
17029         * iconvdata/ibm1399.h: Likewise.
17030         * iconvdata/ibm16804.h: Likewise.
17031         * iconvdata/ibm4517.h: Likewise.
17032         * iconvdata/ibm4899.h: Likewise.
17033         * iconvdata/ibm4909.h: Likewise.
17034         * iconvdata/ibm4971.h: Likewise.
17035         * iconvdata/ibm5347.h: Likewise.
17036         * iconvdata/ibm803.h: Likewise.
17037         * iconvdata/ibm856.h: Likewise.
17038         * iconvdata/ibm901.h: Likewise.
17039         * iconvdata/ibm902.h: Likewise.
17040         * iconvdata/ibm9030.h: Likewise.
17041         * iconvdata/ibm9066.h: Likewise.
17042         * iconvdata/ibm921.h: Likewise.
17043         * iconvdata/ibm922.h: Likewise.
17044         * iconvdata/ibm9448.h: Likewise.
17045         * iconvdata/isiri-3342.h: Likewise.
17046         * iconvdata/jis0201.h: Likewise.
17047         * include/link.h: Likewise.
17048         * include/netdb.h: Likewise.
17049         * inet/check_native.c: Likewise.
17050         * inet/check_pf.c: Likewise.
17051         * inet/getipv4sourcefilter.c: Likewise.
17052         * inet/getnameinfo.c: Likewise.
17053         * inet/getsourcefilter.c: Likewise.
17054         * inet/htonl.c: Likewise.
17055         * inet/setipv4sourcefilter.c: Likewise.
17056         * inet/setsourcefilter.c: Likewise.
17057         * inet/test-inet6_opt.c: Likewise.
17058         * inet/tst-network.c: Likewise.
17059         * locale/C-collate.c: Likewise.
17060         * locale/C-ctype.c: Likewise.
17061         * locale/C-time.c: Likewise.
17062         * locale/C-translit.h: Likewise.
17063         * locale/loadarchive.c: Likewise.
17064         * locale/programs/3level.h: Likewise.
17065         * locale/programs/charmap.c: Likewise.
17066         * locale/programs/charmap.h: Likewise.
17067         * locale/programs/ld-address.c: Likewise.
17068         * locale/programs/ld-collate.c: Likewise.
17069         * locale/programs/ld-ctype.c: Likewise.
17070         * locale/programs/ld-identification.c: Likewise.
17071         * locale/programs/ld-measurement.c: Likewise.
17072         * locale/programs/ld-messages.c: Likewise.
17073         * locale/programs/ld-monetary.c: Likewise.
17074         * locale/programs/ld-name.c: Likewise.
17075         * locale/programs/ld-numeric.c: Likewise.
17076         * locale/programs/ld-paper.c: Likewise.
17077         * locale/programs/ld-telephone.c: Likewise.
17078         * locale/programs/ld-time.c: Likewise.
17079         * locale/programs/linereader.c: Likewise.
17080         * locale/programs/locale.c: Likewise.
17081         * locale/programs/locarchive.c: Likewise.
17082         * locale/programs/locfile.h: Likewise.
17083         * locale/programs/repertoire.c: Likewise.
17084         * locale/programs/simple-hash.c: Likewise.
17085         * locale/programs/simple-hash.h: Likewise.
17086         * malloc/memusage.c: Likewise.
17087         * malloc/memusagestat.c: Likewise.
17088         * nis/nis_defaults.c: Likewise.
17089         * nis/nis_hash.c: Likewise.
17090         * nis/nis_print.c: Likewise.
17091         * nis/nis_xdr.c: Likewise.
17092         * nscd/connections.c: Likewise.
17093         * nscd/hstcache.c: Likewise.
17094         * nscd/nscd_gethst_r.c: Likewise.
17095         * nscd/nscd_getserv_r.c: Likewise.
17096         * nscd/nscd_helper.c: Likewise.
17097         * nscd/servicescache.c: Likewise.
17098         * nss/makedb.c: Likewise.
17099         * nss/nss_db/db-XXX.c: Likewise.
17100         * nss/nss_db/db-initgroups.c: Likewise.
17101         * nss/nss_db/db-netgrp.c: Likewise.
17102         * nss/nss_files/files-network.c: Likewise.
17103         * nss/nss_files/files-parse.c: Likewise.
17104         * posix/bug-regex5.c: Likewise.
17105         * posix/fnmatch_loop.c: Likewise.
17106         * posix/regcomp.c: Likewise.
17107         * posix/regexec.c: Likewise.
17108         * posix/tst-rfc3484-2.c: Likewise.
17109         * posix/tst-rfc3484-3.c: Likewise.
17110         * posix/tst-rfc3484.c: Likewise.
17111         * resolv/nss_dns/dns-canon.c: Likewise.
17112         * resolv/nss_dns/dns-network.c: Likewise.
17113         * resolv/res_init.c: Likewise.
17114         * resolv/res_mkquery.c: Likewise.
17115         * resolv/tst-aton.c: Likewise.
17116         * stdlib/cxa_atexit.c: Likewise.
17117         * stdlib/cxa_finalize.c: Likewise.
17118         * stdlib/gen-fpioconst.c: Likewise.
17119         * stdlib/strtol_l.c: Likewise.
17120         * string/tst-endian.c: Likewise.
17121         * sunrpc/auth_des.c: Likewise.
17122         * sunrpc/clnt_udp.c: Likewise.
17123         * sunrpc/rtime.c: Likewise.
17124         * sunrpc/svcauth_des.c: Likewise.
17125         * sunrpc/xdr.c: Likewise.
17126         * sunrpc/xdr_intXX_t.c: Likewise.
17127         * sunrpc/xdr_rec.c: Likewise.
17128         * sysdeps/generic/ldconfig.h: Likewise.
17129         * sysdeps/generic/ldsodefs.h: Likewise.
17130         * sysdeps/generic/memusage.h: Likewise.
17131         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17132         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17133         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17134         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17135         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17136         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17137         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17138         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17139         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17140         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17141         * sysdeps/posix/getaddrinfo.c: Likewise.
17142         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17143         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17144         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17145         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17146         * sysdeps/powerpc/test-gettimebase.c: Likewise.
17147         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17148         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17149         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17150         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17151         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17152         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17153         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17154         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17155         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17156         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17157         * sysdeps/x86_64/dl-tls.h: Likewise.
17158         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17159         * time/alt_digit.c: Likewise.
17160         * time/era.c: Likewise.
17161         * wcsmbs/tst-c16c32-1.c: Likewise.
17162
17163 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17164
17165         * math/libm-test.inc (struct test_sincos_data): New type.
17166         (RUN_TEST_LOOP_sincos): New macro.
17167         (sincos_test_data): New variable.
17168         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17169
17170 2013-05-16  Richard Henderson  <rth@redhat.com>
17171
17172         * math/atest-exp2.c (LIMB64): New macro.
17173         (CONSTSZ): New macro.
17174         (mp_exp1, mp_exp_m1, mp_log2): New variables.
17175         (hexdig): Move ...
17176         (print_mpn_fp): ... to function scope.
17177         (read_mpn_hex): Remove.
17178         (get_log2): Remove.
17179         (exp2_mpn): Use mp_log2.
17180         (main): Use mp_exp1.
17181
17182 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17183
17184         * math/libm-test.inc: Remove comment about not testing "inexact"
17185         exceptions.
17186         (INEXACT_EXCEPTION): New macro.
17187         (NO_INEXACT_EXCEPTION): Likewise.
17188         (INVALID_EXCEPTION_OK): Update value.
17189         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17190         (OVERFLOW_EXCEPTION_OK): Likewise.
17191         (UNDERFLOW_EXCEPTION_OK): Likewise.
17192         (IGNORE_ZERO_INF_SIGN): Likewise.
17193         (ERRNO_UNCHANGED): Likewise.
17194         (ERRNO_EDOM): Likewise.
17195         (ERRNO_ERANGE): Likewise.
17196         (test_exceptions): Handle testing "inexact" exceptions.
17197         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17198         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17199         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17200         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17201         INEXACT_EXCEPTION.
17202         (rint_towardzero_test_data): Likewise.
17203         (rint_downward_test_data): Likewise.
17204         (rint_upward_test_data): Likewise.
17205
17206         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17207         with OVERFLOW_EXCEPTION.
17208         (exp10_test_data): Likewise.
17209         (exp2_test_data): Likewise.
17210         (expm1_test_data): Likewise.
17211         (lgamma_test_data): Likewise.
17212         (pow_test_data): Likewise.
17213         (tgamma_test_data): Likewise.
17214         (yn_test_data): Remove duplicate test of overflow.
17215
17216         * math/libm-test.inc (struct test_cc_c_data): New type.
17217         (RUN_TEST_LOOP_cc_c): New macro.
17218         (cpow_test_data): New variable.
17219         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17220
17221         * math/libm-test.inc (struct test_f_L_data): New type.
17222         (RUN_TEST_LOOP_f_L): New macro.
17223         (llrint_test_data): New variable.
17224         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17225         (llrint_tonearest_test_data): New variable.
17226         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17227         (llrint_towardzero_test_data): New variable.
17228         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17229         (llrint_downward_test_data): New variable.
17230         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17231         (llrint_upward_test_data): New variable.
17232         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17233         (llround_test_data): New variable.
17234         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17235
17236 2013-05-13  Peter Collingbourne  <pcc@google.com>
17237
17238         * math/atest-exp2.c (get_log2): Remove const attribute.
17239
17240 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17241
17242         * math/libm-test.inc (struct test_f_l_data): New type.
17243         (RUN_TEST_LOOP_f_l): New macro.
17244         (lrint_test_data): New variable.
17245         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17246         (lrint_tonearest_test_data): New variable.
17247         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17248         (lrint_towardzero_test_data): New variable.
17249         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17250         (lrint_downward_test_data): New variable.
17251         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17252         (lrint_upward_test_data): New variable.
17253         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17254         (lround_test_data): New variable.
17255         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17256
17257 2013-05-15  Peter Collingbourne  <pcc@google.com>
17258
17259         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17260         (EXTRACT_WORDS64) Use where appropriate.
17261         (INSERT_WORDS64) Likewise.
17262
17263         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17264         constraints with x constraints.
17265         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17266
17267         * malloc/obstack.c (_obstack_compat): Add initializer.
17268
17269 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17270
17271         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17272         si_trapno and add si_addr_lsb to _sifields.sigfault.
17273         (si_trapno): Remove macro.
17274         (si_addr_lsb): Define new macro.
17275         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17276
17277 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17278
17279         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17280         instead of TEST_f_l.
17281         (llrint_test_tonearest): Likewise.
17282         (llrint_test_towardzero): Likewise.
17283         (llrint_test_downward): Likewise.
17284         (llrint_test_upward): Likewise.
17285         (llround_test): Likewise.
17286
17287         * math/libm-test.inc (struct test_f_i_data): Add comment.
17288         (RUN_TEST_LOOP_f_b): New macro.
17289         (RUN_TEST_LOOP_f_b_tg): Likewise.
17290         (finite_test_data): New variable.
17291         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17292         (isfinite_test_data): New variable.
17293         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17294         (isinf_test_data): New variable.
17295         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17296         (isnan_test_data): New variable.
17297         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17298         (isnormal_test_data): New variable.
17299         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17300         (issignaling_test_data): New variable.
17301         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17302         (signbit_test_data): New variable.
17303         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17304
17305         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17306         with INVALID_EXCEPTION.
17307         (acosh_test_data): Likewise.
17308         (asin_test_data): Likewise.
17309         (atanh_test_data): Likewise.
17310         (fmod_test_data): Likewise.
17311         (log_test_data): Likewise.
17312         (log10_test_data): Likewise.
17313         (log2_test_data): Likewise.
17314         (pow_test_data): Likewise.
17315         (sqrt_test_data): Likewise.
17316         (y0_test_data): Likewise.
17317         (y1_test_data): Likewise.
17318         (yn_test_data): Likewise.
17319
17320         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17321         function contents.
17322
17323         * math/libm-test.inc (struct test_ff_i_data): New type.
17324         (RUN_TEST_LOOP_ff_i_tg): New macro.
17325         (isgreater_test_data): New variable.
17326         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17327         (isgreaterequal_test_data): New variable.
17328         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17329         (isless_test_data): New variable.
17330         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17331         (islessequal_test_data): New variable.
17332         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17333         (islessgreater_test_data): New variable.
17334         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17335         (isunordered_test_data): New variable.
17336         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17337
17338 2013-05-14  David S. Miller  <davem@davemloft.net>
17339
17340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17341
17342 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
17343
17344         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17345
17346         * math/libm-test.inc (struct test_fF_f1_data): Change type of
17347         extra_test to int.
17348         (struct test_f_i_data): Change type of max_ulp to int.
17349
17350         * math/libm-test.inc (test_ffI_f1_data): New type.
17351         (RUN_TEST_LOOP_ffI_f1): New macro.
17352         (remquo_test_data): New variable.
17353         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17354
17355         * setjmp/tst-setjmp-fp.c: New file.
17356         * setjmp/Makefile (tests): Add tst-setjmp-fp.
17357         (link-libm): New variable.
17358         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17359
17360         * math/libm-test.inc (struct test_f_i_data): New type.
17361         (RUN_TEST_LOOP_f_i): New macro.
17362         (RUN_TEST_LOOP_f_i_tg): Likewise.
17363         (fpclassify_test_data): New variable.
17364         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17365         (ilogb_test_data): New variable.
17366         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17367
17368         * math/libm-test.inc (scalbln_test): Correct function name in END
17369         call.
17370
17371         * math/libm-test.inc (struct test_f_f1_data): Add comment.
17372         (RUN_TEST_LOOP_fI_f1): New macro.
17373         (frexp_test_data): New variable.
17374         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17375
17376         * math/libm-test.inc (struct test_fF_f1_data): New type.
17377         (RUN_TEST_LOOP_fF_f1): New macro.
17378         (modf_test_data): New variable.
17379         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17380
17381         * math/libm-test.inc (struct test_f_f1_data): New type.
17382         (RUN_TEST_LOOP_f_f1): New macro.
17383         (gamma_test_data): New variable.
17384         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17385         (lgamma_test_data): New variable.
17386         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17387
17388 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
17389
17390         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17391         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17392         (main): Comment "tls" pseudo-hwcap.
17393
17394 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
17395
17396         * math/libm-test.inc (struct test_fl_f_data): New type.
17397         (RUN_TEST_LOOP_fl_f): New variable.
17398         (scalbln_test_data): New variable.
17399         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17400
17401         * math/libm-test.inc (struct test_fi_f_data): New type.
17402         (RUN_TEST_LOOP_fi_f): New macro.
17403         (ldexp_test_data): New variable.
17404         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17405         (scalbn_test_data): New variable.
17406         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17407
17408         * math/libm-test.inc (struct test_c_f_data): New type.
17409         (RUN_TEST_LOOP_c_f): New macro.
17410         (cabs_test_data): New variable.
17411         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17412         (carg_test_data): New variable.
17413         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17414         (cimag_test_data): New variable.
17415         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17416         (creal_test_data): New variable.
17417         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17418
17419         * math/libm-test.inc (struct test_if_f_data): New type.
17420         (RUN_TEST_LOOP_if_f): New macro.
17421         (jn_test_data): New variable.
17422         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17423         (yn_test_data): New variable.
17424         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17425
17426         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17427
17428 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17429
17430         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17431         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17432
17433 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17434
17435         * benchtests/Makefile (CPPFLAGS-nonlib): Add
17436         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17437         (bench-deps): Add bench-timing.h.
17438         * benchtests-bench-skeleton.c: Include bench-timing.h.
17439         (main): Use TIMING_* macros instead of clock_gettime.
17440         * benchtests/bench-timing.h: New file.
17441
17442         [BZ #14582]
17443         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17444         Renamed from _LIB_VERSION.
17445         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17446
17447 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
17448
17449         * math/libm-test.inc (struct test_fff_f_data): New type.
17450         (RUN_TEST_LOOP_fff_f): New macro.
17451         (fma_test_data): New variable.
17452         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17453         (fma_towardzero_test_data): New variable.
17454         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17455         (fma_downward_test_data): New variable.
17456         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17457         (fma_upward_test_data): New variable.
17458         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17459
17460         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17461         (struct test_c_c_data): New type.
17462         (RUN_TEST_LOOP_c_c): New macro.
17463         (cacos_test_data): New variable.
17464         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17465         (cacosh_test_data): New variable.
17466         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17467         (casin_test_data): New variable.
17468         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17469         (casinh_test_data): New variable.
17470         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17471         (catan_test_data): New variable.
17472         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17473         (catanh_test_data): New variable.
17474         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17475         (ccos_test_data): New variable.
17476         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17477         (ccosh_test_data): New variable.
17478         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17479         (cexp_test_data): New variable.
17480         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17481         (clog_test_data): New variable.
17482         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17483         (clog10_test_data): New variable.
17484         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17485         (conj_test_data): New variable.
17486         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17487         (cproj_test_data): New variable.
17488         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17489         (csin_test_data): New variable.
17490         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17491         (csinh_test_data): New variable.
17492         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17493         (csqrt_test_data): New variable.
17494         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17495         (ctan_test_data): New variable.
17496         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17497         (ctan_tonearest_test_data): New variable.
17498         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17499         (ctan_towardzero_test_data): New variable.
17500         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17501         (ctan_downward_test_data): New variable.
17502         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17503         (ctan_upward_test_data): New variable.
17504         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17505         (ctanh_test_data): New variable.
17506         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17507         (ctanh_tonearest_test_data): New variable.
17508         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17509         (ctanh_towardzero_test_data): New variable.
17510         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17511         (ctanh_downward_test_data): New variable.
17512         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17513         (ctanh_upward_test_data): New variable.
17514         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17515         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17516         of BUILD_COMPLEX.
17517
17518         * math/libm-test.inc (struct test_ff_f_data): New type.
17519         (struct test_ff_f_data_nexttoward): Likewise.
17520         (RUN_TEST_LOOP_2_f): New macro.
17521         (RUN_TEST_LOOP_ff_f): Likewise.
17522         (atan2_test_data): New variable.
17523         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17524         (copysign_test_data): New variable.
17525         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17526         (fdim_test_data): New variable.
17527         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17528         (fmax_test_data): New variable.
17529         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17530         (fmin_test_data): New variable.
17531         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17532         (fmod_test_data): New variable.
17533         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17534         (hypot_test_data): New variable.
17535         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17536         (nextafter_test_data): New variable.
17537         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17538         (nexttoward_test_data): New variable.
17539         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17540         (pow_test_data): New variable.
17541         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17542         (pow_tonearest_test_data): New variable.
17543         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17544         (pow_towardzero_test_data): New variable.
17545         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17546         (pow_downward_test_data): New variable.
17547         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17548         (pow_upward_test_data): New variable.
17549         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17550         (remainder_test_data): New variable.
17551         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17552         (scalb_test_data): New variable.
17553         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17554         * sysdeps/i386/fpu/libm-test-ulps: Update.
17555
17556 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
17557
17558         * math/libm-test.inc (fma_test): Use max_value instead of local
17559         variable fltmax.
17560         (nextafter_test): Likewise.
17561
17562         * math/libm-test.inc (acos_towardzero_test_data): New variable.
17563         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17564         (acos_downward_test_data): New variable.
17565         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17566         (acos_upward_test_data): New variable.
17567         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17568         (acosh_test_data): New variable.
17569         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17570         (asin_test_data): New variable.
17571         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17572         (asin_tonearest_test_data): New variable.
17573         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17574         (asin_towardzero_test_data): New variable.
17575         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17576         (asin_downward_test_data): New variable.
17577         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17578         (asin_upward_test_data): New variable.
17579         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17580         (asinh_test_data): New variable.
17581         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17582         (atan_test_data): New variable.
17583         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17584         (atanh_test_data): New variable.
17585         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17586         (cbrt_test_data): New variable.
17587         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17588         (ceil_test_data): New variable.
17589         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17590         (cos_test_data): New variable.
17591         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17592         (cos_tonearest_test_data): New variable.
17593         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17594         (cos_towardzero_test_data): New variable.
17595         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17596         (cos_downward_test_data): New variable.
17597         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17598         (cos_upward_test_data): New variable.
17599         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17600         (cosh_test_data): New variable.
17601         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17602         (cosh_tonearest_test_data): New variable.
17603         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17604         (cosh_towardzero_test_data): New variable.
17605         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17606         (cosh_downward_test_data): New variable.
17607         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17608         (cosh_upward_test_data): New variable.
17609         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17610         (erf_test_data): New variable.
17611         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17612         (erfc_test_data): New variable.
17613         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17614         (exp_test_data): New variable.
17615         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17616         (exp_tonearest_test_data): New variable.
17617         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17618         (exp_towardzero_test_data): New variable.
17619         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17620         (exp_downward_test_data): New variable.
17621         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17622         (exp_upward_test_data): New variable.
17623         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17624         (exp10_test_data): New variable.
17625         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17626         (exp2_test_data): New variable.
17627         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17628         (expm1_test_data): New variable.
17629         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17630         (fabs_test_data): New variable.
17631         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17632         (floor_test_data): New variable.
17633         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17634         (j0_test_data): New variable.
17635         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17636         (j1_test_data): New variable.
17637         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17638         (log_test_data): New variable.
17639         (log_test): Run tests with RUN_TEST_LOOP_f_f.
17640         (log10_test_data): New variable.
17641         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17642         (log1p_test_data): New variable.
17643         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17644         (log2_test_data): New variable.
17645         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17646         (logb_test_data): New variable.
17647         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17648         (logb_downward_test_data): New variable.
17649         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17650         (nearbyint_test_data): New variable.
17651         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17652         (rint_test_data): New variable.
17653         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17654         (rint_tonearest_test_data): New variable.
17655         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17656         (rint_towardzero_test_data): New variable.
17657         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17658         (rint_downward_test_data): New variable.
17659         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17660         (rint_upward_test_data): New variable.
17661         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17662         (round_test_data): New variable.
17663         (round_test): Run tests with RUN_TEST_LOOP_f_f.
17664         (sin_test_data): New variable.
17665         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17666         (sin_tonearest_test_data): New variable.
17667         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17668         (sin_towardzero_test_data): New variable.
17669         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17670         (sin_downward_test_data): New variable.
17671         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17672         (sin_upward_test_data): New variable.
17673         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17674         (sinh_test_data): New variable.
17675         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17676         (sinh_tonearest_test_data): New variable.
17677         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17678         (sinh_towardzero_test_data): New variable.
17679         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17680         (sinh_downward_test_data): New variable.
17681         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17682         (sinh_upward_test_data): New variable.
17683         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17684         (sqrt_test_data): New variable.
17685         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17686         (tan_test_data): New variable.
17687         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17688         (tan_tonearest_test_data): New variable.
17689         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17690         (tan_towardzero_test_data): New variable.
17691         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17692         (tan_downward_test_data): New variable.
17693         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17694         (tan_upward_test_data): New variable.
17695         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17696         (tanh_test_data): New variable.
17697         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17698         (tgamma_test_data): New variable.
17699         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17700         (trunc_test_data): New variable.
17701         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17702         (y0_test_data): New variable.
17703         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17704         (y1_test_data): New variable.
17705         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17706         (significand_test_data): New variable.
17707         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17708
17709 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
17710
17711         [BZ #12387]
17712         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17713
17714 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17715
17716         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17717
17718 2013-05-10  Andreas Jaeger  <aj@suse.de>
17719
17720         [BZ #15448]
17721         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17722         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17723
17724 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17725
17726         * math/gen-libm-test.pl (adjust_arg): New function.
17727         (special_functions): Handle generating output in both functions
17728         and arrays.
17729         (parse_args): Likewise.
17730         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
17731         $in_func argument to parse_args.
17732         * math/libm-test.inc (struct test_f_f_data): New type.
17733         (IF_ROUND_INIT_): New macro.
17734         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17735         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17736         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17737         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17738         (ROUND_RESTORE_): Likewise.
17739         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17740         (ROUND_RESTORE_FE_TONEAREST): Likewise.
17741         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17742         (ROUND_RESTORE_FE_UPWARD): Likewise.
17743         (RUN_TEST_LOOP_f_f): New macro.
17744         (acos_test_data): New variable.
17745         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17746         (acos_tonearest_test_data): New variable.
17747         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17748
17749 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17750
17751         * benchtests/bench-skeleton.c (startup): Fix coding style.
17752
17753 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17754
17755         [BZ #6809]
17756         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17757         negative infinity argument.
17758         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17759         negative infinity argument.
17760         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17761         negative infinity argument.
17762         * math/libm-test.inc (tgamma_test): Expect errno to be set for
17763         domain errors.
17764
17765 2013-05-10  Florian Weimer  <fweimer@redhat.com>
17766
17767         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17768         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17769         * iconv/iconv_prog.c (main): Likewise.
17770         * locale/programs/charmap-dir.c (charmap_readdir)
17771         (fopen_uncompressed): Likewise.
17772         * locale/programs/locfile.c (siblings_uncached)
17773         (write_locale_data): Use lstat64 instead of lstat.
17774         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17775         stat.
17776
17777 2013-05-10  Andreas Jaeger  <aj@suse.de>
17778
17779         [BZ #15395]
17780         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17781         localization.
17782         Include <locale.h>.
17783
17784 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
17785
17786         * elf/dl-close.c (_dl_close_worker): Add comments.
17787
17788 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
17789
17790         [BZ #15359]
17791         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17792         high part of pi/2.
17793         (__ieee754_rem_pio2l): Update comments.
17794
17795         [BZ #15429]
17796         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17797         high part of pi/2.
17798         (__ieee754_rem_pio2l): Update comments.
17799
17800         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17801         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17802
17803         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17804         M_PI_4l.
17805
17806         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17807         (M_PI_34_LOG10El): Likewise.
17808         (M_PI2_LOG10El): Likewise.
17809         (M_PI4_LOG10El): Likewise.
17810         (M_PI_LOG10El): Likewise.
17811
17812 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17813
17814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17815
17816 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
17817
17818         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17819         (MINUS_ZERO_INIT): Likewise.
17820         (PLUS_INFTY_INIT): Likewise.
17821         (MINUS_INFTY_INIT): Likewise.
17822         (QNAN_VALUE_INIT): Likewise.
17823         (MAX_VALUE_INIT): Likewise.
17824         (MIN_VALUE_INIT): Likewise.
17825         (MIN_SUBNORM_VALUE_INIT): Likewise.
17826         (plus_zero): Initialize with PLUS_ZERO_INIT.
17827         (minus_zero): Initialize with MINUS_ZERO_INIT.
17828         (plus_infty): Initialize with PLUS_INFTY_INIT.
17829         (minus_infty): Initialize with MINUS_INFTY_INIT.
17830         (qnan_value): Initialize with QNAN_VALUE_INIT.
17831         (max_value): Initialize with MAX_VALUE_INIT.
17832         (min_value): Initialize with MIN_VALUE_INIT.
17833         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17834
17835         * math/libm-test.inc (RUN_TEST_if_f): New macro.
17836         (jn_test): Use TEST_if_f instead of TEST_ff_f.
17837         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17838         (yn_test): Use TEST_if_f instead of TEST_ff_f.
17839
17840         * math/libm-test.inc (RUN_TEST_f_f): New macro.
17841         (RUN_TEST_2_f): Likewise.
17842         (RUN_TEST_ff_f): Likewise.
17843         (RUN_TEST_fi_f): Likewise.
17844         (RUN_TEST_fl_f): Likewise.
17845         (RUN_TEST_fff_f): Likewise.
17846         (RUN_TEST_c_f): Likewise.
17847         (RUN_TEST_f_f1): Likewise.
17848         (RUN_TEST_fF_f1): Likewise.
17849         (RUN_TEST_fI_f1): Likewise.
17850         (RUN_TEST_ffI_f1): Likewise.
17851         (RUN_TEST_c_c): Likewise.
17852         (RUN_TEST_cc_c): Likewise.
17853         (RUN_TEST_f_i): Likewise.
17854         (RUN_TEST_f_i_tg): Likewise.
17855         (RUN_TEST_ff_i_tg): Likewise.
17856         (RUN_TEST_f_b): Likewise.
17857         (RUN_TEST_f_b_tg): Likewise.
17858         (RUN_TEST_f_l): Likewise.
17859         (RUN_TEST_f_L): Likewise.
17860         (RUN_TEST_sincos): Likewise.
17861         * math/gen-libm-test.pl (new_test): Take new argument to indicate
17862         whether to show exceptions.  Do not include ");\n" in return
17863         value.
17864         (special_functions): Output call to RUN_TEST_sincos instead of
17865         check_float calls.  Update calls to new_test.
17866         (parse_args): Output call to single RUN_TEST_* macro instead of
17867         check_* calls and other assignments.  Update calls to new_test.
17868
17869         [BZ #2546]
17870         [BZ #2560]
17871         [BZ #5159]
17872         [BZ #15426]
17873         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17874         input to result for tgamma overflow.
17875         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17876         (gamma_coeff): New variable.
17877         (NCOEFF): New macro.
17878         (gamma_positive): New function.
17879         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17880         underflow here.  Use gamma_positive instead of exp (lgamma) for
17881         other arguments.
17882         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17883         (gamma_coeff): New variable.
17884         (NCOEFF): New macro.
17885         (gammaf_positive): New function.
17886         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17887         underflow here.  Use gamma_positive instead of exp (lgamma) for
17888         other arguments.
17889         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17890         (gamma_coeff): New variable.
17891         (NCOEFF): New macro.
17892         (gammal_positive): New function.
17893         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17894         underflow here.  Use gamma_positive instead of exp (lgamma) for
17895         other arguments.
17896         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17897         (gamma_coeff): New variable.
17898         (NCOEFF): New macro.
17899         (gammal_positive): New function.
17900         (__ieee754_gammal_r): Handle positive infinity, overflow and
17901         underflow here.  Handle NaN the same as positive infinity.  Remove
17902         check x < 0xffffffff for negative integers.  Use gamma_positive
17903         instead of exp (lgamma) for other arguments.
17904         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17905         (gamma_coeff): New variable.
17906         (NCOEFF): New macro.
17907         (gammal_positive): New function.
17908         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17909         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17910         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17911         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17912         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17913         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17914         * sysdeps/generic/math_private.h (__gamma_productf): New
17915         prototype.
17916         (__gamma_product): Likewise.
17917         (__gamma_productl): Likewise.
17918         * math/Makefile (libm-calls): Add gamma_product.
17919         * math/libm-test.inc (tgamma_test): Add more tests.
17920         * sysdeps/i386/fpu/libm-test-ulps: Update.
17921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17922
17923 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
17924
17925         * benchtests/bench-skeleton.c (main): Preheat CPU.
17926
17927 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
17928
17929         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17930
17931 2013-05-07  Roland McGrath  <roland@hack.frob.com>
17932
17933         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17934         and _dl_skip_args_internal.
17935
17936 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
17937
17938         * manual/message.texi (Message Translation): Talk about users.
17939         Message to key mapping impacts design.
17940
17941 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17942
17943         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17944
17945         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17946
17947         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17948         * sysdeps/wordsize-64/glob64.c: ... here.
17949
17950         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17951         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17952         New macros.
17953
17954         * debug/getlogin_r_chk.c: Moved to ...
17955         * login/getlogin_r_chk.c: ... here.
17956         * debug/Makefile (routines): Move getlogin_r_chk to ...
17957         * login/Makefile (routines): ... here.
17958         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17959         * login/Versions (libc: GLIBC_2.4): ... here.
17960
17961         * io/poll.c (__poll): Renamed from poll.
17962         Add libc_hidden_def.
17963         (poll): Define as weak alias.
17964
17965         * debug/ptsname_r_chk.c: Moved to ...
17966         * login/ptsname_r_chk.c: ... here.
17967         * debug/Makefile (routines): Move ptsname_r_chk to ...
17968         * login/Makefile (routines): ... here.
17969         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17970         * login/Versions (libc: GLIBC_2.4): ... here.
17971
17972         * posix/getlogin.c: Moved to ...
17973         * login/getlogin.c: ... here.
17974         * posix/getlogin_r.c: Moved to ...
17975         * login/getlogin_r.c: ... here.
17976         * posix/getlogin_r.c: Moved to ...
17977         * login/getlogin_r.c: ... here.
17978         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17979         * login/Makefile (routines): ... here.
17980         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17981         * login/Versions (libc: GLIBC_2.0): ... here.
17982
17983         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17984         (setrlimit): Define as weak alias.
17985
17986         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17987         Call __ names for open, ftruncate, and close.
17988         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17989         (truncate): Define as weak alias.
17990
17991 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
17992
17993         * math/gen-libm-test.pl (parse_args): Initialize x before each
17994         test of frexp, modf and remquo.
17995
17996         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17997         test signgam value.
17998
17999 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18000
18001         [BZ #15418]
18002         [BZ #15419]
18003         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18004         internal tests.
18005         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18006
18007 2013-05-06  Roland McGrath  <roland@hack.frob.com>
18008
18009         * elf/dl-writev.h: New file.
18010         * elf/dl-misc.c: Include it.
18011         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18012         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18013
18014 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
18015
18016         * math/libm-test.inc (noXFails): Remove variable.
18017         (noXPasses): Likewise.
18018         (BUILD_COMPLEX_INT): Remove macro.
18019         (print_screen): Remove xfail argument.
18020         (print_screen_max_error): Likewise.
18021         (update_stats): Likewise.
18022         (print_max_error): Likewise.  Update calls to other affected
18023         functions.
18024         (print_complex_max_error): Likewise.
18025         (test_single_exception): Update calls to print_screen.
18026         (test_single_errno): Likewise.
18027         (check_float_internal): Remove xfail argument.  Update calls to
18028         other affected functions.
18029         (check_float): Likewise.
18030         (check_complex): Likewise.
18031         (check_int): Likewise.
18032         (check_long): Likewise.
18033         (check_bool): Likewise.
18034         (check_longlong): Likewise.
18035         (main): Don't print noXFails and noXPasses.
18036         * math/gen-libm-test.pl (top level): Don't mention expected
18037         failure handling in comment.
18038         (new_test): Don't handle expected failures.
18039         (parse_args): Don't mention expected failure handling in comment.
18040         (generate_testfile): Don't handle expected failures.
18041         (parse_ulps): Likewise.
18042         (print_ulps_file): Likewise.
18043         (get_failure): Remove function.
18044         (output_test): Don't handle expected failures.
18045         * make/README.libm-test: Don't mention expected failure handling.
18046
18047         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
18048         (minus_zero): Likewise.
18049         (plus_infty): Likewise.
18050         (minus_infty): Likewise.
18051         (qnan_value): Likewise.
18052         (max_value): Likewise.
18053         (min_value): Likewise.
18054         (min_subnorm_value): Likewise.
18055         (initialize): Do not initialize those variables dynamically.
18056
18057 2013-05-03  Roland McGrath  <roland@hack.frob.com>
18058
18059         * io/open.c (__open_2): Moved to ...
18060         * io/open_2.c: ... this new file.
18061         * io/open64.c (__open64_2): Moved to ...
18062         * io/open64_2.c: ... this new file.
18063         * io/openat.c (__openat_2): Moved to ...
18064         * io/openat_2.c: ... this new file.
18065         * io/openat64.c (__openat64_2): Moved to ...
18066         * io/openat64_2.c: ... this new file.
18067         * io/Makefile (routines): Add them.
18068         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18069         * sysdeps/unix/sysv/linux/open_2.c: File removed.
18070         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18071         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18072         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18073         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18074         (__openat64): Add hidden_ver.
18075         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18076         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18077
18078         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18079         Separately conditionalize setting of GLRO(dl_sysinfo) so
18080         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18081         as well, but the actual setting is only under [NEED_DL_SYSINFO].
18082
18083 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18084
18085         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18086         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18087         definition.
18088         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18089         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18090         (_libc_vdso_platform_setup): Add __vdso_time initialization.
18091         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18092         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18093
18094 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
18095
18096         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18097         test signgam value.
18098
18099         * math/libm-test.inc (hypot_test): Do not use
18100         IGNORE_ZERO_INF_SIGN.
18101
18102 2013-05-03  Andreas Jaeger  <aj@suse.de>
18103
18104         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18105         Linux 3.9.
18106         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18107         (PF_MAX): Adjust for VSOCK change.
18108
18109 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18110
18111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18112
18113 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
18114
18115         [BZ #15264]
18116         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18117         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18118         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18119
18120 2013-05-02  David S. Miller  <davem@davemloft.net>
18121
18122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18123
18124 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
18125
18126         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18127
18128 2013-05-01  Roland McGrath  <roland@hack.frob.com>
18129
18130         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18131
18132 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
18133
18134         [BZ #14952]
18135         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18136         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18137         Use __attribute__ ((__gnu_inline__)).
18138         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18139         Don't use __attribute__ ((__gnu_inline__)).
18140
18141 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
18142
18143         [BZ #15423]
18144         * math/s_catan.c (__catan): Handle small real or imaginary part of
18145         input specially to avoid spurious underflow.
18146         * math/s_catanf.c (__catanf): Likewise.
18147         * math/s_catanh.c (__catanh): Likewise.
18148         * math/s_catanhf.c (__catanhf): Likewise.
18149         * math/s_catanhl.c (__catanhl): Likewise.
18150         * math/s_catanl.c (__catanl): Likewise.
18151         * math/libm-test.inc (catan_test): Add more tests.
18152         (catanh_test): Likewise.
18153         * sysdeps/i386/fpu/libm-test-ulps: Update.
18154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18155
18156 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18157
18158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18159
18160 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
18161
18162         [BZ #15416]
18163         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18164         accurately for denominator in atan2.
18165         * math/s_catanf.c (__catanf): Likewise.
18166         * math/s_catanh.c (__catanh): Likewise.
18167         * math/s_catanhf.c (__catanhf): Likewise.
18168         * math/s_catanhl.c (__catanhl): Likewise.
18169         * math/s_catanl.c (__catanl): Likewise.
18170         * math/libm-test.inc (catan_test): Add more tests.
18171         (catanh_test): Likewise.
18172         * sysdeps/i386/fpu/libm-test-ulps: Update.
18173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18174
18175 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18176
18177         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18178
18179         * benchtests/Makefile (bench): Remove slow benchmarks.
18180         * benchtests/atan-inputs: Add slow benchmark inputs.
18181         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18182         (BENCH_FUNC): Accept variant offset.
18183         (VARIANT): Define.
18184         * benchtests/bench-skeleton.c (main): Run benchmark for each
18185         variant.
18186         * benchtests/cos-inputs: Add slow benchmark inputs.
18187         * benchtests/exp-inputs: Likewise.
18188         * benchtests/pow-inputs: Likewise.
18189         * benchtests/sin-inputs: Likewise.
18190         * benchtests/slowatan-inputs: Remove.
18191         * benchtests/slowatan.c: Remove.
18192         * benchtests/slowcos-inputs: Remove.
18193         * benchtests/slowcos.c: Remove.
18194         * benchtests/slowexp-inputs: Remove.
18195         * benchtests/slowexp.c: Remove.
18196         * benchtests/slowpow-inputs: Remove.
18197         * benchtests/slowpow.c: Remove.
18198         * benchtests/slowsin-inputs: Remove.
18199         * benchtests/slowsin.c: Remove.
18200         * benchtests/slowtan-inputs: Remove.
18201         * benchtests/slowtan.c: Remove.
18202         * benchtests/tan-inputs: Add slow benchmark inputs.
18203         * scripts/bench.pl: Parse comments and directives.
18204
18205         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
18206         in CPPFLAGS.
18207         ($(objpfx)bench-%.c): Remove *-ITER.
18208         * benchtests/bench-modf.c: Remove definition of ITER.
18209         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18210         (main): Loop for DURATION seconds instead of fixed number of
18211         iterations.
18212         * scripts/bench.pl: Don't expect iterations in parameters.
18213
18214 2013-04-29  Roland McGrath  <roland@hack.frob.com>
18215
18216         * io/fchdir.c (__fchdir): Renamed from fchdir.
18217         (fchdir): Define as weak alias.
18218
18219 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18220
18221         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18222         (ERRNO_EDOM): Likewise.
18223         (ERRNO_ERANGE): Likewise.
18224         (noErrnoTests): New variable.
18225         (init_max_error): Set errno to 0.
18226         (test_single_errno): New function.
18227         (test_errno): Likewise.
18228         (check_float_internal): Call test_errno.  Set errno to 0.
18229         (check_complex): Refer to errno tests in comment.
18230         (check_int): Call test_errno.  Set errno to 0.
18231         (check_long): Likewise.
18232         (check_bool): Likewise.
18233         (check_longlong): Likewise.
18234         (cos_test): Use ERRNO_* flags for errno tests instead of
18235         check_int.
18236         (expm1_test): Likewise.
18237         (fmod_test): Likewise.
18238         (ilogb_test): Likewise.
18239         (lgamma_test): Likewise.
18240         (pow_test): Likewise.
18241         (remainder_test): Likewise.
18242         (sin_test): Likewise.
18243         (tan_test): Likewise.
18244         (yn_test): Likewise.
18245         (initialize): Set errno to 0.
18246         (main): Print number of errno tests.
18247         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18248
18249 2013-04-29  Andreas Jaeger  <aj@suse.de>
18250
18251         [BZ #15084]
18252         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18253         and RES_USEVC.
18254
18255         [BZ #15085]
18256         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18257         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18258         unimplemented.
18259
18260         [BZ #15380]
18261         * stdlib/random.c (__initstate): Return NULL if
18262         __initstate fails.
18263
18264         [BZ #15086]
18265         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18266         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18267         RES_SNGLKUPREOP.
18268
18269 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18270
18271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18272
18273 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18274
18275         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18276         of individual tests.
18277         (casin_test): Likewise.
18278         (casinh_test): Likewise.
18279
18280 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
18281
18282         [BZ #15409]
18283         * math/s_catan.c (__catan): Handle arguments with large real or
18284         imaginary part separately without squaring.
18285         * math/s_catanf.c (__catanf): Likewise.
18286         * math/s_catanh.c (__catanh): Likewise.
18287         * math/s_catanhf.c (__catanhf): Likewise.
18288         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18289         and redefine.
18290         (__catanhl): Handle arguments with large real or imaginary part
18291         separately without squaring.
18292         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18293         and redefine.
18294         (__catanl): Handle arguments with large real or imaginary part
18295         separately without squaring.
18296         * math/libm-test.inc (catan_test): Add more tests.
18297         (catanh_test): Likewise.
18298         * sysdeps/i386/fpu/libm-test-ulps: Update.
18299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18300
18301 2013-04-27  Andreas Jaeger  <aj@suse.de>
18302
18303         [BZ #15007]
18304         * stdlib/stdlib.h: Update guards for qecvt.
18305         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18306         <stdlib.h>.
18307
18308 2013-04-27  Allan McRae  <allan@archlinux.org>
18309
18310         * sysdeps/i386/fpu/libm-test-ulps: Update.
18311
18312 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
18313
18314         [BZ #15406]
18315         * math/s_catan.c: Include <float.h>.
18316         (__catan): Ensure underflow exception occurs for underflowed
18317         result.
18318         * math/s_catanf.c: Include <float.h>.
18319         (__catanf): Ensure underflow exception occurs for underflowed
18320         result.
18321         * math/s_catanh.c: Include <float.h>.
18322         (__catanh): Ensure underflow exception occurs for underflowed
18323         result.
18324         * math/s_catanhf.c: Include <float.h>.
18325         (__catanhf): Ensure underflow exception occurs for underflowed
18326         result.
18327         * math/s_catanhl.c: Include <float.h>.
18328         (__catanhl): Ensure underflow exception occurs for underflowed
18329         result.
18330         * math/s_catanl.c: Include <float.h>.
18331         (__catanl): Ensure underflow exception occurs for underflowed
18332         result.
18333         * math/libm-test.inc (catan_test): Add more tests.
18334         (catanh_test): Likewise.
18335
18336         [BZ #15405]
18337         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18338         underflowed result.
18339         * math/s_ccoshf.c (__ccoshf): Likewise.
18340         * math/s_ccoshl.c (__ccoshl): Likewise.
18341         * math/s_csin.c (__csin): Likewise.
18342         * math/s_csinf.c (__csinf): Likewise.
18343         * math/s_csinh.c (__csinh): Likewise.
18344         * math/s_csinhf.c (__csinhf): Likewise.
18345         * math/s_csinhl.c (__csinhl): Likewise.
18346         * math/s_csinl.c (__csinl): Likewise.
18347         * math/libm-test.inc (ccos_test): Add more tests.
18348         (ccosh_test): Likewise.
18349         (csin_test): Likewise.
18350         (csinh_test): Likewise.
18351
18352 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18353
18354         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18355         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18356         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18357         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18358         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18359         powerpc/power5+/fpu folders.
18360         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18361
18362
18363 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18364
18365         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18366
18367 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
18368
18369         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18370         additions to variable.
18371         [$(config-machine) = x86_64] (modules-names): Likewise.
18372         ($(objpfx)tst-audit3): Remove dependency.
18373         ($(objpfx)tst-audit3.out): Likewise.
18374         ($(objpfx)tst-audit4): Likewise.
18375         ($(objpfx)tst-audit4.out): Likewise.
18376         ($(objpfx)tst-audit5): Likewise.
18377         ($(objpfx)tst-audit5.out): Likewise.
18378         ($(objpfx)tst-audit6): Likewise.
18379         ($(objpfx)tst-audit6.out): Likewise.
18380         ($(objpfx)tst-audit7): Likewise.
18381         ($(objpfx)tst-audit7.out): Likewise.
18382         (tst-audit3-ENV): Remove variable.
18383         (tst-audit4-ENV): Likewise.
18384         (tst-audit5-ENV): Likewise.
18385         (tst-audit6-ENV): Likewise.
18386         (tst-audit7-ENV): Likewise.
18387         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18388         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18389         addition to variable.
18390         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18391         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18392         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18393         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18394         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18395         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18396         tst-audit3, tst-audit4 and tst-audit5.
18397         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18398         tst-audit6 and tst-audit7.
18399         [$(subdir) = elf] (modules-names): Add audit modules for those
18400         tests.
18401         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18402         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18403         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18404         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18405         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18406         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18407         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18408         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18409         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18410         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18411         [$(subdir) = elf] (tst-audit3-ENV): New variable.
18412         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18413         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18414         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18415         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18416         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18417         Likewise.
18418         [$(subdir) = elf && $(config-cflags-avx) = yes]
18419         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18420         [$(subdir) = elf && $(config-cflags-avx) = yes]
18421         (CFLAGS-tst-auditmod4a.c): Likewise.
18422         [$(subdir) = elf && $(config-cflags-avx) = yes]
18423         (CFLAGS-tst-auditmod4b.c): Likewise.
18424         [$(subdir) = elf && $(config-cflags-avx) = yes]
18425         (CFLAGS-tst-auditmod6b.c): Likewise.
18426         [$(subdir) = elf && $(config-cflags-avx) = yes]
18427         (CFLAGS-tst-auditmod6c.c): Likewise.
18428         [$(subdir) = elf && $(config-cflags-avx) = yes]
18429         (CFLAGS-tst-auditmod7b.c): Likewise.
18430         * elf/tst-audit3.c: Move to ...
18431         * sysdeps/x86_64/tst-audit3.c: ... here.
18432         * elf/tst-audit4.c: Move to ...
18433         * sysdeps/x86_64/tst-audit4.c: ... here.
18434         * elf/tst-audit5.c: Move to ...
18435         * sysdeps/x86_64/tst-audit5.c: ... here.
18436         * elf/tst-audit6.c: Move to ...
18437         * sysdeps/x86_64/tst-audit6.c: ... here.
18438         * elf/tst-audit7.c: Move to ...
18439         * sysdeps/x86_64/tst-audit7.c: ... here.
18440         * elf/tst-auditmod3a.c: Move to ...
18441         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18442         * elf/tst-auditmod3b.c: Move to ...
18443         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18444         * elf/tst-auditmod4a.c: Move to ...
18445         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18446         * elf/tst-auditmod4b.c: Move to ...
18447         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18448         * elf/tst-auditmod5a.c: Move to ...
18449         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18450         * elf/tst-auditmod5b.c: Move to ...
18451         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18452         * elf/tst-auditmod6a.c: Move to ...
18453         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18454         * elf/tst-auditmod6b.c: Move to ...
18455         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18456         * elf/tst-auditmod6c.c: Move to ...
18457         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18458         * elf/tst-auditmod7a.c: Move to ...
18459         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18460         * elf/tst-auditmod7b.c: Move to ...
18461         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18462
18463 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
18464
18465         [BZ #15366]
18466         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18467         define unconditionally.
18468         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18469         define unconditionally.
18470         (INT8_C, INT16_C, etc.): Likewise.
18471
18472 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
18473
18474         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18475         __ehdr_start with hidden visibility.
18476
18477         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18478
18479 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
18480
18481         * math/libm-test.inc (cos_test): Use accurate hex constants.
18482         (sincost_test): Likewise.
18483
18484 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
18485
18486         * math/libm-test.inc (catan_test): Add more tests.
18487         (catanh_test): Likewise.
18488
18489         * math/s_catanf.c (__catanf): Use suffixed floating-point
18490         constants.
18491         * math/s_catanhf.c (__catanhf): Likewise.
18492         * math/s_catanhl.c (__catanhl): Likewise.
18493         * math/s_catanl.c (__catanl): Likewise.
18494
18495         [BZ #15394]
18496         * math/s_catan.c (__catan): Calculate imaginary part of result
18497         with log1p not log unless computing log of number close to 0.
18498         * math/s_catanf.c (__catanf): Likewise.
18499         * math/s_catanl.c (__catanl): Likewise.
18500         * math/s_catanh.c (__catanh): Calculate real part of result with
18501         log1p not log unless computing log of number close to 0.
18502         * math/s_catanhf.c (__catanhf): Likewise.
18503         * math/s_catanhl.c (__catanhl): Likewise.
18504         * math/libm-test.inc (catan_test): Add more tests.
18505         (catanh_test): Likewise.
18506         * sysdeps/i386/fpu/libm-test-ulps: Update.
18507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18508
18509 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18510
18511         * benchtests/Makefile: Mention files in which fast and slow
18512         paths of math functions are implemented.
18513
18514 2013-04-23  Roland McGrath  <roland@hack.frob.com>
18515
18516         * sysdeps/posix/timespec_get.c: New file.
18517
18518 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18519
18520         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18521         POWER.
18522         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18523         for POWER.
18524         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18525         powerpc/power5/fpu folders.
18526         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18527         * benchtests/Makefile: Add modf testcase.
18528         * benchtests/bench-modf.c: New file: Benchmark test for mo
18529
18530 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18531
18532         [BZ #14888]
18533         * time/Makefile (tests): Add tst-strptime-whitespace.
18534         * time/strptime_l.c (get_number): Use ISSPACE.
18535         (__strptime_internal): Likewise.
18536         * time/tst-strptime-whitespace.c: New test case.
18537
18538 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
18539
18540         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18541         member.
18542         (_nss_files_init): Set it here.
18543
18544 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
18545
18546         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18547         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18548         unsigned.
18549
18550 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
18551
18552         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18553
18554 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18555
18556         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18557         size just once.
18558
18559 2013-04-21  David S. Miller  <davem@davemloft.net>
18560
18561         * po/ru.po: Update Russion translation from translation project.
18562
18563 2013-04-17  Adam Conrad  <adconrad@0c3.net>
18564
18565         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18566         and setfsgid.
18567
18568 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
18569
18570         * configure.in: Remove i386 configure warning. Remove i386 case.
18571         * configure: Regenerate.
18572         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18573         Add example to error message.
18574         * sysdeps/i386/configure: Regenerate.
18575
18576 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18577
18578         * benchtests/Makefile (bench): Add cos, tan, slowcos and
18579         slowtan.
18580         * benchtests/cos-inputs: New file.
18581         * benchtests/slowcos-inputs: New file.
18582         * benchtests/slowcos.c: New file.
18583         * benchtests/slowtan-inputs: New file.
18584         * benchtests/slowtan.c: New file.
18585         * benchtests/tan-inputs: New file.
18586
18587 2013-04-16  Roland McGrath  <roland@hack.frob.com>
18588
18589         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18590         considered kosher.
18591
18592 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18593
18594         * benchtests/Makefile: Include cppflags-iterator.mk to add
18595         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18596
18597         * Makefile.in (bench-clean): New target.
18598         * benchtests/Makefile (bench-clean): Likewise.
18599
18600 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
18601
18602         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18603
18604 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
18605
18606         * stdio-common/tstdiomisc.c: Fix coding-style violation.
18607
18608 2013-04-15  Andreas Schwab  <schwab@suse.de>
18609
18610         * nscd/grpcache.c (cache_addgr): Properly check for short write.
18611         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18612         * nscd/pwdcache.c (cache_addpw): Likewise.
18613         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
18614         more than recsize.
18615
18616 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18617
18618         * benchtests/Makefile (bench): Write all output to
18619         bench-out.tmp together.
18620
18621 2013-04-15  Andreas Schwab  <schwab@suse.de>
18622
18623         * nscd/nscd.c (main): Don't fork again after closing files.
18624
18625 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18626
18627         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18628
18629         * benchtests/Rules (bench-deps): Collect dependencies into a
18630         single variable.  Add Makefile to dependencies.
18631         ($(objpfx)bench-%.c): Depend on bench-deps.
18632
18633 2013-04-12  Roland McGrath  <roland@hack.frob.com>
18634             Xavier Roche  <roche+kml2@exalead.com>
18635
18636         [BZ #15361]
18637         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18638         just that it's a file descriptor.
18639         * manual/llio.texi (Synchronizing AIO Operations): Update description
18640         for EBADF error from aio_fsync.
18641
18642 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18643
18644         * Rules (bench): Move target definition...
18645         * benchtests/Makefile: ... here.
18646
18647 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
18648
18649         * math/libm-test.inc (cos_test): Fix PI/2 test.
18650         (sincos_test): Likewise.
18651         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18652         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18653
18654 2013-04-11  Andreas Schwab  <schwab@suse.de>
18655
18656         [BZ #13988]
18657         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18658         accept exponent character only when digits were seen.
18659         * stdio-common/Makefile (tests): Add bug26.
18660         * stdio-common/bug26.c: New file.
18661
18662         [BZ #14293]
18663         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18664         non-freeable.
18665
18666 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18667
18668         * Makeconfig (rtld-prefix): Define built linker prefix.
18669         * Rules (run-bench): Use it.
18670         * math/Makefile (run-regen-ulps): Likewise.
18671
18672         * Rules (bench): Remove eval.
18673
18674 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18675             Roland McGrath  <roland@hack.frob.com>
18676             Ondrej Bilka  <neleai@seznam.cz>
18677
18678         [BZ #15346]
18679         * time/getdate.c: Include ctype.h and alloca.h.
18680         (__getdate_r): Trim leading and trailing spaces of input.
18681         * time/tst-getdate.c (tests): Add tests with leading and
18682         trailing spaces.
18683
18684 2013-04-08  Roland McGrath  <roland@hack.frob.com>
18685
18686         [BZ #14280]
18687         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18688         when computing value.
18689
18690 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18691
18692         * math/README.libm-test (How can I generate "libm-test-ulps"?):
18693         Use testrun.sh to run libm tests.
18694
18695         [BZ #15309]
18696         * elf/dl-open.c (dl_open_worker): memset all of seen array.
18697
18698 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
18699
18700         [BZ #15264]
18701         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18702
18703 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18704
18705         * Makefile.in (regen-ulps): New target.
18706         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18707         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18708         [ifneq (no,$(PERL)] (regen-ulps): New target.
18709         [ifeq (no,$(PERL)] (regen-ulps): New target.
18710         * math/libm-test.inc (ulps_file_name): Define.
18711         (output_dir): New variable.
18712         (options): Add "output-dir" option.
18713         (parse_opt): Handle 'o' case.
18714         (main): If output_dir is non-NULL use it as a prefix
18715         otherwise use "".
18716         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18717
18718 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18719
18720         [BZ #10060, #10062]
18721         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18722         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18723         fail configure if __sync_val_compare_and_swap is not inlined.
18724         * sysdeps/i386/configure: Regenerate.
18725         * configure.in: Build for i686 when configured for i386.
18726         * configure: Regenerate.
18727         * README: Remove i386 reference.
18728
18729 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18730
18731         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18732         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18733
18734 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
18735
18736         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18737         (lmsnanval): New variables.
18738         (F): Add conversion tests.
18739         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18740         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18741
18742         * stdio-common/tstdiomisc.c (F): Properly collect individual
18743         tests' results.
18744
18745         [BZ #14686, #15336]
18746         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18747         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18748         Instead, use input NaN values or generate a qNaN by arithmetic
18749         operation.  Also fix bugs to comply with the standard.
18750         * math/libm-test.inc (remainder_test): Add more tests.
18751
18752         [BZ #15335, #15342]
18753         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18754         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18755         input NaN values or generate a qNaN by arithmetic operation.
18756
18757         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18758         unreachable code.
18759
18760         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18761         definitions.
18762
18763 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
18764
18765         [BZ #14478]
18766         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18767         underflowed result.
18768         * math/s_cexpf.c (__cexpf): Likewise.
18769         * math/s_cexpl.c (__cexpl): Likewise.
18770         * math/libm-test.inc (cexp_test): Add more tests.
18771
18772 2013-04-03  Andreas Schwab  <schwab@suse.de>
18773
18774         [BZ #15330]
18775         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18776         order arrays from heap if bigger than alloca cutoff.
18777
18778 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
18779
18780         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18781         (SNAN_TESTS_double): Refer to GCC PR56831.
18782         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18783         GCC PR56828.
18784
18785 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18786
18787         * Rules (bench): Move bench.out after the run is complete.
18788
18789         * Rules (bench): Echo currently running benchmark.
18790
18791         * benchtests/Makefile (bench): Add atan and slowatan.
18792         * benchtests/atan-inputs: New file.
18793         * benchtests/slowatan-inputs: New file.
18794         * benchtests/slowatan.c: New file.
18795
18796         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18797         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18798         its value.
18799
18800         [BZ #15305]
18801         * sysdeps/unix/sysv/linux/kernel-features.h
18802         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18803         __ASSUME_XFS_RESTRICTED_CHOWN.
18804         * sysdeps/unix/sysv/linux/pathconf.c
18805         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18806         Save and restore errno.
18807
18808 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
18809
18810         [BZ #15327]
18811         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18812         arguments using __kernel_casinh.
18813         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18814         arguments using __kernel_casinhf.
18815         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18816         arguments using __kernel_casinhl.
18817         * math/libm-test.inc (cacosh_test): Add more tests.
18818         * sysdeps/i386/fpu/libm-test-ulps: Update.
18819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18820
18821 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18822
18823         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18824         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18825
18826         * bench/Makefile (bench): Add sin and slowsin.
18827         * benchtests/sin-inputs: New file.
18828         * benchtests/slowsin-inputs: New file.
18829         * benchtests/slowsin.c: New file.
18830
18831         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18832         (bench): Add slowexp and slowpow.
18833         (exp-ITER): Increase iterations.
18834         (pow-ITER): Likewise.
18835         * benchtests/exp-inputs: Change input.
18836         * benchtests/pow-inputs: Likewise.
18837         * benchtests/slowexp-inputs: New file.
18838         * benchtests/slowexp.c: New file.
18839         * benchtests/slowpow-inputs: New file.
18840         * benchtests/slowpow.c: New file.
18841
18842 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18843
18844         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18845         instructions.
18846         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18847         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18848         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18849         * benchtests/Makefile: Add rint benchtest.
18850         * benchtests/rint-inputs: Input for rint benchtest.
18851
18852 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
18853
18854         * Versions.def (libm): Add GLIBC_2.18.
18855         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18856         hidden libm prototypes.
18857         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18858         * math/Makefile (libm-calls): Add s_issignaling.
18859         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18860         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
18861         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18862         declaration.
18863         * math/math.h [__USE_GNU] (issignaling): New macro.
18864         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18865         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18866         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18867         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18868         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18869         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18870         * manual/arith.texi (issignaling): New section.
18871         * manual/libm-err-tab.pl (@all_functions): Update comment.
18872         * math/gen-libm-test.pl (parse_args): Apply special handling for
18873         issignaling.
18874         * math/libm-test.inc (print_float, issignaling_test): New
18875         functions.
18876         (check_float_internal): Add issignaling checks.
18877         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18878         default definition.
18879         * sysdeps/powerpc/math-tests.h: New file.
18880         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18881         tests.
18882         * math/test-snan.c (TEST_FUNC): Likewise.
18883
18884 2013-03-30  David S. Miller  <davem@davemloft.net>
18885
18886         * po/de.po: Update from translation team.
18887
18888 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
18889
18890         [BZ #10357]
18891         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18892         imaginary part less than 1.0 and real part less than 0.5
18893         specially.
18894         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18895         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18896         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18897         (cacos_test): Add more tests.
18898         (casin_test): Likewise.
18899         (casinh_test): Likewise.
18900         * sysdeps/i386/fpu/libm-test-ulps: Update.
18901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18902
18903 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18904
18905         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18906         ONE with its value.
18907
18908         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18909         (__pow_mp): Replace ONE and MONE with their values.
18910         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18911         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18912         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18913         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18914         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18915         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18916
18917         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18918
18919         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18920         (__pow_mp): Replace ZERO and MZERO with their values.
18921         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18922         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18923         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18924         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18925         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18926         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18927         (__sqr): Likewise.
18928
18929         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18930
18931         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18932
18933 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18934
18935         * include/stdlib.h [!SHARED] (__call_tls_dtors):
18936         Declare with __attribute__ ((weak)).
18937         * stdlib/exit.c (__libc_atexit) [!SHARED]:
18938         Call __call_tls_dtors only if it's not NULL.
18939
18940 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18941
18942         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18943         didn't do it already, then set _dl_phdr and _dl_phnum based on the
18944         magic __ehdr_start linker symbol if it's defined.
18945         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18946         them up here if it was already done.
18947
18948         * elf/dl-support.c (_dl_phdr): Make pointer to const.
18949         (_dl_aux_init): Use const in cast when setting it.
18950         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18951         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18952         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18953
18954         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18955         Declare them here.
18956         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18957         * csu/libc-tls.c: Nor here.
18958         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18959
18960         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18961         (__libc_message): Never call vsyslog.
18962
18963 2013-03-28  Alan Modra  <amodra@gmail.com>
18964
18965         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18966         Define as empty.
18967         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18968         Likewise.
18969
18970 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18971
18972         [BZ #15214]
18973         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18974         underflow.
18975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18976
18977 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18978
18979         [BZ #15304]
18980         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18981         Don't add gid passed as argument.
18982
18983         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18984
18985 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
18986
18987         [BZ #15307]
18988         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18989         imaginary part between 1.0 and 1.5 and real part less than 0.5
18990         specially.
18991         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18992         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18993         * math/libm-test.inc (cacos_test): Add more tests.
18994         (casin_test): Likewise.
18995         (casinh_test): Likewise.
18996         * sysdeps/i386/fpu/libm-test-ulps: Update.
18997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18998
18999 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19000
19001         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19002         constants.
19003         (norm): Likewise.
19004         (denorm): Likewise.
19005         (__dbl_mp): Likewise.
19006         (add_magnitudes): Likewise.
19007         (sub_magnitudes): Likewise.
19008         (__add): Likewise.
19009         (__sub): Likewise.
19010         (__mul): Likewise.
19011         (__sqr): Likewise.
19012         (__inv): Likewise.
19013         (__dvd): Likewise.
19014
19015         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19016         commented code.
19017         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19018         (__dubcos): Likewise.
19019         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19020         (__ieee754_acos): Likewise.
19021         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19022         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19023         (__exp1): Likewise.
19024         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19025         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19026         (log1): Likewise.
19027         (my_log2): Likewise.
19028         (checkint): Likewise.
19029         * sysdeps/ieee754/dbl-64/e_remainder.c
19030         (__ieee754_remainder): Likewise.
19031         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19032         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19033         (bsloww): Likewise.
19034         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19035
19036         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19037         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19038         MANTISSA_STORE_T to store computations on mantissa.  Use
19039         macros for rounding and division.
19040         (denorm): Likewise.
19041         (__dbl_mp): Likewise.
19042         (add_magnitudes): Likewise.
19043         (sub_magnitudes): Likewise.
19044         (__mul): Likewise.
19045         (__sqr): Likewise.
19046         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19047         powers of two in terms of TWOPOW macro.
19048         (mp_no): Make type of mantissa as MANTISSA_T.
19049         [!RADIXI]: Define RADIXI.
19050         [!TWO52]: Define TWO52.
19051         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19052
19053 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19054
19055         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19056         llroundl symbol when building for PPC32.
19057
19058 2013-03-24  Mark H Weaver  <mhw@netris.org>
19059
19060         * manual/arith.texi (Normalization Functions): Fix prototypes for
19061         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19062
19063 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19064
19065         [BZ #13889]
19066         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19067         high value to check if expl overflow.
19068         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19069         to check for underflow and overflow.
19070         * math/libm-test.inc: Add exp test.
19071
19072 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
19073
19074         [BZ #11120]
19075         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19076         with NOT_IN_libc.
19077
19078 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19079
19080         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19081         symbol.
19082
19083 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
19084
19085         * math/gen-libm-test.pl (parse_args, special_functions): Properly
19086         wrap blocks consisting of several statements.
19087
19088         * sysdeps/generic/math-tests.h: New file.
19089         * sysdeps/i386/fpu/math-tests.h: Likewise.
19090         * math/test-snan.c: Include it.
19091         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19092
19093 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19094
19095         [BZ #15285]
19096         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19097         (__ieee754_j0l): Do not improve calculations using cos of twice
19098         input for inputs above LDBL_MAX / 2.0L.
19099         (__ieee754_y0l): Likewise.
19100         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19101         (__ieee754_j1l): Do not improve calculations using cos of twice
19102         input for inputs above LDBL_MAX / 2.0L.
19103         (__ieee754_y1l): Likewise.
19104         * math/libm-test.inc (j0_test): Add another test.
19105         (j1_test): Likewise.
19106         (y0_test): Likewise.
19107         (y1_test): Likewise.
19108         * sysdeps/i386/fpu/libm-test-ulps: Update.
19109
19110 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19111
19112         * Rules ($(objpfx)bench-%.c): Include code from a C source
19113         file.
19114
19115 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19116
19117         [BZ #15287]
19118         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19119         imaginary part 1.0 and real part less than 0.5 specially.
19120         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19121         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19122         * math/libm-test.inc (cacos_test): Add more tests.
19123         (casin_test): Likewise.
19124         (casinh_test): Likewise.
19125         * sysdeps/i386/fpu/libm-test-ulps: Update.
19126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19127
19128 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19129
19130         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19131         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19132
19133 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
19134
19135         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19136         * config.make.in (config-cflags-sse4): Remove variable.
19137         (config-cflags-avx): Likewise.
19138         (config-cflags-sse2avx): Likewise.
19139         (config-cflags-novzeroupper): Likewise.
19140         (config-asflags-i686): Likewise.
19141         (have-mfma4): Likewise.
19142         (have-as-vis3): Likewise.
19143         (MIG): Likewise.
19144         * configure.in (MIG): Do not AC_SUBST.
19145         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19146         (libc_cv_cc_sse4): Do not AC_SUBST.
19147         (libc_cv_cc_avx): Likewise.
19148         (libc_cv_cc_sse2avx): Likewise.
19149         (libc_cv_cc_novzeroupper): Likewise.
19150         (libc_cv_cc_fma4): Likewise.
19151         (libc_cv_as_i686): Likewise.
19152         (libc_cv_sparc_as_vis3): Likewise.
19153         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19154         LIBC_CONFIG_VAR.
19155         (config-asflags-i686): Likewise.
19156         (config-cflags-avx): Likewise.
19157         (config-cflags-sse2avx): Likewise.
19158         (have-mfma4): Likewise.
19159         (config-cflags-novzeroupper): Likewise.
19160         * sysdeps/mach/configure.in (MIG): Likewise.
19161         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19162         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19163         LIBC_CONFIG_VAR.
19164         (config-cflags-avx): Likewise.
19165         (config-cflags-sse2avx): Likewise.
19166         (have-mfma4): Likewise.
19167         (config-cflags-novzeroupper): Likewise.
19168         * configure: Regenerated.
19169         * sysdeps/i386/configure: Likewise.
19170         * sysdeps/mach/configure: Likewise.
19171         * sysdeps/sparc/configure: Likewise.
19172         * sysdeps/x86_64/configure: Likewise.
19173
19174 2013-03-20  Roland McGrath  <roland@hack.frob.com>
19175
19176         [BZ #14812]
19177         * locale/programs/localedef.c (options): Put N_ translation marker
19178         on argument names, not just descriptions.
19179
19180 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19181
19182         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19183
19184 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
19185
19186         [BZ #14176]
19187         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19188
19189 2013-03-19  Roland McGrath  <roland@hack.frob.com>
19190
19191         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19192         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19193         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19194         [!BEFORE_ABORT] (before_abort): New function.
19195         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19196         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19197         (writev_for_fatal): New function.
19198         (WRITEV_FOR_FATAL): New macro; call that.
19199         (backtrace_and_maps): New function.
19200         (BEFORE_ABORT): New macro; call that.
19201         (struct str_list): Type removed.
19202         (__libc_message, __libc_fatal): Functions removed.
19203         Include <sysdeps/posix/libc_fatal.c> instead.
19204
19205 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
19206
19207         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19208         constants.
19209         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19210         double constants.
19211
19212 2013-03-19  Andreas Schwab  <schwab@suse.de>
19213
19214         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19215         * sysdeps/gnu/configure: Regenerate.
19216
19217         * configure.in: Substitute libc_cv_rtlddir.
19218         * configure: Regenerate.
19219         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19220         * Makeconfig (rtlddir, inst_rtlddir): New variables.
19221         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19222         * elf/Makefile (install-others, CFLAGS-interp.c)
19223         (ldso_install, common-ldd-rewrite): Likewise.
19224         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19225         $(inst_slibdir)/$(rtld-installed-name).
19226         * scripts/rellns-sh: Add -p option.
19227         * Makerules (make-shlib-link): Use rellns-sh to get relative name
19228         for source.
19229
19230 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19231
19232         * manual/nptl.texi: Renamed to ...
19233         * manual/threads.texi: ... this.
19234         * manual/Makefile (chapters): Update.
19235
19236 2013-03-18  Roland McGrath  <roland@hack.frob.com>
19237
19238         [BZ #14812]
19239         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19240         on argument names, not just descriptions.
19241         * malloc/memusagestat.c (options): Likewise.
19242         * nss/getent.c (options): Likewise.
19243
19244 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
19245
19246         [BZ #14812]
19247         * iconv/iconv_prog.c (options): Put N_ translation marker
19248         on argument names, not just descriptions.
19249         * iconv/iconvconfig.c (options): Likewise.
19250
19251 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
19252
19253         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19254         implementation which is faster on all x86_64 architectures.
19255         Tested on AMD, Intel Nehalem, SNB, IVB.
19256         * sysdeps/x86_64/strnlen.S: Likewise.
19257
19258         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19259         Remove all multiarch strlen and strnlen versions.
19260         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19261         Remove strlen and strnlen related parts.
19262
19263         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19264         Inline strlen part.
19265         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19266
19267         * sysdeps/x86_64/multiarch/strlen.S: Remove.
19268         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19269         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19270         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19271         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19272         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19273
19274 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
19275
19276         * manual/memory.texi (Malloc Tunable Parameters):
19277         Sort parameters alphabetically. Add comments for missing entries.
19278
19279 2013-03-17  David S. Miller  <davem@davemloft.net>
19280
19281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19282
19283 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
19284
19285         [BZ #15283]
19286         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19287         for arguments at most half maximum finite value.
19288         * math/libm-test.inc (j0_test): Add more tests.
19289         (j1_test): Likewise.
19290         (y0_test): Likewise.
19291         (y1_test): Likewise.
19292         * sysdeps/i386/fpu/libm-test-ulps: Update.
19293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19294
19295         [BZ #14155]
19296         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19297         1 / x and functions P and Q for arguments above 0x1p256L.
19298         (__ieee754_y0l): Likewise.
19299         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19300         (__ieee754_y1l): Likewise.
19301         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19302         (j1_test): Likewise.
19303         (y0_test): Likewise.
19304         (y1_test): Likewise.
19305
19306 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
19307
19308         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19309         variable.
19310
19311 2013-03-15  Roland McGrath  <roland@hack.frob.com>
19312
19313         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19314         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19315         zero since it's initialized to EXEC_PAGESIZE.
19316
19317         * sysdeps/unix/sysv/linux/ldsodefs.h
19318         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19319         * sysdeps/generic/ldsodefs.h: ... here.
19320
19321 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
19322
19323         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19324
19325         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19326         math/test-snan.c.
19327         * math/test-snan.c: Renamed from
19328         sysdeps/powerpc/fpu/test-powerpc-snan.c.
19329         * math/Makefile (tests): Add test-snan.
19330         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19331         test-powerpc-snan.
19332
19333         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19334         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
19335         functions.
19336         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
19337         __builtin_nan family of functions.
19338         * math/libm-test.inc (initialize): Initialize qnan_value with
19339         __builtin_nan family of functions.
19340         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19341         Remove variables.
19342         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19343         Remove functions.
19344         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
19345         storage class.  Initialize qNaN_var and sNaN_var with
19346         __builtin_nan and __builtin_nans families of functions,
19347         respectively.
19348
19349         * math/libm-test.inc (acosh_test): Also test with qNaN input.
19350         (sqrt_test): Remove duplicate test with qNaN input.
19351         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19352         (round_test, signbit_test, significand_test): Note missing +/-Inf
19353         as well as qNaN tests.
19354
19355         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19356         qNaN_var.  Fix a few strings, too.
19357         * math/libm-test.inc (nan_value): Rename to qnan_value.
19358         * math/gen-libm-test.pl (%beautify): Adjust to that.
19359         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19360         * math/test-misc.c (main): Likewise.
19361         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19362         to __qnan_bytes, and __qnan_union, respectively.
19363         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19364         Likewise.
19365         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19366         and lqnanval, respectively.
19367         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19368         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19369         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19370         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19371
19372         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19373         * math/test-misc.c (main) [__x86_64__]: Enable test for long
19374         doubles.
19375
19376         * math/test-misc.c (main): Fix copy'n'pastos.
19377         * misc/tst-efgcvt.c (special): Likewise.
19378
19379         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19380         Remove declarations.
19381
19382 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19383
19384         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19385         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19386         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19387         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19388
19389 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19390
19391         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19392         macro to return vdso values correctly in IFUNC implementations.
19393         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19394         Optimization by using IFUNC.
19395
19396 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19397             Richard Henderson  <rth@redhat.com>
19398             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19399
19400         * Makefile.in (bench): New target.
19401         * NEWS: Mention the benchmark framework.
19402         * Rules (bench): Likewise.
19403         (binaries-bench): Generate binaries for functions to
19404         benchmark.
19405         * benchtests/Makefile: New makefile for benchmark tests.
19406         * benchtests/bench-skeleton.c: New skeleton file for benchmark
19407         programs.
19408         * benchtests/exp-inputs: New input file for EXP function.
19409         * benchtests/pow-inputs: New input file for POW function.
19410         * scripts/bench.pl: New script to generate source files for
19411         benchmark programs.
19412
19413 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19414
19415         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19416         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19417         computations on mantissa.  Use macros for rounding and
19418         division.
19419         (denorm): Likewise.
19420         (__dbl_mp): Likewise.
19421         (add_magnitudes): Likewise.
19422         (sub_magnitudes): Likewise.
19423         (__mul): Likewise.
19424         (__sqr): Likewise.
19425         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19426         powers of two in terms of TWOPOW macro.
19427         (mp_no): Make type of mantissa as MANTISSA_T.
19428         [!RADIXI]: Define RADIXI.
19429         [!TWO52]: Define TWO52.
19430         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19431
19432         * manual/nptl.texi (cindex): Modify threads to pthreads.
19433
19434 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
19435
19436         * sysdeps/x86_64/preconfigure: Regenerated.
19437
19438 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
19439
19440         [BZ #14155]
19441         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19442         0x1p28 and above.
19443         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19444         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19445         0x1p28 and above.
19446         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19447         * math/libm-test.inc (j0_test): Do not allow one spurious
19448         underflow exception.
19449         (y1_test): Likewise.
19450
19451 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19452
19453         * manual/Makefile (chapters): Add nptl.
19454         * manual/debug.texi (Debugging Support): Add link to Threads
19455         chapter.
19456         * manual/nptl.texi: New file.
19457
19458         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19459
19460 2013-03-14  Petr Baudis  <pasky@ucw.cz>
19461
19462         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19463         for non-NULL pointer before the memory validity test. Pointed
19464         out by Holger Brunck <holger.brunck@keymile.com>.
19465
19466 2013-03-13  Andreas Schwab  <schwab@suse.de>
19467
19468         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19469         instead of .os.
19470
19471 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
19472
19473         * timezone/zic.c: Update from tzcode 2013b.
19474
19475 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
19476
19477         * manual/install.texi (Configuring and compiling):
19478         Mention i686 and i586.
19479         * INSTALL: Regenerate.
19480
19481 2013-03-12  Roland McGrath  <roland@hack.frob.com>
19482
19483         * sysdeps/init_array/elf-init.c: New file.
19484         * csu/elf-init.c
19485         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19486         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19487
19488         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19489         __gmon_start__ as global, but as static with a .preinit_array pointer.
19490         * sysdeps/init_array/gmon-start.c: New file.  Use that.
19491         * sysdeps/init_array/crti.S: New file, empty except for comments.
19492         * sysdeps/init_array/crtn.S: Likewise.
19493
19494 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
19495
19496         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19497         definining bcopy.
19498         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19499         Remove Prefer_SSE_for_memop.
19500         * sysdeps/x86_64/multiarch/init-arch.h: Remove
19501         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19502         HAS_PREFER_SSE_FOR_MEMOP.
19503         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19504         memset-x86-64.
19505         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19506         Remove bzero, memset ifunc support.
19507         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19508         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19509         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19510         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19511
19512 2013-03-11  Andreas Schwab  <schwab@suse.de>
19513
19514         [BZ #15234]
19515         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19516         by SHLIB_COMPAT.
19517         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19518         (GLIBC_2.16): Remove pthread_atfork.
19519
19520 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19521
19522         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19523         (ptestcases.h): Likewise.
19524
19525 2013-03-08  Roland McGrath  <roland@hack.frob.com>
19526
19527         * Makeconfig ($(common-objpfx)config.status): Depend on
19528         sysdeps/*/preconfigure{,.in} too.
19529
19530 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
19531
19532         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19533         (__free_hook): Use void * instead of __malloc_ptr_t.
19534         (__malloc_hook): Likewise.
19535         (__realloc_hook): Likewise.
19536         (__memalign_hook): Likewise.
19537         (__after_morecore_hook): Likewise.
19538         * malloc/arena.c (save_malloc_hook): Likewise.
19539         (save_free_hook): Likewise.
19540         * malloc/hooks.c (malloc_hook_ini): Likewise.
19541         (realloc_hook_ini): Likewise.
19542         (memalign_hook_ini): Likewise.
19543         * malloc/malloc.c (malloc_hook_ini): Likewise.
19544         (realloc_hook_ini): Likewise.
19545         (memalign_hook_ini): Likewise.
19546         (__free_hook): Likewise.
19547         (__malloc_hook): Likewise.
19548         (__realloc_hook): Likewise.
19549         (__memalign_hook): Likewise.
19550         (__libc_malloc): Likewise.
19551         (__libc_free): Likewise.
19552         (__libc_realloc): Likewise.
19553         (__libc_memalign): Likewise.
19554         (__libc_valloc): Likewise.
19555         (__libc_pvalloc): Likewise.
19556         (__libc_calloc): Likewise.
19557         (__posix_memalign): Likewise.
19558         * malloc/morecore.c (__sbrk): Likewise.
19559         (__default_morecore): Likewise.
19560
19561         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19562
19563         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19564         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19565         __malloc_ptrdiff_t.
19566
19567         * malloc/malloc.h (__malloc_size_t): Remove macro.
19568         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19569         __malloc_size_t.
19570         (old_memalign_hook): Likewise.
19571         (old_realloc_hook): Likewise.
19572         (struct hdr): Likewise.
19573         (flood): Likewise.
19574         (mallochook): Likewise.
19575         (memalignhook): Likewise.
19576         (reallochook): Likewise.
19577         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19578         (tr_old_realloc_hook): Likewise.
19579         (tr_old_memalign_hook): Likewise.
19580         (tr_mallochook): Likewise.
19581         (tr_reallochook): Likewise.
19582         (tr_memalignhook): Likewise.
19583
19584 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19585
19586         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19587         default_ldbl_pack and using as default implementation.
19588         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19589         implementation.
19590         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19591         redundant definition.
19592         (ldbl_insert_mantissa): Likewise.
19593         (ldbl_canonicalize): Likewise.
19594         (ldbl_nearbyint): Likewise.
19595         (ldbl_pack): Rename to ldbl_pack_ppc.
19596         (ldbl_unpack): Rename to ldbl_unpack_ppc.
19597         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19598         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19599
19600 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19601
19602         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19603         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19604         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19605         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19606         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19607         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19608         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19609         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19610
19611 2013-03-07  Andreas Jaeger  <aj@suse.de>
19612
19613         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19614         bits/mman-linux.h.
19615
19616 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19617
19618         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19619         Include mpa.h and declare __MPEXP.
19620         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19621         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19622         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19623         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19624         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19625         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19626         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19627
19628         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19629         (__slowpow): Use long double EXPL and LOGL functions to
19630         compute POW.
19631         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19632         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19633         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19634         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19635         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19636         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19637
19638         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19639         intermediate variable to calculate exponent.
19640         (__sqr): Likewise.
19641         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19642         Likewise.
19643         (__sqr): Likewise.
19644
19645         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19646         [!NO__SQR]: Define __sqr.
19647         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19648         and NO__SQR.  Remove all code except __mul and __sqr.  Include
19649         sysdeps/ieee754/dbl-64/mpa.c.
19650         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19651
19652         [BZ #12723]
19653         * posix/Makefile (tests): Add tst-pathconf.
19654         * posix/tst-pathconf.c: New test case.
19655         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19656         _PC_PIPE_BUF.
19657         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19658
19659 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
19660
19661         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19662
19663 2013-03-06  Andreas Jaeger  <aj@suse.de>
19664
19665         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19666         definition via __MAP_ANONYMOUS.
19667
19668         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19669         it's not part of Linux headers.
19670
19671         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19672         (MAP_HUGE_MASK): Define.
19673
19674         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19675         Define.
19676         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19677         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19678         Define.
19679         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19680         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19681         Define.
19682         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19683         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19684         Define.
19685         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19686
19687         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19688         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19689         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19690         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19691         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19692         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19693
19694         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19695         Handle f2fs.
19696
19697         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19698         Handle f2fs and efivarfs.
19699
19700         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19701         f2fs.
19702
19703         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19704         (EFIVARFS_MAGIC): Add.
19705         (F2FS_LINK_MAX): Add.
19706
19707 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19708
19709         * stdio-common/vfprintf.c: Replace __builtin_expect with
19710         __glibc_unlikely.
19711
19712 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
19713
19714         [BZ #13550]
19715         * sysdeps/generic/bp-sym.h: Remove file.
19716         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19717         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19718         <bp-sym.h> and <bp-asm.h>.
19719         (__longjmp): Don't use BP_SYM.
19720         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19721         and <bp-asm.h>.
19722         (memcpy): Don't use BP_SYM.
19723         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19724         <bp-sym.h> and <bp-asm.h>.
19725         (memcpy): Don't use BP_SYM.
19726         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19727         <bp-asm.h>.
19728         (memcpy): Don't use BP_SYM.
19729         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19730         <bp-asm.h>.
19731         (memset): Don't use BP_SYM.
19732         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19733         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19734         (__bzero): Don't use BP_SYM.
19735         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19736         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19737         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19738         <bp-sym.h> and <bp-asm.h>.
19739         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19740         pointers.
19741         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19742         <bp-sym.h> and <bp-asm.h>.
19743         (memcpy): Don't use BP_SYM.
19744         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19745         <bp-sym.h> and <bp-asm.h>.
19746         (memset): Don't use BP_SYM.
19747         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19748         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19749         (__bzero): Don't use BP_SYM.
19750         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19751         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19752         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19753         <bp-sym.h> and <bp-asm.h>.
19754         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19755         pointers.
19756         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19757         <bp-sym.h> and <bp-asm.h>.
19758         (memcpy): Don't use BP_SYM.
19759         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19760         <bp-sym.h> and <bp-asm.h>.
19761         (memset): Don't use BP_SYM.
19762         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19763         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19764         (__bzero): Don't use BP_SYM.
19765         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19766         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19767         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19768         <bp-sym.h> and <bp-asm.h>.
19769         (__memchr): Don't use BP_SYM.
19770         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19771         <bp-sym.h> and <bp-asm.h>.
19772         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19773         pointers.
19774         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19775         <bp-sym.h> and <bp-asm.h>.
19776         (memcpy): Don't use BP_SYM.
19777         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19778         <bp-sym.h> and <bp-asm.h>.
19779         (__mempcpy): Don't use BP_SYM.
19780         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19781         <bp-sym.h> and <bp-asm.h>.
19782         (__memrchr): Don't use BP_SYM.
19783         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19784         <bp-sym.h> and <bp-asm.h>.
19785         (memset): Don't use BP_SYM.
19786         (__bzero): Likewise.
19787         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19788         <bp-sym.h> and <bp-asm.h>.
19789         (__rawmemchr): Don't use BP_SYM.
19790         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19791         <bp-sym.h> and <bp-asm.h>.
19792         (__STRCMP): Don't use BP_SYM.
19793         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19794         <bp-sym.h> and <bp-asm.h>.
19795         (strchr): Don't use BP_SYM.
19796         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19797         <bp-sym.h> and <bp-asm.h>.
19798         (__strchrnul): Don't use BP_SYM.
19799         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19800         <bp-sym.h> and <bp-asm.h>.
19801         (strlen): Don't use BP_SYM.
19802         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19803         <bp-sym.h> and <bp-asm.h>.
19804         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19805         pointers.
19806         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19807         <bp-sym.h> and <bp-asm.h>.
19808         (__strnlen): Don't use BP_SYM.
19809         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19810         <bp-sym.h> and <bp-asm.h>.
19811         (__GI__setjmp): Don't use BP_SYM.
19812         (_setjmp): Likewise.
19813         (__sigsetjmp): Likewise.
19814         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19815         (L(start_addresses)): Don't use BP_SYM.
19816         (_start): Likewise.
19817         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19818         <bp-asm.h>.
19819         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19820         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19821         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19822         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19823         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19824         <bp-asm.h>.
19825         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19826         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
19827         about bounded pointers.
19828         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19829         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19830         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19831         <bp-asm.h>.
19832         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19833         about bounded pointers.  Remove GKM FIXME comments.
19834         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19835         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19836         <bp-asm.h>.
19837         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19838         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
19839         Remove GKM FIXME comments.
19840         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19841         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19842         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19843         <bp-asm.h>.
19844         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19845         about bounded pointers.  Remove GKM FIXME comment.
19846         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19847         and <bp-asm.h>.
19848         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19849         pointers.
19850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19851         <bp-sym.h> and <bp-asm.h>.
19852         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19854         <bp-sym.h> and <bp-asm.h>.
19855         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19856         comment.
19857
19858 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19859
19860         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19861         call free(NULL).
19862
19863 2013-03-05  David S. Miller  <davem@davemloft.net>
19864
19865         * po/es.po: Update from translation team.
19866
19867 2013-03-05  Andreas Jaeger  <aj@suse.de>
19868
19869         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19870         <bits/mman-linux.h>.
19871         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19872         is fine.
19873         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19874         <bits/mman-linux.h> to end of file.
19875         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19876         is fine.
19877         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19878         <bits/mman-linux.h> to end of file.
19879         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19880         is fine.
19881         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19882         <bits/mman-linux.h> to end of file.
19883
19884         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19885         (MCL_CURRENT, MCL_FUTURE): Define here.
19886
19887 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19888
19889         [BZ #15232]
19890         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19891         attribute_hidden.
19892         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19893
19894 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19895
19896         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19897         fourth parameter needed for rt_sigprocmask syscall.
19898         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19899         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19900         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19901         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19902         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19903         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19904
19905 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
19906
19907         [BZ #13550]
19908         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19909         comment about bounded pointers.
19910         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19911         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19912
19913 2013-03-04  Andreas Jaeger  <aj@suse.de>
19914
19915         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19916         common definitions.
19917
19918         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19919         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19920         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19921         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19922         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19923         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19924
19925 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19926
19927         [BZ #15055]
19928         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19929         __ieee754_sqrl instead of __sqrl.
19930
19931 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
19932
19933         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19934         * sysdeps/powerpc/fpu_control.h: ... here.
19935         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19936         * sysdeps/powerpc/bits/fenvinline.h: ... here.
19937         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19938         * sysdeps/powerpc/bits/mathinline.h: ... here.
19939
19940 2013-03-01  Roland McGrath  <roland@hack.frob.com>
19941
19942         * elf/dl-hwcaps.c (_dl_important_hwcaps):
19943         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19944         to just [NEED_DL_SYSINFO_DSO].
19945         * elf/dl-support.c: Likewise.
19946         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19947         * elf/rtld.c (dl_main): Likewise.
19948         * elf/setup-vdso.h (setup_vdso): Likewise.
19949         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19950         * sysdeps/unix/sysv/linux/dl-sysdep.c
19951         (_dl_discover_osversion): Likewise.
19952
19953 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
19954
19955         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19956         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19957
19958 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19959
19960         * NEWS: Mention libm performance improvements and non-x86 PI
19961         futex support.
19962
19963         * csu/libc-start.c (__pthread_initialize_minimal): Change
19964         function arguments.
19965         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19966
19967 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
19968
19969         [BZ #13550]
19970         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19971         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19972         <bp-sym.h> and <bp-asm.h>.
19973         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19974         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19975         and <bp-asm.h>.
19976         (memcpy): Don't use BP_SYM.
19977         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19978         <bp-asm.h>.
19979         (__mpn_add_n): Don't use BP_SYM.
19980         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19981         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19982         and <bp-asm.h>.
19983         (__mpn_addmul_1): Don't use BP_SYM.
19984         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19985         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19986         <bp-sym.h>.
19987         (_setjmp): Don't use BP_SYM.
19988         (__novmx_setjmp): Likewise.
19989         (__GI__setjmp): Likewise.
19990         (__vmx_setjmp): Likewise.
19991         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19992         <bp-sym.h>.
19993         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19994         (__bzero): Don't use BP_SYM.
19995         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19996         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19997         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19998         <bp-sym.h> and <bp-asm.h>.
19999         (memcpy): Don't use BP_SYM.
20000         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20001         <bp-sym.h> and <bp-asm.h>.
20002         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20003         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20004         <bp-sym.h> and <bp-asm.h>.
20005         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20006         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20007         <bp-asm.h>.
20008         (__mpn_lshift): Don't use BP_SYM.
20009         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20010         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20011         <bp-asm.h>.
20012         (memset): Don't use BP_SYM.
20013         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20014         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20015         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20016         <bp-asm.h>.
20017         (__mpn_mul_1): Don't use BP_SYM.
20018         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20019         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20020         <bp-sym.h> and <bp-asm.h>.
20021         (memcmp): Don't use BP_SYM.
20022         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20023         <bp-sym.h> and <bp-asm.h>.
20024         (memcpy): Don't use BP_SYM.
20025         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20026         <bp-sym.h> and <bp-asm.h>.
20027         (memset): Don't use BP_SYM.
20028         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20029         <bp-sym.h> and <bp-asm.h>.
20030         (strncmp): Don't use BP_SYM.
20031         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20032         <bp-sym.h> and <bp-asm.h>.
20033         (memcpy): Don't use BP_SYM.
20034         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20035         <bp-sym.h> and <bp-asm.h>.
20036         (memset): Don't use BP_SYM.
20037         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20038         <bp-sym.h> and <bp-asm.h>.
20039         (__memchr): Don't use BP_SYM.
20040         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20041         <bp-sym.h> and <bp-asm.h>.
20042         (memcmp): Don't use BP_SYM.
20043         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20044         <bp-sym.h> and <bp-asm.h>.
20045         (memcpy): Don't use BP_SYM.
20046         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20047         <bp-sym.h> and <bp-asm.h>.
20048         (__mempcpy): Don't use BP_SYM.
20049         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20050         <bp-sym.h> and <bp-asm.h>.
20051         (__memrchr): Don't use BP_SYM.
20052         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20053         <bp-sym.h> and <bp-asm.h>.
20054         (memset): Don't use BP_SYM.
20055         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20056         <bp-sym.h> and <bp-asm.h>.
20057         (__rawmemchr): Don't use BP_SYM.
20058         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20059         <bp-sym.h> and <bp-asm.h>.
20060         (__STRCMP): Don't use BP_SYM.
20061         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20062         <bp-sym.h> and <bp-asm.h>.
20063         (strchr): Don't use BP_SYM.
20064         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20065         <bp-sym.h> and <bp-asm.h>.
20066         (__strchrnul): Don't use BP_SYM.
20067         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20068         <bp-sym.h> and <bp-asm.h>.
20069         (strlen): Don't use BP_SYM.
20070         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20071         <bp-sym.h> and <bp-asm.h>.
20072         (strncmp): Don't use BP_SYM.
20073         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20074         <bp-sym.h> and <bp-asm.h>.
20075         (__strnlen): Don't use BP_SYM.
20076         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20077         <bp-asm.h>.
20078         (__mpn_rshift): Don't use BP_SYM.
20079         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20080         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20081         <bp-sym.h> and <bp-asm.h>.
20082         (__sigsetjmp): Don't use BP_SYM.
20083         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20084         (L(start_addresses)): Don't use BP_SYM.
20085         (_start): Likewise.
20086         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20087         <bp-asm.h>.
20088         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20089         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20090         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20091         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20092         <bp-asm.h>.
20093         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20094         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20095         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20096         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20097         <bp-asm.h>.
20098         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20099         comments.
20100         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20101         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20102         <bp-asm.h>.
20103         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
20104         FIXME comments.
20105         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20106         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20107         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20108         <bp-asm.h>.
20109         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20110         comment.
20111         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20112         and <bp-asm.h>.
20113         (strncmp): Don't use BP_SYM,
20114         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20115         <bp-asm.h>.
20116         (__mpn_sub_n): Don't use BP_SYM.
20117         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20118         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20119         and <bp-asm.h>.
20120         (__mpn_submul_1): Don't use BP_SYM.
20121         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20123         <bp-sym.h> and <bp-asm.h>.
20124         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20126         <bp-sym.h> and <bp-asm.h>.
20127         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20128         comment.
20129
20130 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20131
20132         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20133         Use ZK to minimize writes to Z.
20134         (sub_magnitudes): Simplify code a bit.
20135         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20136         Use ZK to minimize writes to Z.
20137         (sub_magnitudes): Simplify code a bit.
20138
20139 2013-02-27  Roland McGrath  <roland@hack.frob.com>
20140
20141         * csu/gmon-start.c: Add special exception to license text.
20142
20143 2013-02-27  Richard Henderson  <rth@redhat.com>
20144
20145         * scripts/config.guess: Update from config.git.
20146         * scripts/config.sub: Likewise.
20147
20148 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20149
20150         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20151
20152         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20153
20154         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20155
20156         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20157
20158         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20159
20160 2013-02-26  Roland McGrath  <roland@hack.frob.com>
20161
20162         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20163         [$(build-shared = yes].
20164
20165 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20166
20167         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20168         (__mul): Reduce iterations for calculating mantissa.
20169
20170         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20171         MPTWO.
20172         (__mpranred): Likewise.
20173
20174         [BZ #15160]
20175         * malloc/memusagestat.c (main): Draw graphs for heap and stack
20176         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20177
20178 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
20179
20180         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20181         Define __attribute__.
20182
20183 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20184
20185         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20186         unused.
20187         * posix/regex_internal.h (__attribute): Remove.
20188         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20189         (re_string_context_at): Likewise.
20190         (bitset_not): Use __attribute__ and mark function as possibly
20191         unused.
20192         (bitset_merge): Likewise.
20193         (bitset_mask): Likewise.
20194         (re_string_char_size_at): Likewise.
20195         (re_string_wchar_at): Likewise.
20196         (re_string_elem_size_at): Likewise.
20197
20198 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20199
20200         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20201         code.
20202         (cc32): Likewise.
20203
20204         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20205         (__acr): Likewise.
20206         (__cpy): Likewise.
20207         (norm): Likewise.
20208         (denorm): Likewise.
20209         (__dbl_mp): Likewise.
20210         (add_magnitudes): Likewise.
20211         (sub_magnitudes): Likewise.
20212         (__mul): Likewise.
20213         (__inv): Likewise.
20214
20215         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20216         style.
20217
20218         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20219         style.
20220
20221         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20222         code.
20223
20224         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20225         up changes with default code.
20226         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20227         Likewise.
20228
20229 2013-02-24  Allan McRae  <allan@archlinux.org>
20230
20231         * manual/socket.texi (The Internet Namespace): Order menu items
20232         to match that in the file.
20233
20234         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20235         node listing of the info page menu.
20236
20237 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
20238
20239         [BZ #13550]
20240         * sysdeps/i386/bp-asm.h: Remove file.
20241         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20242         (PARMS): Do not use macros from bp-asm.h.
20243         (S1): Likewise.
20244         (S2): Likewise.
20245         (SIZE): Likewise.
20246         (__mpn_add_n): Do not use BP_SYM
20247         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20248         "bp-asm.h".
20249         (PARMS): Do not use macros from bp-asm.h.
20250         (S1): Likewise.
20251         (SIZE): Likewise.
20252         (__mpn_addmul_1): Do not use BP_SYM
20253         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20254         "bp-asm.h".
20255         (PARMS): Do not use macros from bp-asm.h.
20256         (SIGMSK): Likewise.
20257         (_setjmp): Likewise.  Do not use BP_SYM.
20258         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20259         "bp-asm.h".
20260         (PARMS): Do not use macros from bp-asm.h.
20261         (SIGMSK): Likewise.
20262         (setjmp): Likewise.  Do not use BP_SYM.
20263         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20264         "bp-asm.h".
20265         (PARMS): Do not use macros from bp-asm.h.
20266         (__frexp): Do not use BP_SYM.
20267         (frexp): Likewise.
20268         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20269         "bp-asm.h".
20270         (PARMS): Do not use macros from bp-asm.h.
20271         (__frexpf): Do not use BP_SYM.
20272         (frexpf): Likewise.
20273         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20274         "bp-asm.h".
20275         (PARMS): Do not use macros from bp-asm.h.
20276         (__frexpl): Do not use BP_SYM.
20277         (frexpl): Likewise.
20278         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20279         "bp-asm.h".
20280         (PARMS): Do not use macros from bp-asm.h.
20281         (__remquo): Do not use BP_SYM.
20282         (remquo): Likewise.
20283         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20284         "bp-asm.h".
20285         (PARMS): Do not use macros from bp-asm.h.
20286         (__remquof): Do not use BP_SYM.
20287         (remquof): Likewise.
20288         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20289         "bp-asm.h".
20290         (PARMS): Do not use macros from bp-asm.h.
20291         (__remquol): Do not use BP_SYM.
20292         (remquol): Likewise.
20293         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20294         "bp-asm.h".
20295         (PARMS): Do not use macros from bp-asm.h.
20296         (DEST): Likewise.
20297         (SRC): Likewise.
20298         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
20299         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20300         "bp-asm.h".
20301         (PARMS): Do not use macros from bp-asm.h.
20302         (strlen): Do not use BP_SYM.
20303         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20304         "bp-asm.h".
20305         (PARMS): Do not use macros from bp-asm.h.
20306         (S1): Likewise.
20307         (S2): Likewise.
20308         (SIZE): Likewise.
20309         (__mpn_add_n): Do not use BP_SYM.
20310         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20311         "bp-asm.h".
20312         (PARMS): Do not use macros from bp-asm.h.
20313         (S1): Likewise.
20314         (SIZE): Likewise.
20315         (__mpn_addmul_1): Do not use BP_SYM.
20316         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20317         weak_alias.
20318         (bzero): Likewise.
20319         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20320         "bp-asm.h".
20321         (PARMS): Do not use macros from bp-asm.h.
20322         (S): Likewise.
20323         (SIZE): Likewise.
20324         (__mpn_lshift): Do not use BP_SYM.
20325         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20326         "bp-asm.h".
20327         (PARMS): Do not use macros from bp-asm.h.
20328         (DEST): Likewise.
20329         (SRC): Likewise.
20330         (LEN): Likewise.
20331         (memcpy): Likewise.  Do not use BP_SYM.
20332         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20333         libc_hidden_def and weak_alias.
20334         (mempcpy): Do not use BP_SYM in weak_alias.
20335         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20336         "bp-asm.h".
20337         (PARMS): Do not use macros from bp-asm.h.
20338         (DEST): Likewise.
20339         (LEN): Likewise.
20340         [!BZERO_P] (CHR): Likewise.
20341         (memset): Likewise.  Do not use BP_SYM.
20342         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20343         "bp-asm.h".
20344         (PARMS): Do not use macros from bp-asm.h.
20345         (S1): Likewise.
20346         (SIZE): Likewise.
20347         (__mpn_mul_1): Do not use BP_SYM.
20348         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20349         "bp-asm.h".
20350         (PARMS): Do not use macros from bp-asm.h.
20351         (S): Likewise.
20352         (SIZE): Likewise.
20353         (__mpn_rshift): Do not use BP_SYM.
20354         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20355         "bp-asm.h".
20356         (PARMS): Do not use macros from bp-asm.h.
20357         (STR): Likewise.
20358         (CHR): Likewise.
20359         (strchr): Likewise.  Do not use BP_SYM.
20360         (index): Do not use BP_SYM in weak_alias.
20361         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20362         "bp-asm.h".
20363         (PARMS): Do not use macros from bp-asm.h.
20364         (DEST): Likewise.
20365         (SRC): Likewise.
20366         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
20367         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20368         "bp-asm.h".
20369         (PARMS): Do not use macros from bp-asm.h.
20370         (strlen): Do not use BP_SYM.
20371         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20372         "bp-asm.h".
20373         (PARMS): Do not use macros from bp-asm.h.
20374         (S1): Likewise.
20375         (S2): Likewise.
20376         (SIZE): Likewise.
20377         (__mpn_sub_n): Do not use BP_SYM.
20378         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20379         "bp-asm.h".
20380         (PARMS): Do not use macros from bp-asm.h.
20381         (S1): Likewise.
20382         (SIZE): Likewise.
20383         (__mpn_submul_1): Do not use BP_SYM.
20384         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20385         "bp-asm.h".
20386         (PARMS): Do not use macros from bp-asm.h.
20387         (S1): Likewise.
20388         (S2): Likewise.
20389         (SIZE): Likewise.
20390         (__mpn_add_n): Do not use BP_SYM.
20391         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20392         weak_alias.
20393         (bzero): Likewise.
20394         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20395         "bp-asm.h".
20396         (PARMS): Do not use macros from bp-asm.h.
20397         (BLK2): Likewise.
20398         (LEN): Likewise.
20399         (memcmp): Do not use BP_SYM.
20400         (bcmp): Do not use BP_SYM in weak_alias.
20401         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20402         "bp-asm.h".
20403         (PARMS): Do not use macros from bp-asm.h.
20404         (DEST): Likewise.
20405         (SRC): Likewise.
20406         (LEN): Likewise.
20407         (memcpy): Likewise.  Do not use BP_SYM.
20408         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20409         "bp-asm.h".
20410         (PARMS): Do not use macros from bp-asm.h.
20411         (DEST): Likewise.
20412         (SRC): Likewise.
20413         (LEN): Likewise.
20414         (memmove): Likewise.  Do not use BP_SYM.
20415         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20416         "bp-asm.h".
20417         (PARMS): Do not use macros from bp-asm.h.
20418         (DEST): Likewise.
20419         (SRC): Likewise.
20420         (LEN): Likewise.
20421         (__mempcpy): Likewise.  Do not use BP_SYM.
20422         (mempcpy): Do not use BP_SYM in weak_alias.
20423         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20424         "bp-asm.h".
20425         (PARMS): Do not use macros from bp-asm.h.
20426         (DEST): Likewise.
20427         (LEN): Likewise.
20428         [!BZERO_P] (CHR): Likewise.
20429         (memset): Likewise.  Do not use BP_SYM.
20430         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20431         "bp-asm.h".
20432         (PARMS): Do not use macros from bp-asm.h.
20433         (STR2): Likewise.
20434         (strcmp): Do not use BP_SYM.
20435         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20436         "bp-asm.h".
20437         (PARMS): Do not use macros from bp-asm.h.
20438         (STR): Likewise.
20439         (DELIM): Likewise.
20440         [USE_AS_STRTOK_R] (SAVE): Likewise.
20441         (FUNCTION): Likewise.  Do not use BP_SYM.
20442         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20443         aliases.
20444         (strtok_r): Likewise.
20445         (__GI___strtok_r): Likewise.
20446         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20447         (PARMS): Do not use macros from bp-asm.h.
20448         (S): Likewise.
20449         (SIZE): Likewise.
20450         (__mpn_lshift): Do not use BP_SYM.
20451         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20452         (PARMS): Do not use macros from bp-asm.h.
20453         (STR): Likewise.
20454         (CHR): Likewise.
20455         (__memchr): Do not use BP_SYM.
20456         (memchr): Do not use BP_SYM in weak_alias.
20457         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20458         (PARMS): Do not use macros from bp-asm.h.
20459         (BLK2): Likewise.
20460         (LEN): Likewise.
20461         (memcmp): Do not use BP_SYM.
20462         (bcmp): Do not use BP_SYM in weak_alias.
20463         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20464         (PARMS): Do not use macros from bp-asm.h.
20465         (S1): Likewise.
20466         (SIZE): Likewise.
20467         (__mpn_mul_1): Do not use BP_SYM.
20468         * sysdeps/i386/rawmemchr.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         (__rawmemchr): Do not use BP_SYM.
20474         (rawmemchr): Do not use BP_SYM in weak_alias.
20475         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20476         (PARMS): Do not use macros from bp-asm.h.
20477         (S): Likewise.
20478         (SIZE): Likewise.
20479         (__mpn_rshift): Do not use BP_SYM.
20480         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20481         (PARMS): Do not use macros from bp-asm.h.
20482         (SIGMSK): Likewise.
20483         (__sigsetjmp): Likewise.  Do not use BP_SYM.
20484         * sysdeps/i386/start.S: Do not include "bp-sym.h".
20485         (_start): Do not use BP_SYM.
20486         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20487         (PARMS): Do not use macros from bp-asm.h.
20488         (DEST): Likewise.
20489         (SRC): Likewise.
20490         (__stpcpy): Likewise.  Do not use BP_SYM.
20491         (stpcpy): Do not use BP_SYM in weak_alias.
20492         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20493         "bp-asm.h".
20494         (PARMS): Do not use macros from bp-asm.h.
20495         (DEST): Likewise.
20496         (SRC): Likewise.
20497         (LEN): Likewise.
20498         (__stpncpy): Likewise.  Do not use BP_SYM.
20499         (stpncpy): Do not use BP_SYM in weak_alias.
20500         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20501         (PARMS): Do not use macros from bp-asm.h.
20502         (STR): Likewise.
20503         (CHR): Likewise.
20504         (strchr): Likewise.  Do not use BP_SYM.
20505         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20506         "bp-asm.h".
20507         (PARMS): Do not use macros from bp-asm.h.
20508         (STR): Likewise.
20509         (CHR): Likewise.
20510         (__strchrnul): Likewise.  Do not use BP_SYM.
20511         (strchrnul): Do not use BP_SYM in weak_alias.
20512         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20513         "bp-asm.h".
20514         (PARMS): Do not use macros from bp-asm.h.
20515         (STOP): Likewise.
20516         (strcspn): Do not use BP_SYM.
20517         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20518         "bp-asm.h".
20519         (PARMS): Do not use macros from bp-asm.h.
20520         (STR): Likewise.
20521         (STOP): Likewise.
20522         (strpbrk): Likewise.  Do not use BP_SYM.
20523         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20524         "bp-asm.h".
20525         (PARMS): Do not use macros from bp-asm.h.
20526         (STR): Likewise.
20527         (CHR): Likewise.
20528         (strrchr): Likewise.  Do not use BP_SYM.
20529         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20530         (PARMS): Do not use macros from bp-asm.h.
20531         (SKIP): Likewise.
20532         (strspn): Do not use BP_SYM.
20533         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20534         (PARMS): Do not use macros from bp-asm.h.
20535         (STR): Likewise.
20536         (DELIM): Likewise.
20537         (SAVE): Likewise.
20538         (FUNCTION): Likewise.  Do not use BP_SYM.
20539         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20540         aliases.
20541         (strtok_r): Likewise.
20542         (__GI___strtok_r): Likewise.
20543         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20544         (PARMS): Do not use macros from bp-asm.h.
20545         (S1): Likewise.
20546         (S2): Likewise.
20547         (SIZE): Likewise.
20548         (__mpn_sub_n): Do not use BP_SYM.
20549         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20550         "bp-asm.h".
20551         (PARMS): Do not use macros from bp-asm.h.
20552         (S1): Likewise.
20553         (SIZE): Likewise.
20554         (__mpn_submul_1): Do not use BP_SYM.
20555         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20556         <bp-sym.h>.
20557         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20558         and <bp-asm.h>.
20559         (PARMS): Do not use macros from bp-asm.h.
20560         (FLAGS): Likewise.
20561         (PTID): Likewise.
20562         (TLS): Likewise.
20563         (CTID): Likewise.
20564         (__clone): Do not use BP_SYM.
20565         (clone): Do not use BP_SYM in weak_alias.
20566         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20567         and <bp-asm.h>.
20568         (PARMS): Do not use macros from bp-asm.h.
20569         (LEN): Likewise.
20570         (__mmap64): Do not use BP_SYM.
20571         (mmap64): Do not use BP_SYM in weak_alias.
20572         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20573         <bp-sym.h> and <bp-asm.h>.
20574         (PARMS): Do not use macros from bp-asm.h.
20575         (__posix_fadvise64_l64): Do not use BP_SYM.
20576         * sysdeps/unix/sysv/linux/i386/semtimedop.S
20577         (PARMS): Do not use macros from bp-asm.h.
20578         (NSOPS): Likewise.
20579         (semtimedop): Do not use BP_SYM.
20580         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20581         and <bp-asm.h>.
20582
20583 2013-02-21  Allan McRae  <allan@archlinux.org>
20584
20585         * manual/message.texi (Charset conversion in gettext):
20586         Move @end statement to beginning of line.
20587
20588 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20589
20590         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20591         static.
20592         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20593         Likewise.
20594
20595         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20596         (denorm): Likewise.
20597         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20598         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20599
20600 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20601
20602         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20603         tail-call to the resolved function if pltexit isn't needed.
20604
20605 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20606
20607         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20608         or Y being zero as being unlikely.
20609         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20610         Likewise.
20611
20612 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
20613
20614         * manual/nss.texi (System Databases and Name Service Switch):
20615         Remove frobnicate @pxref.
20616
20617 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20618
20619         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20620         __attribute__ ((unused)) to __attribute__ ((__unused__)).
20621
20622 2013-02-20  Petr Machata  <pmachata@redhat.com>
20623
20624         * elf/elf.h (R_ARM_TARGET1): New macro.
20625         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20626         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20627         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20628         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20629         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20630         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20631         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20632         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20633         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20634         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20635         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20636         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20637         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20638         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20639         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20640         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20641         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20642         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20643         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20644         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20645         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20646         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20647         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20648         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20649         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20650         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20651         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20652         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20653         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20654         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20655         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20656         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20657         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20658         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20659         (R_ARM_THM_GOT_BREL12): Likewise.
20660         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20661         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20662         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20663         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20664         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20665         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20666         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20667         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20668         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20669
20670 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20671
20672         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20673         __attribute_used__ to __attribute__ ((unused)).
20674
20675 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20676
20677         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20678         powerpc mpa.c.
20679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20680         comment formatting.
20681         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20682
20683 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
20684
20685         [BZ #13550]
20686         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20687         Remove macro.
20688         (ENTER): Remove both macro definitions.
20689         (LEAVE): Likewise.
20690         (CHECK_BOUNDS_LOW): Likewise.
20691         (CHECK_BOUNDS_HIGH): Likewise.
20692         (CHECK_BOUNDS_BOTH): Likewise.
20693         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20694         (RETURN_BOUNDED_POINTER): Likewise.
20695         (RETURN_NULL_BOUNDED_POINTER): Likewise.
20696         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20697         (POP_ERRNO_LOCATION_RETURN): Likewise.
20698         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20699         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20700         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20701         macros.
20702         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20703         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20704         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20705         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20706         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20707         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20708         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20709         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20710         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20711         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20712         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20713         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20714         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20715         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20716         removed macros.
20717         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20718         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20719         macros.
20720         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20721         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20722         * sysdeps/i386/i586/memset.S (memset): Likewise.
20723         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20724         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20725         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20726         macros.
20727         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20728         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20729         Change uses of L(2) to L(out).
20730         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20731         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20732         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20733         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20734         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20735         removed macros.
20736         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20737         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20738         macros.
20739         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20740         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20741         (RETURN): Do not use macro LEAVE.
20742         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20743         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20744         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20745         * sysdeps/i386/i686/memset.S (memset): Likewise.
20746         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20747         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20748         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20749         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20750         Likewise.
20751         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20752         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
20753         L(1_2) and L(1_3) into L(1).
20754         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20755         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20756         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20757         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20758         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20759         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20760         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20761         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20762         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20763         macros.
20764         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20765         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20766         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20767         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20768         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20769         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20770         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20771         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20772         * sysdeps/i386/strcspn.S (strcspn): Likewise.
20773         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20774         * sysdeps/i386/strrchr.S (strrchr): Likewise.
20775         * sysdeps/i386/strspn.S (strspn): Likewise.
20776         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20777         conditional code.
20778         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20779         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20780         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20781         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
20782         L(1_3) into L(1_1).
20783         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20784         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20785         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20786         macros.
20787         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20788
20789 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
20790
20791         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20792         macro.
20793
20794 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20795
20796         * math/atest-exp.c (exp_mpn): Remove ROUND.
20797         * math/atest-exp2.c (exp_mpn): Likewise.
20798         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20799
20800         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20801         * stdlib/tst-tls-atexit-lib.c: Likewise.
20802         * stdlib/tst-tls-atexit.c: Likewise.
20803
20804 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20805
20806         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20807         and __attribute_alloc_size__.
20808
20809 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20810
20811         * include/programs/xmalloc.h: Change __attribute_alloc_size to
20812         __attribute_alloc_size__.
20813         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20814         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20815
20816 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20817
20818         * include/programs/xmalloc.h: New file.
20819         * catgets/gencat.c: Include it.
20820         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20821         * elf/pldd.c: Likewise.
20822         * iconv/iconv_charmap.c: Likewise.
20823         * iconv/iconvconfig.c: Likewise.
20824         * iconv/strtab.c: Likewise.
20825         * locale/programs/locale.c: Likewise.
20826         * locale/programs/localedef.h: Likewise.
20827         * locale/programs/simple-hash.c: Likewise.
20828         * nscd/nscd.h: Likewise.
20829         * nss/makedb.c: Likewise.
20830         * sysdeps/generic/ldconfig.h: Likewise.
20831
20832 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20833
20834         * Versions.def: Add GLIBC_2.18.
20835         * include/link.h (struct link_map): New member l_tls_dtor_count.
20836         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20837         (__call_tls_dtors): Likewise.
20838         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20839         __cxa_thread_atexit_impl.
20840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20841         Likewise.
20842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20843         Likewise.
20844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20845         Likewise.
20846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20847         Likewise.
20848         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20850         Likewise.
20851         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20852         Likewise.
20853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20855         Likewise.
20856         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20857         (tests): Add test case tst-tls-atexit.
20858         (modules-names): Add shared library for tst-tls-atexit.
20859         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20860         (GLIBC_PRIVATE): Add __call_tls_dtors.
20861         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20862         for libstdc++.
20863         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20864         * stdlib/tst-tls-atexit.c: New test case.
20865         * stdlib/tst-tls-atexit-lib.c: New test case.
20866
20867         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20868
20869         * elf/Versions (ld): Add _dl_find_dso_for_object.
20870         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20871         * elf/dl-open.c (_dl_find_dso_for_object): New function.
20872         (dl_open_worker): Use _dl_find_dso_for_object.
20873         * elf/dl-sym.c (do_sym): Likewise.
20874         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20875
20876 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20877
20878         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20879         Syntactic changes only.
20880         (_dl_runtime_profile): Do a tail-call to the resolved function.
20881
20882 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
20883
20884         [BZ #13550]
20885         * sysdeps/x86_64/bp-asm.h: Remove file.
20886         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20887         <bp-sym.h> and <bp-asm.h>.
20888         (__clone): Do not use BP_SYM.
20889         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20890         <bp-sym.h> and <bp-asm.h>.
20891         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20892         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20893         "bp-asm.h".
20894         (_setjmp): Do not use BP_SYM.
20895         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20896         "bp-asm.h".
20897         (setjmp): Do not use BP_SYM.
20898         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20899         libc_hidden_def.
20900         (mempcpy): Do not use BP_SYM in weak_alias.
20901         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20902         "bp-asm.h".
20903         (strchr): Do not use BP_SYM.
20904         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20905         "bp-asm.h".
20906         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20907         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20908         (_start): Do not use BP_SYM.
20909         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20910         "bp-asm.h".
20911         (strcat): Do not use BP_SYM.
20912         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20913         "bp-asm.h".
20914         (STRCMP): Do not use BP_SYM.
20915         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20916         "bp-asm.h".
20917         (STRCPY): Do not use BP_SYM.
20918         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20919         "bp-asm.h".
20920         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20921         "bp-asm.h".
20922         (FUNCTION): Do not use BP_SYM.
20923         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20924         weak_alias.
20925         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20926
20927 2013-02-17  Andreas Jaeger  <aj@suse.de>
20928
20929         * time/Versions: Sort entries.
20930         * string/Versions: Likewise.
20931         * resolv/Versions: Likewise.
20932         * posix/Versions: Likewise.
20933         * iconv/Versions: Likewise.
20934         * elf/Versions: Likewise.
20935         * wcsmbs/Versions: Likewise.
20936
20937 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20938
20939         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20940         loop termination condition.
20941
20942         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20943         variable to calculate EZ.
20944         (__sqr): Likewise.
20945
20946         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20947         the lower precision input.
20948
20949 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
20950
20951         [BZ #13550]
20952         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20953         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20954         (run-via-rtld-prefix): Do not handle %-bp tests.
20955         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20956         (all-object-suffixes): Remove .ob.
20957         (bppfx): Remove variable.
20958         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20959         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20960         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20961         [$(build-bounded) = yes] (libtype.ob): Likewise.
20962         * Makerules (elide-routines.ob): Remove variable.
20963         (do-tests-clean): Do not handle *-bp.out.
20964         (common-mostlyclean): Do not handle *-bp and *-bp.out.
20965         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20966         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20967         (tests): Do not include $(tests-bp.out).
20968         (xtests): Do not include $(xtests-bp.out).
20969         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20970         [$(build-bounded) = yes] ($(addprefix
20971         $(objpfx),$(binaries-bounded))): Remove rule.
20972         ($(objpfx)%-bp.out): Remove rule.
20973         * config.make.in (build-bounded): Remove variable.
20974         * crypt/Makefile [$(build-bounded) = yes]
20975         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20976         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20977         append to variable.
20978         [$(build-bounded) = yes] (install-lib): Likewise.
20979         [$(build-bounded) = yes] (generated): Likewise.
20980         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20981         Remove rule.
20982         * intl/Makefile [$(build-bounded) = yes]
20983         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20984         * math/Makefile [$(build-bounded) = yes]
20985         ($(tests:%=$(objpfx)%-bp): Likewise.
20986         * misc/Makefile [$(build-bounded) = yes]
20987         ($(objpfx)tst-tsearch-bp): Likewise.
20988         * nptl/Makeconfig (bounded-thread-library): Remove variable.
20989         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20990         Remove dependency.
20991         * string/Makefile (o-objects.ob): Remove variable.
20992         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20993         (CFLAGS-.ob): Remove variable.
20994         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20995         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20996         both definitions of variable.
20997         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20998         (ASFLAGS-.ob): Remove variable.
20999
21000 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
21001
21002         [BZ #13550]
21003         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21004         Remove __BOUNDED_POINTERS__ from condition.
21005         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21006         * string/bits/string2.h [!__NO_STRING_INLINES &&
21007         !__BOUNDED_POINTERS__]: Likewise.
21008         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21009         Likewise.
21010         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21011         Remove conditional code.
21012         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21013         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21014         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21015         condition.
21016
21017         [BZ #13550]
21018         * csu/libc-start.c: Do not include <bp-sym.h>.
21019         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21020         * elf/dl-open.c: Do not include <bp-sym.h>.
21021         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21022         * math/fegetenv.c: Do not include <bp-sym.h>.
21023         (fegetenv): Do not use BP_SYM in versioned symbols.
21024         * nptl/sysdeps/pthread/bits/libc-lockP.h
21025         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21026         <bp-sym.h>.
21027         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21028         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21029         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21030         (__pthread_mutex_destroy): Likewise.
21031         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21032         (__pthread_mutex_lock): Likewise.
21033         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21034         (__pthread_mutex_trylock): Likewise.
21035         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21036         (__pthread_mutex_unlock): Likewise.
21037         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21038         (__pthread_mutexattr_init): Likewise.
21039         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21040         (__pthread_mutexattr_destroy): Likewise.
21041         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21042         (__pthread_mutexattr_settype): Likewise.
21043         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21044         (__pthread_rwlock_init): Likewise.
21045         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21046         (__pthread_rwlock_destroy): Likewise.
21047         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21048         (__pthread_rwlock_rdlock): Likewise.
21049         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21050         (__pthread_rwlock_tryrdlock): Likewise.
21051         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21052         (__pthread_rwlock_wrlock): Likewise.
21053         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21054         (__pthread_rwlock_trywrlock): Likewise.
21055         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21056         (__pthread_rwlock_unlock): Likewise.
21057         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21058         (__pthread_key_create): Likewise.
21059         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21060         (__pthread_setspecific): Likewise.
21061         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21062         (__pthread_getspecific): Likewise.
21063         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21064         Likewise.
21065         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21066         (_pthread_cleanup_push_defer): Likewise.
21067         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21068         (_pthread_cleanup_pop_restore): Likewise.
21069         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21070         (pthread_setcancelstate): Likewise.
21071         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21072         <bp-sym.h>.
21073         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21074         (memchr): Do not use BP_SYM in weak_alias.
21075         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21076         (fegetenv): Do not use BP_SYM in versioned symbols.
21077         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21078         (fesetenv): Do not use BP_SYM in versioned symbols.
21079         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21080         (feupdateenv): Do not use BP_SYM in versioned symbols.
21081         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21082         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21083         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21084         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21085         (open64): Do not use BP_SYM in weak_alias.
21086         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21087         (fegetenv): Do not use BP_SYM in versioned symbols.
21088         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21089         (fesetenv): Do not use BP_SYM in versioned symbols.
21090         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21091         (feupdateenv): Do not use BP_SYM in versioned symbols.
21092         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21093         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21094         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21095         (feraiseexcept): Do not use BP_SYM in versioned symbols.
21096         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21097         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21098         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21099         <bp-sym.h>.
21100         (__libc_start_main): Do not use BP_SYM.
21101
21102 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21103
21104         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21105         redundant return line.
21106         (norm): Likewise.
21107         (denorm): Likewise.
21108         (dbl_mp): Likewise.
21109         (sub_magnitudes): Likewise.
21110         (__add): Likewise.
21111         (__sub): Likewise.
21112         (__mul): Likewise.
21113         (__inv): Likewise.
21114         (__dvd): Likewise.
21115         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21116         (norm): Likewise.
21117         (denorm): Likewise.
21118         (dbl_mp): Likewise.
21119         (sub_magnitudes): Likewise.
21120         (__add): Likewise.
21121         (__sub): Likewise.
21122         (__mul): Likewise.
21123         (__inv): Likewise.
21124         (__dvd): Likewise.
21125
21126         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21127         instead of __mul.
21128         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21129         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21130         (cc32): Likewise.
21131
21132         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21133         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21134         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21135         of __mul for squares.
21136         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21137         function
21138         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21139         Likewise.
21140         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21141         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21142
21143 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
21144
21145         [BZ #13550]
21146         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21147         code.
21148         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21149         prototype or function definition.  Rename ubp_* variables and
21150         parameters.  Remove argv definitions conditional on
21151         [__BOUNDED_POINTERS__].
21152         * debug/backtrace.c (__backtrace): Do not use __unbounded.
21153         * elf/dl-runtime.c (_dl_fixup): Likewise.
21154         * include/set-hooks.h (RUN_HOOK): Likewise.
21155         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21156         definition.
21157         * string/strcpy.c (strcpy): Do not use __unbounded.
21158         * sysdeps/generic/frame.h (struct layout): Likewise.
21159         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21160         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21161         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21162         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21163         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21164         (__backtrace): Likewise.
21165         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21166         use __ptrvalue.
21167         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21168         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21169         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21170         Likewise.
21171         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21172         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21173         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21174         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21175         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21176         Do not use __unbounded.
21177         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21178         Rename __unboundedrlimits parameter to rlimits in prototype.
21179         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21180         Do not use __unbounded.
21181         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21182         not use __ptrvalue.
21183         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21184         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21185         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21186         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21187         __ptrvalue or __unbounded.
21188         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21189         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21190         use __unbounded.
21191         (__new_msgctl): Do not use __ptrvalue.
21192         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21193         __unbounded.
21194         (__libc_msgrcv): Do not use __ptrvalue.
21195         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21196         startup_info): Do not use __unbounded.
21197         (__libc_start_main): Likewise.  Rename ubp_* variables and
21198         parameters.  Remove argv definitions conditional on
21199         [__BOUNDED_POINTERS__].
21200         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21201         __ptrvalue.
21202         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21203         use __unbounded.
21204         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21205         or __ptrvalue.
21206         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21207         use __unbounded.
21208         (__new_shmctl): Do not use __ptrvalue.
21209         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21210         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21211         Likewise.
21212         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21213         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21214         (__libc_sigaction): Likewise.
21215         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21216         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21217         Likewise.
21218         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21219
21220 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
21221
21222         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21223
21224         * string/mempcpy.c: Implement by calling memcpy.
21225
21226 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21227
21228         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21229
21230         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21231         evaluation.
21232
21233         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21234         values in the mantissa.
21235
21236         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21237         minimize writes to Z.
21238         (sub_magnitudes): Simplify code a bit.
21239
21240 2013-02-12  Roland McGrath  <roland@hack.frob.com>
21241
21242         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21243         from the message.  The linker prefixes all warnings with that already.
21244
21245 2013-02-12  Andreas Schwab  <schwab@suse.de>
21246
21247         [BZ #15078]
21248         * posix/regexec.c (extend_buffers): Add parameter min_len.
21249         (check_matching): Pass minimum needed length.
21250         (clean_state_log_if_needed): Likewise.
21251         (get_subexp): Likewise.
21252         * posix/Makefile (tests): Add bug-regex34.
21253         (bug-regex34-ENV): Define.
21254         * posix/bug-regex34.c: New file.
21255
21256         [BZ #11561]
21257         * posix/regcomp.c (parse_bracket_exp): When looking up collating
21258         elements compare against the byte sequence of it, not its name.
21259         * posix/Makefile (tests): Add bug-regex35.
21260         (bug-regex35-ENV): Define.
21261         * posix/bug-regex35.c: New file.
21262
21263 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21264
21265         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
21266         comment.
21267         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21268         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21269         (CHECK_EOL): Add undef.
21270
21271 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
21272
21273         * bits/stdlib-bsearch.h: New file.
21274         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21275         * stdlib/stdlib.h: Likewise.
21276
21277 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21278
21279         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21280         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21281         declaration.
21282         * manual/search.texi (Array Search Function): Add missing const in
21283         lfind prototype.
21284         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21285         declaration to use rlim_t.
21286         (Basic Scheduling Functions): Remove erroneous const from
21287         sched_getparam prototype.  Remove erroneous * from
21288         sched_get_priority_max and sched_get_priority_min prototypes.
21289         (Resource Usage): Fix summary @comment on vtimes to refer to
21290         sys/vtimes.h rather than vtimes.h.
21291         Add missing *s in vtimes prototype.
21292         (Limits on Resources): Fix ulimit prototype to return long int.
21293         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21294         prototypes to use long int rather than double.
21295         (BSD Random): Fix initstate and setstate to use char *, not void *.
21296         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21297         prototype to make second argument 'struct aiocb64 *const[]'.
21298         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21299         (Status of AIO Operations): Remove erroneous const in aio_return and
21300         aio_return64 prototypes.
21301         (Synchronizing I/O): Fix sync prototype to return void.
21302         * manual/startup.texi (Suboptions): Remove an erroneous const in
21303         getsubopt prototype.
21304         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21305         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21306         use size_t rather than int.
21307         (Scanning All Users): Likewise for getpwent_r.
21308         (Setting Groups): Add missing const to setgroups prototype.
21309         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21310         * manual/socket.texi (Host Names): Fix gethostbyaddr and
21311         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21312         'const void *' rather than 'const char *'.
21313         (Host Address Functions): Likewise for inet_ntop.
21314         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21315         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21316         ssize_t for return value.
21317         (Sending Data): Likewise for send, sendto, sendmsg.
21318         (Socket Option Functions): Add a missing const in setsockopt prototype.
21319         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21320         use wchar_t for the argument.
21321         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21322         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21323         take no arguments.
21324         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21325         double/float/long double for second argument.
21326         Fix return types of significand, significandf, significandl.
21327         * manual/filesys.texi (Setting Permissions): Use mode_t for second
21328         argument in fchmod prototype.
21329         (File Owner): Use uid_t and gid_t in fchown prototype.
21330         (File Times): Add const to utimes, futimes, and lutimes prototypes.
21331         (Making Special Files): Use mode_t and dev_t in mknod prototype.
21332         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21333         use 'const struct dirent **' as argument types to CMP function pointer
21334         argument.
21335         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21336         (File Times): Fix summary magic @comment for struct utimbuf and utime
21337         to refer to utime.h, not time.h.
21338         * manual/string.texi (Argz Functions): Add missing const in
21339         argz_extract and argz_next prototypes.
21340         (Finding Tokens in a String): Likewise for basename.
21341         (String/Array Comparison): Fix typo in wcscasecmp prototype.
21342         (Copying and Concatenation): Fix typo in wmemmove prototype.
21343         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21344         (Signal Stack): Remove erroneous const in sigstack prototype.
21345         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21346         prototype.
21347         (Simple Calendar Time): Likewise for stime.
21348         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21349         prototype.
21350         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21351         say sys/sysctl.h instead.
21352         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21353         and vsyslog prototypes.
21354
21355 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21356
21357         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21358         Remove.
21359
21360 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21361
21362         * misc/sys/mman.h: Fix typo in mremap comment.
21363
21364 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21365
21366         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21367         the '\0' terminator.
21368
21369 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21370
21371         [BZ #13550]
21372         * debug/segfault.c: Don't include <bp-checks.h>.
21373         * sysdeps/generic/bp-checks.h: Remove file.
21374         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21375         (__GETDENTS): Don't use CHECK_N.
21376         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21377         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21378         (__getgroups): Don't use CHECK_N.
21379         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21380         (setgroups): Don't use CHECK_N.
21381         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21382         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21383         (__libc_msgrcv): Don't use CHECK_N.
21384         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21385         (__libc_msgsnd): Don't use CHECK_N.
21386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21387         <bp-checks.h>.
21388         (__libc_pread): Don't use CHECK_N.
21389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21390         include <bp-checks.h>.
21391         (__libc_pread64): Don't use CHECK_N.
21392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21393         include <bp-checks.h>.
21394         (__libc_pwrite): Don't use CHECK_N.
21395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21396         include <bp-checks.h>.
21397         (__libc_pwrite64): Don't use CHECK_N.
21398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21399         <bp-checks.h>.
21400         (__libc_pread): Don't use CHECK_N.
21401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21402         include <bp-checks.h>.
21403         (__libc_pread64): Don't use CHECK_N.
21404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21405         include <bp-checks.h>.
21406         (__libc_pwrite): Don't use CHECK_N.
21407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21408         include <bp-checks.h>.
21409         (__libc_pwrite64): Don't use CHECK_N.
21410         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21411         (do_pread): Don't use CHECK_N.
21412         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21413         (do_pread64): Don't use CHECK_N.
21414         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21415         (do_pwrite): Don't use CHECK_N.
21416         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21417         (do_pwrite64): Don't use CHECK_N.
21418         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21419         (__libc_readv): Don't use CHECK_N.
21420         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21421         (semop): Don't use CHECK_N.
21422         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21423         <bp-checks.h>.
21424         (semtimedop): Don't use CHECK_N.
21425         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21426         (__libc_pread): Don't use CHECK_N.
21427         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21428         <bp-checks.h>.
21429         (__libc_pread64): Don't use CHECK_N.
21430         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21431         <bp-checks.h>.
21432         (__libc_pwrite): Don't use CHECK_N.
21433         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21434         <bp-checks.h>.
21435         (__libc_pwrite64): Don't use CHECK_N.
21436         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21437         <bp-checks.h>.
21438         (__libc_msgrcv): Don't use CHECK_N.
21439         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21440         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
21441         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21442         (__libc_writev): Don't use CHECK_N.
21443
21444 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21445
21446         * string/strcpy.c: Removed unused variable.
21447
21448         * Makeconfig (+sysdep-includes): Define with := rather than =.
21449         Use an existing include/ subdir of each sysdeps dir before it.
21450
21451 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21452
21453         * nscd/connection.c (register_traced_file): Comment function.
21454         [HAVE_INOTIFY] (union __inev): Define.
21455         [HAVE_INOTIFY] (inotify_check_files): New function.
21456         [HAVE_INOTIFY] (clear_db_cache): Likewise.
21457         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21458         clear_db_cache.
21459         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21460
21461 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21462
21463         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21464         loaded if not already and that a failure is permanent.
21465
21466 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21467
21468         [BZ #15006]
21469         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21470         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21471
21472 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21473
21474         [BZ #13550]
21475         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21476         (CHECK_1_NULL_OK): Likewise.
21477         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21478         (__fxstat): Do not use CHECK_1.
21479         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21480         <bp-checks.h>.
21481         (___fxstat64): Do not use CHECK_1.
21482         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21483         <bp-checks.h>.
21484         (__fxstatat): Do not use CHECK_1.
21485         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21486         <bp-checks.h>.
21487         (__fxstatat64): Do not use CHECK_1.
21488         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21489         <bp-checks.h>.
21490         (__fxstat): Do not use CHECK_1.
21491         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21492         <bp-checks.h>.
21493         (__fxstatat): Do not use CHECK_1.
21494         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21495         <bp-checks.h>.
21496         (__getresgid): Do not use CHECK_1.
21497         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21498         <bp-checks.h>.
21499         (__getresuid): Do not use CHECK_1.
21500         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21501         <bp-checks.h>.
21502         (__lxstat): Do not use CHECK_1.
21503         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21504         <bp-checks.h>.
21505         (__old_msgctl): Do not use CHECK_1.
21506         (__new_msgctl): Likewise.
21507         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21508         <bp-checks.h>.
21509         (__new_setrlimit): Do not use CHECK_1.
21510         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21511         <bp-checks.h>.
21512         (__old_shmctl): Do not use CHECK_1.
21513         (__new_shmctl): Likewise.
21514         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21515         <bp-checks.h>.
21516         (__xstat): Do not use CHECK_1.
21517         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21518         (__lxstat): Do not use CHECK_1.
21519         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21520         <bp-checks.h>.
21521         (___lxstat64): Do not use CHECK_1.
21522         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21523         (__old_msgctl): Do not use CHECK_1.
21524         (__new_msgctl): Likewise.
21525         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21526         <bp-checks.h>.
21527         (__gettimeofday): Do not use CHECK_1.
21528         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21529         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21530         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21531         <bp-checks.h>.
21532         (__gettimeofday): Do not use CHECK_1.
21533         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21534         (__old_shmctl): Do not use CHECK_1_NULL_OK.
21535         (__new_shmctl): Do not use CHECK_1.
21536         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21537         <bp-checks.h>.
21538         (do_sigtimedwait): Do not use CHECK_1.
21539         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21540         <bp-checks.h>.
21541         (do_sigwaitinfo): Do not use CHECK_1.
21542         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21543         <bp-checks.h>.
21544         (msgctl): Do not use CHECK_1.
21545         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21546         <bp-checks.h>.
21547         (shmctl): Do not use CHECK_1.
21548         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21549         (ustat): Do not use CHECK_1.
21550         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21551         <bp-checks.h>.
21552         (__fxstat): Do not use CHECK_1.
21553         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21554         <bp-checks.h>.
21555         (__fxstatat): Do not use CHECK_1.
21556         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21557         <bp-checks.h>.
21558         (__lxstat): Do not use CHECK_1.
21559         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21560         <bp-checks.h>.
21561         (__xstat): Do not use CHECK_1.
21562         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21563         (__xstat): Do not use CHECK_1.
21564         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21565         (___xstat64): Do not use CHECK_1.
21566
21567         [BZ #13550]
21568         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21569         definitions.
21570         (CHECK_BOUNDS_HIGH): Likewise.
21571         * string/strcpy.c: Do not include <bp-checks.h>.
21572         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21573
21574 2013-02-07  Roland McGrath  <roland@hack.frob.com>
21575
21576         * nscd/nscd-client.h (__nscd_drop_map_ref):
21577         Add __attribute__ ((unused)).
21578         * nis/nss-nisplus.h (niserr2nss): Likewise.
21579
21580         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21581         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21582
21583         * csu/libc-tls.c (init_static_tls, init_slotinfo):
21584         Remove inline keyword.
21585         * include/rounding-mode.h (round_away): Likewise.
21586         * libio/wfileops.c (adjust_wide_data): Likewise.
21587         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21588         (__m128i_strloadu_tolower): Likewise.
21589         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21590         (__m128i_strloadu_tolower): Likewise.
21591         * time/mktime.c (ydhms_diff): Likewise.
21592         * locale/elem-hash.h (elem_hash): Likewise.
21593         * locale/setlocale.c (setdata): Likewise.
21594         * posix/regex_internal.h (re_string_char_size_at): Likewise.
21595         (re_string_wchar_at): Likewise.
21596         (bitset_not, bitset_merge, bitset_mask): Likewise.
21597         [!(__GNUC__ > 3)] (inline): Remove macro.
21598         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21599         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21600         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21601         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21602         * string/memcmp.c (memcmp_bytes): Likewise.
21603         * locale/programs/locarchive.c (compute_hashval): Likewise.
21604         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21605         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21606         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21607         * nss/getent.c (print_rpc, print_protocols): Likewise.
21608         (print_passwd, print_group, print_aliases): Likewise.
21609         * nis/nss-nisplus.h (niserr2nss): Likewise.
21610         * nscd/connections.c (restart_p): Likewise.
21611         Change return type to bool.
21612
21613 2013-02-05  Roland McGrath  <roland@hack.frob.com>
21614
21615         * Makeconfig (all-Depend-files): Add existing
21616         $(sorted-subdirs:=/Depend) files.
21617         (all-subdirs): Remove nss.
21618         * sysdeps/unix/inet/Subdirs: Add it here instead.
21619         * hesiod/Depend: New file.
21620
21621         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21622         instead of calling alloca.
21623
21624         * io/lseek.c (__lseek): Rename to __libc_lseek.
21625         Define __lseek as an alias.
21626
21627         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21628
21629 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
21630
21631         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21632         else clause and remove check for non-standard endianness.
21633
21634 2013-02-04  David S. Miller  <davem@davemloft.net>
21635
21636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21637
21638 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
21639
21640         [BZ #13550]
21641         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21642         (__ubp_memchr): Remove prototype.
21643         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21644         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21645         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21646         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21647         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21648         Remove alias.
21649         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21650         (__ubp_memchr): Likewise.
21651         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21652         (__ubp_memchr): Likewise.
21653         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21654         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21655         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21656         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21657         CHECK_STRING.
21658         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21659         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21660         (__getcwd): Do not use CHECK_STRING.
21661         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21662         <bp-checks.h>.
21663         (__real_chown): Do not use CHECK_STRING.
21664         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21665         <bp-checks.h>.
21666         (fchownat): Do not use CHECK_STRING.
21667         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21668         CHECK_STRING.
21669         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21670         <bp-checks.h>.
21671         (__lchown): Do not use CHECK_STRING.
21672         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21673         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21674         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21675         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21677         include <bp-checks.h>.
21678         (truncate64): Do not use CHECK_STRING.
21679         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21680         <bp-checks.h>.
21681         (__real_chown): Do not use CHECK_STRING.
21682         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21683         <bp-checks.h>.
21684         (__lchown): Do not use CHECK_STRING.
21685         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21686         <bp-checks.h>.
21687         (__chown): Do not use CHECK_STRING.
21688         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21689         <bp-checks.h>.
21690         (truncate64): Do not use CHECK_STRING.
21691         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21692         Likewise.
21693         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21694         (__xmknod): Do not use CHECK_STRING.
21695         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21696         <bp-checks.h>.
21697         (__xmknodat): Do not use CHECK_STRING.
21698         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21699         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21700
21701 2013-02-04  Andreas Schwab  <schwab@suse.de>
21702
21703         [BZ #14142]
21704         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21705         * include/netdb.h: Likewise for h_errno.
21706         * elf/tst-stackguard1.c: Include <tls.h>.
21707
21708 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
21709
21710         * elf/link.h (struct link_map): Extend the l_addr comment.
21711         * include/link.h (struct link_map): Likewise.
21712
21713 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
21714
21715         [BZ #13550]
21716         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21717         (BOUNDED_1): Remove macro.
21718         * debug/backtrace.c: Don't include <bp-checks.h>.
21719         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21720         (__backtrace): Likewise.
21721         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21722         <bp-checks.h>.
21723         (__backtrace): Don't use BOUNDED_1.
21724         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21725         <bp-checks.h>.
21726         (__backtrace): Don't use BOUNDED_1.
21727         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21728         (__backtrace): Don't use BOUNDED_1.
21729         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21730         (shmat): Don't use BOUNDED_N.
21731
21732 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
21733
21734         [BZ #13550]
21735         * sysdeps/generic/bp-start.h: Remove file.
21736         * csu/libc-start.c: Don't include <bp-start.h>.
21737         (LIBC_START_MAIN): Set up __environ directly instead of using
21738         INIT_ARGV_and_ENVIRON.
21739         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21740         <bp-start.h>.
21741
21742         [BZ #13550]
21743         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21744         definitions.
21745         (CHECK_FCNTL): Likewise.
21746         (CHECK_N_PAGES): Likewise.
21747
21748         [BZ #13550]
21749         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21750         definitions.
21751         (CHECK_SIGSET_NULL_OK): Likewise.
21752         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21753         <bp-checks.h>.
21754         (sigpending): Don't use CHECK_SIGSET.
21755         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21756         <bp-checks.h>.
21757         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21758         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21759         <bp-checks.h>.
21760         (do_sigsuspend): Don't use CHECK_SIGSET.
21761         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21762         use CHECK_SIGSET.
21763         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21764         (do_sigwait): Don't use CHECK_SIGSET.
21765         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21766         use CHECK_SIGSET.
21767         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21768         include <bp-checks.h>.
21769         (sigpending): Don't use CHECK_SIGSET.
21770         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21771         include <bp-checks.h>.
21772         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21773         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21774         <bp-checks.h>.
21775         (sigpending): Don't use CHECK_SIGSET.
21776         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21777         <bp-checks.h>.
21778         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21779
21780         [BZ #13550]
21781         * sysdeps/generic/bp-semctl.h: Remove file.
21782         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21783         <bp-checks.h> and <bp-semctl.h>.
21784         (__old_semctl): Don't use CHECK_SEMCTL.
21785         (__new_semctl): Likewise.
21786         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21787         and <bp-semctl.h>.
21788         (__old_semctl): Don't use CHECK_SEMCTL.
21789         (__new_semctl): Likewise.
21790         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21791         <bp-checks.h> and <bp-semctl.h>.
21792         (__old_semctl): Don't use CHECK_SEMCTL.
21793         (__new_semctl): Likewise.
21794         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21795         <bp-checks.h> and <bp-semctl.h>.
21796         (semctl): Don't use CHECK_SEMCTL.
21797
21798         [BZ #13550]
21799         * Makerules (elide-bp-thunks): Remove variable.
21800         (elide-routines.oS): Don't use $(elide-bp-thunks).
21801         (elide-routines.os): Likewise.
21802         (elide-routines.o): Likewise.
21803         (elide-routines.op): Likewise.
21804         (elide-routines.og): Likewise.
21805         (objects): Don't use $(bp-thunks).
21806         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21807         include.
21808         (common-generated): Do not add s-proto-bp.d.
21809         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21810         (int): Likewise.
21811         (typ): Likewise.
21812         Do not generate makefile rules for bounded-pointer thunks.
21813         * sysdeps/generic/bp-thunks.h: Remove file.
21814         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21815         * sysdeps/unix/s-proto-bp.S: Likewise.
21816
21817         [BZ #15062]
21818         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21819         parts of result separately when argument is not close to line from
21820         -i to i and one part of argument is small.
21821         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21822         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21823         * math/libm-test.inc (cacos_test): Add more tests.
21824         (casin_test): Likewise.
21825         (casinh_test): Likewise.
21826         * sysdeps/i386/fpu/libm-test-ulps: Update.
21827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21828
21829 2013-01-31  David S. Miller  <davem@davemloft.net>
21830
21831         * po/de.po: Update from translation team.
21832
21833 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
21834
21835         * time/tzfile.c: Include stdint.h for SIZE_MAX.
21836
21837 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
21838
21839         * configure.in (_AC_PROG_CC_C89): New definition.
21840         * configure: Regenerate.
21841
21842         * configure.in (AC_PROG_CPP): New definition.
21843         * configure: Regenerate.
21844
21845 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21846
21847         * debug/tst-backtrace.h: New file.
21848         * debug/tst-backtrace2.c: Include tst-backtrace.h.
21849         (ret): Remove variable.
21850         (x): Likewise.
21851         (FAIL): Remove macro.
21852         (NO_INLINE): Likewise.
21853         (fn1): Use match function instead of strstr.
21854         * debug/tst-backtrace3.c: Include tst-backtrace.h.
21855         (ret): Remove variable.
21856         (x): Likewise.
21857         (FAIL): Remove macro.
21858         (NO_INLINE): Likewise.
21859         (fn): Use match function instead of strstr.
21860         * debug/tst-backtrace4.c: Include tst-backtrace.h.
21861         (ret): Remove variable.
21862         (x): Likewise.
21863         (FAIL): Remove macro.
21864         (NO_INLINE): Likewise.
21865         (handle_signal): Use match function instead of strstr.
21866         * debug/tst-backtrace5.c: Include tst-backtrace.h.
21867         (ret): Remove variable.
21868         (x): Likewise.
21869         (FAIL): Remove macro.
21870         (NO_INLINE): Likewise.
21871         (handle_signal): Use match function instead of strstr.
21872
21873 2013-01-23  Roland McGrath  <roland@hack.frob.com>
21874
21875         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21876
21877 2013-01-23  David S. Miller  <davem@davemloft.net>
21878
21879         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21880         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21881         argument of CAS if possible.
21882         * sysdeps/sparc/sparc64/bits/atomic.h
21883         (__arch_compare_and_exchange_val_32_acq): Likewise.
21884         (__arch_compare_and_exchange_val_64_acq): Likewise.
21885
21886 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
21887
21888         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21889         * sysdeps/posix/ulimit.c: ... this.
21890         Include <limits.h>.
21891         * sysdeps/unix/bsd/ulimit.c: Remove file.
21892
21893 2013-01-23  Adam Conrad  <adconrad@0c3.net>
21894
21895         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21896         (LDFLAGS-tst-array5): Likewise.
21897
21898 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21899
21900         [BZ #15036]
21901         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21902         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21903         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21904         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21905
21906 2013-01-21  David S. Miller  <davem@davemloft.net>
21907
21908         * sysdeps/sparc/backtrace.c: New file.
21909         * sysdeps/sparc/sparc32/backtrace.h: New file.
21910         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21911         * sysdeps/sparc/sparc64/backtrace.h: New file.
21912         * sysdeps/sparc/sparc64/backtrace.c: Delete.
21913         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21914         -funwind-tables.
21915
21916 2013-01-21  Andreas Schwab  <schwab@suse.de>
21917
21918         [BZ #15020]
21919         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21920         closed its stdout.
21921
21922 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
21923
21924         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21925         "mpa2.h".
21926         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21927
21928 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
21929             Mark Mitchell  <mark@codesourcery.com>
21930             Tom de Vries  <tom@codesourcery.com>
21931             Paul Pluzhnikov  <ppluzhnikov@google.com>
21932
21933         * debug/tst-backtrace2.c: New file.
21934         * debug/tst-backtrace3.c: Likewise.
21935         * debug/tst-backtrace4.c: Likewise.
21936         * debug/tst-backtrace5.c: Likewise.
21937         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21938         (CFLAGS-tst-backtrace3.c): Likewise.
21939         (CFLAGS-tst-backtrace4.c): Likewise.
21940         (CFLAGS-tst-backtrace5.c): Likewise.
21941         (LDFLAGS-tst-backtrace2): Likewise.
21942         (LDFLAGS-tst-backtrace3): Likewise.
21943         (LDFLAGS-tst-backtrace4): Likewise.
21944         (LDFLAGS-tst-backtrace5): Likewise.
21945         (tests): Add new tests tst-backtrace2, tst-backtrace3,
21946         tst-backtrace4 and tst-backtrace5.
21947
21948 2013-01-18  Anton Blanchard  <anton@samba.org>
21949             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21950
21951         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21952         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21953         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21954         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21956         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21957         "+r" and remove output regs list as redundant.  Add explicit inline
21958         asm to specify register of return val to work around compiler codegen
21959         bug.  Remove (int) cast on return value.  Add return type parameter to
21960         use in macro so that this macro does not truncate return value for
21961         64-bit values.
21962         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21963         pass to INTERNAL_VSYSCALL_NCS.
21964         (INLINE_VSYSCALL): Add 'long int' as return type to
21965         INTERNAL_VSYSCALL_NCS macro invocation.
21966         (INTERNAL_VSYSCALL): Add 'long int' as return type to
21967         INTERNAL_VSYSCALL_NCS macro invocation.
21968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21969
21970 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21971
21972         [BZ #14496]
21973         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21974         Fix application of SIMD FP exception mask.
21975
21976         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21977         mp_no from a power of two.
21978         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21979         __mpexp_twomm1.  Use __pow_mp.
21980
21981         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21982         multiplication.
21983
21984 2013-01-17  David S. Miller  <davem@davemloft.net>
21985
21986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21987
21988 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21989
21990         [BZ #15023]
21991         * include/complex.h: Condition contents on [!_COMPLEX_H].
21992         (__kernel_casinhf): New prototype.
21993         (__kernel_casinh): Likewise.
21994         (__kernel_casinhl): Likewise.
21995         * math/Makefile (libm_calls): Add k_casinh.
21996         * math/k_casinh.c: New file.
21997         * math/k_casinhf.c: Likewise.
21998         * math/k_casinhl.c: Likewise.
21999         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22000         finite nonzero arguments.
22001         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22002         finite nonzero arguments.
22003         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22004         finite nonzero arguments.
22005         * math/s_casinh.c: Do not include <float.h>.
22006         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22007         * math/s_casinhf.c: Do not include <float.h>.
22008         (__casinhf): Move code for finite nonzero arguments to
22009         k_casinhf.c.
22010         * math/s_casinhl.c: Do not include <float.h>.
22011         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22012         redefine.
22013         (__casinhl): Move code for finite nonzero arguments to
22014         k_casinhl.c.
22015         * math/libm-test.inc (cacos_test): Add more tests.
22016         * sysdeps/i386/fpu/libm-test-ulps: Update.
22017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22018
22019 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
22020
22021         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22022         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22023         [!HAVE_MREMAP]: Remove [defined linux] case.
22024         * malloc/arena.c: Do not include <malloc-sysdep.h>.
22025
22026 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22027
22028         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22029
22030 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
22031
22032         * elf/elf.h (R_386_SIZE32): New relocation.
22033         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22034         R_386_SIZE32.
22035         (elf_machine_rela): Likewise.
22036         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22037         R_X86_64_SIZE64 and R_X86_64_SIZE32.
22038
22039 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22040
22041         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22042         (FP_FAST_FMA): Do not define.
22043         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22044         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22045         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22046         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22047         !_SOFT_FLOAT]: Likewise.
22048         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22049         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22050         value.
22051         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22052         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22053         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22054         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22055         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22056         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22057         file.
22058
22059 2013-01-16  Andreas Schwab  <schwab@suse.de>
22060
22061         [BZ #14327]
22062         * include/stdlib.h (__mktemp): Add declaration.
22063         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22064         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22065
22066 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22067
22068         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22069         definitions.
22070         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22071         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22072         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22073         definitions here.
22074         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22075         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22076         definitions.
22077         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22078         and ONE.
22079         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22080         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22081         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22082         definitions.
22083         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22084         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22085         definitions.
22086         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22087
22088         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22089
22090 2013-01-15  David S. Miller  <davem@davemloft.net>
22091
22092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22093         trunc{,f} to libm-sysdep_routes.
22094         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22096         file.
22097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22099         file.
22100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22101         file.
22102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22104         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22105         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22106         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22107         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22108         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22109         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22110
22111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22112         nearbyint{,f} to libm-sysdep_routes.
22113         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22115         New file.
22116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22117         file.
22118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22119         New file.
22120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22121         file.
22122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22124         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22125         file.
22126         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22127         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22128         file.
22129         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22130         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22131         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22132
22133         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22134         libc_feholdexcept and libc_fesetenv.
22135
22136 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
22137
22138         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22139
22140 2013-01-14  David S. Miller  <davem@davemloft.net>
22141
22142         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22143         (SPARC_ASM_VIS2_IFUNC): Likewise.
22144         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22146         use of 'siam' instruction.
22147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22148         Likewise.
22149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22150         Likewise.
22151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22152         Likewise.
22153         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22154         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22155         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22156         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22158         file.
22159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22160         file.
22161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22162         file.
22163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22164         file.
22165         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22166         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22167         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22168         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22170         new VIS2 routines.
22171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22174         Likewise.
22175         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22176         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22177         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22178         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22180         routines to libm-sysdep_routines.
22181         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22182
22183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22184         fdim/fdimf to libm-sysdep_routines.
22185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22186         file.
22187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22189         file.
22190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22193         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22194         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22195         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22196         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22197
22198 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22199
22200         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22201         to optimize copies.
22202
22203         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22204         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22205         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22206
22207         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22208         local variable MPTWO.
22209         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22210         Likewise.
22211
22212 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22213
22214         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22215         GLOB_NOESCAPE.
22216
22217 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22218
22219         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22220
22221 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22222
22223         * manual/pattern.texi (glob_t): Document gl_flags.
22224         (glob64_t): Likewise.
22225
22226 2013-01-11  David S. Miller  <davem@davemloft.net>
22227
22228         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22229         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22230         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
22231         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22232         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22233         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22234         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22235         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22236         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22237         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22238         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22239         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22240         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22241
22242         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22243         sparc V9 rather than using V8 code.
22244         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22245         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22246
22247         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22248         Move to...
22249         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22250         Here.
22251
22252 2013-01-11  Roland McGrath  <roland@hack.frob.com>
22253
22254         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22255         not in the main loop.
22256         * configure: Regenerated.
22257
22258 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
22259
22260         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22261         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22262         to just #else.
22263         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
22264         [!__GLIBC_HAVE_LONG_LONG] case.
22265         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22266         condition to just #else.
22267         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22268         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22269         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22270         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22271         unconditional.
22272         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22273         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22274         #elif condition to just #else.
22275         * sysdeps/unix/sysv/linux/sys/sysmacros.h
22276         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22277         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22278         #elif condition to just #else.
22279
22280 2013-01-11  Steve Ellcey  <sellcey@mips.com>
22281
22282         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22283         (EF_MIPS_ARCH_64): Fix value.
22284         (EF_MIPS_ARCH_32R2): New.
22285         (EF_MIPS_ARCH_64R2): New.
22286
22287 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
22288
22289         * Makeconfig (+link-pie-before-libc): New.
22290         (+link-pie-after-libc): Likewise.
22291         (+link-pie-tests): Likewise.
22292         (+link-pie): Rewritten.
22293         (link-before-libc): Remove $(config-LDFLAGS).
22294         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22295         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22296         (config-LDFLAGS): Renamed to ...
22297         (rtld-LDFLAGS): This.
22298         (rtld-tests-LDFLAGS): New macro.
22299         (link-libc-rpath-link): Likewise.
22300         (link-libc-tests-rpath-link): Likewise.
22301         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22302         (link-libc): Prepand $(link-libc-rpath-link).
22303         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22304         (test-program-prefix): New macro.
22305         (test-via-rtld-prefix): Likewise.
22306         (test-program-cmd): Likewise.
22307         (host-test-program-cmd): Likewise.
22308         * Makefile ($(common-objpfx)testrun.sh): Replace
22309         $(run-program-prefix) with $(test-program-prefix).
22310         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22311         $(rtld-LDFLAGS).
22312         ($(common-objpfx)shlib.lds): Likewise.
22313         (build-module-helper): Likewise.
22314         ($(common-objpfx)format.lds): Likewise.
22315         * Rules (binaries-pie-tests): New.
22316         (binaries-pie-notests): Likewise.
22317         (binaries-pie): Rewritten.
22318         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22319         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22320         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22321         (make-test-out): Replace $(host-built-program-cmd) with
22322         $(host-test-program-cmd).
22323         * config.make.in (build-hardcoded-path-in-tests): New variable.
22324         * configure.in (--enable-hardcoded-path-in-tests): New configure
22325         option.
22326         (hardcoded_path_in_tests): New AC_SUBST.
22327         * configure: Regenerated.
22328         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22329         $(built-program-cmd) with $(test-program-cmd).
22330         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22331         (test_program_cmd): This.
22332         * elf/Makefile ($(objpfx)order.out): Run test with
22333         $(test-program-prefix).
22334         ($(objpfx)order2.out): Likewise.
22335         ($(objpfx)tst-initorder.out): Likewise.
22336         ($(objpfx)tst-initorder2.out): Likewise.
22337         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22338         $(test-program-cmd).
22339         ($(objpfx)tst-array1-static.out): Likewise.
22340         ($(objpfx)tst-array2.out): Likewise.
22341         ($(objpfx)tst-array3.out): Likewise.
22342         ($(objpfx)tst-array4.out): Likewise.
22343         ($(objpfx)tst-array5.out): Likewise.
22344         ($(objpfx)tst-array5-static.out): Likewise.
22345         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22346         $(test-program-cmd).
22347         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22348         $(run-program-prefix) with $(test-program-prefix).
22349         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22350         (test_program_prefix): This.
22351         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22352         $(run-program-prefix) with $(test-program-prefix).
22353         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22354         (test_program_prefix): This.
22355         * iconvdata/tst-tables.sh: Likewise.
22356         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22357         $(run-program-prefix) with $(test-program-prefix).
22358         ($(objpfx)tst-translit.out): Likewise.
22359         ($(objpfx)tst-gettext2.out): Likewise.
22360         ($(objpfx)tst-gettext4.out): Likewise.
22361         ($(objpfx)tst-gettext6.out): Likewise.
22362         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22363         (test_program_prefix): This.
22364         * intl/tst-gettext2.sh: Likewise.
22365         * intl/tst-gettext4.sh  Likewise.
22366         * intl/tst-gettext6.sh: Likewise.
22367         * intl/tst-translit.sh: Likewise.
22368         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22369         with $(test-program-cmd).
22370         * libio/Makefile ($(objpfx)test-freopen.out): Replace
22371         $(run-program-prefix) with $(test-program-prefix).
22372         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22373         (test_program_prefix): This.
22374         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22375         $(run-program-prefix) with $(test-program-prefix).
22376         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22377         (test_program_prefix): This.
22378         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22379         * posix/Makefile ($(objpfx)globtest.out): Replace
22380         $(run-via-rtld-prefix) and $(test-wrapper) with
22381         $(test-program-prefix) and $(test-via-rtld-prefix).
22382         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22383         $(test-program-prefix).
22384         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22385         $(host-test-program-cmd).
22386         (tst-spawn-ARGS): Likewise.
22387         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22388         $(test-program-prefix).
22389         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22390         (test_via_rtld_prefix): This.
22391         (test_wrapper): Renamed to ...
22392         (test_program_prefix): This.
22393         (run_program_prefix): Replaced by test_program_prefix.
22394         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22395         (test_program_prefix): This.
22396         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22397         with $(host-test-program-cmd).
22398         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22399         $(run-program-prefix) with $(test-program-prefix).
22400         ($(objpfx)tst-printf.out): Likewise.
22401         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22402         $(test-program-cmd).
22403         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22404         (test_program_prefix): This.
22405         * stdio-common/tst-unbputc.sh: Likewise.
22406         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22407         $(run-program-prefix) with $(test-program-prefix).
22408         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22409         (test_program_prefix): This.
22410         * string/Makefile ($(objpfx)tst-svc.out):  Replace
22411         $(built-program-cmd) with $(test-program-cmd).
22412
22413 2013-01-11  Andreas Jaeger  <aj@suse.de>
22414
22415         [BZ #15003]
22416         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22417         value. Sync with Linux 3.7.
22418
22419 2013-01-10  David S. Miller  <davem@davemloft.net>
22420
22421         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22422         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22423         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22424
22425 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22426
22427         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22428         never set.
22429         * configure: Regenerated.
22430
22431 2013-01-10  David S. Miller  <davem@davemloft.net>
22432
22433         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22434         sparc V9 rather than using V8 code.
22435         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22436         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22437
22438 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22439
22440         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22441         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22442         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22443         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22444         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22445         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22446         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22447         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22448         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22449         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22450         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22451         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22452         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22453         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22454         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22455         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22456         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22457         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22458         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22459         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22460         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22461         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22462         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22463         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22464         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22465         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22466         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22467
22468 2013-01-10  David S. Miller  <davem@davemloft.net>
22469
22470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22471
22472 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22473
22474         * posix/Makefile (tests-static): New variable.
22475         (tests): Add $(tests-static).
22476         (tst-exec-static-ARGS): New variable.
22477         (tst-spawn-static-ARGS): Likewise.
22478         * posix/tst-exec-static.c: New file.
22479         * posix/tst-spawn-static.c: Likewise.
22480         * posix/tst-exec.c: Support run directly.
22481         * posix/tst-spawn.c: Likewise.
22482
22483 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
22484
22485         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22486         long.
22487         * math/bits/mathcalls.h (llrint): Likewise.
22488         (llround): Likewise.
22489         * stdlib/stdlib.h (struct drand48_data): Likewise.
22490         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22491         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22492         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22493         Likewise.
22494         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22495         Likewise.
22496         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22497         (elf_greg_t): Likewise.
22498         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22499         (__jmp_buf): Likewise.
22500         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22501         definitions.
22502         (llrint): Likewise, for all definitions.
22503         (llrintl): Likewise.
22504
22505         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22506         Remove [__GNUC__] condition.
22507         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22508         condition to just [__USE_ISOC99].
22509         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22510
22511 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22512
22513         [BZ #14200]
22514         * sysdeps/unix/sysv/linux/x86/bits/environments.h
22515         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22516         defined.
22517         (_POSIX_V6_ILP32_OFF32): Likewise.
22518         (_XBS5_ILP32_OFF32): Likewise.
22519         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22520         (__ILP32_OFFBIG_LDFLAGS): Likewise.
22521
22522 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22523
22524         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22525
22526         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22527         doubles __mpexp_twomm1.  Adjust usage.
22528         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22529         Remove.
22530
22531 2013-01-10  Andreas Schwab  <schwab@suse.de>
22532
22533         [BZ #14964]
22534         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22535         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22536
22537 2013-01-09  David S. Miller  <davem@davemloft.net>
22538
22539         [BZ #15003]
22540         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22541         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22542         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22543         (TCP_FASTOPEN): Define.
22544         (tcp_repair_opt): New structure.
22545         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22546         enum values.
22547         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22548         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22549         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22550         (tcp_cookie_transactions): New structure.
22551
22552 2013-01-09  Anton Blanchard  <anton@samba.org>
22553
22554         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22555         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22556         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22557         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22558
22559 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
22560
22561         * include/features.h (__USE_ANSI): Remove.
22562
22563 2013-01-09  Roland McGrath  <roland@hack.frob.com>
22564
22565         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22566
22567         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22568
22569 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22570
22571         * sysdeps/s390/fpu/libm-test-ulps: Update.
22572
22573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22574
22575         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22576         (__acr): Likewise.
22577         (__cpy): Likewise.
22578         (norm): Likewise.
22579         (denorm): Likewise.
22580         (__mp_dbl): Likewise.
22581         (__dbl_mp): Likewise.
22582         (add_magnitudes): Likewise.
22583         (sub_magnitudes): Likewise.
22584         (__add): Likewise.
22585         (__sub): Likewise.
22586         (__mul): Likewise.
22587         (__inv): Likewise.
22588         (__dvd): Likewise.
22589         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22590         (__acr): Likewise.
22591         (__cpy): Likewise.
22592         (norm): Likewise.
22593         (denorm): Likewise.
22594         (__mp_dbl): Likewise.
22595         (__dbl_mp): Likewise.
22596         (add_magnitudes): Likewise.
22597         (sub_magnitudes): Likewise.
22598         (__add): Likewise.
22599         (__sub): Likewise.
22600         (__mul): Likewise.
22601         (__inv): Likewise.
22602         (__dvd): Likewise.
22603         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22604         (__acr): Likewise.
22605         (__cpy): Likewise.
22606         (norm): Likewise.
22607         (denorm): Likewise.
22608         (__mp_dbl): Likewise.
22609         (__dbl_mp): Likewise.
22610         (add_magnitudes): Likewise.
22611         (sub_magnitudes): Likewise.
22612         (__add): Likewise.
22613         (__sub): Likewise.
22614         (__mul): Likewise.
22615         (__inv): Likewise.
22616         (__dvd): Likewise.
22617
22618 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
22619
22620         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22621         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22622         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22623         2 && __USE_EXTERN_INLINES]: Likewise.
22624
22625 2013-01-08  Andreas Jaeger  <aj@suse.de>
22626
22627         [BZ# 14985]
22628         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22629         Remove.
22630         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22631         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22632
22633 2013-01-07  Anton Blanchard  <anton@samba.org>
22634
22635         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22636         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22637         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22638         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22639         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22640         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22641         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22642         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22643         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22644         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22645         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22646         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22647         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22648         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22649         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22650         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22651         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22652         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22653         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22654         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22655         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22656         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22657         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22658         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22659         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22660         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22661         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22662         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22663         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22664         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22665         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22666         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22667         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22668         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22669         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22670         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22671         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22672         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22673         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22674         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22675         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22676         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22677         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22678
22679 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
22680
22681         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22682         (__MALLOC_PMT): Likewise.
22683         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22684         [__GNUC__], only on [_LIBC].
22685         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22686         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22687         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22688         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22689         forward declaration.
22690         (realloc_hook_ini): Likewise.
22691         (memalign_hook_ini): Likewise.
22692         (__libc_memalign): Do not use __MALLOC_PMT in variable
22693         declaration.
22694         (__libc_valloc): Likewise.
22695         (__libc_pvalloc): Likewise.
22696         (__libc_calloc): Likewise.
22697         (__posix_memalign): Likewise.
22698
22699         [BZ #14996]
22700         * math/s_casinh.c: Include <float.h>.
22701         (__casinh): Do not do computation with squaring and square root
22702         for large arguments.
22703         * math/s_casinhf.c: Include <float.h>.
22704         (__casinhf): Do not do computation with squaring and square root
22705         for large arguments.
22706         * math/s_casinhl.c: Include <float.h>.
22707         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22708         (__casinhl): Do not do computation with squaring and square root
22709         for large arguments.
22710         * math/libm-test.inc (casin_test): Add more tests.
22711         (casinh_test): Likewise.
22712         * sysdeps/i386/fpu/libm-test-ulps: Update.
22713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22714
22715 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
22716
22717         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22718         (__x86_64_raw_data_cache_size): Likewise.
22719         (__x86_64_data_cache_size_half): Likewise.
22720         (__x86_64_raw_data_cache_size_half): Likewise.
22721         (__x86_64_shared_cache_size): Likewise.
22722         (__x86_64_raw_shared_cache_size): Likewise.
22723         (__x86_64_shared_cache_size_half): Likewise.
22724         (__x86_64_raw_shared_cache_size_half): Likewise.
22725         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22726         to ...
22727         (__x86_data_cache_size): This.
22728         (__x86_64_raw_data_cache_size): Renamed to ...
22729         (__x86_raw_data_cache_size): This.
22730         (__x86_64_data_cache_size_half): Renamed to ...
22731         (__x86_data_cache_size_half): This.
22732         (__x86_64_raw_data_cache_size_half): Renamed to ...
22733         (__x86_raw_data_cache_size_half): This.
22734         (__x86_64_shared_cache_size): Renamed to ...
22735         (__x86_shared_cache_size): This.
22736         (__x86_64_raw_shared_cache_size): Renamed to ...
22737         (__x86_raw_shared_cache_size): This.
22738         (__x86_64_shared_cache_size_half): Renamed to ...
22739         (__x86_shared_cache_size_half): This.
22740         (__x86_64_raw_shared_cache_size_half): Renamed to ...
22741         (__x86_raw_shared_cache_size_half): This.
22742         * sysdeps/x86_64/memcpy.S: Updated.
22743         * sysdeps/x86_64/memset.S: Likewise.
22744         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22745         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22746         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22747
22748 2013-01-04  David S. Miller  <davem@davemloft.net>
22749
22750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22751
22752 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
22753
22754         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22755         1 to avoid redefinition warning.
22756         (__USE_GNU): Don't define.
22757         (init_signaling_nan): Protoize.
22758
22759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22760
22761 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22762
22763         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22764         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22765         (__cpymn): Likewise.
22766         (norm): Remove commented code.
22767         (denorm): Likewise.
22768         (__mp_dbl): Likewise.
22769         (__inv): Likewise.
22770         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22771         (__cpymn): Likewise.
22772         (norm): Remove commented code.
22773         (denorm): Likewise.
22774         (__mp_dbl): Likewise.
22775         (__inv): Likewise.
22776
22777         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22778         mp_no value for 1.0 and 2.0.
22779         (norm): Use RADIXI instead of radixi.d.
22780         (denorm): Likewise.
22781         (__mul): Use 0.0 instead of zero.d.
22782         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22783         mp_no value for 1.0 and 2.0.
22784         (norm): Use RADIXI instead of radixi.d.
22785         (denorm): Likewise.
22786         (__mul): Use 0.0 instead of zero.d.
22787
22788 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
22789
22790         [BZ #14994]
22791         * math/s_casinh.c (__casinh): Reduce finite argument to first
22792         quadrant then set signs of results at the end.
22793         * math/s_casinhf.c (__casinhf): Likewise.
22794         * math/s_casinhl.c (__casinhl): Likewise.
22795         * math/libm-test.inc (casin_test): Add more tests.
22796         (casinh_test): Likewise.
22797         * sysdeps/i386/fpu/libm-test-ulps: Update.
22798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22799
22800 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22801
22802         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22803
22804         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22805
22806         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22807         declarations.
22808         (denorm): Likewise.
22809         (__mp_dbl): Likewise.
22810         (__inv): Likewise.
22811
22812         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22813         and adjust the header comment.
22814
22815         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22816         variable name from declaration.
22817
22818 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
22819
22820         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22821         Initialize COMMON_CPUID_INDEX_7 element.
22822         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22823         (CPUID_RTM): Likewise.
22824         (HAS_RTM): Likewise.
22825         (COMMON_CPUID_INDEX_7): New enum.
22826
22827 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
22828
22829         [BZ #14981]
22830         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22831         size is zero, record memory as freed.
22832
22833 2013-01-03  Andreas Jaeger  <aj@suse.de>
22834
22835         * po/ia.po: Add new Interlingua translation.
22836
22837 2012-01-03  Allan McRae  <allan@archlinux.org>
22838
22839         * locale/programs/localedef.c: Fix description of '--posix' flag.
22840
22841 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
22842
22843         * NEWS: Update dates in second copyright notice.
22844         * README: Update copyright dates in example.
22845         * manual/libc.texinfo: Update copyright dates.
22846         * scripts/test-installation.pl: Update copyright date in --version
22847         output.
22848
22849         * hurd/ctty-input.c: Fix copyright notice formatting.
22850         * hurd/ctty-output.c: Likewise.
22851         * hurd/dtable.c: Likewise.
22852         * hurd/hurd-raise.c: Likewise.
22853         * hurd/hurdprio.c: Likewise.
22854         * hurd/msgportdemux.c: Likewise.
22855         * misc/sys/file.h: Likewise.
22856         * misc/sys/ioctl.h: Likewise.
22857         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22858         * sysdeps/mach/hurd/chdir.c: Likewise.
22859         * sysdeps/mach/hurd/fchdir.c: Likewise.
22860         * sysdeps/mach/hurd/rename.c: Likewise.
22861         * sysdeps/mach/hurd/rmdir.c: Likewise.
22862         * sysdeps/mach/hurd/seekdir.c: Likewise.
22863         * sysdeps/mach/hurd/setsid.c: Likewise.
22864         * sysdeps/posix/wait3.c: Likewise.
22865
22866         * All files with FSF copyright notices: Update copyright dates
22867         using scripts/update-copyrights.
22868         * intl/plural.c: Regenerated.
22869         * locale/programs/charmap-kw.h: Likewise.
22870         * locale/programs/locfile-kw.h: Likewise.
22871
22872 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22873
22874         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22875         four values.
22876
22877         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22878         calculation loop and add branch prediction.
22879
22880         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22881         check access beyond bounds of m1np.
22882
22883         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22884         MPTWO.
22885         (__inv): Remove local variable MPTWO to use the global
22886         constant.
22887         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22888         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22889         variable MPTWO.
22890         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22891         MP3HALFS static const.
22892
22893 2013-01-01  David S. Miller  <davem@davemloft.net>
22894
22895         * po/ca.po: Update from translation team.
22896
22897 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
22898
22899         * scripts/update-copyrights: New file.
22900         * Makeconfig: Reformat copyright notice.
22901         * ctype/ctype.h: Likewise.
22902         * debug/swprintf_chk.c: Likewise.
22903         * elf/dl-cache.c: Likewise.
22904         * elf/dl-debug.c: Likewise.
22905         * elf/dl-object.c: Likewise.
22906         * grp/initgroups.c: Likewise.
22907         * hurd/Makefile: Likewise.
22908         * hurd/hurd/signal.h: Likewise.
22909         * hurd/hurdfault.c: Likewise.
22910         * hurd/hurdioctl.c: Likewise.
22911         * hurd/hurdlookup.c: Likewise.
22912         * hurd/intr-msg.c: Likewise.
22913         * iconv/gconv_open.c: Likewise.
22914         * libio/swprintf.c: Likewise.
22915         * locale/lc-ctype.c: Likewise.
22916         * locale/nl_langinfo.c: Likewise.
22917         * mach/Machrules: Likewise.
22918         * mach/Makefile: Likewise.
22919         * malloc/obstack.h: Likewise.
22920         * manual/Makefile: Likewise.
22921         * manual/tsort.awk: Likewise.
22922         * misc/bits/stab.def: Likewise.
22923         * nis/nis_print_group_entry.c: Likewise.
22924         * nis/nis_table.c: Likewise.
22925         * nis/nss_compat/compat-pwd.c: Likewise.
22926         * nis/nss_compat/compat-spwd.c: Likewise.
22927         * po/Makefile: Likewise.
22928         * posix/fnmatch.c: Likewise.
22929         * posix/regex.h: Likewise.
22930         * resolv/Makefile: Likewise.
22931         * resolv/nss_dns/dns-network.c: Likewise.
22932         * resolv/res_hconf.c: Likewise.
22933         * scripts/gen-sorted.awk: Likewise.
22934         * soft-fp/soft-fp.h: Likewise.
22935         * stdio-common/printf.h: Likewise.
22936         * stdlib/monetary.h: Likewise.
22937         * stdlib/random.c: Likewise.
22938         * stdlib/random_r.c: Likewise.
22939         * sysdeps/generic/Makefile: Likewise.
22940         * sysdeps/gnu/Makefile: Likewise.
22941         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22942         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22943         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22944         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22945         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22946         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22947         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22948         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22949         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22950         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22951         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22952         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22953         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22954         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22955         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22956         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22957         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22958         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22959         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22960         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22961         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22962         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22963         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22964         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22965         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22966         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22967         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22968         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22969         * sysdeps/mach/hurd/errnos.awk: Likewise.
22970         * sysdeps/mach/hurd/fork.c: Likewise.
22971         * sysdeps/mach/hurd/getcwd.c: Likewise.
22972         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22973         * sysdeps/mach/hurd/mmap.c: Likewise.
22974         * sysdeps/mach/hurd/utimes.c: Likewise.
22975         * sysdeps/mach/hurd/xmknod.c: Likewise.
22976         * sysdeps/posix/profil.c: Likewise.
22977         * sysdeps/posix/readdir_r.c: Likewise.
22978         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22979         * sysdeps/powerpc/bits/setjmp.h: Likewise.
22980         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22981         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22982         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22983         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22984         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22985         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22986         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22987         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22988         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22989         * sysdeps/pthread/lio_listio.c: Likewise.
22990         * sysdeps/sparc/dl-procinfo.h: Likewise.
22991         * sysdeps/unix/i386/sysdep.S: Likewise.
22992         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22993         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22994         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22995         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22997         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22998         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22999         * sysdeps/unix/sysv/linux/speed.c: Likewise.
23000         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23001         * sysdeps/wordsize-32/divdi3.c: Likewise.
23002         * time/sys/time.h: Likewise.
23003         * wcsmbs/Makefile: Likewise.
23004
23005 2013-01-01  David S. Miller  <davem@davemloft.net>
23006
23007         * po/fr.po: Update from translation team.
23008
23009         * catgets/gencat.c: Update copyright year.
23010         * csu/version.c: Likewise.
23011         * debug/catchsegv.sh: Likewise.
23012         * debug/pcprofiledump.c: Likewise.
23013         * debug/xtrace.sh: Likewise.
23014         * elf/ldconfig.c: Likewise.
23015         * elf/ldd.bash.in: Likewise.
23016         * elf/pldd.c: Likewise.
23017         * elf/sotruss.ksh: Likewise.
23018         * elf/sprof.c: Likewise.
23019         * iconv/iconv_prog.c: Likewise.
23020         * iconv/iconvconfig.c: Likewise.
23021         * locale/programs/locale.c: Likewise.
23022         * locale/programs/localedef.c: Likewise.
23023         * login/programs/pt_chown.c: Likewise.
23024         * malloc/memusage.sh: Likewise.
23025         * malloc/memusagestat.c: Likewise.
23026         * malloc/mtrace.pl: Likewise.
23027         * nscd/nscd.c: Likewise.
23028         * nss/getent.c: Likewise.
23029         * nss/makedb.c: Likewise.
23030         * posix/getconf.c: Likewise.
23031
23032 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23033
23034         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23035         numbers.
23036
23037 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
23038
23039         * math/bits/mathcalls.h (modf): Use __nonnull.
23040
23041 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23042
23043         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23044         (split): Use macro CN instead of the bare value.
23045         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23046         could be used.
23047         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23048         instead of the bare value.
23049         (power1): Likewise.
23050
23051 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23052
23053         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23054         __ATAN_TWOM.
23055         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23056
23057         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23058         their values.
23059         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23060         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23061         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23062         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23063
23064 2012-12-28  Andreas Jaeger  <aj@suse.de>
23065
23066         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
23067         values are from Linux 3.7.
23068
23069         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23070         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
23071
23072 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23073
23074         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23075         TRUE case.
23076
23077         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23078         (norm): Likewise.
23079         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23080         variables with preprocessor constants.
23081         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23082         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23083         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23084
23085 2012-12-27  Bruno Haible  <bruno@clisp.org>
23086
23087         [BZ #14317]
23088         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23089         only if needed.
23090
23091 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23092
23093         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23094         and use variable directly.
23095         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23096
23097         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23098         MPONE.
23099         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23100         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23101         variable MPONE.
23102         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23103         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23104         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23105         include directive.  Remove local variable MPONE.
23106         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23107         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23108         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23109
23110 2012-12-25  David S. Miller  <davem@davemloft.net>
23111
23112         * version.h (RELEASE): Set to "development".
23113         (VERSION): Set to "2.17.90".
23114         * NEWS: Add 2.18 section.
23115
23116 2012-12-21  David S. Miller  <davem@davemloft.net>
23117
23118         * po/hr.po: Update from translation team.
23119
23120 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23121
23122         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23123
23124 2012-12-19  Steve Ellcey  <sellcey@mips.com>
23125
23126         * NEWS:  Mention new memcpy for MIPS.
23127
23128 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23129
23130         * manual/contrib.texi (Contributors): Spelling correction.
23131
23132 2012-12-15  David S. Miller  <davem@davemloft.net>
23133
23134         * po/ru.po: Update from translation team.
23135
23136 2012-12-13  David S. Miller  <davem@davemloft.net>
23137
23138         * NEWS: Mention IFUNC testsuite enhancements.
23139
23140         * po/pl.po: Update from translation team.
23141         * po/bg.po: Likewise.
23142
23143         * manual/contrib.texi (Contributors): Update entries for Hongjiu
23144         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
23145
23146 2012-12-11  David S. Miller  <davem@davemloft.net>
23147
23148         * po/sv.po: Update from translation team.
23149
23150         * po/vi.po: Update from translation team.
23151
23152         * po/cs.po: Update from translation team.
23153
23154         * po/de.po: Update from translation team.
23155         * po/eo.po: Likewise.
23156         * po/nl.po: Likewise.
23157
23158 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23159
23160         [BZ #14246]
23161         * manual/argp.texi (Argp Helper Functions): Move node to follow
23162         Argp Parsing State.
23163
23164         [BZ #14872]
23165         * manual/conf.texi (Limits on File System Capacity): Mention if
23166         terminating null is included in the max size.
23167
23168 2012-12-10  Andreas Jaeger  <aj@suse.de>
23169
23170         * po/cs.po: Update from translation team.
23171
23172 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23173
23174         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23175         void pointer and cast to uintptr_t.
23176         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23177         path.
23178         * sysdeps/s390/s390-64/memcpy.S: Likewise.
23179         * sysdeps/s390/s390-64/memset.S: Likewise.
23180
23181 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
23182
23183         [BZ #14833]
23184         * menual/message.texi (Message Translation): Fix typos.
23185         (Helper programs for gettext): Likewise.
23186
23187 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
23188
23189         [BZ #14898]
23190         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23191         Change to -1.
23192
23193 2012-12-07  David S. Miller  <davem@davemloft.net>
23194
23195         * po/libc.pot: Update.
23196
23197 2012-12-07  Richard Henderson  <rth@redhat.com>
23198
23199         [BZ #10114]
23200         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23201         normal/normal case to before the switch.
23202         (_FP_DIV): Likewise.
23203
23204 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
23205             Mike Frysinger  <vapier@gentoo.org>
23206
23207         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23208         check for __NR_fadvise64_64.
23209
23210 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
23211
23212         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23213         0, not just to plain "0" as a statement.
23214         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23215         with cw.
23216
23217 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
23218
23219         * NEWS: Use sourceware.org in Bugzilla URL.
23220
23221 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23222
23223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23224         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23225
23226         * stdio-common/tst-put-error.c (do_test): Add newline to the
23227         padded test to ensure flush.
23228
23229 2012-12-05  Jeff Law  <law@redhat.com>
23230
23231         * sunrpc/etc.rpc (fedfs_admin): Add entry.
23232
23233 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
23234
23235         * README: Don't refer to ports add-on as distributed separately.
23236         Mention AArch64 in list of systems supported in the ports add-on.
23237
23238         * LICENSES: Add more non-FSF copyright and license notices.
23239
23240         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23241         ((unused)).
23242
23243         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23244
23245         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23246         10000 as width of padded output.
23247
23248 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23249
23250         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23251
23252         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23253         variable LX with __attribute__ ((unused)).
23254         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23255         Likewise.
23256         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23257         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23258         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23259         with __attribute__ ((unused)).
23260
23261 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
23262
23263         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23264
23265 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23266
23267         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23268         (CFLAGS-nldbl-acos.c): New variable.
23269         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23270         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23271         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23272         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23273         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23274         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23275         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23276         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23277         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23278         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23279         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23280         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23281         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23282         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23283         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23284         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23285         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23286         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23287         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23288         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23289         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23290         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23291         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23292         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23293         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23294         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23295         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23296         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23297         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23298         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23299         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23300         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23301         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23302         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23303         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23304         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23305         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23306         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23307         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23308         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23309         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23310         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23311         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23312         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23313         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23314         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23315         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23316         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23317         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23318         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23319         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23320         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23321         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23322         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23323         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23324         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23325         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23326         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23327         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23328         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23329         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23330         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23331         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23332         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23333         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23334         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23335         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23336         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23337         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23338         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23339         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23340         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23341         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23342         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23343         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23344         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23345         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23346         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23347         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23348         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23349         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23350         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23351         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23352         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23353         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23354         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23355         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23356         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23357         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23358         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23359         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23360         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23361         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23362         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23363         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23364         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23365         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23366
23367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23368         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23369
23370         [BZ #14914]
23371         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23372         whole low double instead of just low 47 bits when splitting values
23373         into two parts.
23374
23375 2012-12-03  Allan McRae  <allan@archlinux.org>
23376
23377         * manual/stdio.texi (Predefined Printf Handlers): Remove
23378         @hsep and @vsep usage.
23379
23380 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
23381
23382         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23383         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23384
23385 2012-12-03  Jeff Law  <law@redhat.com>
23386
23387         * time/sys/time.h (settimeofday): Do not mark TV argument
23388         as __nonnull.
23389
23390 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
23391
23392         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23393         when currently writing and seek to current position when not.
23394         * libio/Makefile (tests): Remove bug-fclose1.
23395         * libio/bug-fclose1.c: Delete.
23396
23397 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
23398
23399         * manual/arith.texi (feenableexcept): Fix typo.
23400         (fedisableexcept): Likewise.
23401
23402 2012-11-30  Roland McGrath  <roland@hack.frob.com>
23403
23404         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23405         second, differently-typed declaration, rather than a cast.
23406
23407 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23408
23409         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23410         * include/rpc/svc.h: ... here.
23411
23412 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
23413
23414         [BZ #13013]
23415         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23416         depending n and resplen2 to catch cases where answer
23417         equals answerp2.
23418
23419 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
23420
23421         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23422         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23423
23424 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
23425
23426         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23427
23428 2012-11-29  Roland McGrath  <roland@hack.frob.com>
23429
23430         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23431
23432 2012-11-28  Jeff Law  <law@redhat.com>
23433
23434         [BZ #13761]
23435         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23436         dataset_temporary.  Track alloca usage into alloca_used.
23437         If dataset is large allocate and release it via malloc/free.
23438
23439 2012-06-04  Florian Weimer  <fweimer@redhat.com>
23440
23441         [BZ #14197]
23442         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23443
23444 2012-11-28  David S. Miller  <davem@davemloft.net>
23445
23446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23447
23448 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23449
23450         [BZ #14803]
23451         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23452         of pi/2 rounded to nearest to 64 bits.
23453         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23454         nearest to 64 bits.
23455         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23456         bits.
23457
23458 2012-11-28  Jeff Law <law@redhat.com>
23459             Martin Osvald <mosvald@redhat.com>
23460
23461         [BZ #14889]
23462         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23463         * sunrpc/svc.c: Include time.h.
23464         (__svc_accept_failed): New function.
23465         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23466         any reason other than EINTR, call __svc_accept_failed.
23467         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23468         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23469
23470 2012-11-28  Andreas Schwab  <schwab@suse.de>
23471
23472         * scripts/abilist.awk: Also handle indirect functions in .opd
23473         section.
23474
23475 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23476
23477         [BZ #13881]
23478         * sysdeps/x86/fpu/powl_helper.c: New file.
23479         * sysdeps/x86/fpu/Makefile: Likewise.
23480         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23481         (p3): New object.
23482         (__ieee754_powl): Use __powl_helper for finite arguments except
23483         integer exponents below 8.
23484         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23485         (p3): New object.
23486         (__ieee754_powl): Use __powl_helper for finite arguments except
23487         integer exponents below 8.
23488         * math/libm-test.inc (pow_test): Add more tests and enable some
23489         previously disabled tests.
23490         * sysdeps/i386/fpu/libm-test-ulps: Update.
23491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23492
23493 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23494             Carlos O'Donell  <carlos_odonell@mentor.com>
23495
23496         * nss/makedb.c (is_prime): Assert that input is odd and greater
23497         than 4.  Note that fact in a comment too.
23498         (next_prime): Add 4 to input.
23499
23500 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23501
23502         [BZ #11741]
23503         * libio/Makefile (tests): Add test case tst-fwrite-error.
23504         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23505         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23506         * libio/tst-fwrite-error.c: New test case.
23507
23508 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
23509
23510         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23511         before casting to void *.
23512         * include/libc-internal.h (__pointer_type): New macro.
23513         (__integer_if_pointer_type_sub): Likewise.
23514         (__integer_if_pointer_type): Likewise.
23515         (cast_to_integer): Likewise.
23516         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23517         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23518         before casting to atomic64_t.
23519         (atomic_exchange_acq): Likewise.
23520         (__arch_exchange_and_add_body): Likewise.
23521         (__arch_add_body): Likewise.
23522         (atomic_add_negative): Likewise.
23523         (atomic_add_zero): Likewise.
23524
23525 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
23526
23527         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23528         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23529         (add_fdes): Likewise.
23530         (linear_search_fdes): Likewise.
23531         (binary_search_unencoded_fdes): Likewise.
23532
23533 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
23534
23535         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23536
23537 2012-11-24  Adam Conrad  <adconrad@0c3.net>
23538
23539         * configure.in: Autodetect C++ header directories.
23540         * configure: Regenerated.
23541
23542 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
23543
23544         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23545
23546 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
23547
23548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23549
23550 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
23551
23552         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23553         LDBL_MANT_DIG == 106]: Disable some tests.
23554         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23555         Likewise.
23556         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23557         Likewise.
23558
23559         [BZ #14871]
23560         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23561         input for small inputs.  Return +/- pi/2 for large inputs.
23562         * math/libm-test.inc (atan_test): Add more tests.
23563
23564         * sysdeps/generic/unwind-dw2-fde-glibc.c
23565         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23566         __attribute__ ((unused)).
23567
23568         [BZ #14645]
23569         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23570         x * y if x and y are nonzero and z is zero.
23571
23572         [BZ #14811]
23573         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23574         nonzero exponents with absolute value below 0x1p-117 to +/-
23575         0x1p-117.
23576
23577         [BZ #14869]
23578         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23579         up arguments below 2**-450, not just those below 2**-500.
23580         * math/libm-test.inc (hypot_test): Add another test.
23581
23582         [BZ #14868]
23583         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23584         Return a+b for ratio over 2**120, not 2**60.
23585         * math/libm-test.inc (hypot_test): Add another test.
23586
23587         * math/libm-test.inc (clog_test): Use
23588         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23589         (clog10_test): Likewise.
23590
23591         [BZ #6778]
23592         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23593
23594 2012-11-22  Andreas Schwab  <schwab@suse.de>
23595
23596         * sysdeps/i386/fpu/libm-test-ulps: Update.
23597
23598 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
23599
23600         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23601         printf output with newline.
23602
23603 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
23604
23605         [BZ #14865]
23606         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23607         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23608         -z nodlopen, -z initfirst and -z execstack support.
23609         * configure: Regenerated.
23610
23611         * elf/elf.h (DF_1_NODIRECT): New macro.
23612         (DF_1_IGNMULDEF): Likewise.
23613         (DF_1_NOKSYMS): Likewise.
23614         (DF_1_NOHDR): Likewise.
23615         (DF_1_EDITED): Likewise.
23616         (DF_1_NORELOC): Likewise.
23617         (DF_1_SYMINTPOSE): Likewise.
23618         (DF_1_GLOBAUDIT): Likewise.
23619         (DF_1_SINGLETON): Likewise.
23620         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23621         DT_1_SUPPORTED_MASK bits.
23622         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23623
23624 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
23625
23626         * sysdeps/unix/make-syscalls.sh: Document prefixes.
23627
23628 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
23629
23630         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23631         macro.
23632
23633         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23634         (sendmmsg): Move declarations...
23635         * socket/sys/socket.h: ... here.
23636         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23637         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23638         include it from...
23639         * socket/recvmmsg.c: ... this new file.
23640         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23641         (sendmmsg): Rename to __sendmmsg, create weak alias and make
23642         definition of __sendmmsg hidden.
23643         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23644         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23645         Move ENOSYS stub into and include it from...
23646         * socket/sendmmsg.c: ... this new file.
23647         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23648         (sysdep_routines): Move recvmmsg and sendmmsg...
23649         * socket/Makefile (routines): ... here.
23650         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23651         (GLIBC_PRIVATE): Add __sendmmsg.
23652         * include/sys/socket.h (__sendmmsg): Add declarations.
23653         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23654         sendmmsg.
23655
23656 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
23657
23658         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23659         variable I1 with __attribute__ ((unused)).
23660         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23661
23662 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23663
23664         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23665         DUMMY variables with __attribute__ ((unused)).
23666
23667         * bits/byteswap.h: Include <bits/types.h>.
23668         (__bswap_64): Use __uint64_t instead of unsigned long long int.
23669
23670 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23671
23672         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23673         string_t.  Do not manually set errno.
23674         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23675         length with __strnlen.  Make sure to both set errno and return it on
23676         failure.
23677
23678 2012-11-19  David S. Miller  <davem@davemloft.net>
23679
23680         With help from Joseph Myers.
23681         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23682         very large arguments properly.
23683         * math/libm-test.inc (atan_test): New tests.
23684         (atan2_test): New tests.
23685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23686         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23687
23688 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23689
23690         [BZ #14856]
23691         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23692         Define to 3.
23693
23694         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23695         [POSIX] (EADDRNOTAVAIL): Likewise.
23696         [POSIX] (EAFNOSUPPORT): Likewise.
23697         [POSIX] (EALREADY): Likewise.
23698         [POSIX] (ECONNABORTED): Likewise.
23699         [POSIX] (ECONNREFUSED): Likewise.
23700         [POSIX] (ECONNRESET): Likewise.
23701         [POSIX] (EDESTADDRREQ): Likewise.
23702         [POSIX] (EDQUOT): Likewise.
23703         [POSIX] (EHOSTUNREACH): Likewise.
23704         [POSIX] (EIDRM): Likewise.
23705         [POSIX] (EISCONN): Likewise.
23706         [POSIX] (ELOOP): Likewise.
23707         [POSIX] (EMULTIHOP): Likewise.
23708         [POSIX] (ENETDOWN): Likewise.
23709         [POSIX] (ENETUNREACH): Likewise.
23710         [POSIX] (ENOBUFS): Likewise.
23711         [POSIX] (ENODATA): Likewise.
23712         [POSIX] (ENOLINK): Likewise.
23713         [POSIX] (ENOMSG): Likewise.
23714         [POSIX] (ENOPROTOOPT): Likewise.
23715         [POSIX] (ENOSR): Likewise.
23716         [POSIX] (ENOSTR): Likewise.
23717         [POSIX] (ENOTCONN): Likewise.
23718         [POSIX] (ENOTSOCK): Likewise.
23719         [POSIX] (EOPNOTSUPP): Likewise.
23720         [POSIX] (EOVERFLOW): Likewise.
23721         [POSIX] (EPROTO): Likewise.
23722         [POSIX] (EPROTONOSUPPORT): Likewise.
23723         [POSIX] (EPROTOTYPE): Likewise.
23724         [POSIX] (ESTALE): Likewise.
23725         [POSIX] (ETIME): Likewise.
23726         [POSIX] (ETXTBSY): Likewise.
23727         [POSIX] (EWOULDBLOCK): Likewise.
23728         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23729         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23730         [POSIX] (SEEK_CUR): Likewise.
23731         [POSIX] (SEEK_END): Likewise.
23732         [POSIX || UNIX98] (mode_t): Do not require.
23733         [POSIX] (off_t): Likewise.
23734         [POSIX] (pid_t): Likewise.
23735         [POSIX] (sys/stat.h): Do not allow header.
23736         [POSIX] (unistd.h): Likewise.
23737         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23738         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23739         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23740         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23741         require.
23742         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23743         sigevent): Specify elements.
23744         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23745         entry.
23746         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23747         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23748
23749         * conform/data/cpio.h-data [POSIX]: Disable whole file.
23750         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23751         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23752         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23753         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23754         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23755         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23756         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23757         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23758         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23759         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23760         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23761         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23762         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23763         Likewise.
23764         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23765         Likewise.
23766         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23767         Likewise.
23768         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23769         Likewise.
23770         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23771         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23772         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23773         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23774         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23775         Specify lower bound on value.
23776         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23777         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23778         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23779         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23780         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23781         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23782         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23783         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23784         value.
23785         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23786         as optional.
23787         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23788         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23789         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23790         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23791         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23792         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23793         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23794         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23795         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23796         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23797         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23798         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23799         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23800         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23801         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23802         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23803         entry.
23804         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23805         optional.
23806         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23807         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23808         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23809         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23810         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23811         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23812         Likewise.
23813         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23814         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23815         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23816         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23817         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
23818         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23819         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23820         as optional.
23821         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23822         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23823         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23824         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23825         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23826         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23827         specify as optional.
23828         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23829         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23830         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23831         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23832         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23833         [XPG3] (NL_LANGMAX): Likewise.
23834         [POSIX || XPG3] (NL_MSGMAX): Likewise.
23835         [POSIX || XPG3] (NL_NMAX): Likewise.
23836         [POSIX || XPG3] (NL_SETMAX): Likewise.
23837         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23838         [XPG3] (NZERO): Likewise.
23839         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23840         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23841         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23842         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23843         (REG_ERANGE): Expect.
23844         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23845         optional-constant.
23846         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23847         Use (void) in prototype.
23848         [POSIX] (*_t): Allow.
23849         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23850         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23851         (WRDE_BADVAL): Expect.
23852
23853         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23854         expect.
23855         [XPG3 || XPG4] (O_RSYNC): Likewise.
23856         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23857         Likewise.
23858         [XPG3 || XPG4] (pthread_sigmask): Likewise.
23859         [XPG3 || XPG4] (sigqueue): Likewise.
23860         [XPG3 || XPG4] (sigtimedwait): Likewise.
23861         [XPG3 || XPG4] (sigwaitinfo): Likewise.
23862         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23863         [XPG3 || XPG4] (vsnprintf): Likewise.
23864         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23865         Likewise.
23866         [XPG3 || XPG4] (blksize_t): Likewise.
23867         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23868         Likewise.
23869         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23870         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23871         [XPG3 || XPG4] (struct itimerspec): Likewise.
23872         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23873         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23874         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23875         [XPG3 || XPG4] (clockid_t): Likewise.
23876         [XPG3 || XPG4] (timer_t): Likewise.
23877         [XPG3 || XPG4] (clock_getres): Likewise.
23878         [XPG3 || XPG4] (clock_gettime): Likewise.
23879         [XPG3 || XPG4] (clock_settime): Likewise.
23880         [XPG3 || XPG4] (nanosleep): Likewise.
23881         [XPG3 || XPG4] (timer_create): Likewise.
23882         [XPG3 || XPG4] (timer_delete): Likewise.
23883         [XPG3 || XPG4] (timer_gettime): Likewise.
23884         [XPG3 || XPG4] (timer_getoverrun): Likewise.
23885         [XPG3 || XPG4] (timer_settime): Likewise.
23886         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23887         [XPG3 || XPG4] (getlogin_r): Likewise.
23888         [XPG3 || XPG4] (pread): Likewise.
23889         [XPG3 || XPG4] (pthread_atfork): Likewise.
23890         [XPG3 || XPG4] (pwrite): Likewise.
23891
23892         [BZ #14835]
23893         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23894         <bits/siginfo.h>.
23895
23896 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23897
23898         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23899         finalizing MALLSTREAM.
23900
23901         * sysdeps/mach/hurd/syncfs.c: New file.
23902
23903 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23904
23905         [BZ #14719]
23906         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23907         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23908         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23909         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23910         (_nss_dns_gethostbyname4_r): Likewise.
23911         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23912         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23913
23914 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
23915
23916         [BZ #13763]
23917         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23918
23919 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
23920
23921         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23922         * elf/cache.c (print_entry): Print ",AArch64" for
23923         FLAG_AARCH64_LIB64
23924
23925         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23926         * elf/cache.c (print_entry): Print ",hard-float" for
23927         FLAG_ARM_LIBHF.
23928
23929 2012-11-18  David S. Miller  <davem@davemloft.net>
23930
23931         With help from Joseph Myers.
23932         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23933         cutoff to 2**-13.
23934         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23935         cutoff to 2**-25.
23936         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23937         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23938         small.
23939         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23940         * math/libm-test.inc (y0_test): New tests.
23941         (y1_test): New tests.
23942         * sysdeps/i386/fpu/libm-test-ulps: Update.
23943         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23944         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23945
23946 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
23947
23948         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23949         64-bit targets.
23950         * configure: Regenerated.
23951
23952 2012-11-17  David S. Miller  <davem@davemloft.net>
23953
23954         [BZ #14811]
23955         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23956         nonzero exponents with absolute value below 0x1p-128 to +/-
23957         0x1p-128.
23958
23959 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
23960
23961         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23962
23963         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23964
23965         * posix/getconf-speclist.c: New file.
23966         * posix/posix-envs.def: Likewise.
23967         * posix/confstr.c (START_ENV_GROUP): New macro.
23968         (END_ENV_GROUP): Likewise.
23969         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23970         (KNOWN_PRESENT_ENV_STRING): Likewise.
23971         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23972         (UNKNOWN_ENVIRONMENT): Likewise.
23973         (confstr): Include posix-envs.def instead of handling
23974         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23975         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23976         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23977         (END_ENV_GROUP): Likewise.
23978         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23979         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23980         (UNKNOWN_ENVIRONMENT): Likewise.
23981         (__sysconf): Include posix-envs.def instead of handling associated
23982         cases directly here.
23983         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23984         preprocessing getconf-speclist.c rather than running getconf or
23985         generating empty file.
23986
23987 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
23988
23989         * scripts/check-local-headers.sh: Ignore 'mach' headers.
23990
23991 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
23992
23993         [BZ #14672]
23994         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23995
23996 2012-11-16  David S. Miller  <davem@davemloft.net>
23997
23998         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23999         smaller than LDBL_EPSILON/2.0L, just return xm1.
24000
24001 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
24002
24003         * elf/tst-array1.c (init): Set constructor priority to 1000.
24004         (fini): Set destructor priority to 1000.
24005         * elf/tst-array2dep.c: Likewise.
24006
24007 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24008
24009         [BZ #11741]
24010         * libio/fileops.c (_IO_new_file_write): Correctly return error.
24011         (_IO_new_file_xsputn): Also return EOF if none of the input
24012         data was written when overflow failed.
24013         * libio/iopadn.c (_IO_padn): Likewise.
24014         * libio/iowpadn.c (_IO_wpadn): Likewise.
24015         * stdio-common/tst-put-error.c: Add copyright notice.
24016         (do_test): Add case for printing padded string.
24017         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24018         _IO_padn returned error.
24019         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24020         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24021         return EOF.
24022
24023 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24024
24025         * libio/libioP.h: Add comment note that the references to C++
24026         bits are now obsolete.
24027
24028 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24029
24030         * math/libm-test.inc (check_complex): Use asprintf.
24031
24032 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
24033
24034         * debug/pcprofiledump.c (print_version): Update copyright year.
24035         * malloc/memusagestat.c (print_version): Likewise.
24036
24037 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
24038
24039         [BZ #14831]
24040         * elf/Makefile (tests): Add tst-audit8.
24041         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24042         ($(objpfx)tst-audit8.out): New target.
24043         (tst-audit8-ENV): New variable.
24044         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24045         audit if l_reloc_result is NULL.
24046         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24047         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24048         * elf/tst-audit8.c: New file.
24049
24050 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24051
24052         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24053         * misc/Makefile (CFLAGS-select.c): Define.
24054         * posix/Makefile (CFLAGS-pause.c): Define.
24055
24056 2012-11-13  David S. Miller  <davem@davemloft.net>
24057
24058         * crypt/Makefile: Move test targets after toplevel Rules
24059         inclusion.  Grab any necessary sysdep routines when linking.
24060         * crypt/md5.c (md5_process_block): Remove define, we will always
24061         name it __md5_process_block.
24062         (md5_finish_ctx): Update md5_process_block call.
24063         (md5_stream): Likewise.
24064         (md5_process_bytes): Likewise.
24065         (md5_process_block): Rename to __md5_process_block and move to ...
24066         * crypt/md5-block.c: ... here.
24067         * crypt/sha256.c (sha256_process_block): Move to ...
24068         * crypt/sha256-block.c: ... here.
24069         * crypt/sha512.c (sha512_process_block): Move to ...
24070         * crypt/sha512-block.c: ... here.
24071         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24072         path.
24073         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24074         * sysdeps/sparc/sparc64/multiarch/Makefile
24075         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24076         crypt subdir.
24077         (localedef-aux): Add md5 crypto assembler when in locale subdir.
24078         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24079         multiarch changes.
24080         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24081         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24082         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24083         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24084         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24085         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24086         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24087         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24088         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24089         file.
24090         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24091         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24092         file.
24093         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24094
24095 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
24096
24097         * timezone/tzselect.ksh: Update from tzcode git revision
24098         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24099         * timezone/zdump.c: Likewise.
24100         * timezone/zic.c: Likewise.
24101         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24102         in TZVERSION setting, not $(PKGVERSION).
24103         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
24104         REPORT_BUGS_TO settings.
24105
24106         [BZ #14838]
24107         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24108         macro.
24109
24110 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24111
24112         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24113         detection to immediately after _FP_ROUND().
24114         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24115         bits are 0.
24116
24117 2012-11-11  David S. Miller  <davem@davemloft.net>
24118
24119         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24120         inttypes.h
24121         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24122         __close rather than their public counterparts.
24123
24124 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
24125
24126         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24127         file.
24128         [UNIX98] (sem_timedwait): Do not expect.
24129         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24130         [XPG4 || UNIX98] (sockatmark): Do not expect.
24131         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24132         (clock_getcpuclockid): Do not expect.
24133         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24134         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24135         Do not expect.
24136         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24137         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24138         [UNIX98] (vwscanf): Likewise.
24139         [UNIX98] (vswscanf): Likewise.
24140
24141 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
24142
24143         * timezone/version.h: Remove file.
24144         * timezone/README: Do not refer to version.h.
24145         * timezone/Makefile ($(objpfx)zic.o): New dependency on
24146         $(objpfx)version.h.
24147         ($(objpfx)zdump.o): Likewise.
24148         ($(objpfx)version.h): New target.
24149
24150         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24151         2012i.
24152         * timezone/README: Don't mention modification to tzselect.ksh.
24153         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24154         work on unmodified tzselect.ksh.  Substitute version numbers in
24155         tzselect.ksh.
24156
24157         * Makefile (format-me): Remove.
24158         (INSTALL): Adjust indentation.  Use commands directly instead of
24159         using $(format-me).
24160
24161         * aclocal.m4 (ACX_PKGVERSION): New macro.
24162         (ACX_BUGURL): Likewise.
24163         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24164         (PKGVERSION): New AC_DEFINE_UNQUOTED.
24165         (REPORT_BUGS_TO): Likewise.
24166         * configure: Regenerated.
24167         * config.h.in (PKGVERSION): New macro.
24168         (REPORT_BUGS_TO): Likewise.
24169         * config.make.in (PKGVERSION): New variable.
24170         (PKGVERSION_TEXI): Likewise.
24171         (REPORT_BUGS_TO): Likewise.
24172         (REPORT_BUGS_TEXI): Likewise.
24173         * Makefile (format-me): Use -I$(common-objpfx)manual.
24174         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24175         ($(common-objpfx)manual/%): New target.
24176         (manual/%): Remove target.
24177         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24178         (print_version): Use PKGVERSION.
24179         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24180         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24181         and REPORT_BUGS_TO.
24182         ($(objpfx)xtrace): Likewise.
24183         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24184         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24185         (print_version): Use PKGVERSION.
24186         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24187         (do_version): Use PKGVERSION.
24188         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24189         REPORT_BUGS_TO.
24190         (common-ldd-rewrite): Likewise.
24191         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24192         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24193         (print_version): Use PKGVERSION.
24194         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24195         * elf/pldd.c (argp_program_bug_address): Remove variable.
24196         (more_help): New function.
24197         (argp): Use more_help.
24198         (print_version): Use PKGVERSION.
24199         * elf/sln.c (main): Use PKGVERSION.
24200         (usage): Use REPORT_BUGS_TO.
24201         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24202         (top level): Use PKGVERSION.
24203         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24204         (print_version): Use PKGVERSION.
24205         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24206         (print_version): Use PKGVERSION.
24207         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24208         (print_version): Use PKGVERSION.
24209         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24210         (print_version): Use PKGVERSION.
24211         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24212         (print_version): Use PKGVERSION.
24213         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24214         (print_version): Use PKGVERSION.
24215         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24216         and BUGURL.
24217         ($(objpfx)memusage): Likewise.
24218         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24219         (do_version): Use PKGVERSION.
24220         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24221         (print_version): Use PKGVERSION.
24222         * malloc/mtrace.pl ($PACKAGE): Remove variable.
24223         ($PKGVERSION): New variable.
24224         ($REPORT_BUGS_TO): Likewise.
24225         (usage): Use $REPORT_BUGS_TO.
24226         (top level): Use $PKGVERSION.
24227         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24228         ($(objpfx)pkgvers.texi): New rule.
24229         ($(objpfx)stamp-pkgvers): Likewise.
24230         * manual/install.texi: Include pkgvers.texi.
24231         (--with-pkgversion): Document new configure option.
24232         (--with-bugurl): Likewise.
24233         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24234         than necessarily for this particular distribution.  Use
24235         REPORT_BUGS_TO for where to report bugs.
24236         * INSTALL: Regenerated.
24237         * manual/libc.texinfo: Include pkgvers.texi.
24238         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24239         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24240         (print_version): Use PKGVERSION.
24241         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24242         (print_version): Use PKGVERSION.
24243         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24244         (print_version): Use PKGVERSION.
24245         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24246         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24247         macro.
24248         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24249         (print_version): Use PKGVERSION.
24250         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24251         (print_version): Use PKGVERSION.
24252         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24253         and PKGVERSION.
24254
24255         * timezone/checktab.awk: Update from tzcode 2012i.
24256         * timezone/ialloc.c: Likewise.
24257         * timezone/private.h: Likewise.
24258         * timezone/scheck.c: Likewise.
24259         * timezone/tzfile.h: Likewise.
24260         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24261         (TZVERSION): Hardcode tzcode version number.
24262         * timezone/zdump.c: Update from tzcode 2012i.
24263         * timezone/zic.c: Likewise.
24264         * timezone/version.h: New file.
24265         * timezone/README: Describe version.h.  Update upstream location.
24266
24267         [BZ #14824]
24268         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24269         (mktemp): Enable declaration.
24270         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24271         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24272         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24273         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24274         Likewise.
24275         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24276         Likewise.
24277         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24278         Likewise.
24279         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24280         Likewise.
24281         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24282         Likewise.
24283         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24284         Likewise.
24285
24286         [BZ #14821]
24287         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24288         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
24289         for copies of such integer values.
24290         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24291         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24292
24293 2012-11-09  Andreas Jaeger  <aj@suse.de>
24294
24295         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24296         definitions and declarations that are provided by
24297         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24298
24299 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24300
24301         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24302         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24303         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24304         definition.
24305
24306 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24307
24308         * elf/elf.h: Update comment before AArch64 relocations.
24309
24310 2012-11-07  David S. Miller  <davem@davemloft.net>
24311
24312         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24313         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24314         (__start_context): Declare.
24315         (__makecontext_ret): Delete.
24316         (__makecontext): Hook up __start_context instead of
24317         __makecontext_ret.
24318         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24319         (sysdep_routines): Add __start_context when in stdlib.
24320
24321 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24322
24323         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24324         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24325         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
24326         hardcoded "nm".
24327         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
24328         (READELF): New variable.  Use it instead of hardcoded "readelf".
24329
24330 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24331
24332         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24333         * sysdeps/x86/Makefile: Here.
24334         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24335         * sysdeps/x86/tst-xmmymm.sh: This.
24336
24337 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24338
24339         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24340         expectations.
24341         [UNIX98] (pthread_barrier_t): Do not expect.
24342         [UNIX98] (pthread_barrierattr_t): Likewise.
24343         [UNIX98] (pthread_spinlock_t): Likewise.
24344         [UNIX98] (pthread_barrier_destroy): Likewise.
24345         [UNIX98] (pthread_barrier_init): Likewise.
24346         [UNIX98] (pthread_barrier_wait): Likewise.
24347         [UNIX98] (pthread_barrierattr_destroy): Likewise.
24348         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24349         [UNIX98] (pthread_barrierattr_init): Likewise.
24350         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24351         [UNIX98] (pthread_getcpuclockid): Likewise.
24352         [UNIX98] (pthread_mutex_timedlock): Likewise.
24353         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24354         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24355         [UNIX98] (pthread_sigmask): Likewise.
24356         [UNIX98] (pthread_spin_destroy): Likewise.
24357         [UNIX98] (pthread_spin_init): Likewise.
24358         [UNIX98] (pthread_spin_lock): Likewise.
24359         [UNIX98] (pthread_spin_trylock): Likewise.
24360         [UNIX98] (pthread_spin_unlock): Likewise.
24361         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24362         Do not expect.
24363         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24364         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24365         [XPG3 || XPG4] (pthread_cond_t): Likewise.
24366         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24367         [XPG3 || XPG4] (pthread_key_t): Likewise.
24368         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24369         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24370         [XPG3 || XPG4] (pthread_once_t): Likewise.
24371         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24372         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24373         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24374         [XPG3 || XPG4] (pthread_t): Likewise.
24375
24376         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24377         not expect.
24378         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24379
24380         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24381         Change function return type to int.
24382
24383         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24384         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24385         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24386         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24387         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24388         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24389         [!POSIX] (posix_madvise): Likewise.
24390         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24391         && !UNIX98].
24392         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24393         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24394         (mode_t): Likewise.
24395         (posix_mem_offset): Likewise.
24396         (posix_typed_mem_get_info): Likewise.
24397         (posix_typed_mem_open): Likewise.
24398
24399         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24400         Change condition to [XOPEN2K8].
24401
24402         * conform/conformtest.pl: Preprocess allow-header data with -x c
24403         instead of from stdin.
24404         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24405         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24406         [C99-based standards] (cerfc): Likewise.
24407         [C99-based standards] (cexp2): Likewise.
24408         [C99-based standards] (cexpm1): Likewise.
24409         [C99-based standards] (clog10): Likewise.
24410         [C99-based standards] (clog1p): Likewise.
24411         [C99-based standards] (clog2): Likewise.
24412         [C99-based standards] (clgamma): Likewise.
24413         [C99-based standards] (ctgamma): Likewise.
24414         [C99-based standards] (cerff): Likewise.
24415         [C99-based standards] (cerfcf): Likewise.
24416         [C99-based standards] (cexp2f): Likewise.
24417         [C99-based standards] (cexpm1f): Likewise.
24418         [C99-based standards] (clog10f): Likewise.
24419         [C99-based standards] (clog1pf): Likewise.
24420         [C99-based standards] (clog2f): Likewise.
24421         [C99-based standards] (clgammaf): Likewise.
24422         [C99-based standards] (ctgammaf): Likewise.
24423         [C99-based standards] (cerfl): Likewise.
24424         [C99-based standards] (cerfcl): Likewise.
24425         [C99-based standards] (cexp2l): Likewise.
24426         [C99-based standards] (cexpm1l): Likewise.
24427         [C99-based standards] (clog10l): Likewise.
24428         [C99-based standards] (clog1pl): Likewise.
24429         [C99-based standards] (clog2l): Likewise.
24430         [C99-based standards] (clgammal): Likewise.
24431         [C99-based standards] (ctgammal): Likewise.
24432         * conform/data/inttypes.h-data [C99-based standards]: Include
24433         stdint.h-data.  Remove all expectations for stdint.h contents.
24434         [C99-based standards] (PRI*): Do not allow.
24435         [C99-based standards] (SCN*): Likewise.
24436         [C99-based standards] (*_t): Likewise.
24437         [C99-based-standards] (PRId8): Expect macro.
24438         [C99-based-standards] (PRIi8): Likewise.
24439         [C99-based-standards] (PRIo8): Likewise.
24440         [C99-based-standards] (PRIu8): Likewise.
24441         [C99-based-standards] (PRIx8): Likewise.
24442         [C99-based-standards] (PRIX8): Likewise.
24443         [C99-based-standards] (SCNd8): Likewise.
24444         [C99-based-standards] (SCNi8): Likewise.
24445         [C99-based-standards] (SCNo8): Likewise.
24446         [C99-based-standards] (SCNu8): Likewise.
24447         [C99-based-standards] (SCNx8): Likewise.
24448         [C99-based-standards] (PRIdLEAST8): Likewise.
24449         [C99-based-standards] (PRIiLEAST8): Likewise.
24450         [C99-based-standards] (PRIoLEAST8): Likewise.
24451         [C99-based-standards] (PRIuLEAST8): Likewise.
24452         [C99-based-standards] (PRIxLEAST8): Likewise.
24453         [C99-based-standards] (PRIXLEAST8): Likewise.
24454         [C99-based-standards] (SCNdLEAST8): Likewise.
24455         [C99-based-standards] (SCNiLEAST8): Likewise.
24456         [C99-based-standards] (SCNoLEAST8): Likewise.
24457         [C99-based-standards] (SCNuLEAST8): Likewise.
24458         [C99-based-standards] (SCNxLEAST8): Likewise.
24459         [C99-based-standards] (PRIdFAST8): Likewise.
24460         [C99-based-standards] (PRIiFAST8): Likewise.
24461         [C99-based-standards] (PRIoFAST8): Likewise.
24462         [C99-based-standards] (PRIuFAST8): Likewise.
24463         [C99-based-standards] (PRIxFAST8): Likewise.
24464         [C99-based-standards] (PRIXFAST8): Likewise.
24465         [C99-based-standards] (SCNdFAST8): Likewise.
24466         [C99-based-standards] (SCNiFAST8): Likewise.
24467         [C99-based-standards] (SCNoFAST8): Likewise.
24468         [C99-based-standards] (SCNuFAST8): Likewise.
24469         [C99-based-standards] (SCNxFAST8): Likewise.
24470         [C99-based-standards] (PRId16): Likewise.
24471         [C99-based-standards] (PRIi16): Likewise.
24472         [C99-based-standards] (PRIo16): Likewise.
24473         [C99-based-standards] (PRIu16): Likewise.
24474         [C99-based-standards] (PRIx16): Likewise.
24475         [C99-based-standards] (PRIX16): Likewise.
24476         [C99-based-standards] (SCNd16): Likewise.
24477         [C99-based-standards] (SCNi16): Likewise.
24478         [C99-based-standards] (SCNo16): Likewise.
24479         [C99-based-standards] (SCNu16): Likewise.
24480         [C99-based-standards] (SCNx16): Likewise.
24481         [C99-based-standards] (PRIdLEAST16): Likewise.
24482         [C99-based-standards] (PRIiLEAST16): Likewise.
24483         [C99-based-standards] (PRIoLEAST16): Likewise.
24484         [C99-based-standards] (PRIuLEAST16): Likewise.
24485         [C99-based-standards] (PRIxLEAST16): Likewise.
24486         [C99-based-standards] (PRIXLEAST16): Likewise.
24487         [C99-based-standards] (SCNdLEAST16): Likewise.
24488         [C99-based-standards] (SCNiLEAST16): Likewise.
24489         [C99-based-standards] (SCNoLEAST16): Likewise.
24490         [C99-based-standards] (SCNuLEAST16): Likewise.
24491         [C99-based-standards] (SCNxLEAST16): Likewise.
24492         [C99-based-standards] (PRIdFAST16): Likewise.
24493         [C99-based-standards] (PRIiFAST16): Likewise.
24494         [C99-based-standards] (PRIoFAST16): Likewise.
24495         [C99-based-standards] (PRIuFAST16): Likewise.
24496         [C99-based-standards] (PRIxFAST16): Likewise.
24497         [C99-based-standards] (PRIXFAST16): Likewise.
24498         [C99-based-standards] (SCNdFAST16): Likewise.
24499         [C99-based-standards] (SCNiFAST16): Likewise.
24500         [C99-based-standards] (SCNoFAST16): Likewise.
24501         [C99-based-standards] (SCNuFAST16): Likewise.
24502         [C99-based-standards] (SCNxFAST16): Likewise.
24503         [C99-based-standards] (PRId32): Likewise.
24504         [C99-based-standards] (PRIi32): Likewise.
24505         [C99-based-standards] (PRIo32): Likewise.
24506         [C99-based-standards] (PRIu32): Likewise.
24507         [C99-based-standards] (PRIx32): Likewise.
24508         [C99-based-standards] (PRIX32): Likewise.
24509         [C99-based-standards] (SCNd32): Likewise.
24510         [C99-based-standards] (SCNi32): Likewise.
24511         [C99-based-standards] (SCNo32): Likewise.
24512         [C99-based-standards] (SCNu32): Likewise.
24513         [C99-based-standards] (SCNx32): Likewise.
24514         [C99-based-standards] (PRIdLEAST32): Likewise.
24515         [C99-based-standards] (PRIiLEAST32): Likewise.
24516         [C99-based-standards] (PRIoLEAST32): Likewise.
24517         [C99-based-standards] (PRIuLEAST32): Likewise.
24518         [C99-based-standards] (PRIxLEAST32): Likewise.
24519         [C99-based-standards] (PRIXLEAST32): Likewise.
24520         [C99-based-standards] (SCNdLEAST32): Likewise.
24521         [C99-based-standards] (SCNiLEAST32): Likewise.
24522         [C99-based-standards] (SCNoLEAST32): Likewise.
24523         [C99-based-standards] (SCNuLEAST32): Likewise.
24524         [C99-based-standards] (SCNxLEAST32): Likewise.
24525         [C99-based-standards] (PRIdFAST32): Likewise.
24526         [C99-based-standards] (PRIiFAST32): Likewise.
24527         [C99-based-standards] (PRIoFAST32): Likewise.
24528         [C99-based-standards] (PRIuFAST32): Likewise.
24529         [C99-based-standards] (PRIxFAST32): Likewise.
24530         [C99-based-standards] (PRIXFAST32): Likewise.
24531         [C99-based-standards] (SCNdFAST32): Likewise.
24532         [C99-based-standards] (SCNiFAST32): Likewise.
24533         [C99-based-standards] (SCNoFAST32): Likewise.
24534         [C99-based-standards] (SCNuFAST32): Likewise.
24535         [C99-based-standards] (SCNxFAST32): Likewise.
24536         [C99-based-standards] (PRId64): Likewise.
24537         [C99-based-standards] (PRIi64): Likewise.
24538         [C99-based-standards] (PRIo64): Likewise.
24539         [C99-based-standards] (PRIu64): Likewise.
24540         [C99-based-standards] (PRIx64): Likewise.
24541         [C99-based-standards] (PRIX64): Likewise.
24542         [C99-based-standards] (SCNd64): Likewise.
24543         [C99-based-standards] (SCNi64): Likewise.
24544         [C99-based-standards] (SCNo64): Likewise.
24545         [C99-based-standards] (SCNu64): Likewise.
24546         [C99-based-standards] (SCNx64): Likewise.
24547         [C99-based-standards] (PRIdLEAST64): Likewise.
24548         [C99-based-standards] (PRIiLEAST64): Likewise.
24549         [C99-based-standards] (PRIoLEAST64): Likewise.
24550         [C99-based-standards] (PRIuLEAST64): Likewise.
24551         [C99-based-standards] (PRIxLEAST64): Likewise.
24552         [C99-based-standards] (PRIXLEAST64): Likewise.
24553         [C99-based-standards] (SCNdLEAST64): Likewise.
24554         [C99-based-standards] (SCNiLEAST64): Likewise.
24555         [C99-based-standards] (SCNoLEAST64): Likewise.
24556         [C99-based-standards] (SCNuLEAST64): Likewise.
24557         [C99-based-standards] (SCNxLEAST64): Likewise.
24558         [C99-based-standards] (PRIdFAST64): Likewise.
24559         [C99-based-standards] (PRIiFAST64): Likewise.
24560         [C99-based-standards] (PRIoFAST64): Likewise.
24561         [C99-based-standards] (PRIuFAST64): Likewise.
24562         [C99-based-standards] (PRIxFAST64): Likewise.
24563         [C99-based-standards] (PRIXFAST64): Likewise.
24564         [C99-based-standards] (SCNdFAST64): Likewise.
24565         [C99-based-standards] (SCNiFAST64): Likewise.
24566         [C99-based-standards] (SCNoFAST64): Likewise.
24567         [C99-based-standards] (SCNuFAST64): Likewise.
24568         [C99-based-standards] (SCNxFAST64): Likewise.
24569         [C99-based-standards] (PRIdMAX): Likewise.
24570         [C99-based-standards] (PRIiMAX): Likewise.
24571         [C99-based-standards] (PRIoMAX): Likewise.
24572         [C99-based-standards] (PRIuMAX): Likewise.
24573         [C99-based-standards] (PRIxMAX): Likewise.
24574         [C99-based-standards] (PRIXMAX): Likewise.
24575         [C99-based-standards] (SCNdMAX): Likewise.
24576         [C99-based-standards] (SCNiMAX): Likewise.
24577         [C99-based-standards] (SCNoMAX): Likewise.
24578         [C99-based-standards] (SCNuMAX): Likewise.
24579         [C99-based-standards] (SCNxMAX): Likewise.
24580         [C99-based-standards] (PRIdPTR): Likewise.
24581         [C99-based-standards] (PRIiPTR): Likewise.
24582         [C99-based-standards] (PRIoPTR): Likewise.
24583         [C99-based-standards] (PRIuPTR): Likewise.
24584         [C99-based-standards] (PRIxPTR): Likewise.
24585         [C99-based-standards] (PRIXPTR): Likewise.
24586         [C99-based-standards] (SCNdPTR): Likewise.
24587         [C99-based-standards] (SCNiPTR): Likewise.
24588         [C99-based-standards] (SCNoPTR): Likewise.
24589         [C99-based-standards] (SCNuPTR): Likewise.
24590         [C99-based-standards] (SCNxPTR): Likewise.
24591         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24592         allow.
24593         * conform/data/stdint.h-data: Update comments to clarify
24594         requirements.
24595         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
24596         type.
24597         [C99-based standards] (INT8_MAX): Likewise.
24598         [C99-based standards] (INT16_MIN): Likewise.
24599         [C99-based standards] (INT16_MAX): Likewise.
24600         [C99-based standards] (INT32_MIN): Likewise.
24601         [C99-based standards] (INT32_MAX): Likewise.
24602         [C99-based standards] (INT64_MIN): Likewise.
24603         [C99-based standards] (INT64_MAX): Likewise.
24604         [C99-based standards] (UINT8_MAX): Likewise.
24605         [C99-based standards] (UINT16_MAX): Likewise.
24606         [C99-based standards] (UINT32_MAX): Likewise.
24607         [C99-based standards] (UINT64_MAX): Likewise.
24608         [C99-based standards] (INT_LEAST8_MIN): Likewise.
24609         [C99-based standards] (INT_LEAST8_MAX): Likewise.
24610         [C99-based standards] (INT_LEAST16_MIN): Likewise.
24611         [C99-based standards] (INT_LEAST16_MAX): Likewise.
24612         [C99-based standards] (INT_LEAST32_MIN): Likewise.
24613         [C99-based standards] (INT_LEAST32_MAX): Likewise.
24614         [C99-based standards] (INT_LEAST64_MIN): Likewise.
24615         [C99-based standards] (INT_LEAST64_MAX): Likewise.
24616         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24617         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24618         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24619         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24620         [C99-based standards] (INT_FAST8_MIN): Likewise.
24621         [C99-based standards] (INT_FAST8_MAX): Likewise.
24622         [C99-based standards] (INT_FAST16_MIN): Likewise.
24623         [C99-based standards] (INT_FAST16_MAX): Likewise.
24624         [C99-based standards] (INT_FAST32_MIN): Likewise.
24625         [C99-based standards] (INT_FAST32_MAX): Likewise.
24626         [C99-based standards] (INT_FAST64_MIN): Likewise.
24627         [C99-based standards] (INT_FAST64_MAX): Likewise.
24628         [C99-based standards] (UINT_FAST8_MAX): Likewise.
24629         [C99-based standards] (UINT_FAST16_MAX): Likewise.
24630         [C99-based standards] (UINT_FAST32_MAX): Likewise.
24631         [C99-based standards] (UINT_FAST64_MAX): Likewise.
24632         [C99-based standards] (INTPTR_MIN): Likewise.
24633         [C99-based standards] (INTPTR_MAX): Likewise.
24634         [C99-based standards] (UINTPTR_MAX): Likewise.
24635         [C99-based standards] (INTMAX_MIN): Likewise.
24636         [C99-based standards] (INTMAX_MAX): Likewise.
24637         [C99-based standards] (UINTMAX_MAX): Likewise.
24638         [C99-based standards] (PTRDIFF_MIN): Likewise.
24639         [C99-based standards] (PTRDIFF_MAX): Likewise.
24640         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24641         [C99-based standards] (SIZE_MAX): Likewise.
24642         [C99-based standards] (WCHAR_MAX): Likewise.
24643         [C99-based standards] (WINT_MAX): Likewise.
24644         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
24645         constraint on value.
24646         [C99-based standards] (WCHAR_MIN): Likewise.
24647         [C99-based standards] (WINT_MIN): Likewise.
24648         [C99-based standards] (*_t): Allow.
24649         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24650         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24651         Include math.h-data and complex.h-data.  Remove all expectations
24652         of math.h and complex.h contents.
24653         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24654         at end of line.
24655         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24656         (struct tm): Expect tag.
24657         [C99-based-standards] (wcstof): Expect function.
24658         [C99-based-standards] (wcstold): Likewise.
24659         [C99-based-standards] (wcstoll): Likewise.
24660         [C99-based-standards] (wcstoull): Likewise.
24661         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24662         macro-int-constant.  Specify type.
24663         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
24664         constraint on value.
24665         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24666         Specify type.
24667         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24668         Specify value.
24669         [ISO C standards]: Do not allow headers.
24670         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24671         wcs[abcdefghijklmnopqrstuvwxyz]*.
24672         [ISO C standards] (*_t): Do not allow.
24673         * conform/data/wctype.h-data [C99-based standards] (iswblank):
24674         Expect function.
24675         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24676         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24677         Specify type.
24678         [ISO C standards]: Do not allow headers.
24679         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24680         is[abcdefghijklmnopqrstuvwxyz]*.
24681         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24682         to[abcdefghijklmnopqrstuvwxyz]*.
24683         [ISO C standards] (*_t): Do not allow.
24684         * conform/data/stdalign.h-data: New file.
24685         * conform/data/stdbool.h-data: Likewise.
24686         * conform/data/stdnoreturn.h-data: Likewise.
24687
24688 2012-11-07  Roland McGrath  <roland@hack.frob.com>
24689
24690         [BZ #14815]
24691         * manual/filesys.texi (Directory Entries): Typo fix.
24692         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24693
24694 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24695
24696         * elf/elf.h (EM_AARCH64): New macro.
24697         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24698         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24699         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24700         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24701         (R_AARCH64_TLSDESC): Likewise.
24702         (NT_ARM_TLS): Likewise.
24703         (NT_ARM_HW_BREAK): Likewise.
24704         (NT_ARM_HW_WATCH): Likewise.
24705
24706 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24707
24708         [BZ #14811]
24709         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24710         (__ieee754_powl): Saturate nonzero exponents with absolute value
24711         below 0x1p-79 to +/- 0x1p-79.
24712         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24713         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24714         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24715         nonzero exponents with absolute value below 0x1p-32 to +/-
24716         0x1p-32.
24717         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24718         (__ieee754_powl): Saturate nonzero exponents with absolute value
24719         below 0x1p-79 to +/- 0x1p-79.
24720         * math/libm-test.inc (pow_test): Add more tests.
24721
24722 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24723
24724         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24725         _dl_s390_cap_flags with kernel. Increase string length.
24726         (_dl_s390_platforms): Add z196 and zEC12.
24727
24728 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24729
24730         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24731         Change XOPEN21K to XOPEN2K.
24732
24733 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
24734
24735         * string/memmove.c: Use memcpy when possible.
24736
24737 2012-11-06  Andreas Jaeger  <aj@suse.de>
24738
24739         * po/eo.po: Update from translation team.
24740
24741 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
24742
24743         [BZ #14793]
24744         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24745         exponent and small x and y exponents, scale x or y up.  Increase
24746         by 2 the exponent used in scaling up.
24747         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24748         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24749         * math/libm-test.inc (fma_test): Add more tests.
24750         (fma_test_towardzero): Likewise.
24751         (fma_test_downward): Likewise.
24752         (fma_test_upward): Likewise.
24753
24754 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
24755
24756         [BZ #14805]
24757         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24758         fenv_t *.
24759
24760         [BZ #14801]
24761         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24762         namespace for names of struct fields.
24763         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24764         fenv_t fields.
24765         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24766         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24767
24768 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24769
24770         [BZ #3665]
24771         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24772
24773 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24774
24775         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24776         PTR_DEMANGLE.
24777
24778         [BZ #5246]
24779         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24780         PTR_DEMANGLE.
24781
24782 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
24783
24784         [BZ #14797]
24785         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24786         definitely overflow as x * y not x * y + z.
24787         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24788         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24789         * math/libm-test.inc (fma_test): Add more tests.
24790         (fma_test_towardzero): Likewise.
24791         (fma_test_downward): Likewise.
24792         (fma_test_upward): Likewise.
24793
24794 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24795
24796         [BZ #157]
24797
24798         * include/stub-tag.h: Remove file.
24799         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24800         '#include' of it.
24801         * manual/maint.texi (Porting): Don't reference it.
24802         * Makerules ($(objpfx)stubs): Likewise.
24803         * dirent/closedir.c: Don't include <stub-tag.h>.
24804         * dirent/dirfd.c: Likewise.
24805         * dirent/fdopendir.c: Likewise.
24806         * dirent/getdents.c: Likewise.
24807         * dirent/getdents64.c: Likewise.
24808         * dirent/opendir.c: Likewise.
24809         * dirent/readdir.c: Likewise.
24810         * dirent/readdir64.c: Likewise.
24811         * dirent/readdir64_r.c: Likewise.
24812         * dirent/readdir_r.c: Likewise.
24813         * dirent/rewinddir.c: Likewise.
24814         * dirent/seekdir.c: Likewise.
24815         * dirent/telldir.c: Likewise.
24816         * gmon/profil.c: Likewise.
24817         * grp/setgroups.c: Likewise.
24818         * inet/if_index.c: Likewise.
24819         * io/access.c: Likewise.
24820         * io/chdir.c: Likewise.
24821         * io/chmod.c: Likewise.
24822         * io/chown.c: Likewise.
24823         * io/close.c: Likewise.
24824         * io/dup.c: Likewise.
24825         * io/dup2.c: Likewise.
24826         * io/dup3.c: Likewise.
24827         * io/euidaccess.c: Likewise.
24828         * io/faccessat.c: Likewise.
24829         * io/fchdir.c: Likewise.
24830         * io/fchmod.c: Likewise.
24831         * io/fchmodat.c: Likewise.
24832         * io/fchown.c: Likewise.
24833         * io/fchownat.c: Likewise.
24834         * io/fcntl.c: Likewise.
24835         * io/flock.c: Likewise.
24836         * io/fstatfs.c: Likewise.
24837         * io/fstatfs64.c: Likewise.
24838         * io/fstatvfs.c: Likewise.
24839         * io/fstatvfs64.c: Likewise.
24840         * io/futimens.c: Likewise.
24841         * io/fxstat.c: Likewise.
24842         * io/fxstat64.c: Likewise.
24843         * io/fxstatat.c: Likewise.
24844         * io/fxstatat64.c: Likewise.
24845         * io/getcwd.c: Likewise.
24846         * io/isatty.c: Likewise.
24847         * io/lchmod.c: Likewise.
24848         * io/lchown.c: Likewise.
24849         * io/link.c: Likewise.
24850         * io/linkat.c: Likewise.
24851         * io/lseek.c: Likewise.
24852         * io/lseek64.c: Likewise.
24853         * io/lxstat64.c: Likewise.
24854         * io/mkdir.c: Likewise.
24855         * io/mkdirat.c: Likewise.
24856         * io/mkfifo.c: Likewise.
24857         * io/mkfifoat.c: Likewise.
24858         * io/open.c: Likewise.
24859         * io/open64.c: Likewise.
24860         * io/openat.c: Likewise.
24861         * io/openat64.c: Likewise.
24862         * io/pipe.c: Likewise.
24863         * io/pipe2.c: Likewise.
24864         * io/poll.c: Likewise.
24865         * io/posix_fadvise.c: Likewise.
24866         * io/posix_fadvise64.c: Likewise.
24867         * io/posix_fallocate.c: Likewise.
24868         * io/posix_fallocate64.c: Likewise.
24869         * io/read.c: Likewise.
24870         * io/readlink.c: Likewise.
24871         * io/readlinkat.c: Likewise.
24872         * io/rmdir.c: Likewise.
24873         * io/sendfile.c: Likewise.
24874         * io/sendfile64.c: Likewise.
24875         * io/statfs.c: Likewise.
24876         * io/statfs64.c: Likewise.
24877         * io/statvfs.c: Likewise.
24878         * io/statvfs64.c: Likewise.
24879         * io/symlink.c: Likewise.
24880         * io/symlinkat.c: Likewise.
24881         * io/ttyname.c: Likewise.
24882         * io/ttyname_r.c: Likewise.
24883         * io/umask.c: Likewise.
24884         * io/unlink.c: Likewise.
24885         * io/unlinkat.c: Likewise.
24886         * io/utime.c: Likewise.
24887         * io/utimensat.c: Likewise.
24888         * io/write.c: Likewise.
24889         * io/xmknod.c: Likewise.
24890         * io/xmknodat.c: Likewise.
24891         * io/xstat.c: Likewise.
24892         * io/xstat64.c: Likewise.
24893         * login/getpt.c: Likewise.
24894         * login/grantpt.c: Likewise.
24895         * login/unlockpt.c: Likewise.
24896         * math/e_acoshl.c: Likewise.
24897         * math/e_acosl.c: Likewise.
24898         * math/e_asinl.c: Likewise.
24899         * math/e_atan2l.c: Likewise.
24900         * math/e_atanhl.c: Likewise.
24901         * math/e_coshl.c: Likewise.
24902         * math/e_expl.c: Likewise.
24903         * math/e_fmodl.c: Likewise.
24904         * math/e_gammal_r.c: Likewise.
24905         * math/e_hypotl.c: Likewise.
24906         * math/e_j0l.c: Likewise.
24907         * math/e_j1l.c: Likewise.
24908         * math/e_jnl.c: Likewise.
24909         * math/e_lgammal_r.c: Likewise.
24910         * math/e_log10l.c: Likewise.
24911         * math/e_log2l.c: Likewise.
24912         * math/e_logl.c: Likewise.
24913         * math/e_powl.c: Likewise.
24914         * math/e_rem_pio2l.c: Likewise.
24915         * math/e_sinhl.c: Likewise.
24916         * math/e_sqrtl.c: Likewise.
24917         * math/fclrexcpt.c: Likewise.
24918         * math/fedisblxcpt.c: Likewise.
24919         * math/feenablxcpt.c: Likewise.
24920         * math/fegetenv.c: Likewise.
24921         * math/fegetexcept.c: Likewise.
24922         * math/fegetround.c: Likewise.
24923         * math/feholdexcpt.c: Likewise.
24924         * math/fesetenv.c: Likewise.
24925         * math/fesetround.c: Likewise.
24926         * math/feupdateenv.c: Likewise.
24927         * math/fgetexcptflg.c: Likewise.
24928         * math/fraiseexcpt.c: Likewise.
24929         * math/fsetexcptflg.c: Likewise.
24930         * math/ftestexcept.c: Likewise.
24931         * math/k_cosl.c: Likewise.
24932         * math/k_rem_pio2l.c: Likewise.
24933         * math/k_sinl.c: Likewise.
24934         * math/k_tanl.c: Likewise.
24935         * math/s_asinhl.c: Likewise.
24936         * math/s_atanl.c: Likewise.
24937         * math/s_cbrtl.c: Likewise.
24938         * math/s_erfl.c: Likewise.
24939         * math/s_expm1l.c: Likewise.
24940         * math/s_log1pl.c: Likewise.
24941         * math/s_tanhl.c: Likewise.
24942         * misc/acct.c: Likewise.
24943         * misc/brk.c: Likewise.
24944         * misc/chflags.c: Likewise.
24945         * misc/chroot.c: Likewise.
24946         * misc/fchflags.c: Likewise.
24947         * misc/fgetxattr.c: Likewise.
24948         * misc/flistxattr.c: Likewise.
24949         * misc/fremovexattr.c: Likewise.
24950         * misc/fsetxattr.c: Likewise.
24951         * misc/fsync.c: Likewise.
24952         * misc/ftruncate.c: Likewise.
24953         * misc/futimes.c: Likewise.
24954         * misc/futimesat.c: Likewise.
24955         * misc/getdomain.c: Likewise.
24956         * misc/getdtsz.c: Likewise.
24957         * misc/gethostid.c: Likewise.
24958         * misc/gethostname.c: Likewise.
24959         * misc/getloadavg.c: Likewise.
24960         * misc/getpagesize.c: Likewise.
24961         * misc/getsysstats.c: Likewise.
24962         * misc/getxattr.c: Likewise.
24963         * misc/gtty.c: Likewise.
24964         * misc/ioctl.c: Likewise.
24965         * misc/lgetxattr.c: Likewise.
24966         * misc/listxattr.c: Likewise.
24967         * misc/llistxattr.c: Likewise.
24968         * misc/lremovexattr.c: Likewise.
24969         * misc/lsetxattr.c: Likewise.
24970         * misc/lutimes.c: Likewise.
24971         * misc/madvise.c: Likewise.
24972         * misc/mincore.c: Likewise.
24973         * misc/mlock.c: Likewise.
24974         * misc/mlockall.c: Likewise.
24975         * misc/mmap.c: Likewise.
24976         * misc/mprotect.c: Likewise.
24977         * misc/msync.c: Likewise.
24978         * misc/munlock.c: Likewise.
24979         * misc/munlockall.c: Likewise.
24980         * misc/munmap.c: Likewise.
24981         * misc/preadv.c: Likewise.
24982         * misc/preadv64.c: Likewise.
24983         * misc/ptrace.c: Likewise.
24984         * misc/pwritev.c: Likewise.
24985         * misc/pwritev64.c: Likewise.
24986         * misc/readv.c: Likewise.
24987         * misc/reboot.c: Likewise.
24988         * misc/remap_file_pages.c: Likewise.
24989         * misc/removexattr.c: Likewise.
24990         * misc/revoke.c: Likewise.
24991         * misc/select.c: Likewise.
24992         * misc/setdomain.c: Likewise.
24993         * misc/setegid.c: Likewise.
24994         * misc/seteuid.c: Likewise.
24995         * misc/sethostid.c: Likewise.
24996         * misc/sethostname.c: Likewise.
24997         * misc/setregid.c: Likewise.
24998         * misc/setreuid.c: Likewise.
24999         * misc/setxattr.c: Likewise.
25000         * misc/sstk.c: Likewise.
25001         * misc/stty.c: Likewise.
25002         * misc/swapoff.c: Likewise.
25003         * misc/swapon.c: Likewise.
25004         * misc/sync.c: Likewise.
25005         * misc/syncfs.c: Likewise.
25006         * misc/syscall.c: Likewise.
25007         * misc/truncate.c: Likewise.
25008         * misc/ualarm.c: Likewise.
25009         * misc/usleep.c: Likewise.
25010         * misc/ustat.c: Likewise.
25011         * misc/utimes.c: Likewise.
25012         * misc/vhangup.c: Likewise.
25013         * misc/writev.c: Likewise.
25014         * posix/_exit.c: Likewise.
25015         * posix/alarm.c: Likewise.
25016         * posix/execve.c: Likewise.
25017         * posix/fexecve.c: Likewise.
25018         * posix/fork.c: Likewise.
25019         * posix/fpathconf.c: Likewise.
25020         * posix/getaddrinfo.c: Likewise.
25021         * posix/getegid.c: Likewise.
25022         * posix/geteuid.c: Likewise.
25023         * posix/getgid.c: Likewise.
25024         * posix/getgroups.c: Likewise.
25025         * posix/getlogin.c: Likewise.
25026         * posix/getlogin_r.c: Likewise.
25027         * posix/getpgid.c: Likewise.
25028         * posix/getpid.c: Likewise.
25029         * posix/getppid.c: Likewise.
25030         * posix/getresgid.c: Likewise.
25031         * posix/getresuid.c: Likewise.
25032         * posix/getsid.c: Likewise.
25033         * posix/getuid.c: Likewise.
25034         * posix/glob64.c: Likewise.
25035         * posix/nanosleep.c: Likewise.
25036         * posix/pathconf.c: Likewise.
25037         * posix/pause.c: Likewise.
25038         * posix/posix_madvise.c: Likewise.
25039         * posix/pread.c: Likewise.
25040         * posix/pread64.c: Likewise.
25041         * posix/pwrite.c: Likewise.
25042         * posix/pwrite64.c: Likewise.
25043         * posix/sched_getaffinity.c: Likewise.
25044         * posix/sched_getp.c: Likewise.
25045         * posix/sched_gets.c: Likewise.
25046         * posix/sched_primax.c: Likewise.
25047         * posix/sched_primin.c: Likewise.
25048         * posix/sched_rr_gi.c: Likewise.
25049         * posix/sched_setaffinity.c: Likewise.
25050         * posix/sched_setp.c: Likewise.
25051         * posix/sched_sets.c: Likewise.
25052         * posix/sched_yield.c: Likewise.
25053         * posix/setgid.c: Likewise.
25054         * posix/setlogin.c: Likewise.
25055         * posix/setpgid.c: Likewise.
25056         * posix/setresgid.c: Likewise.
25057         * posix/setresuid.c: Likewise.
25058         * posix/setsid.c: Likewise.
25059         * posix/setuid.c: Likewise.
25060         * posix/sleep.c: Likewise.
25061         * posix/spawni.c: Likewise.
25062         * posix/sysconf.c: Likewise.
25063         * posix/times.c: Likewise.
25064         * posix/wait.c: Likewise.
25065         * posix/wait3.c: Likewise.
25066         * posix/wait4.c: Likewise.
25067         * posix/waitpid.c: Likewise.
25068         * resolv/gai_sigqueue.c: Likewise.
25069         * resource/getpriority.c: Likewise.
25070         * resource/getrlimit.c: Likewise.
25071         * resource/getrusage.c: Likewise.
25072         * resource/nice.c: Likewise.
25073         * resource/setpriority.c: Likewise.
25074         * resource/setrlimit.c: Likewise.
25075         * resource/ulimit.c: Likewise.
25076         * rt/aio_cancel.c: Likewise.
25077         * rt/aio_fsync.c: Likewise.
25078         * rt/aio_read.c: Likewise.
25079         * rt/aio_sigqueue.c: Likewise.
25080         * rt/aio_suspend.c: Likewise.
25081         * rt/aio_write.c: Likewise.
25082         * rt/clock_getres.c: Likewise.
25083         * rt/clock_gettime.c: Likewise.
25084         * rt/clock_nanosleep.c: Likewise.
25085         * rt/clock_settime.c: Likewise.
25086         * rt/lio_listio.c: Likewise.
25087         * rt/mq_close.c: Likewise.
25088         * rt/mq_getattr.c: Likewise.
25089         * rt/mq_notify.c: Likewise.
25090         * rt/mq_open.c: Likewise.
25091         * rt/mq_receive.c: Likewise.
25092         * rt/mq_send.c: Likewise.
25093         * rt/mq_setattr.c: Likewise.
25094         * rt/mq_timedreceive.c: Likewise.
25095         * rt/mq_timedsend.c: Likewise.
25096         * rt/mq_unlink.c: Likewise.
25097         * rt/shm_open.c: Likewise.
25098         * rt/shm_unlink.c: Likewise.
25099         * rt/timer_create.c: Likewise.
25100         * rt/timer_delete.c: Likewise.
25101         * rt/timer_getoverr.c: Likewise.
25102         * rt/timer_gettime.c: Likewise.
25103         * rt/timer_settime.c: Likewise.
25104         * setjmp/__longjmp.c: Likewise.
25105         * setjmp/setjmp.c: Likewise.
25106         * signal/kill.c: Likewise.
25107         * signal/killpg.c: Likewise.
25108         * signal/raise.c: Likewise.
25109         * signal/sigaction.c: Likewise.
25110         * signal/sigaltstack.c: Likewise.
25111         * signal/sigblock.c: Likewise.
25112         * signal/sigignore.c: Likewise.
25113         * signal/sigintr.c: Likewise.
25114         * signal/signal.c: Likewise.
25115         * signal/sigpause.c: Likewise.
25116         * signal/sigpending.c: Likewise.
25117         * signal/sigqueue.c: Likewise.
25118         * signal/sigreturn.c: Likewise.
25119         * signal/sigset.c: Likewise.
25120         * signal/sigsetmask.c: Likewise.
25121         * signal/sigstack.c: Likewise.
25122         * signal/sigsuspend.c: Likewise.
25123         * signal/sigtimedwait.c: Likewise.
25124         * signal/sigvec.c: Likewise.
25125         * signal/sigwait.c: Likewise.
25126         * signal/sigwaitinfo.c: Likewise.
25127         * signal/sysv_signal.c: Likewise.
25128         * socket/accept.c: Likewise.
25129         * socket/accept4.c: Likewise.
25130         * socket/bind.c: Likewise.
25131         * socket/connect.c: Likewise.
25132         * socket/getpeername.c: Likewise.
25133         * socket/getsockname.c: Likewise.
25134         * socket/getsockopt.c: Likewise.
25135         * socket/isfdtype.c: Likewise.
25136         * socket/listen.c: Likewise.
25137         * socket/recv.c: Likewise.
25138         * socket/recvfrom.c: Likewise.
25139         * socket/recvmsg.c: Likewise.
25140         * socket/send.c: Likewise.
25141         * socket/sendmsg.c: Likewise.
25142         * socket/sendto.c: Likewise.
25143         * socket/setsockopt.c: Likewise.
25144         * socket/shutdown.c: Likewise.
25145         * socket/sockatmark.c: Likewise.
25146         * socket/socket.c: Likewise.
25147         * socket/socketpair.c: Likewise.
25148         * stdio-common/ctermid.c: Likewise.
25149         * stdio-common/cuserid.c: Likewise.
25150         * stdio-common/remove.c: Likewise.
25151         * stdio-common/rename.c: Likewise.
25152         * stdio-common/renameat.c: Likewise.
25153         * stdio-common/tempname.c: Likewise.
25154         * stdlib/getcontext.c: Likewise.
25155         * stdlib/makecontext.c: Likewise.
25156         * stdlib/setcontext.c: Likewise.
25157         * stdlib/swapcontext.c: Likewise.
25158         * stdlib/system.c: Likewise.
25159         * streams/fattach.c: Likewise.
25160         * streams/fdetach.c: Likewise.
25161         * streams/getmsg.c: Likewise.
25162         * streams/getpmsg.c: Likewise.
25163         * streams/putmsg.c: Likewise.
25164         * streams/putpmsg.c: Likewise.
25165         * sysdeps/unix/bsd/getpt.c: Likewise.
25166         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25167         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25168         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25170         Likewise.
25171         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25172         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25173         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25174         * sysvipc/msgctl.c: Likewise.
25175         * sysvipc/msgget.c: Likewise.
25176         * sysvipc/msgrcv.c: Likewise.
25177         * sysvipc/msgsnd.c: Likewise.
25178         * sysvipc/semctl.c: Likewise.
25179         * sysvipc/semget.c: Likewise.
25180         * sysvipc/semop.c: Likewise.
25181         * sysvipc/semtimedop.c: Likewise.
25182         * sysvipc/shmat.c: Likewise.
25183         * sysvipc/shmctl.c: Likewise.
25184         * sysvipc/shmdt.c: Likewise.
25185         * sysvipc/shmget.c: Likewise.
25186         * termios/tcdrain.c: Likewise.
25187         * termios/tcflow.c: Likewise.
25188         * termios/tcflush.c: Likewise.
25189         * termios/tcgetattr.c: Likewise.
25190         * termios/tcgetpgrp.c: Likewise.
25191         * termios/tcsendbrk.c: Likewise.
25192         * termios/tcsetattr.c: Likewise.
25193         * termios/tcsetpgrp.c: Likewise.
25194         * time/adjtime.c: Likewise.
25195         * time/clock.c: Likewise.
25196         * time/getitimer.c: Likewise.
25197         * time/gettimeofday.c: Likewise.
25198         * time/setitimer.c: Likewise.
25199         * time/settimeofday.c: Likewise.
25200         * time/stime.c: Likewise.
25201         * time/time.c: Likewise.
25202
25203 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
25204
25205         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25206         /usr/old/bin.
25207
25208         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25209         instead of spaces.
25210         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25211
25212 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
25213
25214         [BZ #14796]
25215         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25216         FE_TONEAREST before applying Dekker multiplication and Knuth
25217         addition.  Clear inexact exceptions and check for exact zero
25218         results afterwards.
25219         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25220         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25221         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25222         * math/libm-test.inc (fma_test): Add more tests.
25223         (fma_test_towardzero): Likewise.
25224         (fma_test_downward): Likewise.
25225         (fma_test_upward): Likewise.
25226         * sysdeps/generic/math_private.h (default_libc_fesetround): New
25227         function.
25228         (libc_fesetround): New macro.
25229         (libc_fesetroundf): Likewise.
25230         (libc_fesetroundl): Likewise.
25231         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25232         function.
25233         (libc_fesetround_387): Likewise.
25234         (libc_fesetroundf): New macro.
25235         (libc_fesetround): Likewise.
25236         (libc_fesetroundl): Likewise.
25237         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25238         function.
25239         (libc_fesetroundf): New macro.
25240         (libc_fesetround): Likewise.
25241         (libc_fesetroundl): Likewise.
25242         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25243         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25244         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25245         libm_hidden_ver.
25246         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25247         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25248         libm_hidden_def.
25249         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25250         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25251         libm_hidden_ver.
25252         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25253         libm_hidden_def.
25254
25255         [BZ #3439]
25256         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25257         integer constant usable in #if and use that to give value to enum
25258         constant.
25259         (FE_DIVBYZERO): Likewise.
25260         (FE_UNDERFLOW): Likewise.
25261         (FE_OVERFLOW): Likewise.
25262         (FE_INVALID): Likewise.
25263         (FE_INVALID_SNAN): Likewise.
25264         (FE_INVALID_ISI): Likewise.
25265         (FE_INVALID_IDI): Likewise.
25266         (FE_INVALID_ZDZ): Likewise.
25267         (FE_INVALID_IMZ): Likewise.
25268         (FE_INVALID_COMPARE): Likewise.
25269         (FE_INVALID_SOFTWARE): Likewise.
25270         (FE_INVALID_SQRT): Likewise.
25271         (FE_INVALID_INTEGER_CONVERSION): Likewise.
25272         (FE_TONEAREST): Likewise.
25273         (FE_TOWARDZERO): Likewise.
25274         (FE_UPWARD): Likewise.
25275         (FE_DOWNWARD): Likewise.
25276         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25277         (FE_DIVBYZERO): Likewise.
25278         (FE_OVERFLOW): Likewise.
25279         (FE_UNDERFLOW): Likewise.
25280         (FE_INEXACT): Likewise.
25281         (FE_TONEAREST): Likewise.
25282         (FE_DOWNWARD): Likewise.
25283         (FE_UPWARD): Likewise.
25284         (FE_TOWARDZERO): Likewise.
25285         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25286         (FE_UNDERFLOW): Likewise.
25287         (FE_OVERFLOW): Likewise.
25288         (FE_DIVBYZERO): Likewise.
25289         (FE_INVALID): Likewise.
25290         (FE_TONEAREST): Likewise.
25291         (FE_TOWARDZERO): Likewise.
25292         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25293         (FE_OVERFLOW): Likewise.
25294         (FE_UNDERFLOW): Likewise.
25295         (FE_DIVBYZERO): Likewise.
25296         (FE_INEXACT): Likewise.
25297         (FE_TONEAREST): Likewise.
25298         (FE_TOWARDZERO): Likewise.
25299         (FE_UPWARD): Likewise.
25300         (FE_DOWNWARD): Likewise.
25301         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25302         (FE_DIVBYZERO): Likewise.
25303         (FE_OVERFLOW): Likewise.
25304         (FE_UNDERFLOW): Likewise.
25305         (FE_INEXACT): Likewise.
25306         (FE_TONEAREST): Likewise.
25307         (FE_DOWNWARD): Likewise.
25308         (FE_UPWARD): Likewise.
25309         (FE_TOWARDZERO): Likewise.
25310
25311 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
25312
25313         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25314
25315 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
25316
25317         * scripts/cross-test-ssh.sh (command): Use newlines to separate
25318         commands.  Quote $PWD.
25319         (blacklist_exports): Don't use remove_newlines.  Replace "declare
25320         -x" by "export".
25321         (remove_newlines): Remove.
25322
25323 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
25324
25325         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25326         * stdlib/stdlib.h (atof): Moved to ...
25327         * include/bits/stdlib-float.h: Here.  New file.
25328         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25329         * stdlib/bits/stdlib-float.h: New file.
25330         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25331         -mno-sse -mno-mmx.
25332         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25333         <xmmintrin.h>.
25334
25335 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25336
25337         * conform/conformtest.pl (@headers): Add fenv.h.
25338         * conform/data/fenv.h-data: New file.
25339         * include/fenv.h [_ISOMAC]: Disable all contents of file except
25340         include of <math/fenv.h>.
25341
25342         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25343         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25344         && !UNIX98].  Enables tests for XOPEN2K8.
25345         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25346         POSIX2008]: Likewise.
25347
25348         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25349         (struct rusage): Do not expect type or its members.
25350
25351         [BZ #3439]
25352         * math/math.h (FP_NAN): Define macro to integer constant usable in
25353         #if and use that to give value to enum constant.
25354         (FP_INFINITE): Likewise.
25355         (FP_ZERO): Likewise.
25356         (FP_SUBNORMAL): Likewise.
25357         (FP_NORMAL): Likewise.
25358
25359 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
25360
25361         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25362         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25363         arguments.
25364
25365 2012-11-02  Roland McGrath  <roland@hack.frob.com>
25366
25367         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25368         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25369         autoconf-time if not.
25370         * configure.in: Remove AC_PREREQ.
25371
25372 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25373
25374         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25375         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25376         of the internal implementation.
25377
25378 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25379
25380         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25381         except include of <misc/sys/syslog.h>.
25382
25383 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25384
25385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25386         function returns with a NULL context exit with zero.
25387
25388 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25389
25390         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25391
25392 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
25393
25394         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25395         (run_program_cmd): This.
25396         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25397         (tst_langinfo): New variable.  Use it.
25398
25399 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
25400
25401         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25402         floating point opcodes.
25403
25404 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25405
25406         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25407         variable.
25408
25409         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25410
25411         * sysdeps/mach/hurd/powerpc: Remove directory.
25412         * sysdeps/mach/powerpc: Likewise.
25413
25414 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25415
25416         * scripts/check-local-headers.sh: Ignore c++ headers.
25417
25418 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25419
25420         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25421         __libc_cleanup_region_start argument.
25422
25423 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
25424
25425         [BZ #14784]
25426         [BZ #14785]
25427         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25428         x * y using scaling, not as x * y + z.
25429         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25430         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25431         * math/libm-test.inc (fma_test): Add more tests.
25432         (fma_test_towardzero): Likewise.
25433         (fma_test_downward): Likewise.
25434         (fma_test_upward): Likewise.
25435
25436 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25437
25438         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25439
25440 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25441
25442         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25443         New variable.
25444
25445 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
25446
25447         * rt/tst-shm.c (worker): Correct checking for mmap failure.
25448
25449 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25450
25451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25452         Fix sort order.
25453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25454         Likewise.
25455
25456 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25457
25458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25459         Fix the order of the list for glibc 2.17.
25460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25461         Likewise.
25462
25463 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25464
25465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25466
25467 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25468
25469         [BZ #14610]
25470         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25471         for low part of x being zero before using __atanl (y).
25472         * math/libm-test.inc (atan2_test): Add another test.
25473
25474         * manual/install.texi (Configuring and compiling): Document
25475         general use of test-wrapper and test-wrapper-env.
25476         * INSTALL: Regenerated.
25477
25478         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25479         (__fma): Do not extract and scale down low bits on after-rounding
25480         systems when result rounded to normal precision would have normal
25481         exponent.
25482         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25483         (__fmal): Do not extract and scale down low bits on after-rounding
25484         systems when result rounded to normal precision would have normal
25485         exponent.
25486         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25487         (__fmal): Do not extract and scale down low bits on after-rounding
25488         systems when result rounded to normal precision would have normal
25489         exponent.
25490         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25491         macro.
25492         (fma_test): Add more tests.
25493         (fma_test_towardzero): Likewise.
25494         (fma_test_downward): Likewise.
25495         (fma_test_upward): Likewise.
25496
25497 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
25498
25499         * sysdeps/i386/tininess.h: Renamed to ...
25500         * sysdeps/x86/tininess.h: This.
25501         * sysdeps/x86_64/tininess.h: Removed.
25502
25503 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25504
25505         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25506         input.  Use $(build-program-cmd).
25507         ($(objpfx)tst-array1-static.out): Likewise.
25508         ($(objpfx)tst-array2.out): Likewise.
25509         ($(objpfx)tst-array3.out): Likewise.
25510         ($(objpfx)tst-array4.out): Likewise.
25511         ($(objpfx)tst-array5.out): Likewise.
25512         ($(objpfx)tst-array5-static.out): Likewise.
25513
25514 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
25515
25516         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25517         if defined.
25518
25519         * nss/nsswitch.h (nss_interface_function): Provide new
25520         macro for use with NSS functions.
25521         * grp/initgroups.c: Use new macro.
25522         * nss/getXXbyYY.c: Likewise.
25523         * nss/getXXbyYY_r.c: Likewise.
25524         * nss/getXXent.c: Likewise.
25525         * nss/getXXent_r.c: Likewise.
25526         * sysdeps/posix/getaddrinfo.c: Likewise.
25527
25528 2012-10-30  Andreas Jaeger  <aj@suse.de>
25529
25530         * po/ru.po: Update Russion translation from translation project.
25531
25532 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25533
25534         [BZ #14152]
25535         [BZ #14783]
25536         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25537         result and shift together with sticky bit instead of replicating
25538         round-to-nearest rounding.
25539         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25540         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25541         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
25542         missing underflow exceptions.
25543         (fma_test_towardzero): Add more tests.
25544         (fma_test_downward): Likewise.
25545         (fma_test_upward): Likewise.
25546
25547         [BZ #14047]
25548         * sysdeps/generic/tininess.h: New file.
25549         * sysdeps/i386/tininess.h: Likewise.
25550         * sysdeps/sh/tininess.h: Likewise.
25551         * sysdeps/x86_64/tininess.h: Likewise.
25552         * stdlib/tst-strtod-underflow.c: Likewise.
25553         * stdlib/tst-tininess.c: Likewise.
25554         * stdlib/strtod_l.c: Include <tininess.h>.
25555         (round_and_return): Do not set errno for exact underflow cases.
25556         Force an underflow exception when setting errno for underflow.
25557         Determine underflow based on rounding to normal precision if
25558         TININESS_AFTER_ROUNDING.
25559         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25560         ERANGE for exact underflow cases.
25561         * stdlib/Makefile (tests): Add tst-tininess and
25562         tst-strtod-underflow.
25563         ($(objpfx)tst-tininess): Use $(link-libm).
25564         ($(objpfx)tst-strtod-underflow): Likewise.
25565
25566 2012-10-30  Andreas Jaeger  <aj@suse.de>
25567
25568         [BZ#14767]
25569         * elf/Makefile (tests): Remove conditional for have-initfini-array
25570         since this is now always required and the variable does not exist
25571         anymore.
25572         (tests-static): Likewise.
25573         (modules-names): Likewise.
25574
25575         * po/eo.po: Add Esperanto translation from translation project.
25576
25577         * elf/tst-array1.c (fini_array): Make writeable so that it can be
25578         merged with constructor/destructor.
25579         (init_array): Likewise.
25580         * elf/tst-array2dep.c (fini_array): Likewise.
25581         (init_array): Likewise.
25582
25583 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
25584
25585         * manual/message.texi: Delete @cartouche tags.
25586
25587 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
25588
25589         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25590         EOPNOTSUPP.
25591         * sysdeps/mach/hurd/fsync.c: Likewise.
25592
25593         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25594         [_POSIX_REALTIME_SIGNALS]: Change condition to
25595         [_POSIX_REALTIME_SIGNALS > 0].
25596
25597 2012-10-27  Andreas Jaeger  <aj@suse.de>
25598
25599         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25600         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25601         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25602         [__WORDSIZE != 64]: Likewise.
25603
25604 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
25605
25606         *  iconvdata/tst-table.sh: Remove ${SHELL}.
25607         *  iconvdata/tst-tables.sh: Likewise.
25608
25609 2012-10-25  David S. Miller  <davem@davemloft.net>
25610
25611         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25612         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25613         of strtoull.
25614
25615         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25616         ifunc-impl-list.c
25617         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25618         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25619         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25620         file.
25621
25622 2012-10-25  Roland McGrath  <roland@hack.frob.com>
25623
25624         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25625         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25626         __getdirentries.
25627
25628 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25629             Jim Blandy  <jimb@codesourcery.com>
25630
25631         * scripts/cross-test-ssh.sh: New file.
25632         * manual/install.texi (Configuring and compiling): Document use of
25633         cross-test-ssh.sh.
25634         * INSTALL: Regenerated.
25635
25636 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
25637
25638         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25639         EOPNOTSUPP.
25640
25641 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25642
25643         * Makeconfig (run-program-prefix): Fix comment.
25644
25645 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25646             Jim Blandy  <jimb@codesourcery.com>
25647
25648         * Makeconfig (test-wrapper): New variable,
25649         (test-wrapper-env): Likewise.
25650         [$(cross-compiling) = yes && $(test-wrapper) != ""]
25651         (run-built-tests): Define to yes.
25652         (run-program-prefix): Use $(test-wrapper).
25653         (built-program-cmd): Likewise.
25654         * Rules (make-test-out): Use $(test-wrapper-env) and
25655         $(host-built-program-cmd).
25656         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25657         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25658         tst-pathopt.sh.
25659         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25660         $(test-wrapper-env) to tst-rtld-load-self.sh.
25661         ($(objpfx)order2.out): Use $(test-wrapper).
25662         ($(objpfx)tst-initorder.out): Likewise.
25663         ($(objpfx)tst-initorder2.out): Likewise.
25664         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25665         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25666         (test_wrapper_env): New variable.  Use it to run ld.so.
25667         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25668         Use it to run ld.so.
25669         (test_wrapper_env): Likewise.
25670         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25671         $(test-wrapper) to run-iconv-test.sh.
25672         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25673         (ICONV): Use $test_wrapper.
25674         * posix/Makefile ($(objpfx)globtest.out): Pass
25675         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25676         globtest.sh, not $(run-program-prefix).
25677         * posix/globtest.sh (run_via_rtld_prefix): New variable.
25678         (test_wrapper): Likewise.
25679         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
25680         set together with run_via_rtld_prefix.
25681         (run_program_prefix): Define in terms of test_wrapper and
25682         run_via_rtld_prefix.
25683
25684 2012-10-24  Roland McGrath  <roland@hack.frob.com>
25685
25686         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25687         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25688         Targets removed.
25689
25690         [BZ #14743]
25691         * include/time.h: Remove librt_hidden_proto (clock_gettime).
25692         Declare __clock_getres, __clock_gettime, __clock_settime,
25693         __clock_nanosleep, and __clock_getcpuclockid.
25694         * rt/clock_gettime.c: Define __clock_gettime as an alias.
25695         Remove librt_hidden_def (clock_gettime).
25696         * sysdeps/unix/clock_gettime.c: Likewise.
25697         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25698         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25699         * rt/clock_getres.c: Define __clock_getres as an alias.
25700         * sysdeps/posix/clock_getres.c: Likewise.
25701         * rt/clock_settime.c: Define __clock_settime as an alias.
25702         * sysdeps/unix/clock_settime.c: Likewise.
25703         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25704         * sysdeps/unix/clock_nanosleep.c: Likewise.
25705         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25706         * rt/clock-compat.c: New file.
25707         * rt/Makefile (librt-routines): Add clock-compat and move
25708         $(clock-routines) to ...
25709         (routines): ... here, new variable.
25710         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25711         Don't add get_clockfreq here.
25712         * rt/Versions (libc: GLIBC_2.17): New version set.
25713         Add clock_* symbols here.
25714         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
25715         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25716         (GLIBC_2.17): Add clock_* symbols.
25717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25719         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25721         Likewise.
25722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25723         Likewise.
25724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25728         * NEWS: Mention the move.
25729
25730         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25731         Use __open, __read, __close rather than their public counterparts.
25732         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25733         (__get_clockfreq_via_cpuinfo): Likewise.
25734         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25735         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25736
25737         * config.h.in (HAVE_IFUNC): New #undef.
25738         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25739         was successful.
25740         * configure: Regenerated.
25741
25742 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25743
25744         * configure.in: Move READELF check to start of file.
25745         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25746         libc_cv_asm_gnu_indirect_function in the process.
25747         * configure: Regenerated.
25748
25749 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25750
25751         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25752         send the output to /dev/null.
25753         (libc_cv_cc_with_libunwind): Likewise.
25754         (libc_cv_as_noexecstack): Likewise.
25755         * configure: Regenerate.
25756
25757 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25758
25759         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25760
25761         * posix/globtest.sh (TMPDIR): Do not set.
25762         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25763         (testout): Likewise.
25764
25765 2012-10-24  Andreas Jaeger  <aj@suse.de>
25766
25767         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25768         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25769         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25770         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25771         posix_fadvise64, posix_fallocate64.
25772
25773         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25774         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25775         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25776         Likewise.
25777         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25778         Likewise.
25779         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25780
25781         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25782         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25783         <bits/fcntl-linux.h>.
25784         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25785
25786         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25787         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25788         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25789         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25790         [__WORDSIZE != 64]: Likewise.
25791
25792 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25793
25794         * Makeconfig (run-built-tests): New variable.
25795         * Rules [$(cross-compiling) = yes]: Change condition to
25796         [$(run-built-tests) = no].
25797         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25798         to [$(run-built-tests) = yes].
25799         * elf/Makefile [$(cross-compiling) = no]: Likewise
25800         * grp/Makefile [$(cross-compiling) = no]: Likewise.
25801         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25802         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25803         * intl/Makefile [$(cross-compiling) = no]: Likewise.
25804         * io/Makefile [$(cross-compiling) = no]: Likewise.
25805         * libio/Makefile [$(cross-compiling) = no]: Likewise.
25806         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25807         * misc/Makefile [$(cross-compiling) = no]: Likewise.
25808         * posix/Makefile [$(cross-compiling) = no]: Likewise.
25809         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25810         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25811         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25812         * string/Makefile [$(cross-compiling) = no]: Likewise.
25813
25814         * posix/Makefile ($(objpfx)globtest.out): Pass
25815         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25816         $(rtld-installed-name).
25817         * posix/globtest.sh (elf_objpfx): Remove variable.
25818         (rtld_installed_name): Likewise.
25819         (library_path): Likewise.
25820         (run_program_prefix): New variable.  Use for running globtest
25821         binary.
25822
25823 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
25824             Joseph Myers  <joseph@codesourcery.com>
25825
25826         * Makeconfig (host-built-program-cmd): New variable.
25827         * elf/Makefile (tst-stackguard1-ARGS): Use
25828         $(host-built-program-cmd).
25829         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25830         (tst-spawn-ARGS): Likewise.
25831         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25832
25833 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25834             Jim Blandy  <jimb@codesourcery.com>
25835
25836         * Makeconfig (run-via-rtld-prefix): New variable.
25837         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25838         (built-program-cmd): Likewise.
25839
25840 2012-10-22  Andreas Jaeger  <aj@suse.de>
25841
25842         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25843         __O_RSYNC if it exists, otherwise to O_SYNC.
25844
25845 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
25846             Joseph Myers  <joseph@codesourcery.com>
25847
25848         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25849         /dev/null.
25850         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25851         from /dev/null
25852         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25853         /dev/null.
25854
25855 2012-10-22  Andreas Jaeger  <aj@suse.de>
25856
25857         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25858         Define always.
25859         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25860
25861         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25862         bits/fcntl-linux.h.
25863
25864         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25865         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25866
25867         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25868         to __O_LARGEFILE.
25869         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25870         to __O_LARGEFILE.
25871
25872 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
25873             Joseph Myers  <joseph@codesourcery.com>
25874
25875         * config.make.in (NM): New variable.
25876
25877 2012-10-21  Andreas Jaeger  <aj@suse.de>
25878
25879         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25880         definitions and declarations that are provided by
25881         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25882
25883 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25884
25885         [BZ #14683]
25886         * elf/Makefile (tests-static): Add tst-leaks1-static.
25887         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25888         ($(objpfx)tst-leaks1-static): New rule.
25889         ($(objpfx)tst-leaks1-static-mem): Likewise.
25890         (tst-leaks1-static-ENV): New macro.
25891         * elf/dl-open.c (dl_open_worker): Check the main application
25892         only if SHARED is defined.
25893         * elf/tst-leaks1-static.c: New file.
25894
25895 2012-10-20  Andreas Jaeger  <aj@suse.de>
25896
25897         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25898         generic values for Linux.
25899         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25900         and declarations that are provided by <bits/fcntl-linux.h> and
25901         include <bits/fcntl-linux.h>.
25902         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25903         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25904
25905 2012-10-20  Roland McGrath  <roland@hack.frob.com>
25906
25907         * io/fcntl.h: Move include of <bits/types.h> to the top and
25908         include it unconditionally.
25909
25910 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25911
25912         * wcsmbs/Makefile (tests-ifunc): New variable.
25913         (tests): Add $(tests-ifunc).
25914         * wcsmbs/test-wcschr-ifunc.c: New file.
25915         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25916         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25917         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25918         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25919         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25920
25921         * string/Makefile (tests-ifunc): New variable.
25922         (tests): Add $(tests-ifunc).
25923         * string/test-memccpy.c (TEST_NAME): New macro.
25924         * string/test-memchr.c (TEST_NAME): Likewise.
25925         * string/test-memcmp.c (TEST_NAME): Likewise.
25926         * string/test-memcpy.c (TEST_NAME): Likewise.
25927         * string/test-memmem.c (TEST_NAME): Likewise.
25928         * string/test-memmove.c (TEST_NAME): Likewise.
25929         * string/test-memset.c (TEST_NAME): Likewise.
25930         * string/test-rawmemchr.c (TEST_NAME): Likewise.
25931         * string/test-stpcpy.c (TEST_NAME): Likewise.
25932         * string/test-stpncpy.c (TEST_NAME): Likewise.
25933         * string/test-strcasecmp.c (TEST_NAME): Likewise.
25934         * string/test-strcasestr.c (TEST_NAME): Likewise.
25935         * string/test-strcat.c (TEST_NAME): Likewise.
25936         * string/test-strchr.c (TEST_NAME): Likewise.
25937         * string/test-strcmp.c(TEST_NAME): Likewise.
25938         * string/test-strcpy.c (TEST_NAME): Likewise.
25939         * string/test-strcspn.c (TEST_NAME): Likewise.
25940         * string/test-strlen.c (TEST_NAME): Likewise.
25941         * string/test-strncasecmp.c (TEST_NAME): Likewise.
25942         * string/test-strncmp.c (TEST_NAME): Likewise.
25943         * string/test-strncpy.c (TEST_NAME): Likewise.
25944         * string/test-strnlen.c (TEST_NAME): Likewise.
25945         * string/test-strpbrk.c (TEST_NAME): Likewise.
25946         * string/test-strrchr.c (TEST_NAME): Likewise.
25947         * string/test-strspn.c (TEST_NAME): Likewise.
25948         * string/test-strstr.c (TEST_NAME): Likewise.
25949         * string/test-bcopy-ifunc.c: New file.
25950         * string/test-bzero-ifunc.c: Likewise.
25951         * string/test-memccpy-ifunc.c: Likewise.
25952         * string/test-memchr-ifunc.c: Likewise.
25953         * string/test-memcmp-ifunc.c: Likewise.
25954         * string/test-memcpy-ifunc.c: Likewise.
25955         * string/test-memmem-ifunc.c: Likewise.
25956         * string/test-memmove-ifunc.c: Likewise.
25957         * string/test-mempcpy-ifunc.c: Likewise.
25958         * string/test-memset-ifunc.c: Likewise.
25959         * string/test-rawmemchr-ifunc.c: Likewise.
25960         * string/test-stpcpy-ifunc.c: Likewise.
25961         * string/test-stpncpy-ifunc.c: Likewise.
25962         * string/test-strcasecmp-ifunc.c: Likewise.
25963         * string/test-strcasestr-ifunc.c: Likewise.
25964         * string/test-strcat-ifunc.c: Likewise.
25965         * string/test-strchr-ifunc.c: Likewise.
25966         * string/test-strchrnul-ifunc.c: Likewise.
25967         * string/test-strcmp-ifunc.c: Likewise.
25968         * string/test-strcpy-ifunc.c: Likewise.
25969         * string/test-strcspn-ifunc.c: Likewise.
25970         * string/test-strlen-ifunc.c: Likewise.
25971         * string/test-strncasecmp-ifunc.c: Likewise.
25972         * string/test-strncat-ifunc.c: Likewise.
25973         * string/test-strncmp-ifunc.c: Likewise.
25974         * string/test-strncpy-ifunc.c: Likewise.
25975         * string/test-strnlen-ifunc.c: Likewise.
25976         * string/test-strpbrk-ifunc.c: Likewise.
25977         * string/test-strrchr-ifunc.c: Likewise.
25978         * string/test-strspn-ifunc.c: Likewise.
25979         * string/test-strstr-ifunc.c: Likewise.
25980
25981         * debug/Makefile (tests-ifunc): New variable.
25982         (tests): Add $(tests-ifunc).
25983         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25984         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25985         * debug/test-stpcpy_chk-ifunc.c: New file.
25986         * debug/test-strcpy_chk-ifunc.c: Likewise.
25987
25988 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25989
25990         [BZ #13601]
25991         * elf/dl-load.c (open_verify): Retry read if the entire ELF
25992         header is not read in.
25993
25994 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
25995
25996         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
25997         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
25998         directly.  Pass built executable to script as
25999         $(built-program-cmd).
26000         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
26001         $testprogram without using LD_LIBRARY_PATH and $ldso.
26002
26003         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26004         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26005         $(rtld-installed-name).
26006         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26007         (rtld_installed_name): Likewise.
26008         (library_path): Likewise.
26009         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
26010         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26011         $(run-program-prefix) to tst-tables.sh.
26012         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
26013         it to run tst-table-from and tst-table-to.
26014         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26015         Pass it to tst-table.sh.
26016         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26017         $(run-program-prefix) to tst-gettext.sh.
26018         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26019         tst-translit.sh.
26020         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26021         tst-gettext2.sh.
26022         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
26023         to run tst-gettext.
26024         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
26025         to run tst-gettext2.
26026         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
26027         to run tst-translit.
26028         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26029         $(run-program-prefix) to tst-mtrace.sh.
26030         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
26031         to run tst-mtrace.
26032         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26033         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26034         $(rtld-installed-name).
26035         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26036         (rtld_installed_name): Likewise.
26037         (run_program_prefix): New variable.  Use it to run wordexp-test.
26038
26039         * Makeconfig (ARCH): Remove all definitions.
26040         (machine): Likewise.
26041         [ARCH]: Remove conditional code.
26042         [!objdir]: Give error.
26043         [!objdir] (objpfx): Remove.
26044         [!objdir] (common-objpfx): Likewise.
26045         [!objdir] (common-objdir): Likewise.
26046         * configure.in (config_makefile): Remove.  Hardcode Makefile in
26047         AC_CONFIG_FILES call.
26048         * configure: Regenerated.
26049
26050         [BZ #13888]
26051         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26052         or TMPDIR.
26053         (testout): Likewise.
26054
26055         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26056         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26057         $(rtld-installed-name).
26058         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26059         (rtld_installed_name): Likwise.
26060         (runit): Remove function.
26061         (run_getconf): New variable,  Use it for running getconf binary.
26062
26063 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
26064
26065         [BZ #14716]
26066         * string/test-memmem.c (check_result): New function.
26067         (do_one_test): Use it.
26068         (check1): New function.
26069         (test_main): Use it.
26070
26071 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
26072
26073         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26074
26075 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
26076
26077         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26078         (_G_LSEEK64): Likewise.
26079         (_G_MMAP64): Likewise.
26080         (_G_FSTAT64): Likewise.
26081         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26082         (_G_LSEEK64): Likewise.
26083         (_G_MMAP64): Likewise.
26084         (_G_FSTAT64): Likewise.
26085         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26086         unconditional.  Call __mmap64 directly.
26087         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26088         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
26089         __lseek64 directly.
26090         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26091         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
26092         __mmap64 directly.
26093         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26094         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26095         __lseek64 directly.
26096         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26097         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26098         __lseek64 directly.
26099         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26100         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
26101         __lseek64 directly.
26102         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26103         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
26104         __fxstat64 directly.
26105         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26106         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26107         unconditional.
26108         (freopen64) [!_G_OPEN64]: Remove conditional code.
26109         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26110         unconditional.
26111         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26112         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26113         unconditional.
26114         (ftello64) [!_G_LSEEK64]: Remove conditional code.
26115         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26116         unconditional.
26117         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26118         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26119         unconditional.
26120         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26121         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26122         unconditional.
26123         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26124         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26125         unconditional.
26126         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26127         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26128         unconditional.
26129         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26130
26131 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26132
26133         [BZ #12140]
26134         * manual/memory.texi (Malloc Tunable Parameters): Add note
26135         about free list pointers overwriting some perturb bytes.
26136         Wording suggested by Roland McGrath.
26137
26138 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
26139
26140         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26141         (lgamma_test): Likewise.
26142         (tgamma_test): Likewise.
26143
26144 2012-10-16  Florian Weimer  <fweimer@redhat.com>
26145
26146         [BZ #14700]
26147         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26148         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26149
26150 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
26151
26152         * NEWS: Mention BZ #14716.
26153         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26154         when removing AVAILABLE1_USES_J macro.
26155
26156 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
26157
26158         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26159         (__bswap_64): __uint64_t for unsigned 64-bit int.
26160
26161 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
26162
26163         * include/string.h (memmem): Declare libc hidden alias.
26164         * string/memmem.c (memmem): Define libc hidden alias.
26165         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26166         __read, __close instead of open, read, close.
26167
26168 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
26169
26170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26171         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26172         global and hidden.
26173         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26174         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26175         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26176         Likewise.
26177         (__rawmemchr_sse2): Likewise.
26178         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26179         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26180         (__strchr_sse2): Likewise.
26181         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26182         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26183         (__strcasecmp_sse2): Likewise.
26184         (__strncasecmp_sse2): Likewise.
26185         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26186         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26187         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26188         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26189         (__strrchr_sse2): Likewise.
26190         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26191         ifunc-impl-list.c.
26192         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26193         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26194         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26195         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26196         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26197         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26198         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26199         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26200         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26201         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26202         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26203         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26204         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26205         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26206         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26207         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26208         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26209         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26210         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26211         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26212         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26213         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26214         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26215         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26216         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26217         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26218         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26219         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26220         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26221         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26222
26223         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26224         global and hidden.
26225         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26226         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26227         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26228         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26229         Likewise.
26230         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26231         Likewise.
26232         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26233         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26234         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26235         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26236         ifunc-impl-list.c.
26237         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26238         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26239         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26240         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26241         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26242         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26243         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26244         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26245         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26246         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26247         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26248         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26249         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26250         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26251         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26252         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26253         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26254         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26255         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26256         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26257         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26258         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26259         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26260         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26261         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26262         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26263         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26264         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26265         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26266         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26267         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26268         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26269         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26270         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26271         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26272         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26273         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26274         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26275         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26276         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26277         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26278
26279         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26280         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26281         * include/ifunc-impl-list.h: New file.
26282         * misc/ifunc-impl-list.c: Likewise.
26283         * misc/Makefile (routines): Add ifunc-impl-list.
26284         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26285         * string/test-string.h: Include <ifunc-impl-list.h>.
26286         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26287         TEST_NAME]: New variables.
26288         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26289         are defined.
26290         (test_init): Call __libc_ifunc_impl_list to initialize
26291         func_list if TEST_IFUNC and TEST_NAME are defined.
26292
26293         * string/Makefile (strop-tests): Add bcopy and bzero.
26294         * string/test-bcopy.c: New file.
26295         * string/test-bzero.c: Likewise.
26296         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26297         defined.
26298         * string/test-memset.c: Support bzero test if TEST_BZERO is
26299         defined.
26300         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26301         __libc_memmove.
26302         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26303         __libc_memset.
26304         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26305         of memset.
26306
26307 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
26308
26309         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26310         * configure: Regenerated.
26311
26312         * Makeconfig (+link-static-before-libc): Don't include
26313         $(link-static-libc).
26314
26315         * libio/libio.h (_IO_pos_t): Remove.
26316
26317 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26318
26319         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
26320         McGrath.
26321
26322 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26323
26324         * crypt/crypt-entry.c: Include fips-private.h.
26325         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26326         * crypt/md5c-test.c (main): Tolerate disabled MD5.
26327         * sysdeps/unix/sysv/linux/fips-private.h: New file.
26328         * sysdeps/generic/fips-private.h: New file, dummy fallback.
26329
26330 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26331
26332         * crypt/crypt-private.h: Include stdbool.h.
26333         (_ufc_setup_salt_r): Return bool.
26334         * crypt/crypt-entry.c: Include errno.h.
26335         (__crypt_r): Return NULL with EINVAL for bad salt.
26336         * crypt/crypt_util.c (bad_for_salt): New.
26337         (_ufc_setup_salt_r): Check that salt is long enough and within
26338         the specified alphabet.
26339         * crypt/badsalttest.c: New file.
26340         * crypt/Makefile (tests): Add it.
26341         ($(objpfx)badsalttest): New.
26342
26343 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
26344
26345         * NEWS: Add entry for BZ #14602.
26346
26347 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26348
26349         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26350         type-generic.
26351         * math/libm-test.inc: Update comment listing what functions and
26352         macros are tested.
26353         (isgreater_test): New function.
26354         (isgreaterequal_test): Likewise.
26355         (isless_test): Likewise.
26356         (islessequal_test): Likewise.
26357         (islessgreater_test): Likewise.
26358         (isunordered_test): Likewise.
26359         (main): Call the new functions.
26360
26361 2012-10-09  Roland McGrath  <roland@hack.frob.com>
26362
26363         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26364         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26365         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26366         * sysdeps/i386/configure: Regenerated.
26367         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26368         * sysdeps/mach/configure: Regenerated.
26369         * sysdeps/mach/hurd/configure: Regenerated.
26370         * sysdeps/powerpc/configure: Regenerated.
26371         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26372         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26373         * sysdeps/s390/s390-32/configure: Regenerated.
26374         * sysdeps/s390/s390-64/configure: Regenerated.
26375         * sysdeps/sh/configure: Regenerated.
26376         * sysdeps/sparc/configure: Regenerated.
26377         * sysdeps/unix/sysv/linux/configure: Regenerated.
26378         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26379         * sysdeps/x86_64/configure: Regenerated.
26380
26381         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26382         defined.  Don't check if MAP is NULL.
26383
26384 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26385
26386         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26387         (_G_stat64): Likewise.
26388         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26389         (_G_stat64): Likewise.
26390         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26391         instead of struct _G_stat64.
26392         * libio/fileops.c (mmap_remap_check): Likewise.
26393         (decide_maybe_mmap): Likewise.
26394         (_IO_new_file_seekoff): Likewise.
26395         (_IO_file_stat): Likewise.
26396         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26397         _G_off64_t.
26398         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26399         instead of struct _G_stat64.
26400         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26401
26402 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
26403
26404         [BZ #14602]
26405         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26406         Replace with ...
26407         (CHECK_EOL): New macro.
26408         (two_way_short_needle): Check beginning of haystack for EOL.  Use
26409         CHECK_EOL.
26410         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26411         Replace with CHECK_EOL.
26412         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26413         Replace with CHECK_EOL.
26414
26415 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
26416
26417         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26418         type-generic.
26419         * math/libm-test.inc: Update comment listing what functions and
26420         macros are tested.
26421         (finite_test): New function.
26422         (isinf_test): Likewise.
26423         (isnan_test): Likewise.
26424         (fpclassify_test): Test subnormal input.
26425         (isfinite_test): Likewise.
26426         (isnormal_test): Likewise.
26427         (main): Call the new functions.
26428
26429 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
26430
26431         [BZ #14660]
26432         * Makerules (%.dynsym): Force C locale when running
26433         $(OBJDUMP) --dynamic-syms.
26434
26435 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
26436
26437         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26438         <stdint.h>.
26439
26440 2012-10-06  David S. Miller  <davem@davemloft.net>
26441
26442         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26443         upper 32-bits of the length value in %o2 since we use branch-on-register
26444         tests which consider the entire 64-bit register.
26445
26446 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
26447
26448         * string/test-strstr.c (check2): Add a test for page boundary.
26449
26450 2012-10-05  David S. Miller  <davem@davemloft.net>
26451
26452         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26453         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26454         file.
26455         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26456         sysdep_routines.
26457         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26458         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26459         and bzero when HWCAP_SPARC_CRYPTO is present.
26460
26461 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
26462
26463         [BZ #14602]
26464         * string/test-strstr.c (check2): New function.
26465         (test_main): Call check2.
26466
26467         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26468         and bug-strchr1.
26469         * string/bug-strcasestr1.c (do_test): Moved to ...
26470         * string/test-strcasestr.c (check1): Here.  New function.
26471         (do_one_test): Break out result checking code into ...
26472         (check_result): This.  New function.
26473         (do_one_test): Call check_result.
26474         (test_main): Call check1.
26475         * string/bug-strchr1.c (do_test): Moved to ...
26476         * string/test-strchr.c (check1): Here.  New function.
26477         (do_one_test): Break out result checking code into ...
26478         (check_result): This.  New function.
26479         (do_one_test): Call check_result.
26480         (test_main): Call check1.
26481         * string/bug-strstr1.c (main): Moved to ...
26482         * string/test-strstr.c (check1): Here.  New function.
26483         (do_one_test): Break out result checking code into ...
26484         (check_result): This.  New function.
26485         (do_one_test): Call check_result.
26486         (test_main): Call check1.
26487         * string/bug-strcasestr1.c: Removed.
26488         * string/bug-strchr1.c: Likewise.
26489         * string/bug-strstr1.c: Likewise.
26490
26491         * elf/Makefile (dl-routines): Add hwcaps.
26492         * elf/dl-support.c (_dl_important_hwcaps): Removed.
26493         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26494         (_dl_important_hwcaps): Moved to ...
26495         * elf/dl-hwcaps.c: Here.  New file.
26496         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26497
26498         [BZ #14557]
26499         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26500         if IS_IN_rtld isn't defined.
26501
26502         * elf/dl-support.c (_dl_sysinfo_map): New.
26503         Include "get-dynamic-info.h" and "setup-vdso.h".
26504         (_dl_non_dynamic_init): Call setup_vdso.
26505         * elf/dynamic-link.h: Don't include <assert.h>.
26506         (elf_get_dynamic_info): Moved to ...
26507         * elf/get-dynamic-info.h: Here.  New file.
26508         * elf/dynamic-link.h: Include "get-dynamic-info.h".
26509         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26510         * elf/setup-vdso.h: Here.  New file.
26511         * elf/rtld.c: Include "setup-vdso.h".
26512         (dl_main): Call setup_vdso.
26513
26514 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
26515
26516         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26517         creal in comment listing functions tested.  List finite, isinf,
26518         isnan, isless, islessequal, isgreater, isgreaterequal,
26519         islessgreater, isunordered, lgamma_r and pow10 as functions and
26520         macros not tested.  Mention which functions not tested are aliases
26521         for other functions.  Fix typo.  Note that signs of NaNs are not
26522         tested.
26523
26524         * scripts/config.guess: Update from config.git.
26525         * scripts/config.sub: Likewise.
26526
26527 2012-10-04  Roland McGrath  <roland@hack.frob.com>
26528
26529         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26530         * misc/madvise.c (madvise): Renamed to __madvise.
26531         Make madvise a weak alias.
26532         * include/sys/mman.h: Declare __madvise.
26533         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26534         * sysdeps/unix/syscalls.list
26535         (madvise): Make __madvise the strong name, and madvise a weak alias.
26536         * sysdeps/unix/sysv/linux/syscalls.list
26537         (madvise, mmap): Remove redundant entries.
26538         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26539         * malloc/malloc.c (mtrim): Likewise.
26540         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26541
26542 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26543
26544         * sysdeps/mach/hurd/dl-cache.c: File removed.
26545         * config.h.in (USE_LDCONFIG): New #undef.
26546         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26547         * configure: Regenerated.
26548         * elf/Makefile (dl-routines): Add dl-cache only under
26549         [$(use-ldconfig) = yes].
26550         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26551         cache on [USE_LDCONFIG].
26552         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26553         [USE_LDCONFIG].
26554         * elf/rtld.c (dl_main): Likewise.
26555
26556 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
26557
26558         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26559         _SC_LEVEL4_CACHE_LINESIZE.
26560
26561 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26562
26563         * sysdeps/unix/bsd/confstr.h: File removed.
26564
26565 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
26566
26567         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26568         sys/sdt-config.h.
26569
26570 2012-10-02  Roland McGrath  <roland@hack.frob.com>
26571
26572         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26573         Make 'mapoff' field ElfW(Off) rather than off_t.
26574
26575 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
26576
26577         * nscd/Makefile: Remove nscd-cflags and all its users.
26578         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26579         (CFLAGS-nonlib): Add compiler flags for nscd modules.
26580
26581         [BZ #10631]
26582         * malloc.c (malloc_printerr): Clarify error message.
26583
26584 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
26585
26586         [BZ #14648]
26587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26588         Set bit_FMA_Usable if FMA is supported.
26589         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26590         macro.
26591         (bit_FMA4_Usable): Updated.
26592         (index_FMA_Usable): New macro.
26593         (CPUID_FMA): Likewise
26594         (HAS_FMA): Defined with bit_FMA_Usable.
26595
26596 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26597
26598         * bits/types.h (__swblk_t): Type removed.
26599         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26600         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26601         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26602         (__SWBLK_T_TYPE): Likewise.
26603         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26604         (__SWBLK_T_TYPE): Likewise.
26605         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26606         (__SWBLK_T_TYPE): Likewise.
26607         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26608         (__SWBLK_T_TYPE): Likewise.
26609
26610 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
26611             Honza Horak <hhorak@redhat.com>
26612
26613         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26614         (xdr_mapname): Use YPMAXMAP as maxsize.
26615         (xdr_peername): Use YPMAXPEER as maxsize.
26616         (xdr_keydat): Use YPAXRECORD as maxsize.
26617         (xdr_valdat): Use YPMAXRECORD as maxsize.
26618
26619 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26620
26621         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26622
26623         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26624         * csu/init-first.c: ... here.
26625         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26626         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26627         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26628         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26629         * sysdeps/i386/init-first.c: File removed.
26630         * sysdeps/sh/init-first.c: File removed.
26631
26632 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
26633
26634         [BZ #14645]
26635         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26636         if x * y might underflow to zero and z is zero.
26637         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26638         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26639         * math/libm-test.inc (min_subnorm_value): New variable.
26640         (fma_test): Add more tests.
26641         (fma_test_towardzero): Likewise.
26642         (fma_test_downward): Likewise
26643         (fma_test_upward): Likewise.
26644         (initialize): Set min_subnorm_value.
26645
26646 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
26647
26648         [BZ #14638]
26649         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26650         0 + 0.
26651         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26652         mode for addition resulting in exact zero.
26653         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26654         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26655         exact 0 + 0.
26656         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26657         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26658         * math/libm-test.inc (fma_test): Add more tests.
26659         (fma_test_towardzero): New function.
26660         (fma_test_downward): Likewise.
26661         (fma_test_upward): Likewise.
26662         (main): Call the new functions.
26663
26664 2012-09-28  David S. Miller  <davem@davemloft.net>
26665
26666         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26667
26668 2012-09-28  Roland McGrath  <roland@hack.frob.com>
26669
26670         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26671         instead of SIGALRM.
26672
26673         * sysdeps/gnu/_G_config.h: Moved to ...
26674         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26675         * sysdeps/mach/hurd/_G_config.h: Moved to ...
26676         * sysdeps/generic/_G_config.h: ... here.
26677
26678         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
26679
26680         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26681
26682         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26683         Conditionalize target on [libnss_test1.so-version].
26684
26685         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26686
26687         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26688         (elfobjdir): Move out of conditionals.
26689
26690         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26691         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26692         (__nss_lookup_function): Conditionalize label remove_from_tree on
26693         [!DO_STATIC_NSS || SHARED], matching its only use.
26694
26695 2012-09-28  David S. Miller  <davem@davemloft.net>
26696
26697         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26698         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26699         file.
26700         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26701         sysdep_routines.
26702         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26703         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26704         when HWCAP_SPARC_CRYPTO is present.
26705
26706 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26707
26708         * io/tst-mknodat.c: Create a FIFO instead of a socket.
26709
26710 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
26711
26712         [BZ #6530]
26713         * stdio-common/vfprintf.c (process_string_arg): Revert
26714         2000-07-22 change.
26715
26716 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
26717
26718         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26719         for testcase.
26720         * stdio-common/tst-sprintf.c: Include <locale.h>
26721         (main): Test sprintf's handling of incomplete multibyte
26722         characters.
26723
26724 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
26725
26726         * elf/dl-runtime.c (VERSYMIDX): Removed.
26727         * elf/dl-version.c (VERSYMIDX): Likewise.
26728         * elf/do-rel.h (VERSYMIDX): Likewise.
26729         (VALIDX): Likewise.
26730         * elf/dynamic-link.h (VERSYMIDX): Likewise.
26731         * elf/rtld.c (VALIDX): Likewise.
26732         (ADDRIDX): Likewise.
26733         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26734         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26735         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26736         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26737         (VALIDX): Likewise.
26738         (ADDRIDX): Likewise.
26739
26740 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26741
26742         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26743
26744 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
26745
26746         [BZ #11438]
26747         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26748         to global scope.
26749         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26750         addresses are in the same scope as 192.0.2/24.
26751         * posix/gai.conf: Document new scope table defaults.
26752
26753 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26754
26755         [BZ #5298]
26756         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26757         for ftell.  Compute offsets from write pointers instead.
26758         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26759
26760 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26761
26762         [BZ #14543]
26763         * libio/Makefile (tests): New test case tst-fseek.
26764         * libio/tst-fseek.c: New test case to verify that fseek/ftell
26765         combination works in wide mode.
26766         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26767         state when the external buffer state changes.
26768
26769 2012-09-27  David S. Miller  <davem@davemloft.net>
26770
26771         [BZ #14376]
26772         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26773         pass reloc->r_addend in as the 'high' argument to
26774         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26775
26776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26777
26778 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26779
26780         * rt/tst-aio2.c: Include <pthread.h>.
26781         * rt/tst-aio3.c: Likewise.
26782
26783 2012-09-27  Steve Ellcey  <sellcey@mips.com>
26784
26785         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26786
26787 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
26788
26789         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26790         contents on [SHARED].
26791
26792 2012-09-26  Marek Polacek  <polacek@redhat.com>
26793
26794         [BZ #14530]
26795         [BZ #13741]
26796         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26797         for C++ and GCC <4.3 as well as for non GCC compilers.
26798
26799 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26800
26801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26802
26803 2012-09-25  Roland McGrath  <roland@hack.frob.com>
26804
26805         * Makefile.in (all, install): Declare with .PHONY.
26806         Reported by Michael Hope <michael.hope@linaro.org>.
26807
26808 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26809
26810         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26811         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26812         system header.
26813         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26814         Likewise.
26815         (sydep_routines): Add the new and the internal functions.
26816         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26817         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26819         (GLIBC_2.17): Add the new function.
26820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26821         (GLIBC_2.17): Likewise.
26822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26823         (GLIBC_2.17): Likewise.
26824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26825         (GLIBC_2.17): Likewise.
26826         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26827
26828 2012-09-25  Alan Modra  <amodra@gmail.com>
26829
26830         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26831         Add release barrier before setting once_control to say
26832         initialisation is done.  Add hints on lwarx.  Use macro in
26833         place of isync.
26834         (clear_once_control): Add release barrier.
26835
26836 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26837
26838         [BZ #13629]
26839         * math/s_clog.c (__clog): Handle more values close to |z| = 1
26840         specially.
26841         * math/s_clog10.c (__clog10): Likewise.
26842         * math/s_clog10f.c (__clog10f): Likewise.
26843         * math/s_clog10l.c (__clog10l): Likewise.
26844         * math/s_clogf.c (__clogf): Likewise.
26845         * math/s_clogl.c (__clogl): Likewise.
26846         * math/Makefile (libm-calls): Add x2y2m1.
26847         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26848         (__x2y2m1): Likewise.
26849         (__x2y2m1l): Likewise.
26850         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26851         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26852         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26853         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26854         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26855         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26856         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26857         * sysdeps/i386/fpu/libm-test-ulps: Update.
26858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26859
26860         [BZ #14621]
26861         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26862         int as type of variable DEPTH.
26863         (glob): Use size_t instead of int as type of variables NEWCOUNT
26864         and OLD_PATHC.
26865
26866 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26867
26868         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26869         Add s_sincosf-sse2.
26870         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26871         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26872         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26873         macros for using routine as __sincosf_ia32.
26874         Use macro for function declaration and weak_alias.
26875         * sysdeps/i386/fpu/libm-test-ulps: Update.
26876
26877         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26878         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26879
26880         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26881         subnormal argument.
26882         * math/s_cexpf.c (__cexpf): Likewise.
26883         * math/s_csinf.c (__csinf): Likewise.
26884         * math/s_csinhf.c (__csinhf): Likewise.
26885         * math/s_ctanf.c (__ctanf): Likewise.
26886         * math/s_ctanhf.c (__ctanhf): Likewise.
26887         * math/s_ccosh.c (__ccoshf): Likewise.
26888         * math/s_cexp.c (__cexpl): Likewise.
26889         * math/s_csin.c (__csin): Likewise.
26890         * math/s_csinh.c (__csinh): Likewise.
26891         * math/s_ctan.c (__ctan): Likewise.
26892         * math/s_ctanh.c (ctanh): Likewise.
26893         * math/s_ccoshl.c (__ccoshl): Likewise.
26894         * math/s_cexpl.c (__cexpl): Likewise.
26895         * math/s_csinl.c (__csinl): Likewise.
26896         * math/s_csinhl.c (__csinhl): Likewise.
26897         * math/s_ctanl.c (__ctanl): Likewise.
26898         * math/s_ctanhl.c (__ctanhl): Likewise.
26899
26900 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26901
26902         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26903         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26904         (_IO_off_t): Define to __off_t, not _G_off_t.
26905         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26906         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26907         (_IO_wint_t): Define to wint_t, not _G_wint_t.
26908         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26909         type of __dummy and __dummy2 fields.
26910         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26911         (_G_ssize_t): Likewise.
26912         (_G_off_t): Likewise.
26913         (_G_pid_t): Likewise.
26914         (_G_uid_t): Likewise.
26915         (_G_wchar_t): Likewise.
26916         (_G_wint_t): Likewise.
26917         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26918         (_G_ssize_t): Likewise.
26919         (_G_off_t): Likewise.
26920         (_G_pid_t): Likewise.
26921         (_G_uid_t): Likewise.
26922         (_G_wchar_t): Likewise.
26923         (_G_wint_t): Likewise.
26924         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26925         (_G_ssize_t): Likewise.
26926         (_G_off_t): Likewise.
26927         (_G_pid_t): Likewise.
26928         (_G_uid_t): Likewise.
26929         (_G_wchar_t): Likewise.
26930         (_G_wint_t): Likewise.
26931
26932 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26933
26934         * malloc/arena.c: Include malloc-sysdep.h.
26935         (shrink_heap): Use check_may_shrink_heap to decide if madvise
26936         is sufficient to shrink the heap or an unmap is needed.
26937         * sysdeps/generic/malloc-sysdep.h: New file.  Define
26938         new function check_may_shrink_heap.
26939         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
26940         new function check_may_shrink_heap.
26941
26942 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26943
26944         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26945         comments.
26946
26947 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
26948
26949         * catgets/test-gencat.sh: Add "set -e".
26950         * elf/tst-pathopt.sh: Likewise.
26951         * grp/tst_fgetgrent.sh: Likewise.
26952         * iconvdata/run-iconv-test.sh: Likewise.
26953         * intl/tst-gettext.sh: Likewise.
26954         * intl/tst-gettext2.sh: Likewise.
26955         * intl/tst-gettext4.sh: Likewise.
26956         * intl/tst-gettext6.sh: Likewise.
26957         * intl/tst-translit.sh: Likewise.
26958         * io/ftwtest-sh: Likewise.
26959         * libio/test-freopen.sh: Likewise.
26960         * malloc/tst-mtrace.sh: Likewise.
26961         * posix/globtest.sh: Likewise.
26962         * posix/tst-getconf.sh: Likewise.
26963         * posix/wordexp-tst.sh: Likewise.
26964         * stdio-common/tst-printf.sh: Likewise.
26965         * stdio-common/tst-unbputc.sh: Likewise.
26966         * stdlib/tst-fmtmsg.sh: Likewise.
26967         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26968         * catgets/Makefile: Do not specify -e option when running
26969         testsuite shell scripts.
26970         * elf/Makefile: Likewise.
26971         * grp/Makefile: Likewise.
26972         * iconvdata/Makefile: Likewise.
26973         * intl/Makefile: Likewise.
26974         * io/Makefile: Likewise.
26975         * libio/Makefile: Likewise.
26976         * malloc/Makefile: Likewise.
26977         * posix/Makefile: Likewise.
26978         * stdio-common/Makefile: Likewise.
26979         * stdlib/Makefile: Likewise.
26980         * sysdeps/x86_64/Makefile: Likewise.
26981
26982         * io/ftwtest-sh: Add copyright header.
26983         * posix/globtest.sh: Likewise.
26984         * posix/tst-getconf.sh: Likewise.
26985         * posix/wordexp-tst.sh: Likewise.
26986         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26987
26988 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
26989
26990         [BZ #13679]
26991         * Makeconfig (+link): Defined as $(+link-static) if
26992         $(build-shared) isn't yes.
26993         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26994         isn't yes.
26995         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26996
26997         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26998
26999         [BZ #14562]
27000         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27001         new chunk size with MALLOC_ALIGN_MASK.
27002
27003 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
27004
27005         [BZ #5044]
27006         * stdio-common/printf_fphex.c: Include <stdbool.h> and
27007         <rounding-mode.h>.
27008         (__printf_fphex): Determine rounding using get_rounding_mode and
27009         round_away.
27010         * stdio-common/tst-printf-round.c (struct hex_test): New
27011         structure.
27012         (hex_tests): New variable.
27013         (test_hex_in_one_mode): New function.
27014         (do_test): Also run tests for hex float output.
27015
27016 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
27017
27018         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27019         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27020         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27021         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27022         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27023         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27024         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27025         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27026
27027 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
27028
27029         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27030         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27031         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27032         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27033
27034 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
27035
27036         [BZ #14579]
27037         * elf/rtld.c (dl_main): Limit the check for self loading to normal
27038         mode only.
27039         * elf/tst-rtld-load-self.sh: New test.
27040         * elf/Makefile: Run it.
27041
27042 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
27043
27044         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27045         (tst-writev-ENV): Remove.
27046         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27047
27048 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
27049
27050         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27051
27052 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
27053
27054         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27055         unconditional.
27056         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27057         Likewise.
27058         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27059         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27060         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27061         Likewise.
27062
27063 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
27064
27065         [BZ #14587]
27066         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27067         * config.make.in (have-cpp-asm-debuginfo): Removed.
27068         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27069         * configure: Regenerated.
27070
27071 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
27072
27073         [BZ #5044]
27074         * stdio-common/printf_fp.c: Include <stdbool.h> and
27075         <rounding-mode.h>.
27076         (___printf_fp): Determine rounding using get_rounding_mode and
27077         round_away.
27078         * stdio-common/tst-printf-round.c: New file.
27079         * stdio-common/Makefile (tests): Add tst-printf-round.
27080         (link-libm): New variable.
27081         ($(objpfx)tst-printf-round): Depend in $(link-libm).
27082
27083 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
27084
27085         [BZ #14576]
27086         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27087         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27088         Likewise.
27089         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27090         Likewise.
27091
27092 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
27093
27094         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27095         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27096         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27097         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27098
27099 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
27100
27101         [BZ #14518]
27102         * include/rounding-mode.h: New file.
27103         * sysdeps/generic/get-rounding-mode.h: Likewise.
27104         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27105         * stdlib/strtod_l.c: Include <rounding-mode.h>.
27106         (MAX_VALUE): New macro.
27107         (MIN_VALUE): Likewise.
27108         (overflow_value): New function.
27109         (underflow_value): Likewise.
27110         (round_and_return): Use overflow_value and underflow_value to
27111         determine return values in overflow and underflow cases.  Use
27112         round_away to determine rounding depending on rounding mode.
27113         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27114         determine return values in overflow and underflow cases.
27115         * stdlib/tst-strtod-round.c: Include <fenv.h>.
27116         (struct test_results): New structure.
27117         (struct test): Use struct test_results to store expected results
27118         for all rounding modes.
27119         (TEST): Include expected results for all rounding modes.
27120         (test_in_one_mode): New function.
27121         (do_test): Use test_in_one_mode to compute and check results.
27122         Check results for all rounding modes.
27123         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27124         $(link-libm).
27125
27126 2012-12-09  Allan McRae  <allan@archlinux.org>
27127
27128         * sysdeps/i386/fpu/libm-test-ulps: Update
27129
27130 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
27131
27132         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27133         (_G_int32_t): Likewise.
27134         (_G_uint16_t): Likewise.
27135         (_G_uint32_t): Likewise.
27136         (_G_HAVE_BOOL): Likewise.
27137         (_G_HAVE_ATEXIT): Likewise.
27138         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27139         (_G_HAVE_IO_FILE_OPEN): Likewise.
27140         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27141         (_G_int32_t): Likewise.
27142         (_G_uint16_t): Likewise.
27143         (_G_uint32_t): Likewise.
27144         (_G_HAVE_BOOL): Likewise.
27145         (_G_HAVE_ATEXIT): Likewise.
27146         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27147         (_G_HAVE_IO_FILE_OPEN): Likewise.
27148         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27149         (_G_int32_t): Likewise.
27150         (_G_uint16_t): Likewise.
27151         (_G_uint32_t): Likewise.
27152         (_G_HAVE_BOOL): Likewise.
27153         (_G_HAVE_ATEXIT): Likewise.
27154         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27155         (_G_HAVE_IO_FILE_OPEN): Likewise.
27156
27157 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
27158
27159         * csu/libc-tls.c: Update copyright years.
27160
27161 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
27162
27163         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27164         [!_G_USING_THUNKS]: Remove conditional code.
27165         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27166         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27167
27168         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27169         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27170         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27171         (_G_VTABLE_LABEL_PREFIX): Likewise.
27172         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27173         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27174         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27175         (_G_VTABLE_LABEL_PREFIX): Likewise.
27176         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27177         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27178         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27179         (_G_VTABLE_LABEL_PREFIX): Likewise.
27180         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27181
27182 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
27183
27184         * libio/Makefile: Include ../Makeconfig before tests.
27185         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27186         only if $(build-shared) is yes.
27187
27188         * iconv/gconv_db.c: Update copyright years.
27189
27190 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27191
27192         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27193         unwind info if defined PIC. Fix special cases description.
27194         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27195
27196         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27197         DP_HI_MASK entry.
27198         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27199
27200 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
27201
27202         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27203
27204         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27205         is NULL.
27206
27207         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27208         (LDLIBS-tst-chk4): This.
27209         (LDFLAGS-tst-chk5): Renamed to ...
27210         (LDLIBS-tst-chk5): This.
27211         (LDFLAGS-tst-chk6): Renamed to ...
27212         (LDLIBS-tst-chk6): This.
27213         (LDFLAGS-tst-lfschk4): Renamed to ...
27214         (LDLIBS-tst-lfschk4): This.
27215         (LDFLAGS-tst-lfschk5): Renamed to ...
27216         (LDLIBS-tst-lfschk5): This.
27217         (LDFLAGS-tst-lfschk6): Renamed to ...
27218         (LDLIBS-tst-lfschk6): This.
27219
27220         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27221         on $(common-objpfx)soversions.mk.
27222
27223 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
27224
27225         [BZ #10014]
27226         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27227         example host name.
27228
27229 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27230
27231         * malloc/arena.c (arena_get_retry): New function that gets
27232         another arena for the caller to try its request on.
27233         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27234         current arena cannot fulfill the request.
27235         (__libc_memalign): Likewise.
27236         (__libc_memalign): Likewise.
27237         (__libc_pvalloc): Likewise.
27238         (__libc_calloc): Likewise.
27239
27240 2012-09-05  John Tobey  <john.tobey@gmail.com>
27241
27242         [BZ #13542]
27243         * manual/arith.texi (Operations on Complex): Fix description
27244         of carg branch cut.
27245
27246 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27247
27248         [BZ #10014]
27249         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27250         host name.
27251
27252         [BZ #10038]
27253         * manual/memory.texi (Memory): Make order of menu items match
27254         order of sections.
27255
27256 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27257
27258         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27259         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
27260         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27261
27262 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27263
27264         * csu/libc-tls.c (static_dtv): Renamed to ...
27265         (_dl_static_dtv): This.  Make it global.
27266         (_dl_initial_dtv): Removed.
27267         (__libc_setup_tls): Updated.
27268         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27269         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27270         DL_INITIAL_DTV.
27271
27272 2012-09-06  Petr Machata  <pmachata@redhat.com>
27273
27274         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27275         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27276         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27277         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27278
27279 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27280
27281         [BZ #14545]
27282         * csu/libc-tls.c (_dl_initial_dtv): New variable.
27283         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27284         freeing dtv[-1].
27285
27286 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27287
27288         [BZ #14544]
27289         * Makeconfig (link-static-before-libc): Replace $(+prector)
27290         with $(+prectorT).
27291         (link-static-after-libc): Replace $(+postctor) with
27292         $(+postctorT).
27293         (link-bounded): Replace $(+prector)/$(+postctor) with
27294         $(+prectorT)/$(+postctorT).
27295         (+prectorT): New macro.
27296         (+postctorT): Likewise.
27297
27298 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27299
27300         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27301         (round_str): Handle values above the maximum for IBM long double
27302         as inexact.
27303         * stdlib/tst-strtod-round.c (tests): Regenerated.
27304
27305 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27306
27307         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27308         assembler flag.
27309         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27310         zarch_nohighgprs around the zarch optimized routines.
27311         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27312         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27313         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27314         for zarch.
27315
27316 2012-09-05  David S. Miller  <davem@davemloft.net>
27317
27318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27319
27320         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27321         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27322         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27323         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27324         entries.
27325
27326 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27327
27328         * malloc/arena.c: Fold copyright years.
27329         * malloc/mcheck.c, malloc/memusage.c: Likewise.
27330
27331 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27332
27333         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27334
27335 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27336
27337         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
27338
27339 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27340
27341         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27342         change internal state upon failure.
27343
27344 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27345
27346         * malloc/mcheck.c (mcheck_check_all): Fix typo.
27347         * malloc/memusage.c (mmap): Likewise.
27348         (mmap64, mremap): Likewise.  Adjust name in comment.
27349
27350 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27351
27352         * libio/fileops.c: Fix typos in comments.
27353         * libio/oldfileops.c: Likewise.
27354         * libio/wfileops.c: Likewise.
27355
27356 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27357
27358         [BZ #1349]
27359         * malloc/Makefile (tests): Add tst-malloc-usable test case.
27360         (tst-malloc-usable-ENV): Set environment for test case.
27361         * malloc/hooks.c (malloc_check_get_size): New function to get
27362         requested size.
27363         * malloc/malloc.c (musable): Use malloc_check_get_size.
27364         * malloc/tst-malloc-usable.c: New test case.
27365
27366 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27367
27368         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27369
27370 2012-09-05  Allan McRae  <allan@archlinux.org>
27371
27372         [BZ #13966]
27373         * configure.in (CXX_SYSINCLUDES): Use compiler output to
27374         determine header location.
27375         * configure: Regenerated.
27376
27377 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27378
27379         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27380         float format.
27381         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27382         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27383         format.
27384         (test): Regenerate.
27385
27386 2012-09-04  David S. Miller  <davem@davemloft.net>
27387
27388         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27389         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27390         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27391
27392 2012-09-04  Florian Weimer  <fweimer@redhat.com>
27393
27394         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27395         failures.
27396
27397         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27398
27399 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
27400
27401         [BZ #9914]
27402         * libio/iogetdelim.c: Include <limits.h>.
27403         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27404         + len + 1 would overflow.
27405
27406 2012-09-03  Andreas Jaeger  <aj@suse.de>
27407
27408         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27409         * sysdeps/i386/fpu/libm-test-ulps: Update.
27410
27411 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27412
27413         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27414         Add s_sinf-sse2, s_conf-sse2.
27415
27416         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27417         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27418         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27419         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27420
27421         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27422         for using routine as __sinf_ia32.
27423         Use macro for function declaration and weak_alias.
27424         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27425         for using routine as __cosf_ia32.
27426         Use macro for function declaration and weak_alias.
27427
27428         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27429         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27430
27431         * sysdeps/x86_64/fpu/s_sinf.S: New file.
27432         * sysdeps/x86_64/fpu/s_cosf.S: New file.
27433         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27434
27435         * math/libm-test.inc (cos_test): Add more test cases.
27436         (sin_test): Likewise.
27437         (sincos_test): Likewise.
27438
27439 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27440
27441         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27442         (IFUNC_RESOLVE): Make pointers to the specialized implementations
27443         hidden.
27444         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27445
27446 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
27447
27448         [BZ #14538]
27449         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27450         first element of the GOT.
27451         (elf_machine_load_address): Return the difference between
27452         the runtime address of _DYNAMIC and elf_machine_dynamic ().
27453
27454 2012-09-01  Allan McRae  <allan@archlinux.org>
27455
27456         [BZ #13412]
27457         * configure.in (AWK): Require gawk version 3.0 or later.
27458         * configure: Regenerated.
27459
27460 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
27461
27462         * sysdeps/unix/sysv/linux/kernel-features.h
27463         (__ASSUME_POSIX_CPU_TIMERS): Remove.
27464         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27465         [__NR_clock_getres]: Make code unconditional.
27466         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27467         (clock_getcpuclockid): Remove code left unreachable by removal of
27468         conditionals.
27469         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27470         code unconditional.
27471         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27472         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27473         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27474         Make code unconditional.
27475         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27476         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27477         * sysdeps/unix/sysv/linux/clock_settime.c
27478         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27479         conditional code.
27480         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27481         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27482
27483 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
27484
27485         [BZ #14476]
27486         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27487         scripts/test-installation.pl.
27488
27489         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27490         and $ld_so_version if it is set.
27491
27492 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27493
27494         [BZ #14516]
27495         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27496         failure if reading from procfs failed.
27497         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27498
27499 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27500
27501         * sysdeps/unix/sysv/linux/kernel-features.h
27502         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27503         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27504         Remove conditional code.
27505         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27506         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27507         Remove conditional code.
27508         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27509         * sysdeps/unix/sysv/linux/i386/fxstat.c
27510         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27511         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27512         * sysdeps/unix/sysv/linux/i386/fxstatat.c
27513         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27514         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27515         * sysdeps/unix/sysv/linux/i386/lxstat.c
27516         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27517         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27518         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27519         Remove conditional code.
27520         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27521         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27522         Remove conditional code.
27523         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27524         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27525         <kernel-features.h>.
27526         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27527         Remove.
27528         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27529         Remove conditional code.
27530         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27531         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27532         Remove conditional.
27533
27534 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
27535
27536         [BZ #5400]
27537         * NEWS: Add fixed bug number.
27538
27539 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27540
27541         [BZ #14519]
27542         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27543         underflowing exponent in case of negative sign.
27544         * stdlib/tst-strtod-round-data: Add more tests.
27545         * stdlib/tst-strtod-round.c (tests): Regenerated.
27546
27547         [BZ #3479]
27548         * stdlib/strtod_l.c (NDIG): Remove.
27549         (HEXNDIG): Likewise.
27550         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27551         smallest representable value.
27552         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27553         lie within an exact representation of 1/2 ulp of the result.
27554         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27555         unconditionally.
27556         (TENS_P9_IDX): Define unconditionally.
27557         (TENS_P9_SIZE): Likewise.
27558         (TENS_P10_IDX): Likewise.
27559         (TENS_P10_SIZE): Likewise.
27560         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27561         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27562         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27563         entries for 10^2^13 and 10^2^14.
27564         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27565         (TENS_P13_IDX): Define.
27566         (TENS_P13_SIZE): Likewise.
27567         (TENS_P14_IDX): Likewise.
27568         (TENS_P14_SIZE): Likewise.
27569         (_fpioconst_pow10): Change array size to
27570         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
27571         unconditional.
27572         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27573         1024]: Add entries for 10^2^13 and 10^2^14.
27574         [LAST_POW10 > _LAST_POW10]: Remove #error.
27575         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27576         (_fpioconst_pow10): Change array size to
27577         FPIOCONST_POW10_ARRAY_SIZE.
27578         * stdlib/gen-fpioconst.c: New file.
27579         * stdlib/gen-tst-strtod-round.c: Likewise.
27580         * stdlib/tst-strtod-round-data: Likewise.
27581         * stdlib/tst-strtod-round.c: Likewise.
27582         * stdlib/Makefile (tests): Add tst-strtod-round.
27583
27584         [BZ #14459]
27585         * stdlib/strtod_l.c: Include <stdint.h>.
27586         (NDEBUG): Do not define.
27587         (round_and_return): Change EXPONENT parameter to type intmax_t.
27588         Rearrange calculations to avoid internal overflow possibilities.
27589         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27590         Rearrange calculations to avoid internal overflow possibilities.
27591         Assert that number fits inside MPNSIZE limbs.
27592         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27593         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
27594         calculations and add assertions to avoid internal overflow
27595         possibilities.  Add casts to avoid signed/unsigned operations.
27596         * stdlib/tst-strtod-overflow.c: New file.
27597         * stdlib/Makefile (tests): Add tst-strtod-overflow.
27598
27599 2012-08-25  Marek Polacek  <polacek@redhat.com>
27600
27601         * time/time.h: Fix some typos in comments.
27602
27603 2012-08-23  Roland McGrath  <roland@hack.frob.com>
27604
27605         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27606         * posix/tst-rfc3484-2.c: Likewise.
27607         * posix/tst-rfc3484-3.c: Likewise.
27608
27609 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
27610
27611         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27612         (EF_ARM_ABI_FLOAT_HARD): Likewise.
27613
27614 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
27615
27616         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27617         #include of fxstatat64.c.
27618
27619 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27620
27621         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27622         * shadow/getspent_r.c: Likewise.
27623         * shadow/getspnam.c: Likewise.
27624         * shadow/getspnam_r.c: Likewise.
27625         * gshadow/getsgent.c: Likewise.
27626         * gshadow/getsgent_r.c: Likewise.
27627         * gshadow/getsgnam.c: Likewise.
27628         * gshadow/getsgnam_r.c: Likewise.
27629         * inet/getnetbyad.c: Likewise.
27630         * inet/getnetbyad_r.c: Likewise.
27631         * inet/getnetbynm.c: Likewise.
27632         * inet/getnetbynm_r.c: Likewise.
27633         * inet/getnetent.c: Likewise.
27634         * inet/getnetent_r.c: Likewise.
27635         * inet/getproto.c: Likewise.
27636         * inet/getproto_r.c: Likewise.
27637         * inet/getprtent.c: Likewise.
27638         * inet/getprtent_r.c: Likewise.
27639         * inet/getprtname.c: Likewise.
27640         * inet/getprtname_r.c: Likewise.
27641         * inet/getrpcbyname.c: Likewise.
27642         * inet/getrpcbyname_r.c: Likewise.
27643         * inet/getrpcbynumber.c: Likewise.
27644         * inet/getrpcbynumber_r.c: Likewise.
27645         * inet/getrpcent.c: Likewise.
27646         * inet/getrpcent_r.c: Likewise.
27647         * inet/getaliasent.c: Likewise.
27648         * inet/getaliasent_r.c: Likewise.
27649         * inet/getaliasname.c: Likewise.
27650         * inet/getaliasname_r.c: Likewise.
27651         * nscd/getgrgid_r.c: Likewise.
27652         * nscd/getgrnam_r.c: Likewise.
27653         * nscd/gethstbyad_r.c: Likewise.
27654         * nscd/gethstbynm3_r.c: Likewise.
27655         * nscd/getpwnam_r.c: Likewise.
27656         * nscd/getpwuid_r.c: Likewise.
27657         * nscd/getsrvbynm_r.c: Likewise.
27658         * nscd/getsrvbypt_r.c: Likewise.
27659         * nscd/gai.c: Likewise.
27660
27661         * configure.in (build_nscd): New substituted variable, set
27662         by --disable-build-nscd and defaults to $use_nscd.
27663         * configure: Regenerated.
27664         * config.make.in (build-nscd): New substituted variable.
27665         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27666         Change conditional to require [$(build-nscd) = yes] as well.
27667         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27668
27669         [BZ# 13696]
27670         * configure.in (use_nscd): New substituted variable, set by
27671         --disable-nscd.  If enabled, define USE_NSCD.
27672         * configure: Regenerated.
27673         * config.h.in: Add USE_NSCD.
27674         * config.make.in (use-nscd): New substituted variable.
27675         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27676         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27677         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27678         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27679         (CFLAGS-getgrnam_r.c): Likewise.
27680         (CFLAGS-initgroups.c): Likewise.
27681         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27682         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27683         Variables removed.
27684         * inet/getnetgrent_r.c
27685         (nscd_setnetgrent): New function, broken out of ...
27686         (setnetgrent): ... here.  Call it.
27687         (innetgr): Conditionalize nscd bits on [USE_NSCD].
27688         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27689         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27690         * nscd/Makefile (routines, aux): Move definitions after include of
27691         Makeconfig.  Conditionalize on [$(use-nscd) != no].
27692         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27693         Conditionalize on [USE_NSCD].
27694         (is_nscd, nscd_init_cb): Likewise.
27695         (nss_load_library): Conditionalize init callback on [USE_NSCD].
27696         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27697         * nss/nss_db/db-init.c: Likewise.
27698         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27699         [USE_NSCD].
27700         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27701         (make_request): Use it.
27702         (cache_valid_p): New function.
27703         (__check_pf): Use it.
27704         * NEWS: Add item for --disable-nscd.
27705
27706 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
27707
27708         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27709         to support sed >= 4.2.1-20-ga9bf076.
27710         * configure: Regenerated.
27711
27712 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27713
27714         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27715         Conditionalize whole body on [IREL].
27716
27717 2012-08-22  Jeff Law <law@redhat.com>
27718
27719         [BZ #14505]
27720         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27721         if the family is PF_UNSPEC.
27722
27723 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
27724
27725         * Makerules (lib-version): Rename from V.
27726         (install-lib-nosubdir): Change V to lib-version.
27727
27728 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
27729
27730         [BZ #14252]
27731         * powerpc32/power6/wcschr.c: New file.
27732         * powerpc32/power6/wcscpy.c: New file.
27733         * powerpc32/power6/wcsrchr.c: New file.
27734         * powerpc64/power6/wcschr.c: New file.
27735         * powerpc64/power6/wcscpy.c: New file.
27736         * powerpc64/power6/wcsrchr.c: New file.
27737
27738 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27739
27740         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27741         (two_way_short_needle): Use it.
27742         * string/strstr.c (AVAILABLE1_USES_J): Define.
27743         * string/strcasestr.c: Likewise.
27744
27745         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27746         array references.
27747         * string/strcasestr.c (TOLOWER): Make side-effect safe.
27748
27749         [BZ #11607]
27750         * NEWS: Add an entry.
27751         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27752         define their defaults.
27753         (two_way_short_needle): Detect end-of-string on-the-fly.
27754         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27755         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27756         * string/bug-strcasestr1.c: New test.
27757         * string/Makefile: Run it.
27758
27759 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27760
27761         [BZ #11607]
27762         * string/str-two-way.h (two_way_short_needle): Optimize matching of
27763         the first character.
27764
27765 2012-08-21  Roland McGrath  <roland@hack.frob.com>
27766
27767         * csu/elf-init.c (__libc_csu_irel): Function removed.
27768         * csu/libc-start.c (apply_irel): New function.
27769         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27770
27771 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
27772
27773         * sysdeps/unix/sysv/linux/kernel-features.h
27774         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27775         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27776         <kernel-features.h>.
27777         [__NR_fadvise64_64]: Make code unconditional.
27778         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27779         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27780         !__NR_fadvise64_64)]: Likewise.
27781         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27782         !__NR_fadvise64_64))]: Likewise.
27783         [__NR_fadvise64]: Make code unconditional.
27784         [!__NR_fadvise64]: Remove conditional code.
27785         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27786         <kernel-features.h>.
27787         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27788         unconditional.
27789         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27790         conditional code.
27791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27792         not include <kernel-features.h>.
27793         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27794         unconditional.
27795         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27796         conditional code.
27797         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27798         include <kernel-features.h>.
27799         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27800         unconditional.
27801         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27802         conditional code.
27803
27804 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27805
27806         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27807         slight instruction rearrangements per scrollpipe analysis.
27808         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27809
27810 2012-08-20  Roland McGrath  <roland@hack.frob.com>
27811
27812         * manual/syslog.texi (syslog; vsyslog, closelog):
27813         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27814         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27815
27816         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27817         DSOCAPS to match condition on defining it.
27818
27819 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
27820
27821         * sysdeps/unix/sysv/linux/kernel-features.h
27822         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27824         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27825         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27827         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27828         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27830         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27831         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27832
27833         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27834         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27835
27836         * sysdeps/unix/sysv/linux/kernel-features.h
27837         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27838         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27839         unconditional.
27840         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27841         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27842         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27843         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27844         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27845         Make code unconditional.
27846         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27847         (__mmap64) [!__NR_mmap2]: Likewise.
27848         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27849         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27850         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27851         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27852         [__NR_mmap2]: Make code unconditional.
27853         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27854         (__mmap64) [!__NR_mmap2]: Likewise.
27855
27856 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27857
27858         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27859
27860 2012-08-18  Andreas Jaeger  <aj@suse.de>
27861
27862         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27863
27864 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27865
27866         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27867         * include/unistd.h (__have_sock_cloexec): Likewise.
27868         (__have_pipe2): Likewise.
27869         (__have_dup3): Likewise.
27870
27871 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27872
27873         [BZ #9685]
27874         * include/unistd.h (__have_pipe2): Change define into an extern int.
27875         (__have_dup3): Likewise.
27876         * socket/have_sock_cloexec.c: Include fcntl.h.
27877         (__have_pipe2): New variable.
27878         (__have_dup3): Likewise.
27879
27880 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
27881
27882         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27883
27884 2012-08-17  Marek Polacek  <polacek@redhat.com>
27885
27886         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27887         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27888
27889 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27890
27891         * configure.in: Add AC_SUBST for sysheaders.
27892         * configure: Regenerated.
27893         * config.make.in (sysheaders): New substituted variable.
27894
27895         * sysdeps/unix/mkfifo.c: Moved ...
27896         * sysdeps/posix/mkfifo.c: ... here.
27897         * sysdeps/unix/mkfifoat.c: Moved ...
27898         * sysdeps/posix/mkfifoat.c: ... here.
27899
27900         * sysdeps/unix/utime.c: Moved ...
27901         * sysdeps/posix/utime.c: ... here.
27902
27903         * sysdeps/unix/time.c: Moved ...
27904         * sysdeps/posix/time.c: ... here.
27905         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27906         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27907
27908         * sysdeps/unix/nice.c: Moved ...
27909         * sysdeps/posix/nice.c: ... here.
27910
27911         * sysdeps/unix/alarm.c: Moved ...
27912         * sysdeps/posix/alarm.c: ... here.
27913
27914         * intl/Makefile ($(codeset_mo)): Depend on the input file.
27915
27916 2012-08-17  Jeff Law <law@redhat.com>
27917
27918         * intl/Makefile (codeset_mo): New variable.
27919         ($(codeset_mo)): New target.
27920         (tst-codeset.out): Depend on that.  Remove explicit rule.
27921         (tst-gettext3.out, tst-gettext5.out): Likewise.
27922         (LOCPATH-ENV, tst-codeset-ENV): New variables.
27923         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27924         * intl/tst-codeset.sh: Remove.
27925         * intl/tst-gettext3.sh: Likewise.
27926         * intl/tst-gettext5.sh: Likewise.
27927
27928 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27929
27930         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
27931         * sysdeps/unix/syscalls.list: ... here.
27932
27933         * sysdeps/posix/getaddrinfo.c
27934         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27935         (gaiconf_init, gaiconf_reload): Use them.
27936         [!_STATBUF_ST_NSEC]
27937         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27938         Define using time_t rather than struct timespec.
27939
27940         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27941         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27942         Macros removed.
27943         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27944         [!NO_THREADS].
27945         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27946         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27947         Likewise.
27948
27949         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27950         __libc_cleanup_push argument.
27951
27952         * bits/param.h: New file.
27953         * misc/sys/param.h: New file.
27954         * include/sys/param.h: New file.
27955         * misc/Makefile (headers): Add bits/param.h.
27956         * sysdeps/generic/sys/param.h: File removed.
27957         * sysdeps/unix/sysv/linux/bits/param.h: New file.
27958         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27959         * sysdeps/mach/hurd/bits/param.h: New file.
27960         * sysdeps/mach/hurd/sys/param.h: File removed.
27961
27962         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27963         last change.
27964
27965         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27966         [_IO_MTSAFE_IO].
27967         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27968         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27969         New macros.
27970
27971         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27972         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27973         rather than -D_IO_MTSAFE_IO conditionally.
27974         * stdio-common/Makefile (CPPFLAGS): Likewise.
27975         * wcsmbs/Makefile (CPPFLAGS): Likewise.
27976         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27977         Use $(libio-mtsafe).
27978         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27979         of -D_IO_MTSAFE_IO.
27980         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27981         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27982         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27983         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27984         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27985         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27986         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27987         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27988         (CFLAGS-fread_u_chk.c): Likewise.
27989         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27990         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27991         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27992         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27993         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27994         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27995         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27996         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27997         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27998
27999         * libio/Makefile: Test [$(libc-reentrant) = yes]
28000         instead of [$(filter %REENTRANT, $(defines)) nonempty].
28001
28002         * Makeconfig
28003         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28004         * sysdeps/pthread/configure: File removed.
28005         * sysdeps/pthread/Makeconfig: New file.
28006         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28007         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28008
28009 2012-08-16  Gary Benson  <gbenson@redhat.com>
28010
28011         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28012         unmapping the first object in a namespace.
28013
28014 2012-08-16  Roland McGrath  <roland@hack.frob.com>
28015
28016         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28017         (__internal_setnetgrent): ... this.  Add internal_function to
28018         definition.  Add libc_hidden_def.
28019         (setnetgrent): Update caller.
28020         (internal_endnetgrent): Renamed to ...
28021         (__internal_endnetgrent): ... this.  Add internal_function to
28022         definition.  Add libc_hidden_def.
28023         (endnetgrent): Update caller.
28024         (internal_getnetgrent_r): Renamed to ...
28025         (__internal_getnetgrent_r): ... this.  Add internal_function to
28026         definition.  Add libc_hidden_def.
28027         (__getnetgrent_r): Update caller.
28028         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
28029
28030 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
28031
28032         * stdlib/longlong.h: Update from GCC.
28033
28034 2012-08-16  Roland McGrath  <roland@hack.frob.com>
28035
28036         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28037         on _QL, which is set by umul_ppmm but never used.
28038         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28039         variables, which are set by GMP macros but never used.
28040         * stdio-common/_itowa.c (_itowa): Likewise.
28041         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28042         * stdlib/mod_1.c (mpn_mod_1): Likewise.
28043
28044 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
28045
28046         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28047         struct La_sh_regs is not constant.
28048         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28049         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28050         and struct La_sparc64_regs are not constant.
28051
28052 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
28053
28054         * sysdeps/unix/sysv/linux/kernel-features.h
28055         (__ASSUME_POSIX_TIMERS): Remove.
28056         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28057         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28058         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28059         Make code unconditional.
28060         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28061         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28062         Make code unconditional.
28063         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28064         * sysdeps/unix/sysv/linux/clock_nanosleep.c
28065         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28066         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28067         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28068         Make code unconditional.
28069         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28070         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28071         (__libc_missing_posix_timers): Remove.
28072
28073 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28074
28075         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28076         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28077
28078         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28079
28080         * elf/dl-sym.c: Include <stdlib.h>.
28081
28082         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28083         constants, which avoids warnings in 32-bit builds.
28084
28085         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28086         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28087
28088         * misc/lseek.c: File moved to ...
28089         * io/lseek.c: ... here.
28090
28091         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28092
28093         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28094         shifting LEN more than 31 bits at once.
28095
28096 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28097
28098         [BZ #14195]
28099         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28100         segmentation fault for a case of two empty input strings.
28101         * string/test-strncasecmp.c (check1): Renamed to...
28102         (bz12205): ...this.
28103         (bz14195): Add new testcase for two empty input strings and N > 0.
28104         (test_main): Call new testcase, adapt for renamed function.
28105
28106 2012-08-15  Andreas Jaeger  <aj@suse.de>
28107
28108         [BZ #14090]
28109         * crypt/md5test2.c: New test, based on test supplied by Serge
28110         Belyshev <belyshev@depni.sinp.msu.ru>.
28111         * crypt/Makefile (xtests): Add md5test-giant..
28112         * crypt/Makefile ($(objpfx)md5test-giant): Add.
28113
28114 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
28115
28116         [BZ #14090]
28117         * crypt/md5.c (md5_process_block): Don't assume the buffer
28118         length is less than 2**32.
28119         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28120         length is less than 2**64.
28121
28122 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28123
28124         * string/str-two-way.h: Include <sys/param.h>.
28125         (MAX): Macro removed.
28126
28127         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28128         Move #define and #undef of memmove to just before and after
28129         including <string.h>.
28130
28131         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28132         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28133         and after including <string.h>.  Move declarations of
28134         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28135         to before #include "string/memmove.c".
28136
28137         * include/dirent.h: Declare __getdirentries.
28138
28139         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28140         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28141
28142 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
28143
28144         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28145         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28146         * sysdeps/i386/configure: Regenerated.
28147         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28148         STABS_CURRENT_FILE, and STABS_FUN.
28149         (END): Remove call to STABS_FUN_END.
28150         (STABS_CURRENT_FILE1): Delete.
28151         (STABS_CURRENT_FILE): Likewise.
28152         (STABS_FUN): Likewise.
28153         (STABS_FUN_END): Likewise.
28154         (STABS_FUN2): Likewise.
28155         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28156         * sysdeps/x86_64/configure: Regenerated.
28157
28158 2012-08-14  Roland McGrath  <roland@hack.frob.com>
28159
28160         * elf/dl-open.c: Include <atomic.h>.
28161         * elf/dl-lookup.c: Likewise.
28162
28163 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
28164
28165         * sysdeps/unix/sysv/linux/kernel-features.h
28166         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28167         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28168         unconditionally.
28169         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28170         unconditionally.
28171         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28172         condition on __ASSUME_CLONE_THREAD_FLAGS.
28173
28174 2012-08-14  Andreas Jaeger  <aj@suse.de>
28175
28176         * sysdeps/i386/fpu/libm-test-ulps: Update.
28177
28178 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
28179
28180         * include/atomic.h (atomic_exchange_and_add): Split into ...
28181         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28182         New atomic macros.
28183
28184 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
28185
28186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28187
28188 2012-08-13  Jeff Law <law@redhat.com>
28189
28190         * manual/stdio.texi (snprintf): Clarify handling of the trailing
28191         null byte in the output string.
28192
28193 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
28194
28195         * sysdeps/unix/sysv/linux/kernel-features.h
28196         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28197         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28198         (__ASSUME_ARG_MAX_STACK_BASED): Define.
28199         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28200         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28201         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
28202         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28203
28204 2012-08-09  Jeff Law <law@redhat.com>
28205
28206         [BZ #13939]
28207         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28208         When avoid_arena is set, don't retry in the that arena.  Pick the
28209         next one, whatever it might be.
28210         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28211         (arena_lock): Pass in new parameter to arena_get2.
28212         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28213         arena_get2.
28214         (__libc_malloc): Unify retrying after main arena failure with
28215         __libc_memalign version.
28216         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28217
28218 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
28219
28220         [BZ #14166]
28221         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28222         to __redirect_strstr.
28223         (__strstr_sse42): Use typeof __redirect_strstr.
28224         (__strstr_ia32): Likewise.
28225         (__libc_strstr): New prototype.
28226         (strstr): Renamed to ...
28227         (__libc_strstr): This.
28228         (strstr): New strong alias of __libc_strstr.
28229         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28230         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28231         __redirect_time.
28232         Include <time.h>.
28233         (__libc_time): New prototype.
28234         (time_ifunc): Replace time with __libc_time.
28235         (time): New strong alias and hidden definition of __libc_time.
28236         (__GI_time): Remove strong alias.
28237         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28238         Include <stddef.h>.
28239         (memmove): Redefined to __redirect_memmove.
28240         (__memmove_sse2): Use typeof __redirect_memmove.
28241         (__memmove_ssse3): Likewise.
28242         (__memmove_ssse3_back): Likewise.
28243         (__libc_memmove): New prototype.
28244         (memmove): Renamed to ...
28245         (__libc_memmove): This.
28246         (memmove): New strong alias of __libc_memmove.
28247
28248 2012-08-08  Mark Salter  <msalter@redhat.com>
28249
28250         * elf/elf.h
28251         (R_MN10300_TLS_GD): Define.
28252         (R_MN10300_TLS_LD): Likewise.
28253         (R_MN10300_TLS_LDO): Likewise.
28254         (R_MN10300_TLS_GOTIE): Likewise.
28255         (R_MN10300_TLS_IE): Likewise.
28256         (R_MN10300_TLS_LE): Likewise.
28257         (R_MN10300_TLS_DTPMOD): Likewise.
28258         (R_MN10300_TLS_DTPOFF): Likewise.
28259         (R_MN10300_TLS_TPOFF): Likewise.
28260         (R_MN10300_SYM_DIFF): Likewise.
28261         (R_MN10300_ALIGN): Likewise.
28262         (R_MN10300_NUM): Update.
28263
28264 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
28265
28266         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28267         Remove.
28268
28269 2012-08-08  Roland McGrath  <roland@hack.frob.com>
28270
28271         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28272
28273         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28274         sysdeps/unix -> sysdeps/posix move.
28275         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28276
28277 2012-08-07      Allan McRae     <allan@archlinux.org>
28278
28279         [BZ #14303]
28280         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28281         (SUNOS_CPP): Likewise.
28282         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28283         not found.
28284         (open_input): Call CPP using execvp.
28285
28286 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28287
28288         * sysdeps/unix/sysv/linux/kernel-features.h
28289         (__ASSUME_PROT_GROWSUPDOWN): Remove.
28290         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28291         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28292         (__ASSUME_WAITID_SYSCALL): Likewise.
28293         * sysdeps/unix/sysv/linux/dl-execstack.c
28294         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28295         code unconditional.
28296         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28297         conditional code.
28298         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28299         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28300         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28301         code.
28302         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28303         unconditional.
28304         [__ASSUME_WAITID_SYSCALL]: Likewise.
28305         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28306
28307 2012-08-07  Roland McGrath  <roland@hack.frob.com>
28308
28309         * sysdeps/unix/closedir.c: Renamed to ...
28310         * sysdeps/posix/closedir.c: ... here.
28311         * sysdeps/unix/dirfd.c: Renamed to ...
28312         * sysdeps/posix/dirfd.c: ... here.
28313         * sysdeps/unix/dirstream.h: Renamed to ...
28314         * sysdeps/posix/dirstream.h: ... here.
28315         * sysdeps/unix/fdopendir.c: Renamed to ...
28316         * sysdeps/posix/fdopendir.c: ... here.
28317         * sysdeps/unix/opendir.c: Renamed to ...
28318         * sysdeps/posix/opendir.c: ... here.
28319         * sysdeps/unix/readdir.c: Renamed to ...
28320         * sysdeps/posix/readdir.c: ... here.
28321         * sysdeps/unix/readdir_r.c: Renamed to ...
28322         * sysdeps/posix/readdir_r.c: ... here.
28323         * sysdeps/unix/rewinddir.c: Renamed to ...
28324         * sysdeps/posix/rewinddir.c: ... here.
28325         * sysdeps/unix/seekdir.c: Renamed to ...
28326         * sysdeps/posix/seekdir.c: ... here.
28327         * sysdeps/unix/telldir.c: Renamed to ...
28328         * sysdeps/posix/telldir.c: ... here.
28329         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28330         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28331         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28332         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28333
28334         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28335         * bits/fcntl.h: ... here.
28336
28337         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28338         not 0.
28339         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28340         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28341         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28342         (struct flock): Move l_start, l_len to the beginning.
28343         Use __pid_t for l_pid.
28344         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28345         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28346         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28347         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28348         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28349         [__USE_LARGEFILE64] (struct flock64): New type.
28350         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28351
28352         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28353         * bits/dirent.h: ... here.
28354
28355         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28356         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28357
28358 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28359
28360         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28361         Change from 2.6.0 to 2.6.16.
28362         * sysdeps/unix/sysv/linux/configure: Regenerated.
28363         * sysdeps/unix/sysv/linux/kernel-features.h
28364         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28365         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28366         version.
28367         (__ASSUME_UTIMES): Likewise.
28368         (__ASSUME_CLONE_STOPPED): Remove.
28369         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28370         architectures, not kernel version.
28371         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28372         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28373         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28374         (__ASSUME_WAITID_SYSCALL): Likewise.
28375         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28376         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28377         * README: State 2.6.16 as minimum Linux kernel version.  Do not
28378         refer to older versions.
28379
28380 2012-08-06  Roland McGrath  <roland@hack.frob.com>
28381
28382         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28383         Define alphasort64 as an alias.
28384         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28385         Define versionsort64 as an alias.
28386         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28387         Define scandir64 as an alias.
28388         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28389         Define scandirat64 as an alias.
28390         * dirent/alphasort64.c (alphasort64):
28391         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28392         * dirent/versionsort64.c: Likewise.
28393         * dirent/scandir64.c: Likewise.
28394         * dirent/scandirat64.c: Likewise.
28395         * sysdeps/wordsize-64/alphasort.c: File removed.
28396         * sysdeps/wordsize-64/alphasort64.c: File removed.
28397         * sysdeps/wordsize-64/scandir.c: File removed.
28398         * sysdeps/wordsize-64/scandir64.c: File removed.
28399         * sysdeps/wordsize-64/scandirat.c: File removed.
28400         * sysdeps/wordsize-64/scandirat64.c: File removed.
28401         * sysdeps/wordsize-64/versionsort.c: File removed.
28402         * sysdeps/wordsize-64/versionsort64.c: File removed.
28403         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28404         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28405         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28406         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28407         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28408         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28409         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28410         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28411
28412         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28413         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28414         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28415         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28416         [defined __arch64__ || defined __sparcv9]
28417         (__INO_T_MATCHES_INO64_T): New macro.
28418         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28419         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28420         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28421         * sysdeps/unix/sysv/linux/bits/dirent.h
28422         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28423         (_DIRENT_MATCHES_DIRENT64): New macro.
28424
28425         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28426         Define lockf64 as an alias.
28427         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28428         Define fseeko64 as an alias.
28429         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28430         Define ftello64 as an alias.
28431         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28432         Define _IO_fgetpos64 and fgetpos64 as aliases.
28433         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28434         Define _IO_fsetpos64 and fsetpos64 as aliases.
28435         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28436         Conditionalize body on this.
28437         * libio/fseeko64.c: Likewise.
28438         * libio/ftello64.c: Likewise.
28439         * libio/iofgetpos64.c: Likewise.
28440         * libio/iofsetpos64.c: Likewise.
28441         * sysdeps/wordsize-64/lockf.c: File removed.
28442         * sysdeps/wordsize-64/lockf64.c: File removed.
28443         * sysdeps/wordsize-64/fseeko.c: File removed.
28444         * sysdeps/wordsize-64/fseeko64.c: File removed.
28445         * sysdeps/wordsize-64/ftello.c: File removed.
28446         * sysdeps/wordsize-64/ftello64.c: File removed.
28447         * sysdeps/wordsize-64/iofgetpos.c: File removed.
28448         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28449         * sysdeps/wordsize-64/iofsetpos.c: File removed.
28450         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28451         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28452         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28453         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28454         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28455         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28456         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28457         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28458         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28459         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28460         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28461
28462         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28463         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28464         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28465         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28466         [defined __arch64__ || defined __sparcv9]
28467         (__OFF_T_MATCHES_OFF64_T): New macro.
28468         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28469         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28470         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28471         (__OFF_T_MATCHES_OFF64_T): New macro.
28472
28473 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28474
28475         * stdlib/secure-getenv.c (__secure_getenv): Replace
28476         GLIBC_2_16 with GLIBC_2_17.
28477
28478 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28479
28480         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28481         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28482
28483 2012-08-03  David S. Miller  <davem@davemloft.net>
28484
28485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28486
28487 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28488
28489         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28490         Remove.
28491         (__ASSUME_CORRECT_SI_PID): Likewise.
28492         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28493         (__ASSUME_TMPFS_NAME): Likewise.
28494         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28495         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28496         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28497         (HAVE_AUX_SECURE): Make definition unconditional.
28498         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28499         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28500
28501 2012-08-03  Roland McGrath  <roland@hack.frob.com>
28502
28503         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28504         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28505         * sysdeps/mach/hurd/eloop-threshold.h: New file.
28506         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28507         __eloop_threshold instead of SYMLOOP_MAX.
28508
28509         * sysdeps/generic/eloop-threshold.h: New file.
28510         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28511         of MAXSYMLINKS.
28512         * elf/chroot_canon.c (chroot_canon): Likewise.
28513
28514 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28515
28516         [BZ #13717]
28517         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28518         Change to 2.6.0 everywhere.
28519         * sysdeps/unix/sysv/linux/configure: Regenerated.
28520         * sysdeps/unix/sysv/linux/kernel-features.h
28521         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28522         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28523         kernel versions.
28524         (__ASSUME_POSIX_TIMERS): Define unconditionally.
28525         (__ASSUME_FUTEX_REQUEUE): Remove.
28526         (__ASSUME_STATFS64): Define unconditionally.
28527         (__ASSUME_AT_SECURE): Likewise.
28528         (__ASSUME_CORRECT_SI_PID): Likewise.
28529         (__ASSUME_TGKILL): Define without depending on kernel version for
28530         i386.
28531         (__ASSUME_UTIMES): Likewise.
28532         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28533         kernel version.
28534         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28535         (__ASSUME_TMPFS_NAME): Likewise.
28536         * README: Update reference to Linux kernel versions.
28537
28538 2012-08-02  Marek Polacek  <polacek@redhat.com>
28539
28540         [BZ# 14150]
28541         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
28542         libc_cv_asm_type_prefix with %.
28543         * configure: Regenerated.
28544         * include/libc-symbols.h: Remove comment about
28545         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28546         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28547         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28548         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28549         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28550         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28551         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28552         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28553         * elf/tst-unique2mod1.c: Likewise.
28554         * elf/tst-unique1mod2.c: Likewise.
28555         * elf/tst-unique1mod1.c: Likewise.
28556         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28557         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28558         Replace ASM_TYPE_DIRECTIVE with .type.
28559         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28560         * sysdeps/i386/sysdep.h: Likewise.
28561         * sysdeps/x86_64/sysdep.h: Likewise.
28562         * sysdeps/sh/sysdep.h: Likewise.
28563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28564         Do not define ASM_TYPE_DIRECTIVE.
28565         * sysdeps/powerpc/sysdep.h: Likewise.
28566         * sysdeps/powerpc/powerpc32/sysdep.h:
28567         Replace ASM_TYPE_DIRECTIVE with .type.
28568         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28569         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28570         * sysdeps/i386/fpu/e_powf.S: Likewise.
28571         * sysdeps/i386/fpu/e_expl.S: Likewise.
28572         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28573         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28574         * sysdeps/i386/fpu/e_pow.S: Likewise.
28575         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28576         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28577         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28578         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28579         * sysdeps/i386/fpu/e_log2.S: Likewise.
28580         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28581         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28582         * sysdeps/i386/fpu/e_powl.S: Likewise.
28583         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28584         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28585         * sysdeps/i386/fpu/e_logl.S: Likewise.
28586         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28587         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28588         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28589         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28590         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28591         * sysdeps/i386/fpu/e_log.S: Likewise.
28592         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28593         * sysdeps/i386/fpu/e_logf.S: Likewise.
28594         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28595         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28596         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28597         * sysdeps/i386/fpu/e_log10.S: Likewise.
28598         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28599         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28600         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28601         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28602         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28603         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28604         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28605         * sysdeps/i386/i686/strtok.S: Likewise.
28606         * sysdeps/i386/i386-mcount.S: Likewise.
28607         * sysdeps/i386/strtok.S: Likewise.
28608         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28609         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28610         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28611         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28612         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28613         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28614         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28615         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28616         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28617         * sysdeps/x86_64/_mcount.S: Likewise.
28618         * sysdeps/x86_64/strtok.S: Likewise.
28619         * sysdeps/sh/_mcount.S: Likewise.
28620
28621 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28622
28623         * libio/iofopen.c: Include <fcntl.h>.
28624         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28625         (_IO_fopen64, fopen64): Define as aliases.
28626         * libio/iofopen64.c: Include <fcntl.h>.
28627         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28628         Conditionalize body on this.
28629         * sysdeps/wordsize-64/iofopen.c: File removed.
28630         * sysdeps/wordsize-64/iofopen64.c: File removed.
28631
28632 2012-08-01  Marek Polacek  <polacek@redhat.com>
28633
28634         * libc/Makeconfig: Use elf in place of binfmt-subdir.
28635         Use dlfcn directly instead of a variable.
28636         (binfmt-subdir): Do not define.
28637         (dlfcn): Likewise.
28638
28639 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
28640
28641         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28642         Remove all definitions.
28643         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28644         <kernel-features.h>.
28645         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28646         (miss_F_GETOWN_EX): Remove all definitions.
28647         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28648         macro definition.
28649         [!__ASSUME_FCNTL64]: Remove conditional code.
28650         [__ASSUME_FCNTL64]: Make code unconditional.
28651         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28652         <kernel-features.h>.
28653         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28654         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28655         (lockf64) [__NR_fcntl64]: Make code unconditional.
28656         (lockf64) [__ASSUME_FCNTL64]: Likewise.
28657
28658         * sysdeps/unix/sysv/linux/kernel-features.h
28659         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28660         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28661         Make code unconditional.
28662         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28663         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28665         [__NR_vfork]: Make code unconditional.
28666         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28667         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28669         [__NR_vfork]: Make code unconditional.
28670         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28671         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28672
28673 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28674
28675         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28676         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28677
28678         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28679         Define mkstemp64 as an alias.
28680         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28681         Define mkstemps64 as an alias.
28682         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28683         Define mkostemp64 as an alias.
28684         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28685         Define mkostemps64 as an alias.
28686         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28687         Conditionalize body on this.
28688         * misc/mkostemp64.c: Likewise.
28689         * misc/mkostemps64.c: Likewise.
28690         * misc/mkstemps64.c: Likewise.
28691         * sysdeps/wordsize-64/mkstemp64.c: File removed.
28692         * sysdeps/wordsize-64/mkostemp64.c: File removed.
28693         * sysdeps/wordsize-64/mkostemp.c: File removed.
28694         * sysdeps/wordsize-64/mkstemp.c: File removed.
28695         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28696         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28697         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28698         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28699
28700         [BZ #14138]
28701         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28702         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28703         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28704         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28705
28706         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28707         compat_symbol macros from <shlib-compat.h> rather than the underlying
28708         default_symbol_version and symbol_version macros, so that DEFAULT
28709         lines in shlib-versions are respected.
28710         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28711
28712 2012-08-01  Florian Weimer  <fweimer@redhat.com>
28713
28714         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28715         Declare with warn_unused_result.
28716         (setgid, setregid, setegid, setresgid): Likewise.
28717         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28718         Likewise.
28719         * WUR-REPORT: Remove set*id functions.
28720
28721 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
28722
28723         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28724
28725 2012-07-31  Roland McGrath  <roland@hack.frob.com>
28726
28727         [BZ #10191]
28728         * include/sys/socket.h (__libc_accept, __libc_accept4):
28729         Add attribute_hidden.
28730         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28731
28732         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28733         use of PTR_MANGLE.
28734         * inet/getnetgrent_r.c (setup): Likewise.
28735
28736         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28737
28738 2012-07-31  David S. Miller  <davem@davemloft.net>
28739
28740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28741
28742 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
28743
28744         [BZ #13629]
28745         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28746         value between 1.0 and 2.0 and smaller part has absolute value less
28747         than 1.0.
28748         * math/s_clog10.c (__clog10): Likewise.
28749         * math/s_clog10f.c (__clog10f): Likewise.
28750         * math/s_clog10l.c (__clog10l): Likewise.
28751         * math/s_clogf.c (__clogf): Likewise.
28752         * math/s_clogl.c (__clogl): Likewise.
28753         * math/libm-test.inc (clog_test): Add more tests.
28754         (clog10_test): Likewise.
28755         * sysdeps/i386/fpu/libm-test-ulps: Update.
28756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28757
28758 2012-07-31  Florian Weimer  <fweimer@redhat.com>
28759
28760         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28761         Exit with zero in case no suitable GID is found, and write a
28762         message to standard error.
28763
28764 2012-07-30  Roland McGrath  <roland@hack.frob.com>
28765
28766         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28767         rather than to 1.
28768         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28769         (MAXPATHLEN): Removed.
28770         (NOGROUP, NODEV): New macros.
28771         (setbit, clrbit, isset, isclr): New macros.
28772         (howmany, roundup, powerof2): New macros.
28773         (DEV_BSIZE): New macro.
28774
28775         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28776         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28777
28778         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28779         definition on [!__NO_LONG_DOUBLE_MATH].
28780
28781         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28782         PTR_MANGLE and PTR_DEMANGLE.
28783
28784         * socket/accept4.c (accept4): Rename to __libc_accept4.
28785         Define accept4 as a weak alias.
28786
28787         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28788         on [_DIRENT_HAVE_D_TYPE].
28789         * io/ftw.c (ftw_dir): Likewise.
28790
28791         * io/xmknod.c (__xmknod): Don't check PATH for being null.
28792
28793         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28794
28795         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28796         Use the BSD numbers rather than the arbitrary ones we had.
28797         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28798         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28799         (SIGXCPU, SIGXFSZ): New macros.
28800         (_NSIG): Now 32.
28801
28802         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28803         initializer on [_LIBC_REENTRANT].
28804
28805         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28806         definitions inside [_POSIX_MAPPED_FILES].
28807
28808         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28809
28810         * dirent/opendir.c: Include <fcntl.h>.
28811
28812         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28813         (__libc_getspecific): Likewise.
28814         (__libc_key_create): Likewise.
28815
28816         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28817         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28818         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28819         (tmpfile64): Define as alias.
28820         * sysdeps/wordsize-64/tmpfile.c: File removed.
28821         * sysdeps/wordsize-64/tmpfile64.c: File removed.
28822         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28823         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28824
28825         * stdio-common/vfscanf.c: Include <stdbool.h>.
28826         * nss/makedb.c: Likewise.
28827         * stdio-common/_i18n_number.h: Likewise.
28828         * argp/argp-help.c: Likewise.
28829         * posix/wordexp.c: Likewise.
28830         * sysdeps/posix/spawni.c: Likewise.
28831         * nss/nss_files/files-initgroups.c: Likewise.
28832         * stdio-common/reg-modifier.c: Include <stdlib.h>.
28833         * nss/nss_files/files-initgroups.c: Likewise.
28834         * nss/nss_db/db-netgrp.c: Likewise.
28835         * nss/nss_db/db-initgroups.c: Likewise.
28836         * io/fchmodat.c: Include <sys/stat.h>.
28837
28838         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28839         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28840
28841         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28842         [HAVE_MMAP].
28843
28844         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28845         Add multiple inclusion protection.
28846
28847 2012-07-27  David S. Miller  <davem@davemloft.net>
28848
28849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28850
28851 2012-07-27  Gary Benson  <gbenson@redhat.com>
28852
28853         [BZ #14298]
28854         * elf/rtld.c: Include <stap-probe.h>.
28855         (dl_main): Added static probes "init_start" and "init_complete".
28856         * elf/dl-load.c: Include <stap-probe.h>.
28857         (lose): Take new parameter "nsid".
28858         Added static probe "map_failed".
28859         (_dl_map_object_from_fd): Pass namespace id to lose.
28860         Added static probe "map_start".
28861         (open_verify): Pass namespace id to lose.
28862         * elf/dl-open.c: Include <stap-probe.h>.
28863         (dl_open_worker) Added static probes "map_complete", "reloc_start"
28864         and "reloc_complete".
28865         * elf/dl-close.c: Include <stap-probe.h>.
28866         (_dl_close_worker): Added static probes "unmap_start" and
28867         "unmap_complete".
28868         * elf/rtld-debugger-interface.txt: New file documenting the above.
28869
28870 2012-07-26  Roland McGrath  <roland@hack.frob.com>
28871
28872         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28873         rather than a string variable.
28874         * sunrpc/rpc_main.c (h_output): Likewise.
28875         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28876
28877 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
28878
28879         * inet/check_native.c: New file.
28880
28881 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
28882
28883         [BZ #13629]
28884         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28885         if larger part has absolute value 1.0.
28886         * math/s_clog10.c (__clog10): Likewise.
28887         * math/s_clog10f.c (__clog10f): Likewise.
28888         * math/s_clog10l.c (__clog10l): Likewise.
28889         * math/s_clogf.c (__clogf): Likewise.
28890         * math/s_clogl.c (__clogl): Likewise.
28891         * math/libm-test.inc (clog_test): Add more tests.
28892         (clog10_test): Likewise.
28893         * sysdeps/i386/fpu/libm-test-ulps: Update.
28894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28895
28896         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28897         (pltexit): Likewise.
28898         (La_regs): Likewise.
28899         (La_retval): Likewise.
28900         (int_retval): Likewise.
28901         Update #error for removed macros to refer only to definitions in
28902         tst-audit.h.
28903         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28904         macro.
28905         (pltexit): Likewise.
28906         (La_regs): Likewise.
28907         (La_retval): Likewise.
28908         (int_retval): Likewise.
28909         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28910         macro.
28911         (pltexit): Likewise.
28912         (La_regs): Likewise.
28913         (La_retval): Likewise.
28914         (int_retval): Likewise.
28915         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28916         macro.
28917         (pltexit): Likewise.
28918         (La_regs): Likewise.
28919         (La_retval): Likewise.
28920         (int_retval): Likewise.
28921         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28922         macro.
28923         (pltexit): Likewise.
28924         (La_regs): Likewise.
28925         (La_retval): Likewise.
28926         (int_retval): Likewise.
28927         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28928         macro.
28929         (pltexit): Likewise.
28930         (La_regs): Likewise.
28931         (La_retval): Likewise.
28932         (int_retval): Likewise.
28933         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28934         macro.
28935         (pltexit): Likewise.
28936         (La_regs): Likewise.
28937         (La_retval): Likewise.
28938         (int_retval): Likewise.
28939         * sysdeps/generic/tst-audit.h: Update comment to refer only to
28940         macro definitions in tst-audit.h.
28941         * sysdeps/i386/tst-audit.h: New file.
28942         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28943         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28944         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28945         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28946         * sysdeps/sh/tst-audit.h: Likewise.
28947         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28948         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28949         * sysdeps/x86_64/tst-audit.h: Likewise.
28950
28951 2012-07-26  Andreas Jaeger  <aj@suse.de>
28952
28953         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28954         ptrace.
28955
28956         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28957         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28958         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28959         PTRACE_O_MASK.
28960         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28961         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28962         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28963
28964         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28965         value.
28966
28967         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28968         _sigsys.
28969         (si_call_addr, si_syscall, si_arch): Define new macro.
28970         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28971         _sigsys.
28972         (si_call_addr, si_syscall, si_arch): Define new marcro.
28973         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28974         _sigsys.
28975         (si_call_addr, si_syscall, si_arch): Define new macro.
28976         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28977         _sigsys.
28978         (si_call_addr, si_syscall, si_arch): Define new macro.
28979
28980 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28981
28982         [BZ #13717]
28983         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28984         Change to 2.4.21 where previously 2.4.1.
28985         * sysdeps/unix/sysv/linux/configure: Regenerated.
28986         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28987         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28988         Linux kernel version.
28989         (__ASSUME_STD_AUXV): Remove.
28990         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28991         kernel version.
28992         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28993         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28994         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28995         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28996         (__ASSUME_NETLINK_SUPPORT): Likewise.
28997         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28998         (__no_netlink_support): Remove conditional definition.
28999         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29000         Remove.
29001         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29002         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29003         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29004         (if_nameindex_ioctl): Remove.
29005         (if_nameindex_netlink): Do not handle __no_netlink_support.
29006         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29007         code.
29008         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29009         Remove conditional code.
29010         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29011         code.
29012         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29013         unconditional.
29014         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29015         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29016         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29017         Remove.
29018         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29019         [!__ASSUME_STD_AUXV]: Remove conditional code.
29020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29021         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29022         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29024         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29025         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29026         code.
29027         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29029         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29030         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29031         conditional code.
29032         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29034         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29035         code.
29036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29037         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29038         conditional code.
29039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29040         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29041         code unconditional.
29042         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29043         conditional code.
29044         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29045         unconditional.
29046         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29047         conditional code.
29048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29049         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29050         unconditional.
29051         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29052         conditional code.
29053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29054         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29055         code unconditional.
29056         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29057         conditional code.
29058         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29059         unconditional.
29060         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29061         conditional code.
29062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29063         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29064         code unconditional.
29065         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29066         conditional code.
29067         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29068         unconditional.
29069         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29070         conditional code.
29071
29072 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
29073
29074         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29075         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29076         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29077         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29078         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29079         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29080         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29081         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29082         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29083         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29084         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29085         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29086         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29087         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29088         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29089         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29090         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29091         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29092         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29093         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29094         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29095         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29096         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29097
29098 2012-07-25  Florian Weimer  <fweimer@redhat.com>
29099
29100         * Versions.def: Add GLIBC_2.17.
29101         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29102         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29103         Introduce __libc_secure_getenv.
29104         * stdlib/Versions (2.17): Add secure_getenv
29105         (GLIBC_PRIVATE): Add __libc_secure_getenv.
29106         * stdlib/secure-getenv.c: Rename __secure_getenv to
29107         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
29108         symbol __secure_getenv for GLIBC_2.0.
29109         * stdlib/tst-secure-getenv.c: New.
29110         * stdlib/Makefile (tests): Add testcase.
29111         * manual/startup.texi (Environment Access): Document
29112         secure_getenv.
29113         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29114         __libc_secure_getenv.
29115         * inet/ruserpass.c (ruserpass): Likewise.
29116         * malloc/mtrace.c (mtrace): Likewise.
29117         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29118         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29119         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29120         * sysdeps/posix/tempname.c: Likewise.  Evaluate
29121         HAVE_SECURE_GETENV.
29122         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29123         __secure_getenv to __libc_secure_getenv.
29124         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29126         Likewise.
29127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29128         Likewise.
29129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29131         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29136
29137 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29138
29139         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29140         (struct La_i86_retval): Likewise.
29141         (struct La_x86_64_regs): Likewise.
29142         (struct La_x86_64_retval): Likewise.
29143         (struct La_x32_regs): Likewise.
29144         (struct La_x32_retval): Likewise.
29145         (struct La_ppc32_regs): Likewise.
29146         (struct La_ppc32_retval): Likewise.
29147         (struct La_ppc64_regs): Likewise.
29148         (struct La_ppc64_retval): Likewise.
29149         (struct La_sh_regs): Likewise.
29150         (struct La_sh_retval): Likewise.
29151         (struct La_s390_32_regs): Likewise.
29152         (struct La_s390_32_retval): Likewise.
29153         (struct La_s390_64_regs): Likewise.
29154         (struct La_s390_64_retval): Likewise.
29155         (struct La_sparc32_regs): Likewise.
29156         (struct La_sparc32_retval): Likewise.
29157         (struct La_sparc64_regs): Likewise.
29158         (struct La_sparc64_retval): Likewise.
29159         (struct audit_ifaces): Remove architecture-specific pltenter and
29160         pltexit members.
29161         * sysdeps/i386/ldsodefs.h: New file.
29162         * sysdeps/powerpc/ldsodefs.h: Likewise.
29163         * sysdeps/s390/ldsodefs.h: Likewise.
29164         * sysdeps/sh/ldsodefs.h: Likewise.
29165         * sysdeps/sparc/ldsodefs.h: Likewise.
29166         * sysdeps/x86_64/ldsodefs.h: Likewise.
29167
29168 2012-07-25  Marek Polacek  <polacek@redhat.com>
29169
29170         [BZ #6808]
29171         * math/libm-test.inc (yn_test): Add another test.
29172         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29173         to ERANGE when the result is +-Inf.
29174         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29175         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29176         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29177         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29178
29179 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
29180
29181         * conform/data/time.h-data (NULL): Use macro-constant.  Require
29182         equal to 0.
29183         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
29184         clock_t.
29185         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
29186
29187 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
29188
29189         * configure.in <sysdeps resolving>: Correct printing
29190         Implies_before.
29191         * configure: Regenerate.
29192
29193 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
29194
29195         * math/w_ilogb.c: Include <limits.h>.
29196         * math/w_ilogbl.c: Likewise.
29197
29198 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29199
29200         * manual/lang.texi (__va_copy): Document primarily as ISO C99
29201         va_copy.  Document allowing for unavailable va_copy only as
29202         pre-C99 compatibility.
29203         * manual/string.texi (Copying and Concatenation): Use va_copy
29204         instead of __va_copy in concat example.
29205
29206 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
29207
29208         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29209         (__sendto): Use create_address_port.  Initialize APORT and deallocate
29210         it if not null.
29211
29212         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29213         with O_NOLINK passed to __file_name_lookup.
29214
29215         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29216         with O_NOLINK passed to __file_name_lookup.
29217
29218         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29219         negative N or less than NGIDS.
29220
29221         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29222         type to string_t.  Set ERANGE as errno and return it if NAME is not big
29223         enough.  Use memcpy instead of strncpy.
29224
29225 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29226
29227         * elf/Makefile (check-data): Remove.
29228         (localplt.data): New vpath directive.
29229         ($(objpfx)check-localplt.out): Use localplt.data from vpath
29230         instead of $(check-data).
29231         * scripts/data/localplt-generic.data: Move to ...
29232         * sysdeps/generic/localplt.data: ... here.
29233         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29234         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29235         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29237         ... here.
29238         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29240         ... here.
29241         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29243         ... here.
29244         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29246         ... here.
29247         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29249         ... here.
29250         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29252         ... here.
29253
29254 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29255
29256         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29257         PPC32 and PPC64 files.
29258         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29259         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29260
29261 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29262
29263         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29264         __makecontext_ret to ...
29265         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29266         ... here and call exit if uc_link is NULL.  New file.
29267         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29268         __makecontext_ret.S.
29269         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29270         __makecontext_ret to ...
29271         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29272         ... here and call exit if uc_link is NULL.  New file.
29273         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29274         __makecontext_ret.S.
29275
29276 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29277
29278         * elf/elf.h (R_390_IRELATIVE): New definition.
29279         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29280         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
29281         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29282         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29283         (elf_machine_lazy_rel): Likewise.
29284         * sysdeps/s390/dl-irel.h: New file.
29285         * sysdeps/s390/s390-64/memcpy.S: New asm code.
29286         * sysdeps/s390/s390-64/memset.S: New asm code.
29287         * sysdeps/s390/s390-64/memcmp.S: New asm code.
29288         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29289         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29290         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29291         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29292         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29293         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29294         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29295         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29296         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29297         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29298         * sysdeps/s390/s390-32/memcpy.S: New asm code.
29299         * sysdeps/s390/s390-32/memset.S: New asm code.
29300         * sysdeps/s390/s390-32/memcmp.S: New asm code.
29301
29302 2012-07-17  Marek Polacek  <polacek@redhat.com>
29303
29304         [BZ #14349]
29305         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29306         * sysdeps/s390/s390-64/configure.in: Likewise.
29307         * sysdeps/sparc/configure.in: Likewise.
29308         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29309         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29310         * sysdeps/i386/configure.in: Likewise.
29311         * sysdeps/x86_64/configure.in: Likewise.
29312         * sysdeps/sh/configure.in: Likewise.
29313         * sysdeps/s390/s390-32/configure: Regenerated.
29314         * sysdeps/s390/s390-64/configure: Likewise.
29315         * sysdeps/x86_64/configure: Likewise.
29316         * sysdeps/sh/configure: Likewise.
29317         * sysdeps/powerpc/powerpc64/configure: Likewise.
29318         * sysdeps/powerpc/powerpc32/configure: Likewise.
29319         * sysdeps/sparc/configure: Likwise.
29320         * sysdeps/i386/configure: Likewise.
29321
29322         * elf/dl-open.c: Comment fixes.
29323
29324 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
29325
29326         * Makefile [CXX] (check-data): Remove.
29327         [CXX] (c++-types.data): New vpath directive.
29328         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29329         vpath.  Do not allow for C++ type data being missing.
29330         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29331         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29332         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29333         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29334         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29335         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29336         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29338         ... here.
29339         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29341         ... here.
29342         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29344         ... here.
29345         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29347         ... here.
29348         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29350         ... here.
29351         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29353         ... here.
29354         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29355         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29356         ... here.
29357         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29358         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29359
29360         * elf/tls-macros.h (TLS_LE): Move architecture-specific
29361         definitions to architecture-specific files.
29362         (TLS_IE): Likewise.
29363         (TLS_LD): Likewise.
29364         (TLS_GD): Likewise.
29365         * sysdeps/i386/tls-macros.h: New file.
29366         * sysdeps/powerpc/tls-macros.h: Likewise.
29367         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29368         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29369         * sysdeps/sh/tls-macros.h: Likewise.
29370         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29371         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29372         * sysdeps/x86_64/tls-macros.h: Likewise.
29373
29374 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29375
29376         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29377         zero value for regular exit case.
29378
29379         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29380         (__start_context): Preserve zero value for regular exit case.
29381
29382 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29383             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29384
29385         * manual/setjmp.texi (setcontext): Clarify normal process
29386         termination when uc_link is the null pointer.
29387         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29388         exit call.
29389
29390 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
29391
29392         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29393         preprocessor.  Test for each exception mask separately.
29394
29395 2012-07-16  Andreas Jaeger  <aj@suse.de>
29396
29397         * po/ru.po: Update from translation team.
29398
29399 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
29400
29401         * conform/data/string.h-data (NULL): Use macro-constant.  Require
29402         equal to 0.
29403         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29404         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29405         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29406         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29407         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29408
29409 2012-07-13  Andreas Jaeger  <aj@suse.de>
29410
29411         * po/fr.po: Update from translation team.
29412
29413 2012-07-12  Marek Polacek  <polacek@redhat.com>
29414
29415         [BZ #14173]
29416         * math/libm-test.inc (yn_test): Add test for BZ #14173.
29417         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29418         loop condition.
29419
29420 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
29421
29422         [BZ #13717]
29423         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29424         Change to 2.4.1 where previously 2.4.0.
29425         * sysdeps/unix/sysv/linux/configure: Regenerated.
29426         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29427         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29428         version.
29429         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29430         (__ASSUME_AT_CLKTCK): Remove.
29431         (__ASSUME_AT_PAGESIZE): Likewise.
29432         (__ASSUME_AT_XID): Likewise.
29433         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29434         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29435         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29436         unconditionally.
29437         (HAVE_AUX_PAGESIZE): Likewise.
29438         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29439         [__ASSUME_AT_CLKTCK]: Make code unconditional.
29440         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29441
29442 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
29443
29444         [BZ #14307]
29445         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29446         the temporary buffer used to invoke __gethostbyname2_r,
29447         __gethostbyaddr_r and gethostbyname4_r to make room for struct
29448         host_data / struct gaih_addrtuple.
29449         * resolv/nss_dns/dns-host.c (global scope): Move definition of
29450         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29451         header file nss/nsswitch.h.
29452         * nss/nsswitch.h (global scope): Add definition of implementation
29453         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29454         resolv/nss_dns/dns-host.c).
29455
29456 2012-07-11  Andreas Jaeger  <aj@suse.de>
29457
29458         * po/fr.po: Update from translation team.
29459
29460         * po/sv.po: Update from translation team
29461         * po/fr.po: Another update from translation team.
29462
29463 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29464
29465         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29466         for subnormals or multiply small sinh result by itself.
29467         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29469
29470 2012-07-11  David S. Miller  <davem@davemloft.net>
29471
29472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29473
29474 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
29475
29476         [BZ #14347]
29477         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29478         (INTERNAL_MARK): Shift it here.
29479
29480 2012-07-10  Marek Polacek  <polacek@redhat.com>
29481
29482         [BZ #14151]
29483         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
29484         libc_cv_asm_global_directive with .globl.
29485         * configure: Regenerated.
29486         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29487         with .globl.
29488         * sysdeps/i386/configure: Regenerated.
29489         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29490         with .globl.
29491         * sysdeps/x86_64/configure: Regenerated.
29492         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29493         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29494         * elf/tst-unique2mod2.c: Likewise.
29495         * elf/tst-unique2mod1.c: Likewise.
29496         * elf/tst-unique1mod2.c: Likewise.
29497         * elf/tst-unique1mod1.c: Likewise.
29498         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29499         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29500         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29501         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29502         * sysdeps/mach/sysdep.h: Likewise.
29503         * sysdeps/i386/sysdep.h: Likewise.
29504         * sysdeps/i386/i386-mcount.S: Likewise.
29505         * sysdeps/x86_64/_mcount.S: Likewise.
29506         * sysdeps/x86_64/sysdep.h: Likewise.
29507         * sysdeps/sh/_mcount.S: Likewise.
29508         * sysdeps/sh/sysdep.h: Likewise.
29509         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29510         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29511         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29512         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29513         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29514         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29515         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29516         * locale/localeinfo.h: Likewise.
29517         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29518         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29519
29520 2012-07-09  Roland McGrath  <roland@hack.frob.com>
29521
29522         [BZ #14336]
29523         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29524         system".
29525         * manual/message.texi (The Uniforum approach): Likewise.
29526         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29527         (glibc iconv Implementation): Likewise.
29528
29529 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
29530
29531         [BZ #14337]
29532         * math/s_clog.c (__clog): Avoid scaling a value down where that
29533         could result in underflow.
29534         * math/s_clog10.c (__clog10): Likewise.
29535         * math/s_clog10f.c (__clog10f): Likewise.
29536         * math/s_clog10l.c (__clog10l): Likewise.
29537         * math/s_clogf.c (__clogf): Likewise.
29538         * math/s_clogl.c (__clogl): Likewise.
29539         * math/libm-test.inc (clog_test): Add more tests.
29540         (clog10_test): Likewise.
29541         * sysdeps/i386/fpu/libm-test-ulps: Update.
29542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29543
29544 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
29545
29546         [BZ #14283]
29547         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29548         by 7 not 8 to examine high bit of fractional part.
29549
29550         [BZ #14042]
29551         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29552         for call to __mcount_internal.
29553         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29554         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29555         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29556
29557 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
29558
29559         [BZ #14154]
29560         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29561         approximation for values within 0x1p-13f of an odd multiple of
29562         pi/4.
29563         * math/libm-test.inc (tan_test): Do not allow spurious underflow
29564         exception.  Add more tests.
29565         * sysdeps/i386/fpu/libm-test-ulps: Update.
29566
29567         [BZ #6778]
29568         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29569         inputs and return -1 for them.  Do not check for +Inf in case not
29570         reachable for +Inf.
29571         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29572         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29573         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29574         and return -1 for them.  Do not check for +Inf in case not
29575         reachable for +Inf.
29576         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29577         define.
29578         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29579         and return -1 for them.  Do not check for +Inf in case not
29580         reachable for +Inf.
29581         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
29582         spurious underflow.
29583         * sysdeps/i386/fpu/libm-test-ulps: Update.
29584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29585
29586 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
29587
29588         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29589
29590 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
29591
29592         [BZ #14157]
29593         [BZ #14331]
29594         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29595         could result in spurious underflow.  Scale down values above
29596         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29597         * math/s_csqrtf.c (__csqrtf): Likewise.
29598         * math/s_csqrtl.c (__csqrtl): Likewise.
29599         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
29600         spurious underflow.
29601         * sysdeps/i386/fpu/libm-test-ulps: Update.
29602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29603
29604 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
29605
29606         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29607         xopen-msg.sed.
29608         * catgets/xopen-msg.awk: New file.
29609         * catgets/xopen-msg.sed: Removed.
29610
29611         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29612         po2text.sed.
29613         * intl/po2test.awk: New file.
29614         * intl/po2test.sed: Removed.
29615
29616 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
29617
29618         [BZ #14328]
29619         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29620         or multiply small sinh result by itself.
29621         * math/s_ctanf.c (__ctanf): Likewise.
29622         * math/s_ctanh.c (__ctanh): Likewise.
29623         * math/s_ctanhf.c (__ctanhf): Likewise.
29624         * math/s_ctanhl.c (__ctanhl): Likewise.
29625         * math/s_ctanl.c (__ctanl): Likewise.
29626         * math/libm-test.inc (ctan_test_tonearest): New function.
29627         (ctan_test_towardzero): Likewise.
29628         (ctan_test_downward): Likewise.
29629         (ctan_test_upward): Likewise.
29630         (ctanh_test_tonearest): Likewise.
29631         (ctanh_test_towardzero): Likewise.
29632         (ctanh_test_downward): Likewise.
29633         (ctanh_test_upward): Likewise.
29634         (main): Call these new functions.
29635         * sysdeps/i386/fpu/libm-test-ulps: Update.
29636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29637
29638 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
29639
29640         * .gitignore: Delete /ports entry.
29641
29642 2012-07-03  Andreas Jaeger  <aj@suse.de>
29643
29644         * po/bg.po: Update from translation team.
29645         * po/cs.po: Likewise.
29646         * po/de.po: Likewise.
29647         * po/hr.po: Likewise.
29648         * po/nl.pl: Likewise.
29649         * po/pl.po: Likewise.
29650         * po/vi.po: Likewise.
29651
29652 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
29653
29654         * Makeconfig [!+link] (+link-before-libc): New variable.
29655         [!+link] (+link-after-libc): Likewise.
29656         [!+link] (+link-tests): Likewise.
29657         [!+link] (+link): Define in terms of $(+link-before-libc) and
29658         $(+link-after-libc).
29659         [!+link-static] (+link-static-before-libc): New variable.
29660         [!+link-static] (+link-static-after-libc): Likewise.
29661         [!+link-static] (+link-static-tests): Likewise.
29662         [!+link-static] (+link-static): Define in terms of
29663         $(+link-static-before-libc) and $(+link-static-after-libc).
29664         [build-shared] (link-libc-before-gnulib): New variable.
29665         [build-shared] (link-libc-tests): Likewise.
29666         [build-shared] (link-libc): Define in terms of
29667         $(link-libc-before-gnulib).
29668         [!build-shared] (link-libc-tests): New variable.
29669         (link-libc-static-tests): New variable.
29670         [!gnulib] (gnulib-arch): New variable.
29671         [!gnulib] (gnulib-tests): Likewise.
29672         [!gnulib] (static-gnulib-arch): Likewise.
29673         [!gnulib] (static-gnulib-tests): Likewise.
29674         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
29675         Define with "=" instead of ":=".
29676         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
29677         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
29678         * Rules (binaries-all-notests): New variable.
29679         (binaries-all-tests): Likewise.
29680         (binaries-static-notests): Likewise.
29681         (binaries-static-tests): Likewise.
29682         (binaries-all): Define using $(binaries-all-notests) and
29683         $(binaries-all-tests).
29684         (binaries-static): Define using $(binaries-static-notests) and
29685         $(binaries-static-tests).
29686         (binaries-shared-tests): New variable.
29687         (binaries-shared-notests): Likewise.
29688         (binaries-shared): Remove variable.
29689         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29690         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29691         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29692         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29693         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29694         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29695         * elf/Makefile (sln-modules): New variable.
29696         (extra-objs): Add $(sln-modules:=.o).
29697         (ldconfig-modules): Add static-stubs.
29698         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29699         * elf/static-stubs.c: New file.
29700
29701         [BZ #14283]
29702         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29703         by 7 not 8 to examine high bit of fractional part.  Use volatile
29704         variables when splitting into final array of floats if
29705         __FLT_EVAL_METHOD__ != 0.
29706         * math/libm-test.inc (cos_test): Add another test.
29707         (sin_test): Likewise.
29708         * sysdeps/i386/fpu/libm-test-ulps: Update.
29709
29710         [BZ #14273]
29711         * math/libm-test.inc (cosh_test): Add more tests.
29712
29713         * version.h (RELEASE): Set to "development".
29714         (VERSION): Set to "2.16.90".
29715
29716 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
29717
29718         * NEWS: Update copyright. Remove last-updated date.
29719         Mention math library bug fixes and timezone data changes.
29720         * README: Mention GNU/Hurd, x32, and HPPA support status.
29721
29722 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
29723
29724         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29725
29726 2012-06-27  Andreas Jaeger  <aj@suse.de>
29727
29728         * manual/contrib.texi (Contributors): Add Samuel Thibault.
29729
29730 2012-06-25  Andreas Jaeger  <aj@suse.de>
29731
29732         * sysdeps/s390/fpu/libm-test-ulps: Update.
29733
29734 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
29735             Thomas Schwinge  <thomas@codesourcery.com>
29736
29737         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29738         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29739         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29740         fanotify_mark.
29741
29742 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
29743
29744         * sysdeps/mach/start.c: Remove file.
29745         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29746         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29747         * sysdeps/sh/init-first.c: Likewise.
29748
29749         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29750         registers for frame unwinding purposes, add CFI directives.
29751         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29752         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29753         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29754         Likewise.
29755
29756         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29757         __fortify_fail returning.
29758         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29759
29760         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29761         sysdeps/sh/____longjmp_chk.S.
29762         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29763         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29764         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29765         (gen-as-const-headers): Append sigaltstack-offsets.sym.
29766
29767         * sysdeps/sh/abort-instr.h: New file.
29768         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29769         process in case exit returns.
29770
29771         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29772         initialize the GOT register before use.
29773
29774         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29775         calculation of ARGC > 4.
29776
29777         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29778         meaningful names to some local labels.
29779
29780 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29781             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29782
29783         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29784         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29785         (__arch_compare_and_exchange_val_16_acq): Likewise.
29786         (__arch_compare_and_exchange_val_32_acq): Likewise.
29787         (atomic_exchange_and_add): Fix gUSA sequence.
29788         (atomic_add): Likewise.
29789         (atomic_add_negative): Likewise.
29790         (atomic_add_zero): Likewise.
29791         (atomic_bit_test_set): Likewise.
29792
29793 2012-06-22  Andreas Schwab  <schwab@redhat.com>
29794
29795         [BZ #13579]
29796         * include/link.h (struct link_map): Add l_free_initfini.
29797         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29798         l_initfini.
29799         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29800         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29801         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29802         set.
29803
29804 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
29805
29806         * configure.in: Use AC_LANG_SOURCE.
29807         * configure: Regenerate.
29808
29809 2012-06-22  Roland McGrath  <roland@hack.frob.com>
29810
29811         * configure.in (libc_cv_localstatedir): New substituted variable.
29812         * configure: Regenerated.
29813         * config.make.in (localstatedir): New variable, substituted from
29814         libc_cv_localstatedir.
29815         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29816         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29817         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29818         * sysdeps/gnu/configure: Regenerated.
29819
29820 2012-06-21  Jeff Law  <law@redhat.com>
29821
29822         [BZ #14277]
29823         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29824         free.  Simplify list management for _LIBC case.
29825
29826 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
29827
29828         [BZ #14273]
29829         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29830         Clear sign bit of 64-bit integer value before comparing against
29831         overflow value.
29832
29833         * sysdeps/mach/configure: Regenerated.
29834
29835 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
29836
29837         [BZ #14278]
29838         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29839
29840 2012-06-21  Jeff Law  <law@redhat.com>
29841
29842         [BZ #13882]
29843         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
29844         uint16_t for elements in the "seen" array to avoid char overflows.
29845         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29846         * elf/dl-open.c (dl_open_worker): Likewise.
29847
29848 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
29849
29850         * scripts/list-sources.sh: Scan PORTS for translations.
29851         * po/libc.pot: Regenerated.
29852
29853 2012-06-21  Andreas Jaeger  <aj@suse.de>
29854
29855         [BZ #12194]
29856         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29857         warning.
29858         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29859         * bits/byteswap-16.h (__bswap_16): Likewise.
29860         * bits/byteswap.h (__bswap_constant_16): Likewise.
29861
29862 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
29863
29864         [BZ #14117]
29865         * sysdeps/i386/fpu_control.h: Removed.
29866         * sysdeps/x86_64/fpu_control.h: Moved to ...
29867         * sysdeps/x86/fpu_control.h: Here.
29868
29869         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29870         (_FPU_SETCW): Likewise.
29871
29872 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
29873
29874         [BZ #14117]
29875         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29876         * sysdeps/x86/fpu/bits/mathinline.h: This.
29877         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29878
29879         [BZ #14050]
29880         [BZ #14117]
29881         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29882         functions if __x86_64__ is defined.
29883
29884 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
29885
29886         * string/endian.h: Add !__ASSEMBLER__ condition for including
29887         conversion interfaces.
29888
29889 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
29890
29891         [BZ #14241]
29892         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29893         of ABS(x) in calculating zero to negative powers other than odd
29894         integers.
29895         * math/libm-test.inc (pow_test): Add more tests.
29896
29897 2012-06-15  Andreas Jaeger  <aj@suse.de>
29898
29899         * manual/contrib.texi (Contributors): Update entry of Liubov
29900         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29901         Machado Filho.
29902
29903 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
29904
29905         * string/string.h: Add __wur to GNU version of strerror_r.
29906
29907 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
29908
29909         [BZ #14229]
29910         * string/Makefile (tests): Add tst-strtok_r.
29911         * string/tst-strtok_r.c: New file.
29912         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29913         RAX_LP/RDX_LP on SAVE_PTR.
29914
29915 2012-06-14  Roland McGrath  <roland@hack.frob.com>
29916
29917         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29918
29919 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
29920
29921         * libm_test.inc (csqrt_test): Allow more spurious underflow
29922         exceptions.
29923         (j0_test): Likewise.
29924         (j1_test): Likewise.
29925         (y0_test): Likewise.
29926         (y1_test): Likewise.
29927
29928 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
29929
29930         * po/Makefile (libc.pot): Use UTF-8 charset.
29931
29932 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
29933
29934         [BZ #14210]
29935         Suppress sign-conversion warning from FD_SET.
29936         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29937         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29938         not unsigned long int.
29939         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29940
29941 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
29942
29943         [BZ #14050]
29944         [BZ #14117]
29945         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29946         __extern_always_inline instead of __extern_inline.
29947         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29948         (__signbit): Likewise.
29949         (__signbitl): Support C++ namespace.
29950         (lrintf): New inline function.
29951         (lrint): Likewise.
29952         (llrintf): Likewise.
29953         (llrint): Likewise.
29954         (fmaxf): Likewise.
29955         (fmax): Likewise.
29956         (fminf): Likewise.
29957         (fmin): Likewise.
29958         (rint): Likewise.
29959         (rintf): Likewise.
29960         (ceil): Likewise.
29961         (ceilf): Likewise.
29962         (floor): Likewise.
29963         (floorf): Likewise.
29964         (nearbyint): Likewise.
29965         (nearbyintf): Likewise.
29966
29967 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
29968
29969         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29970         non-default versions.
29971
29972 2012-06-11  Roland McGrath  <roland@hack.frob.com>
29973
29974         [BZ #14218]
29975         * manual/argp.texi (Argp): Reword argp_parse description slightly.
29976
29977 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
29978
29979         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29980         (FE_UPWARD, FE_DOWNWARD): Don't define.
29981         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29982         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29983
29984         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29985         reading it.
29986         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29987         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29988
29989 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29990
29991         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29992         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29993         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29994         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29995
29996 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
29997
29998         [BZ #14117]
29999         * sysdeps/i386/fpu/bits/fenv.h: Removed.
30000         * sysdeps/i386/fpu/Implies: New file.
30001         * sysdeps/x86_64/fpu/Implies: Likewise.
30002         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30003         * sysdeps/x86/fpu/bits/fenv.h: This.
30004
30005         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30006         __SSE_MATH__.
30007
30008 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30009
30010         [BZ #14134]
30011         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30012         character 0xffff that matches the last element of the
30013         conversion table.
30014
30015 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30016
30017         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30018         fmodl commit.
30019
30020 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30021
30022         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30023         values higher than 25.6283.
30024
30025 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30026
30027         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30028         subnormal exponent extraction and add some __builtin_expect.
30029         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30030         Fix for subnormal mantissa calculation.
30031
30032 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
30033
30034         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30035         cpu2 is -1 and errno is not ENOSYS.
30036
30037 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
30038
30039         [BZ #14117]
30040         * sysdeps/i386/i486/bits/string.h: Renamed to ...
30041         * sysdeps/x86/bits/string.h: This.
30042         * sysdeps/x86_64/bits/string.h: Removed.
30043
30044         * sysdeps/i386/i486/bits/string.h: Define inline functions only
30045         if not compiling for x86-64, but compiling for >= i486.
30046
30047         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30048         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30049
30050         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30051         New macro from Linux kernel 3.4.0.
30052         (FP_XSTATE_MAGIC2): Likewise.
30053         (FP_XSTATE_MAGIC2_SIZE): Likewise.
30054         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30055         (struct _fpx_sw_bytes): New struct.
30056         (struct _xsave_hdr): Likewise.
30057         (struct _ymmh_state): Likewise.
30058         (struct _xstate): Likewise.
30059
30060         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30061         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30062         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30063         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30064         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30065         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30066
30067         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30068         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30069         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30070         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30071         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30072         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30073
30074 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30075
30076         [BZ #13743]
30077         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30078         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30079         (sysdep_headers): Include sys/platform/ppc.h.
30080         * sysdeps/powerpc/test-gettimebase.c: Test for
30081         __ppc_get_timebase() to catch future ISA opcode/insn changes.
30082         * manual/Makefile (appendices): Include platform.texi.
30083         * manual/contrib.texi (Contributors): Update @node pointers.
30084         * manual/maint.texi (Maintenance): Likewise.
30085         (Platform): New node.
30086         * manual/platform.texi: New file.  Document the new features.
30087
30088 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30089             Jakub Jelinek  <jakub@redhat.com>
30090
30091         [BZ #14188]
30092         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30093         where __builtin_expect is unavailable.
30094
30095 2012-06-03  David S. Miller  <davem@davemloft.net>
30096
30097         * stdlib/longlong.h: Updated from GCC.
30098
30099 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
30100
30101         [BZ #14042]
30102         * sysdeps/powerpc/powerpc32/mcount.c: New file.
30103         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30104         __mcount_internal.
30105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30106         (GLIBC_2.16): Likewise.
30107
30108 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30109
30110         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30111
30112 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30113
30114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30115         (default-abi): New variable.
30116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30117         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30118         variable.
30119         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30120         Likewise.
30121         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30122         Likewise.
30123         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30124         Likewise.
30125
30126         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30127         definition.  Document in comment.
30128
30129 2012-06-01  David S. Miller  <davem@davemloft.net>
30130
30131         * stdlib/longlong.h: Updated from GCC.
30132
30133 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30134
30135         [BZ #14117]
30136         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30137         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30138         sys/debugreg.h sys/io.h here.
30139         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30140         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30141         sys/io.h.
30142         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30143         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30144         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30145         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30146         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30147         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30148
30149         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30150         Define only if __x86_64__ is defined.
30151
30152 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30153
30154         [BZ #14048]
30155         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30156         Use int64_t for variable i.
30157         * math/libm-test.inc (fmod_test): Add more tests.
30158
30159         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30160         z computation is not scheduled after fetestexcept.
30161         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30162         Use math_force_eval instead of asm to ensure calculation scheduled
30163         before exception test.
30164         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30165         Ensure a1 + u.d computation is not scheduled after fetestexcept.
30166
30167 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
30168
30169         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30170         computation is not scheduled after fetestexcept.
30171
30172 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30173
30174         [BZ #14117]
30175         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30176         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30177
30178 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30179
30180         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30181         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30182
30183 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30184
30185         [BZ #14117]
30186         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30187         <bits/wordsize.h>.
30188         (__WCHAR_MIN): Support __WORDSIZE == 64.
30189         (__WCHAR_MAX): Likewise.
30190
30191         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30192         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30193
30194         [BZ #14183]
30195         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30196         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30197
30198         [BZ #14117]
30199         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30200         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30201
30202         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30203         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30204
30205         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30206         Defined to 1 if __x86_64__ isn't defined.
30207         (_STAT_VER_LINUX_OLD): New.
30208         (st_atime): Remove duplicate.
30209         (st_mtime): Likewise.
30210         (st_ctime): Likewise.
30211
30212 2012-05-31  David S. Miller  <davem@davemloft.net>
30213
30214         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30215         entries.
30216
30217 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
30218
30219         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30220         gen-libm-test.pl.
30221
30222         [BZ #14132]
30223         * elf/dl-reloc.c: Include <_itoa.h>.
30224         (_dl_reloc_bad_type): Remove use of INTUSE.
30225         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30226         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30227         * stdio-common/psiginfo.c (psiginfo): Likewise.
30228         * stdio-common/psignal.c (psignal): Likewise.
30229         * string/strsignal.c (strsignal): Likewise.
30230         * include/signal.h (_sys_siglist): Declare hidden proto.
30231         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
30232         INTVARDEF with libc_hidden_data_def.
30233         * stdio-common/itoa-udigits.c: Likewise.
30234         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30235         (_itoa_lower_digits_internal): Remove declaration.
30236         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30237         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30238         (_sys_sigabbrev_internal): Remove aliases.
30239         (_sys_siglist): Define hidden alias.
30240
30241 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
30242
30243         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30244         bits/sysctl.h.
30245
30246 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30247
30248         [BZ #14117]
30249         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30250         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30251
30252         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30253         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30254         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30255         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30256         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30257         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30258
30259         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30260         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30261         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30262
30263         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30264         with __addr.
30265         (insw): Likewise.
30266         (insl): Likewise.
30267         (outsb): Likewise.
30268         (outsw): Likewise.
30269         (outsl): Likewise.
30270
30271         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30272         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30273         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30274
30275         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30276         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30277         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30278         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30279         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30280         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30281
30282         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30283         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30284
30285         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30286         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30287
30288         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30289         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30290         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30291
30292         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30293         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30294         to ...
30295         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30296
30297         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30298         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30299         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30300
30301         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30302         for x86-64.
30303         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30304
30305 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
30306
30307         * math/math.h (M_El): Use two more decimal places.
30308         (M_LOG2El): Likewise.
30309         (M_LOG10El): Likewise.
30310         (M_LN2l): Likewise.
30311         (M_LN10l): Likewise.
30312         (M_PIl): Likewise.
30313         (M_PI_2l): Likewise.
30314         (M_PI_4l): Likewise.
30315         (M_1_PIl): Likewise.
30316         (M_2_PIl): Likewise.
30317         (M_2_SQRTPIl): Likewise.
30318         (M_SQRT2l): Likewise.
30319         (M_SQRT1_2l): Likewise.
30320
30321 2012-05-31  David S. Miller  <davem@davemloft.net>
30322
30323         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30324         values between float registers.
30325         * sysdeps/sparc/sparc64/memset.S: Likewise.
30326         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30327
30328 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
30329
30330         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30331         -D_FORTIFY_SOURCE=1.
30332         (CPPFLAGS-tst-longjmp_chk.c): Define.
30333         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30334         (CPPFLAGS-tst-longjmp_chk2.c): Define.
30335         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30336         CFLAGS-tst-wchar-h.c.
30337
30338 2012-05-31  Marek Polacek  <polacek@redhat.com>
30339
30340         [BZ #14132]
30341         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30342         __endmntent_internal): Remove declaration.
30343         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30344         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30345         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30346
30347 2012-05-30  David S. Miller  <davem@davemloft.net>
30348
30349         * sysdeps/sparc/sparc32/soft-fp/q_util.c
30350         (___Q_simulate_exceptions): Use real FP ops rather than writing
30351         into the %fsr.
30352         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30353         Likewise.
30354
30355 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30356
30357         [BZ #14117]
30358         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30359         * sysdeps/x86/bits/xtitypes.h: This.
30360
30361         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30362         * sysdeps/x86/bits/wordsize.h: This.
30363
30364         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30365         * sysdeps/x86/bits/huge_vall.h: This.
30366
30367         * sysdeps/i386/bits/select.h: Removed.
30368         * sysdeps/x86_64/bits/select.h: Renamed to ...
30369         * sysdeps/x86/bits/select.h: This.
30370
30371         * sysdeps/i386/bits/setjmp.h: Removed.
30372         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30373         * sysdeps/x86/bits/setjmp.h: This.
30374
30375         * sysdeps/i386/bits/mathdef.h: Removed.
30376         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30377         * sysdeps/x86/bits/mathdef.h: This.
30378
30379 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
30380
30381         [BZ #14132]
30382         * include/sys/socket.h (__connect_internal)
30383         (__libc_sa_len_internal): Remove declaration.
30384         (__connect, __libc_sa_len): Declare hidden_proto.
30385         (SA_LEN): Remove use of INTUSE.
30386         * socket/connect.c: Add libc_hidden_def.
30387         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30388         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30389         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30390         alias.
30391         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30392         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30393         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30394         of adding _internal alias.
30395
30396 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30397
30398         [BZ #14117]
30399         * sysdeps/i386/bits/link.h: Removed.
30400         * sysdeps/i386/bits/linkmap.h: Likewise.
30401         * sysdeps/x86_64/bits/link.h: Renamed to ...
30402         * sysdeps/x86/bits/link.h: This.
30403         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30404         * sysdeps/x86/bits/linkmap.h: This.
30405
30406         * sysdeps/i386/bits/endian.h: Removed.
30407         * sysdeps/x86_64/bits/endian.h: Renamed to ...
30408         * sysdeps/x86/bits/endian.h: This.
30409
30410         * sysdeps/i386/bits/byteswap.h: Removed.
30411         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30412         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30413         * sysdeps/x86/bits/byteswap.h: This.
30414         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30415         * sysdeps/x86/bits/byteswap-16.h: This.
30416         * sysdeps/i386/Implies: Add x86.
30417         * sysdeps/x86_64/Implies: Likewise.
30418
30419 2012-05-30  David S. Miller  <davem@davemloft.net>
30420
30421         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30422         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30423         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30424         (FP_TRAPPING_EXCEPTIONS): Define.
30425         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30426         (FP_TRAPPING_EXCEPTIONS): Define.
30427         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30428         subnormals only when inexact has been signalled or underflow
30429         exceptions are enabled.
30430         (_FP_PACK_CANONICAL): Likewise.
30431
30432 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30433
30434         [BZ #14183]
30435         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30436         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30437
30438 2012-05-30  Richard Henderson  <rth@twiddle.net>
30439
30440         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30441         with #ifndef NOT_IN_libc.
30442
30443         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
30444         marked to avoid plt entry.
30445
30446 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30447
30448         [BZ #14112]
30449         * Makeconfig (default-abi): New macro.
30450         (abi-includes): Likewise.
30451         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
30452         $(abi-$(default-abi)-lib-soname) for soname if defined.
30453         ($(common-objpfx)gnu/lib-names.stmp): Generate from
30454         abi-variants.
30455         * Makefile (installed-stubs): Likewise.
30456         * include/stubs-biarch.h: Removed.
30457         * scripts/lib-names.awk: Only handle one library at a time.
30458         * scripts/soversions.awk: Remove WORDSIZE support.
30459         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30460         entries.
30461         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30462         Removed.
30463         (syscall-list-default-condition): Likewise.
30464         (syscall-list-default-condition): Likewise.
30465         (syscall-list-includes): Likewise.
30466         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30467         syscall-list-* with abi-*.  Handle undefined abi-variants.
30468         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30469         * sysdeps/unix/sysv/linux/i386/Implies: New file.
30470         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30471         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30472         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30473         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30474         Removed.
30475         (syscall-list-32-options): Likewise.
30476         (syscall-list-32-condition): Likewise.
30477         (syscall-list-64-options): Likewise.
30478         (syscall-list-64-condition): Likewise.
30479         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30480         macro.
30481         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30482         Renamed to ...
30483         (abi-*): This.
30484         (abi-64-ld-soname): New macro.
30485         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30486         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30487         Renamed to ...
30488         (abi-*): This.
30489         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30490         * sysdeps/x86_64/x32/shlib-versions: Likewise.
30491
30492 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
30493
30494         * sysdeps/unix/sysv/linux/kernel-features.h
30495         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30496         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30497         include <kernel-features.h>.
30498         [!__NR_ftruncate64]: Remove conditional code.
30499         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30500         [__NR_ftruncate64]: Make code unconditional.
30501         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30502         * sysdeps/unix/sysv/linux/truncate64.c: Do not
30503         include <kernel-features.h>.
30504         [!__NR_ftruncate64]: Remove conditional code.
30505         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30506         [__NR_ftruncate64]: Make code unconditional.
30507         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30509         include <kernel-features.h>.
30510         [!__NR_ftruncate64]: Remove conditional code.
30511         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30512         [__NR_ftruncate64]: Make code unconditional.
30513         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30515         include <kernel-features.h>.
30516         [!__NR_ftruncate64]: Remove conditional code.
30517         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30518         [__NR_ftruncate64]: Make code unconditional.
30519         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30520
30521         * configure.in (libc_cv_fpie): Weaken to a compile test using
30522         LIBC_TRY_CC_OPTION.
30523         * configure: Regenerated.
30524
30525 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30526
30527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30531         Refreshed.
30532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30538         Refreshed.
30539
30540 2012-05-27  David S. Miller  <davem@davemloft.net>
30541
30542         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30543         (___Q_zero): New.
30544         (__Q_simulate_exceptions): Return void.  Change to simulate
30545         exceptions by writing into the %fsr.
30546         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30547         (__Qp_handle_exceptions): Likewise.
30548         (numbers): Delete.
30549         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30550         __Qp_handle_exceptions.
30551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30552         __Qp_handle_exceptions.
30553         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30554         as unused and give dummy FP_RND_NEAREST initializer.
30555         (FP_INHIBIT_RESULTS): Define.
30556         (___Q_simulate_exceptions): Update declaration.
30557         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30558         formatting.
30559         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30560         as unused and give dummy FP_RND_NEAREST initializer.
30561         (__Qp_handle_exceptions): Update declaration.
30562         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30563         formatting.
30564
30565 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
30566
30567         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30568         the temporary FPU control word.
30569         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30570         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30571         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30572         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30573         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30574         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30575         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30576         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30577         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30578         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30579         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30580
30581 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30582
30583         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30584         fields.
30585
30586 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
30587
30588         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30589         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30590         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30591         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30592         Likewise.
30593         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30594         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30595         Likewise.
30596
30597 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
30598
30599         * po/h.po: Update from translation team.
30600
30601 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
30602
30603         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30604
30605         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30606         handling of denormals.
30607         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30608         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30609         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30610         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30611         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30612         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30613         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30614         Likewise.
30615
30616 2012-05-26  Marek Polacek  <polacek@redhat.com>
30617
30618         [BZ #14152]
30619         * math/libm-test.inc (fma_test): Don't always expect underflow
30620         exception.
30621
30622 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30623
30624         [BZ #12416]
30625         * elf/tst-execstack.c: Include stackinfo.h.
30626         (do_test): Adjust test case to ensure that pthread_getattr_np
30627         behaviour remains the same after marking stack executable.
30628
30629 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30630
30631         * sysdeps/unix/sysv/linux/kernel-features.h
30632         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30633         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30634         kernel-features.h.
30635         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30636         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30637         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30638         kernel-features.h.
30639         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30640         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30641
30642 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
30643
30644         * configure.in: Define the default includes to being none.
30645         * configure: Regenerated.
30646
30647 2012-05-25  Roland McGrath  <roland@hack.frob.com>
30648
30649         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30650         * sysdeps/x86_64/setjmp.S: Likewise.
30651         * sysdeps/i386/bsd-setjmp.S: Likewise.
30652         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30653         * sysdeps/i386/setjmp.S: Likewise.
30654         * sysdeps/i386/__longjmp.S: Likewise.
30655         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30656         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30657
30658         * include/stap-probe.h: New file.
30659         * configure.in: Handle --enable-systemtap.
30660         * configure: Regenerated.
30661         * config.h.in (USE_STAP_PROBE): New #undef.
30662         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30663         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30664         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30665
30666 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30667
30668         [BZ #13717]
30669         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30670         to 2.4.0 where earlier.
30671         * sysdeps/unix/sysv/linux/configure: Regenerated.
30672         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30673         <kernel-features.h>.
30674         [__ASSUME_32BITUIDS]: Make code unconditional.
30675         [!__ASSUME_32BITUIDS]: Remove conditional code.
30676         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30677         <kernel-features.h>.
30678         [__ASSUME_32BITUIDS]: Make code unconditional.
30679         [!__ASSUME_32BITUIDS]: Remove conditional code.
30680         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30681         [__ASSUME_32BITUIDS]: Make code unconditional.
30682         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30683         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30684         <kernel-features.h>.
30685         [__ASSUME_32BITUIDS]: Make code unconditional.
30686         [!__ASSUME_32BITUIDS]: Remove conditional code.
30687         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30688         <kernel-features.h>.
30689         [__ASSUME_32BITUIDS]: Make code unconditional.
30690         [!__ASSUME_32BITUIDS]: Remove conditional code.
30691         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30692         <kernel-features.h>.
30693         [__ASSUME_32BITUIDS]: Make code unconditional.
30694         [!__ASSUME_32BITUIDS]: Remove conditional code.
30695         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30696         <kernel-features.h>.
30697         [__ASSUME_32BITUIDS]: Make code unconditional.
30698         [!__ASSUME_32BITUIDS]: Remove conditional code.
30699         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30700         <kernel-features.h>.
30701         [__ASSUME_32BITUIDS]: Make code unconditional.
30702         [!__ASSUME_32BITUIDS]: Remove conditional code.
30703         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30704         <kernel-features.h>.
30705         [__ASSUME_32BITUIDS]: Make code unconditional.
30706         [!__ASSUME_32BITUIDS]: Remove conditional code.
30707         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30708         <kernel-features.h>.
30709         [__ASSUME_32BITUIDS]: Make code unconditional.
30710         [!__ASSUME_32BITUIDS]: Remove conditional code.
30711         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30712         <kernel-features.h>.
30713         [__ASSUME_32BITUIDS]: Make code unconditional.
30714         [!__ASSUME_32BITUIDS]: Remove conditional code.
30715         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30716         <kernel-features.h>.
30717         [__ASSUME_32BITUIDS]: Make code unconditional.
30718         [!__ASSUME_32BITUIDS]: Remove conditional code.
30719         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30720         <kernel-features.h>.
30721         [__ASSUME_32BITUIDS]: Make code unconditional.
30722         [!__ASSUME_32BITUIDS]: Remove conditional code.
30723         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30724         <kernel-features.h>.
30725         [__NR_setresgid] (__setresgid): Do not declare.
30726         [__ASSUME_32BITUIDS]: Make code unconditional.
30727         [!__ASSUME_32BITUIDS]: Remove conditional code.
30728         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30729         <kernel-features.h>.
30730         [__NR_setresuid] (__setresuid): Do not declare.
30731         [__ASSUME_32BITUIDS]: Make code unconditional.
30732         [!__ASSUME_32BITUIDS]: Remove conditional code.
30733         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30734         <kernel-features.h>.
30735         [__ASSUME_32BITUIDS]: Make code unconditional.
30736         [!__ASSUME_32BITUIDS]: Remove conditional code.
30737         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30738         <kernel-features.h>.
30739         [__ASSUME_32BITUIDS]: Make code unconditional.
30740         [!__ASSUME_32BITUIDS]: Remove conditional code.
30741         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30742         <kernel-features.h>.
30743         [__ASSUME_32BITUIDS]: Make code unconditional.
30744         [!__ASSUME_32BITUIDS]: Remove conditional code.
30745         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30746         <kernel-features.h>.
30747         [__ASSUME_32BITUIDS]: Make code unconditional.
30748         [!__ASSUME_32BITUIDS]: Remove conditional code.
30749         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30750         <kernel-features.h>.
30751         [__ASSUME_32BITUIDS]: Make code unconditional.
30752         [!__ASSUME_32BITUIDS]: Remove conditional code.
30753         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30754         <kernel-features.h>.
30755         [__ASSUME_32BITUIDS]: Make code unconditional.
30756         [!__ASSUME_32BITUIDS]: Remove conditional code.
30757         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30758         <kernel-features.h>.
30759         [__ASSUME_32BITUIDS]: Make code unconditional.
30760         [!__ASSUME_32BITUIDS]: Remove conditional code.
30761         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30762         <kernel-features.h>.
30763         [__ASSUME_32BITUIDS]: Make code unconditional.
30764         [!__ASSUME_32BITUIDS]: Remove conditional code.
30765         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30766         <kernel-features.h>.
30767         [__ASSUME_32BITUIDS]: Make code unconditional.
30768         [!__ASSUME_32BITUIDS]: Remove conditional code.
30769         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30770         <kernel-features.h>.
30771         [__ASSUME_32BITUIDS]: Make code unconditional.
30772         [!__ASSUME_32BITUIDS]: Remove conditional code.
30773         * sysdeps/unix/sysv/linux/kernel-features.h
30774         (__ASSUME_SETRESUID_SYSCALL): Remove.
30775         (__ASSUME_SETRESGID_SYSCALL): Likewise.
30776         (__ASSUME_32BITUIDS): Likewise.
30777         (__ASSUME_LDT_WORKS): Likewise.
30778         (__ASSUME_O_DIRECTORY): Likewise.
30779         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30780         architecture but not kernel version.
30781         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30782         (__ASSUME_MMAP2_SYSCALL): Likewise.
30783         (__ASSUME_STAT64_SYSCALL): Likewise.
30784         (__ASSUME_IPC64): Likewise.
30785         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30786         <kernel-features.h>.
30787         [__ASSUME_32BITUIDS]: Make code unconditional.
30788         [!__ASSUME_32BITUIDS]: Remove conditional code.
30789         * sysdeps/unix/sysv/linux/opendir.c: Do not include
30790         <kernel-features.h>.
30791         [__ASSUME_O_DIRECTORY]: Make code unconditional.
30792         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30793         132096]: Remove conditional code.
30794         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30795         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30796         <kernel-features.h>.
30797         [__ASSUME_32BITUIDS]: Make code unconditional.
30798         [!__ASSUME_32BITUIDS]: Remove conditional code.
30799         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30800         <kernel-features.h>.
30801         [__ASSUME_32BITUIDS]: Make code unconditional.
30802         [!__ASSUME_32BITUIDS]: Remove conditional code.
30803         * sysdeps/unix/sysv/linux/setegid.c: Do not include
30804         <kernel-features.h>.
30805         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30806         unconditional.
30807         (__setresgid): Do not declare.
30808         [__ASSUME_32BITUIDS]: Make code unconditional.
30809         [!__ASSUME_32BITUIDS]: Remove conditional code.
30810         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30811         <kernel-features.h>.
30812         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30813         unconditional.
30814         (__setresuid): Do not declare.
30815         [__ASSUME_32BITUIDS]: Make code unconditional.
30816         [!__ASSUME_32BITUIDS]: Remove conditional code.
30817         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30818         <kernel-features.h>.
30819         [__ASSUME_32BITUIDS]: Make code unconditional.
30820         [!__ASSUME_32BITUIDS]: Remove conditional code.
30821         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30822         <kernel-features.h>.
30823         [__ASSUME_32BITUIDS]: Make code unconditional.
30824         [!__ASSUME_32BITUIDS]: Remove conditional code.
30825
30826 2012-05-25  Richard Henderson  <rth@twiddle.net>
30827
30828         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30829         dl_hwcap to ifunc resolver.
30830         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30831         elf_ifunc_invoke.
30832         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30833         dl_hwcap to ifunc resolver.
30834         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30835
30836 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30837
30838         [BZ #14153]
30839         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30840         for |x| <= 2**-26, not 2**-57.
30841         * math/libm-test.inc (acos_test): Do not allow spurious underflow
30842         exception.
30843
30844 2012-05-24  Jeff Law  <law@redhat.com>
30845
30846         * stdio-common/Makefile (tests): Add bug25.
30847         * stdio-common/bug25.c: New test.
30848
30849 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30850
30851         [BZ #13576]
30852         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30853         multiple of MALLOC_ALIGNMENT in size.
30854         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30855
30856 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30857
30858         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30859         Require >= 256.
30860         (FILENAME_MAX): Use macro-int-constant.
30861         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
30862         (_IOFBF): Use macro-int-constant.
30863         (_IOLBF): Likewise.
30864         (_IONBF): Likewise.
30865         (SEEK_CUR): Likewise.
30866         (SEEK_END): Likewise.
30867         (SEEK_SET): Likewise.
30868         (TMP_MAX): Likewise.
30869         (EOF): Use macro-int-constant.  Require < 0.
30870         (NULL): Use macro-constant.  Require == 0.
30871         (stdin): Require type to be FILE *.
30872         (stdout): Likewise.
30873         (stderr): Likewise.
30874         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30875         macro-int-constant.
30876         (EXIT_SUCCESS): Likewise.
30877         (NULL): Use macro-constant.  Require == 0.
30878         (RAND_MAX): Use macro-int-constant.
30879         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30880         [C99-based standards] (strtof): Require function.
30881         [C99-based standards] (strtold): Likewise.
30882         [C99-based standards] (strtoll): Likewise.
30883         [C99-based standards] (strtoull): Likewise.
30884         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30885         [ISO || ISO99 || ISO11] (limits.h): Likewise.
30886         [ISO || ISO99 || ISO11] (math.h): Likewise.
30887         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30888         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30889         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30890
30891 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
30892
30893         [BZ #14132]
30894         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30895         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30896         * intl/dgettext.c (DCGETTEXT): Likewise.
30897         * intl/gettext.c (DCGETTEXT): Likewise.
30898         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30899         * posix/regex_internal.h (gettext): Likewise.
30900         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30901         Remove declaration.
30902         * include/argz.h (__argz_count_internal)
30903         (__argz_stringify_internal): Remove declaration.
30904         (__argz_count, __argz_stringify): Declare hidden proto.
30905         * intl/dcgettext.c: Remove use of INTDEF.
30906         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30907         * string/argz-stringify.c: Likewise.
30908         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30909         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30910         Declare hidden proto.
30911         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30912         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30913         Declare hidden proto.
30914         * include/stdio.h (__asprintf_internal): Don't declare.
30915         (__asprintf): Don't define as macro.  Declare hidden proto.
30916         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30917         (__fsetlocking): Declare hidden proto.
30918         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30919         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30920         hidden proto.
30921         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30922         (_IO_setlinebuf): Remove use of INTUSE.
30923         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30924         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30925         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30926         Remove declaration.
30927         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30928         (_IO_do_flush): Remove use of INTUSE.
30929         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30930         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30931         (_IO_adjust_column, _IO_least_wmarker)
30932         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30933         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30934         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30935         (_IO_default_doallocate, _IO_wdefault_doallocate)
30936         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30937         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30938         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30939         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30940         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30941         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30942         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30943         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30944         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30945         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30946         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30947         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30948         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30949         proto.
30950         (_IO_flush_all_internal, _IO_adjust_column_internal)
30951         (_IO_default_uflow_internal, _IO_default_finish_internal)
30952         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30953         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30954         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30955         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30956         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30957         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30958         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30959         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30960         (_IO_file_close_internal, _IO_file_close_it_internal)
30961         (_IO_file_underflow_internal, _IO_file_overflow_internal)
30962         (_IO_file_init_internal, _IO_file_attach_internal)
30963         (_IO_file_fopen_internal, _IO_file_read_internal)
30964         (_IO_file_sync_internal, _IO_file_seek_internal)
30965         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30966         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30967         (_IO_str_underflow_internal, _IO_str_overflow_internal)
30968         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30969         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30970         (_IO_list_all_internal, _IO_link_in_internal)
30971         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30972         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30973         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30974         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30975         (_IO_do_write_internal, _IO_padn_internal)
30976         (_IO_getline_info_internal, _IO_getline_internal)
30977         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30978         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30979         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30980         (_IO_vfscanf_internal, _IO_vfprintf_internal)
30981         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30982         (_IO_init_internal, _IO_un_link_internal): Don't declare.
30983         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30984         with libc_hidden_ver, remove use of INTUSE.
30985         * libio/genops.c: Likewise.
30986         * libio/freopen.c: Likewise.
30987         * libio/freopen64.c: Likewise.
30988         * libio/iofclose.c: Likewise.
30989         * libio/iofdopen.c: Likewise.
30990         * libio/iofflush.c: Likewise.
30991         * libio/iofflush_u.c: Likewise.
30992         * libio/iofgets.c: Likewise.
30993         * libio/iofgets_u.c: Likewise.
30994         * libio/iofopen.c: Likewise.
30995         * libio/iofopncook.c: Likewise.
30996         * libio/iofread.c: Likewise.
30997         * libio/iofread_u.c: Likewise.
30998         * libio/ioftell.c: Likewise.
30999         * libio/iofwrite.c: Likewise.
31000         * libio/iogetline.c: Likewise.
31001         * libio/iogets.c: Likewise.
31002         * libio/iogetwline.c: Likewise.
31003         * libio/iopadn.c: Likewise.
31004         * libio/iopopen.c: Likewise.
31005         * libio/ioseekoff.c: Likewise.
31006         * libio/ioseekpos.c: Likewise.
31007         * libio/iosetbuffer.c: Likewise.
31008         * libio/iosetvbuf.c: Likewise.
31009         * libio/ioungetc.c: Likewise.
31010         * libio/ioungetwc.c: Likewise.
31011         * libio/iovdprintf.c: Likewise.
31012         * libio/iovsprintf.c: Likewise.
31013         * libio/iovsscanf.c: Likewise.
31014         * libio/memstream.c: Likewise.
31015         * libio/obprintf.c: Likewise.
31016         * libio/oldfileops.c: Likewise.
31017         * libio/oldiofclose.c: Likewise.
31018         * libio/oldiofdopen.c: Likewise.
31019         * libio/oldiofopen.c: Likewise.
31020         * libio/oldiopopen.c: Likewise.
31021         * libio/oldstdfiles.c: Likewise.
31022         * libio/putc.c: Likewise.
31023         * libio/setbuf.c: Likewise.
31024         * libio/setlinebuf.c: Likewise.
31025         * libio/stdfiles.c: Likewise.
31026         * libio/strops.c: Likewise.
31027         * libio/vasprintf.c: Likewise.
31028         * libio/vscanf.c: Likewise.
31029         * libio/vsnprintf.c: Likewise.
31030         * libio/vswprintf.c: Likewise.
31031         * libio/wfiledoalloc.c: Likewise.
31032         * libio/wfileops.c: Likewise.
31033         * libio/wgenops.c: Likewise.
31034         * libio/wmemstream.c: Likewise.
31035         * libio/wstrops.c: Likewise.
31036         * libio/__fpurge.c: Likewise.
31037         * libio/__fsetlocking.c: Likewise.
31038         * assert/assert.c: Likewise.
31039         * debug/fgets_chk.c: Likewise.
31040         * debug/fgets_u_chk.c: Likewise.
31041         * debug/fread_chk.c: Likewise.
31042         * debug/fread_u_chk.c: Likewise.
31043         * debug/gets_chk.c: Likewise.
31044         * debug/obprintf_chk.c: Likewise.
31045         * debug/vasprintf_chk.c: Likewise.
31046         * debug/vdprintf_chk.c: Likewise.
31047         * debug/vsnprintf_chk.c: Likewise.
31048         * debug/vsprintf_chk.c: Likewise.
31049         * malloc/mtrace.c: Likewise.
31050         * misc/error.c: Likewise.
31051         * misc/syslog.c: Likewise.
31052         * stdio-common/asprintf.c: Likewise.
31053         * stdio-common/fxprintf.c: Likewise.
31054         * stdio-common/getw.c: Likewise.
31055         * stdio-common/isoc99_fscanf.c: Likewise.
31056         * stdio-common/isoc99_scanf.c: Likewise.
31057         * stdio-common/isoc99_vfscanf.c: Likewise.
31058         * stdio-common/isoc99_vscanf.c: Likewise.
31059         * stdio-common/isoc99_vsscanf.c: Likewise.
31060         * stdio-common/printf-prs.c: Likewise.
31061         * stdio-common/printf_fp.c: Likewise.
31062         * stdio-common/printf_fphex.c: Likewise.
31063         * stdio-common/printf_size.c: Likewise.
31064         * stdio-common/putw.c: Likewise.
31065         * stdio-common/scanf.c: Likewise.
31066         * stdio-common/sprintf.c: Likewise.
31067         * stdio-common/tmpfile.c: Likewise.
31068         * stdio-common/vfprintf.c: Likewise.
31069         * stdio-common/vfscanf.c: Likewise.
31070         * stdlib/strfmon_l.c: Likewise.
31071         * sunrpc/openchild.c: Likewise.
31072         * sunrpc/xdr_stdio.c: Likewise.
31073         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31074         * sysdeps/mach/hurd/tmpfile.c: Likewise.
31075
31076 2012-05-24  Roland McGrath  <roland@hack.frob.com>
31077
31078         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31079
31080         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31081         in the third column, to generate for the shared library an IFUNC
31082         that uses _dl_vdso_vsym.
31083         * Makerules (COMPILE.c, compile-stdin.c): New variables.
31084         * Makeconfig (object-suffixes-noshared): New variable.
31085
31086         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31087         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31088         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31089         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31090
31091         [BZ #14132]
31092         * include/sys/time.h (__gettimeofday): Remove macro.
31093         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31094         * time/gettimeofday.c (__gettimeofday): Remove #undef.
31095         Remove INTDEF.
31096         (__gettimeofday): Add libc_hidden_def.
31097         (gettimeofday): Add libc_hidden_weak.
31098         * sysdeps/mach/gettimeofday.c: Likewise.
31099         * sysdeps/posix/gettimeofday.c: Likewise.
31100         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31101         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31102         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31103         (__gettimeofday_internal): Remove strong_alias.
31104         (__gettimeofday): Add libc_hidden_def.
31105         (gettimeofday): Add libc_hidden_weak.
31106         * sysdeps/unix/syscalls.list (gettimeofday):
31107         Remove __gettimeofday_internal alias.
31108
31109 2012-05-24  Daniel Jacobowitz  <drow@false.org>
31110             H.J. Lu  <hongjiu.lu@intel.com>
31111
31112         [BZ #12495]
31113         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31114         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31115         (largebin_index_32_big): New.
31116         (largebin_index): Use it for 16-byte alignment.
31117         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
31118         correction with front_misalign.
31119
31120 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31121
31122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31123         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31124         Likewise.
31125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31126         Likewise.
31127         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31128         Likewise.
31129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31130         Likewise.
31131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31132         Likewise.
31133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31134         Likewise.
31135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31136         Likewise.
31137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31138         Likewise.
31139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31140         Likewise.
31141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31142         Likewise.
31143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31144         Likewise.
31145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31146         Likewise.
31147
31148         * scripts/data/c++-types-x32-linux-gnu.data: New file.
31149         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31150
31151 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31152
31153         [BZ #10846]
31154         [BZ #14036]
31155         * math/libm-test.inc (exp_test): Add test from bug 14036.
31156         (pow_test): Add test from bug 10846.
31157
31158         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31159         and other flags.
31160         (special_function): Do not include flags in test name.
31161         (parse_args): Likewise.
31162         * sysdeps/i386/fpu/libm-test-ulps: Update.
31163         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31164         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31165         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31167
31168         * math/gen-libm-test.pl (%beautify): Add entries for underflow
31169         exceptions.
31170         * math/libm-test.inc ("Philosophy"): Update comment about
31171         exception testing.
31172         (UNDERFLOW_EXCEPTION): New macro.
31173         (UNDERFLOW_EXCEPTION_OK): Likewise.
31174         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31175         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31176         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31177         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31178         (INVALID_EXCEPTION_OK): Update value.
31179         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31180         (OVERFLOW_EXCEPTION_OK): Likewise.
31181         (IGNORE_ZERO_INF_SIGN): Likewise.
31182         (test_exceptions): Handle underflow exceptions.
31183         (acos_test): Update for underflow exception expectations.
31184         (cexp_test): Likewise.
31185         (clog_test): Likewise.
31186         (clog10_test): Likewise.
31187         (csqrt_test): Likewise.
31188         (ctan_test): Likewise.
31189         (ctanh_test): Likewise.
31190         (exp_test): Likewise.
31191         (exp10_test): Likewise.
31192         (exp2_test): Likewise.
31193         (expm1_test): Likewise.
31194         (fma_test): Likewise.
31195         (j0_test): Likewise.
31196         (jn_test): Likewise.
31197         (nexttoward_test): Likewise.
31198         (pow_test): Likewise.
31199         (scalbn_test): Likewise.
31200         (scalbln_test): Likewise.
31201         (tan_test): Likewise.
31202         (y1_test): Likewise.
31203         * sysdeps/i386/fpu/libm-test-ulps: Update.
31204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31205
31206 2012-05-23  David S. Miller  <davem@davemloft.net>
31207
31208         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31209         (__libc_sigaction): Remove unused local variables.
31210
31211 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31212
31213         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31214
31215 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
31216
31217         mktime: avoid signed integer overflow
31218         * time/mktime.c (__mktime_internal): Do not mishandle the case
31219         where diff == INT_MIN.
31220
31221         mktime: simplify computation of average
31222         * time/mktime.c (ranged_convert): Use new time_t_avg function
31223         instead of rolling our own (probably-slower) code.
31224
31225         mktime: do not assume signed right shift propagates sign bit
31226         * time/mktime.c (isdst_differ): New static function.
31227         (__mktime_internal): No need to normalize tm_isdst now.
31228         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31229         tm_isdst values.
31230
31231         mktime: merge another wrapv change from gnulib
31232         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31233         from some compilers.
31234
31235         mktime: remove incorrect attempt at unusual arithmetics
31236         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31237         The code didn't really work on such machines anyway.
31238         (TYPE_MINIMUM): Assume two's complement.
31239         (twos_complement_arithmetic): Verify that long_int and time_t
31240         are two's complement (or unsigned, in the latter case).
31241
31242         mktime: check signed shifts on long_int and time_t, too
31243         * time/mktime.c (SHR): Check that shifts work as desired
31244         on the types long_int and time_t too, as SHR is used on
31245         such types.
31246
31247         mktime: do not assume 'long' is wide enough
31248         * time/mktime.c (verify): Move decl up.
31249         (long_int): New type.
31250         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31251         to remove assumption in the code that 'long' is wide enough to
31252         store year values.  This assumption is not true on x32 and on
31253         some non-glibc platforms.
31254
31255         mktime: merge wrapv change from gnulib
31256         * time/mktime.c (WRAPV): New macro.
31257         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31258         (guess_time_tm, __mktime_internal): Do not assume that signed
31259         integer overflow wraps around; modern compilers generate code
31260         where this assumption is no longer valid.
31261
31262 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31263
31264         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31265         Replace "jmp L(pseudo_end)" with "ret".
31266         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31267         Likewise.
31268
31269 2012-05-23  Andreas Jaeger  <aj@suse.de>
31270
31271         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31272         * sysdeps/unix/sysv/linux/poll.c: Remove file.
31273
31274 2012-05-23  Andreas Jaeger  <aj@suse.de>
31275             Maximilian Attems  <max@stro.at>
31276
31277         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31278         New macros.
31279
31280 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31281
31282         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31283         code so that pseudo_end is just ret and the stack pointer is
31284         correct also for static library in error case.
31285
31286 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
31287
31288         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31289         move to syscalls.list.
31290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31294
31295         * manual/install.texi (Running make install): Do not mention Linux
31296         kernel version for which pt_chown is not needed.
31297         (Linux): Do not mention problems with nscd with 2.0 kernels.
31298         * INSTALL: Regenerated.
31299
31300 2012-05-23  Andreas Jaeger  <aj@suse.de>
31301
31302         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31303         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31304         macro.
31305         * sysdeps/unix/sysv/linux/s390/bits/mman.h
31306         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31307         * sysdeps/unix/sysv/linux/sh/bits/mman.h
31308         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31309         * sysdeps/unix/sysv/linux/i386/bits/mman.h
31310         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31311         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31312         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31313         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31314         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31315         * sysdeps/unix/sysv/linux/bits/in.h
31316         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31317
31318 2012-05-22  Roland McGrath  <roland@hack.frob.com>
31319
31320         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31321         (PREPARE_VERSION): Just use assert instead, it will be elided
31322         under [NDEBUG] anyway.
31323
31324 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31325
31326         * sysdeps/unix/sysv/linux/Makefile: Include
31327         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31328         (sysdep_routines): Remove sysctl.
31329         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31330         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31331         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31332         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31333         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31334
31335 2012-05-22  Andreas Jaeger  <aj@suse.de>
31336
31337         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31338         that pseudo_end is just ret and the stack pointer is correct also
31339         for static library in error case.
31340
31341 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31342
31343         [BZ #14122]
31344         * nss/nsswitch.c (defconfig_entries): New variable.
31345         (__nss_database_lookup): Don't leak defconfig entries.
31346         (nss_parse_service_list): Don't leak on error paths.
31347         (free_database_entries): New function.
31348         (free_defconfig): New function.
31349         (free_mem): Move common code to free_database_entries.
31350
31351 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31352
31353         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31354         Add arch_prctl.
31355         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31356
31357         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31358         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31359         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31360         New macro.
31361         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31362         (INTERNAL_SYSCALL_TYPES): Likewise.
31363         (LOAD_ARGS_TYPES_[1-6]): Likewise.
31364         (LOAD_REGS_TYPES_[1-6]): Likewise.
31365         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31366         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31367
31368 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31369
31370         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31371         copysignl for GLIBC_2_0.
31372         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31373         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31374         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31375         logbl for GLIBC_2_0.
31376         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31377         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31378
31379 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31380
31381         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31382         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31383
31384         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31385         Use "neg %eax".
31386
31387         * time/mktime.c: Update copyright years.
31388
31389 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31390
31391         mktime: merge comment-quoting-style change from gnulib
31392         * time/mktime.c: Quote 'like this' in comments.
31393         The GNU coding standards suggest that we no longer quote `like this',
31394         as "`" and "'" are typically rendered asymmetrically nowadays.
31395         The typical gnulib style is to quote 'like this' when quoting
31396         code, and "like this" when quoting English.
31397
31398         * time/mktime.c (compile-command): Add "-I.".
31399
31400         mktime: merge mktime-internal.h change from gnulib
31401         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31402
31403         mktime: merge time_r change from gnulib
31404         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31405
31406         mktime: merge DEBUG change from gnulib
31407         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31408         case system <time.h> has a #define.
31409
31410         mktime: merge <sys/types.h> change from gnulib
31411         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31412         since <time.t> is now guaranteed to define time_t.
31413
31414         mktime: merge HAVE_CONFIG_H change from gnulib
31415         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31416
31417 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31418
31419         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31420         Use "neg %eax".
31421
31422         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31423         __rlim_t cast.
31424         (struct rusage): Use anonymous union to pad each field to
31425         __syscall_slong_t.
31426
31427 2012-05-21  David S. Miller  <davem@davemloft.net>
31428
31429         * Makefules (o-iterator): Remove .s cases.
31430         (compile-command.s): Delete.
31431         (COMPILE.s): Delete.
31432         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31433
31434 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
31435
31436         * configure.in (libc_cv_predef_stack_protector): Only consider
31437         "foobar" and "__stack_chk_fail" lines in libc_undefs.
31438         * configure: Regenerated.
31439
31440 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31441
31442         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31443         New macro.  Use R*LP on int and pointer.
31444         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31445         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31446         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31447         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31448
31449         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31450         [__WORDSIZE_TIME64_COMPAT32] instead of
31451         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31452         (struct utmp): Likewise.
31453         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31454         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31455         Renamed to ...
31456         (__WORDSIZE_TIME64_COMPAT32): This.
31457         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31458         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31459         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31460         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31461         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31462         (__WORDSIZE_TIME64_COMPAT32): New macro.
31463
31464 2012-05-21  Andreas Jaeger  <aj@suse.de>
31465
31466         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31467         only if [SHARED]. Add prototype for __wcschr_ia32.
31468
31469 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31470
31471         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31472         of %rbp unmolested in the jmp_buf while mangling the low bits.
31473         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31474         unmolested high bits of %rbp while demangling the low bits.
31475         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31476
31477 2012-05-21  Andreas Jaeger  <aj@suse.de>
31478
31479         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31480         * sunrpc/svc_simple.c: Use it for registerrpc.
31481         * sunrpc/xcrypt.c: Use it for passwd2des.
31482
31483         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31484
31485 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31486
31487         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31488         Don't define if [__SYSCALL_WORDSIZE != 32].
31489         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31490         New macro.
31491
31492 2012-05-21  Bruno Haible  <bruno@clisp.org>
31493             Andreas Jaeger  <aj@suse.de>
31494
31495         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31496         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31497         inptr and inend for must_buffer_ch.
31498         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31499         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31500         * stdio-common/Makefile (tests): Remove bug15.
31501         (bug15-ENV): Remove macro.
31502         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31503         anymore.
31504
31505 2012-05-19  Andreas Jaeger  <aj@suse.de>
31506             Roland McGrath  <roland@hack.frob.com>
31507
31508         * manual/contrib.texi: Completely rewritten. It contains now an
31509         alphabetical list of contributors and their contributions.
31510
31511 2012-05-21  Richard Henderson  <rth@twiddle.net>
31512
31513         * misc/getauxval.c (__getauxval): Use unsigned long int.
31514         * misc/sys/auxv.h: Include <sys/cdefs.h>.
31515         (getauxval): Use unsigned long int.
31516
31517 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31518
31519         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31520
31521 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31522
31523         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31524         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31525         __alignof__ (long double).
31526
31527 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31528
31529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31530
31531 2012-05-20  Richard Henderson  <rth@twiddle.net>
31532
31533         * misc/getauxval.c: New file.
31534         * misc/sys/auxv.h: New file.
31535         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31536         (routines): Add getauxval.
31537         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31538         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31539         * elf/dl-sysdep.c (_dl_auxv): Remove.
31540         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31541         * elf/dl-support.c (_dl_auxv): New variable.
31542         (_dl_aux_init): Initialize it.
31543         * manual/startup.texi (Auxiliary Vector): New node.
31544         * sysdeps/generic/bits/hwcap.h: New file.
31545         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31546         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
31547         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31548         * sysdeps/sparc/sysdep.h: ... here.  Include it.
31549         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31550         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31552         Update.
31553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31556         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31561
31562 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31563
31564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31565
31566 2012-05-19  David S. Miller  <davem@davemloft.net>
31567
31568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31569
31570 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31571
31572         [BZ #14123]
31573         * math/s_ccosh.c: Include <float.h>
31574         (__ccosh): Avoid internal overflow calculating sinh and cosh
31575         values before multiplying by sin and cos values.
31576         * math/s_ccoshf.c: Likewise.
31577         * math/s_ccoshl.c: Likewise.
31578         * math/s_csin.c: Likewise.
31579         * math/s_csinf.c: Likewise.
31580         * math/s_csinl.c: Likewise.
31581         * math/s_csinh.c: Likewise.
31582         * math/s_csinhf.c: Likewise.
31583         * math/s_csinhl.c: Likewise.
31584         * math/libm-test.inc (ccos_test): Add more tests.
31585         (ccosh_test): Likewise.
31586         (csin_test): Likewise.
31587         (csinh_test): Likewise.
31588         * sysdeps/i386/fpu/libm-test-ulps: Update.
31589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31590
31591 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
31592
31593         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31594         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31595
31596         * sysdeps/x86_64/x32/_itoa.h: Add comment.
31597
31598 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31599
31600         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31601         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31602         * sysdeps/powerpc/soft-fp/Versions: Likewise.
31603         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31604         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31605         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31606         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31607         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31608         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31609         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31610         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31611         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31612         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31613         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31614         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31615         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31616         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31617         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31618         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31619         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31620         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31621         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31622         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31623         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31624         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31625         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31626         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31627         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31628         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31629         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31630         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31631
31632 2012-05-18  Andreas Jaeger  <aj@suse.de>
31633
31634         * csu/.gitignore: Delete.
31635
31636 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31637
31638         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31639         (timex): Use __syscall_slong_t.
31640
31641 2012-05-18  Andreas Jaeger  <aj@suse.de>
31642             Carlos O'Donell  <carlos_odonell@mentor.com>
31643
31644         * manual/install.texi (Configuring and compiling): Update
31645         description about files modified in the source directory.
31646         * INSTALL: Regenerated.
31647
31648 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31649
31650         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31651         value.  Use "or" to set return value to -1.
31652         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31653         negate return value.
31654
31655 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31656
31657         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31658         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31659         failure if the compiler has Graphite support disabled.
31660         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31661         Likewise.
31662         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31663         (CFLAGS-memmove.c): Likewise.
31664         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31665         Likewise.
31666
31667 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31668
31669         * sysdeps/x86_64/x32/_itoa.h: New file.
31670
31671         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31672         getdents system call only if kernel and user dirents have the
31673         same d_ino and d_off.
31674
31675         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31676         LLONG_MAX != LONG_MAX.
31677         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31678         (_fitoa_word): Likewise.
31679
31680         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31681         years.
31682         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31683         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31684         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31685
31686         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31687         include <bits/wordsize.h>.  Check __x86_64__ instead of
31688         __WORDSIZE.
31689         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31690         if __x86_64__ is defined.  Use anonymous union on fpstate.
31691
31692         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31693         anonymous union.
31694
31695 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
31696
31697         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31698         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31699         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31700         Refer to _rtld_local_ro instead of _rtld_global_ro.
31701         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31702         Likewise.
31703         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31704         Likewise.
31705         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31706         Likewise.
31707         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31708         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31709         of _rtld_global, and rtld_progname instead of _dl_argv[0].
31710
31711         * sysdeps/powerpc/powerpc32/dl-machine.c
31712         (__elf_machine_runtime_setup) [PROF]: Don't reference
31713         _dl_prof_resolve.
31714
31715 2012-05-18  Andreas Jaeger  <aj@suse.de>
31716
31717         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31718         function only available for GCCs before 3.4 since GCC 3.4
31719         introduced a builtin.
31720         (lrint): Likewise.
31721         (llrintf): Likewise.
31722         (llrint): Likewise.
31723         (fmaxf): Likewise.
31724         (fmax): Likewise.
31725         (fminf): Likewise.
31726         (fmin): Likewise.
31727         (rint): Likewise.
31728         (rintf): Likewise.
31729         (nearbyint): Likewise.
31730         (nearbyintf): Likewise.
31731         (ceil): Likewise.
31732         (ceilf): Likewise.
31733         (floor): Likewise.
31734         (floorf): Likewise.
31735
31736 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31737
31738         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31739         on both fields and cast pointer to __syscall_ulong_t.
31740
31741         * bits/types.h (__fsword_t): New type.
31742         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31743         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31744         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31745         (__FSWORD_T_TYPE): Likewise.
31746         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31747         (__FSWORD_T_TYPE): Likewise.
31748         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31749         (__FSWORD_T_TYPE): Likewise.
31750         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31751         (__FSWORD_T_TYPE): Likewise.
31752         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31753         __SWORD_TYPE with __fsword_t.
31754         (statfs64): Likewise.
31755
31756 2012-05-17  David S. Miller  <davem@davemloft.net>
31757
31758         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31759
31760 2012-05-17  Andreas Jaeger  <aj@suse.de>
31761
31762         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31763         warning.
31764
31765 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31766
31767         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31768
31769 2012-05-17  Andreas Jaeger  <aj@suse.de>
31770
31771         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31772         when it is used.
31773
31774 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31775
31776         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31777
31778 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31779
31780         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31781         * sysdeps/x86_64/tst-mallocalign1.c: New file.
31782
31783 2012-05-17  Andreas Jaeger  <aj@suse.de>
31784             Carlos O'Donell  <carlos_odonell@mentor.com>
31785
31786         [BZ #14059]
31787         * sysdeps/x86_64/multiarch/init-arch.h
31788         (bit_YMM_Usable): Rename to...
31789         (bit_AVX_Usable): ... this.
31790         (bit_FMA4_Usable): New macro.
31791         (bit_XMM_state): New macro.
31792         (bit_YMM_state): New macro.
31793         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31794         [__ASSEMBLER__] (index_AVX_Usable): ... this.
31795         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31796         (CPUID_OSXSAVE): New macro.
31797         (CPUID_AVX): New macro.
31798         (CPUID_FMA4): New macro.
31799         (index_YMM_Usable): Rename to...
31800         (index_AVX_Usable): ... this.
31801         (HAS_AVX): Use HAS_ARCH_FEATURE.
31802         (HAS_FMA4): Likewise.
31803         (HAS_YMM_USABLE): Remove.
31804         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31805         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31806         are present.
31807         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31808         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31809         * sysdeps/x86_64/multiarch/Makefile: Likewise.
31810         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31811         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31812
31813 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31814
31815         * math/libm-test.c: Support platforms without multiple rounding modes.
31816         * math/bug-nextafter.c: Support platforms without FP exceptions.
31817         * math/bug-nexttoward.c: Likewise.
31818         * math/test-fenv.c: Likewise.
31819         * math/test-misc.c: Likewise.
31820         * stdlib/bug-getcontext.c: Likewise.
31821
31822 2012-05-17  Andreas Jaeger  <aj@suse.de>
31823
31824         * manual/examples/search.c (critter_cmp): Change signature to
31825         avoid warnings.
31826         * manual/string.texi (Collation Functions): Likewise.
31827
31828 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31829
31830         * bits/types.h: Fold copyright years.
31831         * bits/typesizes.h: Likewise.
31832         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31833         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31834         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31835         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31836         * time/time.h: Likewise.
31837
31838 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
31839
31840         [BZ #208]
31841         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31842         in instead of returning them.  Return void.
31843         (__libc_mallinfo): Accumulate over all arenas.
31844         (__malloc_stats): Adjust for change in int_mallinfo interface.
31845
31846 2012-05-16  Roland McGrath  <roland@hack.frob.com>
31847
31848         [BZ #10375]
31849         * configure.in (NM): Add AC_CHECK_TOOL for it.
31850         (libc_extra_cflags): New substituted variable.
31851         Check for -fstack-protector being used implicitly.
31852         * configure: Regenerated.
31853         * config.make.in (config-extra-cflags): New variable,
31854         gets @libc_extra_cflags@.
31855         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31856
31857         [BZ #10375]
31858         * configure.in: Check for _FORTIFY_SOURCE being predefined.
31859         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31860         * configure: Regenerated.
31861         * config.make.in (CPPUNDEFS): New substituted variable.
31862         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31863         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31864         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31865
31866 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31867
31868         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31869         (mq_attr): Use __syscall_slong_t.
31870
31871 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31872
31873         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31874         Check __x86_64__ instead of __WORDSIZE.
31875         (_STAT_VER_LINUX): Likewise.
31876         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
31877         __syscall_ulong_t and __syscall_slong_t.
31878         (stat64): Likewise.
31879
31880 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31881
31882         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31883
31884 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31885
31886         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31887
31888 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31889
31890         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31891         __syscall_ulong_t.
31892
31893         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31894         include <bits/wordsize.h>.  Check __x86_64__ instead of
31895         __WORDSIZE.
31896         (greg_t): Use "__extension__ long long int" if __x86_64__ is
31897         defined.
31898         (mcontext_t): Replace "unsigned long" with "unsigned long long".
31899
31900         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31901         include <bits/wordsize.h>.  Check __x86_64__ instead of
31902         __WORDSIZE.
31903         (user_regs_struct): Use "__extension__ unsigned long long"
31904         instead of "unsigned long" if __x86_64__ is defined.
31905         (user): Likewise.  Pad after pointer field if __ILP32__ is
31906         defined.
31907
31908 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
31909
31910         * configure.in (makeinfo): Require version 4.5 or later.  Allow
31911         versions 5 to 9.
31912         * configure: Regenerated.
31913         * manual/install.texi (texinfo): Increase version requirement to
31914         4.5 or later.
31915         * INSTALL: Regenerated.
31916
31917         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31918
31919 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31920
31921         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31922
31923         * sysdeps/x86_64/x32/ffs.c: New file.
31924
31925         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31926         __syscall_ulong_t.
31927         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31928         defined.  Use __syscall_ulong_t.
31929         (shminfo): Use __syscall_ulong_t.
31930         (shm_info): Likewise.
31931
31932         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31933         __syscall_ulong_t.
31934
31935         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31936         <bits/wordsize.h>.
31937         (msgqnum_t): Use __syscall_ulong_t.
31938         (msglen_t): Likewise.
31939         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
31940         __syscall_ulong_t.
31941
31942         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31943         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31944
31945         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31946
31947         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31948         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31949
31950         * sysvipc/sys/msg.h (msgbuf): Replace long int with
31951         __syscall_slong_t.
31952
31953         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31954         include <bits/wordsize.h>.  Check __x86_64__ instead of
31955         __WORDSIZE.
31956
31957         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31958         "unsigned long long int" if __x86_64__ is defined.
31959         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31960
31961         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31962         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31963         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31964
31965         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31966         <stdint.h>.
31967         (GET_PC): Cast to uintptr_t first.
31968         (GET_FRAME): Likewise.
31969         (GET_STACK): Likewise.
31970
31971         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31972         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31973         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31974         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31975         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31976         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31977         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31978         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31979         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31980         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31981         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31982         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31983         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31984         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31985         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31986         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31987         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31988         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31989         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31990         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31991         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31992         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31993         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31994         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31995         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31996         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31997         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31998         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31999         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32000
32001 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
32002
32003         * Makerules (+depfiles): Also collect depfiles from .oS in
32004         $(extra-objs).
32005         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32006         .oS, $(libnldbl-routines)).
32007
32008         * Makerules (native-compile-mkdep-flags): Define.
32009         * sunrpc/Makefile (extra-objs): Add $(addprefix
32010         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32011         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32012         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
32013         calling $(make-target-directory).
32014
32015 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32016
32017         * bits/types.h (__snseconds_t): Removed.
32018         * time/time.h (struct timespec): Replace __snseconds_t with
32019         __syscall_slong_t.
32020         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32021         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32022         Likewise.
32023         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32024         (__SNSECONDS_T_TYPE): Likewise.
32025         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32026         (__SNSECONDS_T_TYPE): Likewise.
32027         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32028         (__SNSECONDS_T_TYPE): Likewise.
32029
32030 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32031
32032         * sysdeps/mach/hurd/bits/typesizes.h
32033         (__SYSCALL_SLONG_TYPE): New macro.
32034         (__SYSCALL_ULONG_TYPE): Likewise.
32035
32036 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32037
32038         * bits/types.h (__syscall_slong_t): New type.
32039         (__syscall_ulong_t): Likewise.
32040
32041         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32042         (__SYSCALL_ULONG_TYPE): Likewise.
32043         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32044         (__SYSCALL_SLONG_TYPE): Likewise.
32045         (__SYSCALL_ULONG_TYPE): Likewise.
32046         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32047         (__SYSCALL_SLONG_TYPE): Likewise.
32048         (__SYSCALL_ULONG_TYPE): Likewise.
32049         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32050         (__SYSCALL_SLONG_TYPE): Likewise.
32051         (__SYSCALL_ULONG_TYPE): Likewise.
32052
32053 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32054
32055         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32056         Add sigaltstack-offsets.sym.
32057         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32058         <sigaltstack-offsets.h>.
32059         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
32060         longjmp_msg pointer.
32061         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
32062         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32063         signal stack.
32064         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32065
32066 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32067
32068         * elf/stackguard-macros.h: Remove file.
32069         * sysdeps/generic/stackguard-macros.h: New file.
32070         * sysdeps/i386/stackguard-macros.h: Likewise.
32071         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32072         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32073         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32074         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32075         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32076         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32077         * sysdeps/x86_64/stackguard-macros.h: Likewise.
32078         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32079         <elf/stackguard-macros.h>.
32080
32081         [BZ #14109]
32082         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32083         __aligned__ in attribute.
32084         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32085         (gregset_t): Likewise.
32086
32087 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32088
32089         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32090         * sysdeps/x86_64/64/Implies-after: Here.  New file.
32091         * sysdeps/x86_64/x32/Implies-after: New file.
32092
32093 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32094
32095         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32096         and access return value for _dl_profile_fixup.  Use R10_LP to
32097         load frame size.
32098
32099 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32100
32101         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32102
32103 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32104
32105         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32106         * sysdeps/x86_64/x32/sysdep.h: New file.
32107
32108 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32109
32110         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32111         * sysdeps/x86_64/setjmp.S: Likewise.
32112
32113 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32114
32115         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32116         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32117         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32118         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32119         remove unused global constant.
32120
32121 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
32122
32123         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32124         include of <not-cancel.h>.
32125
32126 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32127
32128         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32129
32130 2012-05-15  Jeff Law  <law@redhat.com>
32131             Andreas Jaeger  <aj@suse.de>
32132
32133         [BZ #13594]
32134         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32135         out from...
32136         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32137         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32138         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32139         code changing __hst_map_handle.map.
32140
32141 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32142
32143         * configure.in (sysnames): Look for Implies-before and Implies-after
32144         files.
32145         * configure: Regenerated.
32146
32147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32148
32149         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32150         8-byte data alignment with LP_SIZE alignment.
32151
32152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32153
32154         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32155         into R10_LP.
32156
32157 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32158
32159         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32160
32161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32162
32163         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32164         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32165         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32166         Likewise.
32167         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32168
32169 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32170
32171         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32172         (stackinfo_sub_sp): Likewise.
32173
32174 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32175
32176         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32177         RAX_LP.
32178
32179 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32180
32181         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32182         into R*_LP.
32183
32184 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32185
32186         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32187         sizes into R*_LP.
32188
32189 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32190
32191         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32192
32193 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32194
32195         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32196         into R11_LP and load __x86_64_shared_cache_size_half into
32197         R8_LP.
32198
32199 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32200
32201         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32202         R8_LP.
32203
32204 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32205
32206         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32207         logb for POWER7.
32208         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32209         logbf for POWER7.
32210         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32211         logbl for POWER7.
32212         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32213         powerpc32/power7/fpu/s_logb.c via #include.
32214         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32215         powerpc32/power7/fpu/s_logbf.c via #include.
32216         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32217         powerpc32/power7/fpu/s_logbl.c via #include.
32218
32219 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32220
32221         * README.libm: Remove file.
32222
32223 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32224
32225         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32226         count for x32.  Use R*_LP and omit operand-size suffix.
32227
32228 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32229
32230         * shlib-versions: Move x86_64-.*-linux.* entries to ...
32231         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
32232         * sysdeps/x86_64/x32/shlib-versions: New file.
32233
32234 2012-05-14  Roland McGrath  <roland@hack.frob.com>
32235
32236         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32237         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32238         Use _dl_fatal_printf instead.
32239
32240 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32241
32242         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32243         set if not set by the user.  Do not allow for being unset.
32244         * sysdeps/unix/sysv/linux/configure: Regenerated.
32245
32246 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32247
32248         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32249         the `q' suffix from lea and replace .quad with ASM_ADDR.
32250
32251 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32252
32253         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32254         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
32255         instead of $17.
32256         (PTR_DEMANGLE): Likewise.
32257
32258 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32259
32260         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32261         (LP_OP): Likewise.
32262         (ASM_ADDR): Likewise.
32263         (RAX_LP): Likewise.
32264         (RBP_LP): Likewise.
32265         (RBX_LP): Likewise.
32266         (RCX_LP): Likewise.
32267         (RDI_LP): Likewise.
32268         (RSI_LP): Likewise.
32269         (RSP_LP): Likewise.
32270         (R8_LP): Likewise.
32271         (R9_LP): Likewise.
32272         (R10_LP): Likewise.
32273         (R10_LP): Likewise.
32274         (R11_LP): Likewise.
32275         (R12_LP): Likewise.
32276         (R13_LP): Likewise.
32277         (R14_LP): Likewise.
32278         (R15_LP): Likewise.
32279
32280 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32281
32282         * sysdeps/x86_64/x32/dl-machine.h: New file.
32283
32284 2012-05-14  Andreas Jaeger  <aj@suse.de>
32285
32286         * manual/Makefile (subdir): Remove export of subdir.
32287         (all): Remove target.
32288         (.PHONY): Remove all from list.
32289         (mkinstalldirs): Remove.
32290         (.PHONY): Remove installdirs from list.
32291         ($(inst_infodir)/libc.info): Use make-target-directory.
32292         (installdirs): Remove.
32293         (subdir_%): Remove.
32294         (glibc-targets): Remove.
32295         (lib): Remove.
32296         (stubs): Remove.
32297         ($(objpfx)stubs ../po/manual.pot): Remove.
32298         ($(objpfx)stamp%): Remove.
32299         (make-target-directory): Remove.
32300         (subdir_install): Remove.
32301         (routines): Remove.
32302         (aux): Remove.
32303         (sources): Remove.
32304         (objects): Remove.
32305         (headers): Remove.
32306
32307         [BZ #13750]
32308         * manual/.gitignore: Remove, it's not needed anymore.
32309         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32310         all files in it.
32311         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32312         directory.
32313         (texis): Renamed to $(objpfx)texis.
32314         (texis-path): New, contains path to generated files.
32315         (chapters.%): Use texis-path for complete path, add extra argument
32316         libc-texinfo.sh.
32317         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32318         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32319         (summary,texi, stamp-summary): Use complete path of
32320         files. Generate files in build dir.
32321         (dir-add.texi): Build in build dir.
32322         (libm-err.texi,stamp-libm-err): Likewise.
32323         (version.texi, stamp-version): Likewise.
32324         (.%c.texi): Likewise.
32325         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32326         (mostlyclean): Remove target.
32327         (realclean): Remove target.
32328         (generated): Add new variable with contents from mostlyclean and
32329         realclean, remove entries duplicated in common-mostlyclean, add
32330         stamp-libm-err and stamp-version.
32331         (generated-dirs): Add libc directory.
32332         ($(inst_infodir)/libc.info): Install files from build dir.
32333
32334         * manual/install.texi (Configuring and compiling): Adjust since
32335         the info files are not part of the tar ball anymore.
32336
32337 2012-05-14  Andreas Jaeger  <aj@suse.de>
32338
32339         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32340         variable.
32341
32342 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32343
32344         [BZ #13717]
32345         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32346         to 2.2.0 where earlier.
32347         * sysdeps/unix/sysv/linux/configure: Regenerated.
32348         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32349         Remove conditional code.
32350         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32351         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32352         Remove conditional code.
32353         [!__NR_lchown]: Likewise.
32354         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32355         [__NR_lchown]: Likewise.
32356         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32357         comment referencing __ASSUME_LCHOWN_SYSCALL.
32358         * sysdeps/unix/sysv/linux/i386/sigaction.c
32359         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32360         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32361         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32362         Remove conditional code.
32363         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32364         (__protocol_available): Remove #if 0 code.
32365         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32366         conditional code.
32367         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32368         * sysdeps/unix/sysv/linux/kernel-features.h
32369         (__ASSUME_GETCWD_SYSCALL): Don't define.
32370         (__ASSUME_REALTIME_SIGNALS): Likewise.
32371         (__ASSUME_PREAD_SYSCALL): Likewise.
32372         (__ASSUME_PWRITE_SYSCALL): Likewise.
32373         (__ASSUME_POLL_SYSCALL): Likewise.
32374         (__ASSUME_LCHOWN_SYSCALL): Likewise.
32375         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32376         non-SPARC.
32377         (__ASSUME_SIOCGIFNAME): Don't define.
32378         (__ASSUME_MSG_NOSIGNAL): Likewise.
32379         (__ASSUME_SENDFILE): Define unconditionally.
32380         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32381         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32382         conditional code.
32383         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32384         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32385         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32386         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32387         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32388         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32389         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32391         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32392         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32394         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32395         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32397         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32398         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32400         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32401         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32403         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32404         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32406         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32407         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32409         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32410         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32412         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32413         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32414         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32415         Remove conditional code.
32416         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32417         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32418         Remove conditional code.
32419         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32420         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32421         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32422         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32423         Remove conditional code.
32424         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32425         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32426         Remove conditional code.
32427         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32428         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32429         Remove conditional code.
32430         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32431         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32432         Remove conditional code.
32433         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32434         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32435         Remove conditional code.
32436         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32437         * sysdeps/unix/sysv/linux/sh/pwrite64.c
32438         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32439         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32440         * sysdeps/unix/sysv/linux/sigaction.c
32441         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32442         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32443         * sysdeps/unix/sysv/linux/sigpending.c
32444         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32445         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32446         * sysdeps/unix/sysv/linux/sigprocmask.c
32447         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32448         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32449         * sysdeps/unix/sysv/linux/sigsuspend.c
32450         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32451         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32452         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32453         (__libc_missing_rt_sigs): Remove.
32454         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32455         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32456         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32457         Remove conditional code.
32458         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32459         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32460         return 1.
32461         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32462         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32463         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32464         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32465
32466 2012-05-14  Andreas Jaeger  <aj@suse.de>
32467
32468         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32469         it's not used in glibc.
32470         (__coshm1): Likewise.
32471         (__acosh1p): Likewise.
32472         (__sgn): Likewise.
32473
32474         * manual/string.texi (Copying and Concatenation): Add missing
32475         variable in concat example.
32476         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32477
32478 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32479
32480         [BZ #14103]
32481         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32482         __builtin_clzl with __builtin_clzll.
32483
32484 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32485
32486         [BZ #14104]
32487         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32488         libc_freeres_ptr.
32489
32490 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32491
32492         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32493         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32494         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32495         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32496
32497 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
32498
32499         * NEWS: Update ia64 info.
32500
32501 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
32502
32503         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32504         used as bcopy.
32505
32506 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
32507
32508         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32509         * sysdeps/unix/syscalls.list (dup3): Likewise.
32510         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32511         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32512
32513 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32514
32515         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32516         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32517
32518 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32519
32520         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32521         thread pointer.
32522         (TLS_IE): Use mov/add instead of movq/addq to load thread
32523         pointer.
32524         (TLS_GD_PREFIX): New.
32525         (TLS_GD): Use it.
32526
32527 2012-05-11  David S. Miller  <davem@davemloft.net>
32528
32529         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32530         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32531         (_FPU_SETCW): Likewise.
32532
32533 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32534
32535         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32536         is 32-byte aligned.
32537
32538 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
32539
32540         [BZ #11837]
32541         * iconvdata/gb18030.c: Update tables.
32542         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
32543         characters specially.
32544         (BODY for TO_LOOP): Add encoding of missing ranges.
32545
32546 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
32547
32548         [BZ #13673]
32549         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32550         * sysdeps/mach/hurd/dup3.c: Likewise.
32551         * sysdeps/mach/hurd/readlinkat.c: Likewise.
32552         * sysdeps/powerpc/memmove.c:: Likewise.
32553
32554 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32555
32556         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32557         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32558
32559 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32560
32561         * elf/elf.h (R_X86_64_RELATIVE64): New.
32562         (R_X86_64_NUM): Updated.
32563         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32564         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
32565         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32566         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32567         tst-quad1pie tst-quad2pie
32568         (modules-names): Add tst-quadmod1 tst-quadmod2.
32569         ($(objpfx)tst-quad1): New dependency.
32570         ($(objpfx)tst-quad2): Likewise.
32571         ($(objpfx)tst-quad1pie): Likewise.
32572         ($(objpfx)tst-quad2pie): Likewise.
32573         * sysdeps/x86_64/tst-quad1.c: New file.
32574         * sysdeps/x86_64/tst-quad1pie.c: New file.
32575         * sysdeps/x86_64/tst-quad2.c: Likewise.
32576         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32577         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32578         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32579         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32580         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32581
32582 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32583
32584         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32585         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32586         * streams/stropts.h (t_scalar_t): Define type.
32587
32588         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32589         (_PATH_PRESERVE): Set to "/var/lib".
32590         (_PATH_RWHODIR): Set to "/var/spool/rwho".
32591
32592         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32593         instead of int.
32594
32595         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32596         if __dir_mkfile succeeded.
32597
32598         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32599         checking for _hurd_dtablesize.  Unlock it right after having
32600         finished _hurd_dtable allocation.
32601
32602 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32603
32604         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32605         * sysdeps/mach/hurd/configure: Regenerated.
32606         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32607         special-casing to...
32608         * sysdeps/gnu/configure.in: ... this new file.
32609         * sysdeps/unix/sysv/linux/configure: Regenerated.
32610         * sysdeps/gnu/configure: New generated file.
32611
32612         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32613         for Linux: use nsec instead of usec, as well as:
32614         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32615         members of type struct timespec.
32616         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32617         New macros.
32618         (struct stat64): Likewise.
32619         (_STATBUF_ST_NSEC): New macro.
32620         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32621
32622         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32623         __strtoul_internal rather than strtoul.
32624
32625 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32626
32627         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32628         and reject them.
32629
32630 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32631
32632         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32633         which preserves existing values.
32634         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32635
32636 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32637
32638         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32639         TIMEOUT values.  Return EINVAL for NFDS values either negative or
32640         greater than FD_SETSIZE.
32641
32642 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32643
32644         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32645         allocated, call __vm_protect to finish enabling the existing space, and
32646         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32647         allocate the remainder.
32648
32649 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32650
32651         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32652         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
32653
32654 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32655
32656         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32657         sysdeps/mach/hurd/readlink.c.
32658
32659         * posix/tst-sysconf.c (posix_options): Only use
32660         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32661         _POSIX_SYNCHRONIZED_IO when they are defined
32662         * sysdeps/mach/hurd/bits/posix_opt.h:
32663         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32664         (_XOPEN_REALTIME): Undefine macro.
32665         (_XOPEN_REALTIME_THREADS): Undefine macro.
32666         (_XOPEN_SHM): Undefine macro.
32667         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32668         macro to -1.
32669         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32670         macro to -1.
32671         (_POSIX_ASYNC_IO): Undefine macro.
32672         (_POSIX_PRIORITIZED_IO): Undefine macro.
32673         (_POSIX_SPIN_LOCKS): Define macro to -1.
32674
32675         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32676         SA_NODEFER, SA_RESETHAND.
32677         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32678         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32679         F_DUPFD_CLOEXEC.
32680
32681 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32682
32683         * elf/Makefile (pldd-modules): Define unconditionally.
32684
32685 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32686
32687         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32688
32689 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32690
32691         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32692         Return ENOENT when name is empty.
32693         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32694
32695 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32696
32697         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32698
32699         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32700
32701 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32702
32703         Fix mlock in all cases except non-readable pages.
32704         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32705         instead of VM_PROT_ALL as parameter to __vm_wire function.
32706
32707         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32708         (__mkdir): When path is `/', just fail with EEXIST.
32709         * sysdeps/mach/hurd/mkdirat.c: Likewise.
32710
32711 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32712
32713         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32714         <sys/uio.h> (for writev).
32715         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32716         and <sys/param.h> (for MIN).
32717
32718 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32719
32720         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32721         REQUESTED_TIME.  Properly set the remaining time and return EINTR
32722         if interrupted.
32723
32724 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32725
32726         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32727         Depend on against $(link-rpcuserlibs).
32728
32729 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32730
32731         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32732         (__libc_stack_end): Do not use attribute_relro.
32733         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32734         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32735         to libthread-provided value.
32736         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32737         attribute_relro.
32738
32739 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32740
32741         [BZ #3748]
32742         * bits/libc-lock.h (__libc_once_get): New macro.
32743         * sysdeps/mach/bits/libc-lock.h: Likewise.
32744         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32745         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32746         instead of using implementation details.
32747
32748         * libio/fileops.c: Unconditionally include <kernel-features.h>.
32749         * libio/freopen.c: Likewise.
32750         * libio/freopen64.c: Likewise.
32751         * misc/syslog.c: Likewise.
32752         * nscd/connections.c: Likewise.
32753         * nscd/netgroupcache.c: Likewise.
32754         * sysdeps/posix/getcwd.c: Likewise.
32755
32756 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32757
32758         * math/w_ilogbf.c: Add #include <limits.h>.
32759
32760 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32761
32762         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32763         path instead of returning without unlocking.
32764
32765         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32766         immediate-write ioctls.
32767         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32768
32769 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32770
32771         * sysdeps/mach/hurd/i386/init-first.c (init): Use
32772         __builtin_frame_address instead of making assumptions about the
32773         location of the return address relative to DATA.  Force early load of
32774         the return address.
32775         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32776         __builtin_frame_address.
32777
32778         dup3 for GNU Hurd.
32779         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32780         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
32781         implement dup3 and do some further code clean-ups.
32782         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32783         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32784
32785 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32786
32787         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32788
32789         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32790         HURD_CRITICAL_END around holding _hurd_dtable_lock.
32791         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32792         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32793         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32794         d->port.lock.
32795
32796         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32797         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
32798         when handler == SIG_ERR, not when handler != SIG_ERR.
32799
32800 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32801
32802         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32803         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32804         definitions.
32805
32806         accept4 for GNU Hurd.
32807         * include/sys/socket.h (__libc_accept4): New prototype.
32808         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
32809         to implement __libc_accept4.
32810         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32811         __libc_accept4.
32812         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32813
32814         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32815         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32816         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32817         signal-defines.sym.
32818
32819 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32820
32821         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32822
32823 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32824
32825         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32826         assertion on O_CLOEXEC flag.
32827         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32828         * hurd/intern-fd.c: Likewise.
32829         * hurd/port2fd.c: Likewise.
32830
32831 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32832
32833         [BZ #3906]
32834         * bits/in.h (IPV6_PKTINFO): Define new macro.
32835         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32836
32837 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32838
32839         [BZ #13954]
32840         [BZ #13955]
32841         [BZ #13956]
32842         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32843         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32844         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32845         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32846         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32847         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32848         * math/libm-test.inc (logb_test) : Additional logb tests.
32849
32850 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
32851             Andreas Jaeger  <aj@suse.de>
32852
32853         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32854         * configure: Regenerated.
32855         * config.h.in (LINK_OBSOLETE_RPC): New macro.
32856         * config.make.in (link-obsolete-rpc): New substituted variable.
32857         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32858         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32859         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32860         (shared-only-routines): Don't set it under [link-obsolete-rpc],
32861         so that libc.a contains the symbols.
32862         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32863         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32864         * sunrpc/auth_none.c: Likewise.
32865         * sunrpc/auth_unix.c: Likewise.
32866         * sunrpc/authdes_prot.c: Likewise.
32867         * sunrpc/authuxprot.c: Likewise.
32868         * sunrpc/clnt_gen.c: Likewise.
32869         * sunrpc/clnt_perr.c: Likewise.
32870         * sunrpc/clnt_raw.c: Likewise.
32871         * sunrpc/clnt_simp.c: Likewise.
32872         * sunrpc/clnt_tcp.c: Likewise.
32873         * sunrpc/clnt_udp.c: Likewise.
32874         * sunrpc/clnt_unix.c: Likewise.
32875         * sunrpc/des_crypt.c: Likewise.
32876         * sunrpc/des_soft.c: Likewise.
32877         * sunrpc/get_myaddr.c: Likewise.
32878         * sunrpc/key_call.c: Likewise.
32879         * sunrpc/key_prot.c: Likewise.
32880         * sunrpc/netname.c: Likewise.
32881         * sunrpc/pm_getmaps.c: Likewise.
32882         * sunrpc/pm_getport.c: Likewise.
32883         * sunrpc/pmap_clnt.c: Likewise.
32884         * sunrpc/pmap_prot.c: Likewise.
32885         * sunrpc/pmap_prot2.c: Likewise.
32886         * sunrpc/pmap_rmt.c: Likewise.
32887         * sunrpc/publickey.c: Likewise.
32888         * sunrpc/rpc_cmsg.c: Likewise.
32889         * sunrpc/rpc_common.c: Likewise.
32890         * sunrpc/rpc_dtable.c: Likewise.
32891         * sunrpc/rpc_prot.c: Likewise.
32892         * sunrpc/rpc_thread.c: Likewise.
32893         * sunrpc/rtime.c: Likewise.
32894         * sunrpc/svc.c: Likewise.
32895         * sunrpc/svc_auth.c: Likewise.
32896         * sunrpc/svc_raw.c: Likewise.
32897         * sunrpc/svc_run.c: Likewise.
32898         * sunrpc/svc_tcp.c: Likewise.
32899         * sunrpc/svc_udp.c: Likewise.
32900         * sunrpc/svc_unix.c: Likewise.
32901         * sunrpc/svcauth_des.c: Likewise.
32902         * sunrpc/xcrypt.c: Likewise.
32903         * sunrpc/xdr.c: Likewise.
32904         * sunrpc/xdr_array.c: Likewise.
32905         * sunrpc/xdr_float.c: Likewise.
32906         * sunrpc/xdr_intXX_t.c: Likewise.
32907         * sunrpc/xdr_mem.c: Likewise.
32908         * sunrpc/xdr_rec.c: Likewise.
32909         * sunrpc/xdr_ref.c: Likewise.
32910         * sunrpc/xdr_sizeof.c: Likewise.
32911         * sunrpc/xdr_stdio.c: Likewise.
32912
32913 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32914
32915         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32916         change.  Update copyright years.
32917
32918 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32919
32920         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32921
32922 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
32923             Joseph Myers  <joseph@codesourcery.com>
32924             Paul Pluzhnikov  <ppluzhnikov@google.com>
32925
32926         [BZ #14012]
32927         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32928         requiring rpcgen.
32929         [cross-compiling] (extra-libs): Likewise.
32930         [cross-compiling] (extra-libs-others): Likewise.
32931         [cross-compiling] (librpcsvc-routines): Likewise.
32932         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32933         [cross-compiling] (omit-deps): Likewise.
32934         (sunrpc-CPPFLAGS): New variable.
32935         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32936         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32937         (cross-rpcgen-objs): New variable.
32938         (extra-objs): Append $(cross-rpcgen-objs).
32939         ($(cross-rpcgen-objs)): New rule.
32940         ($(objpfx)cross-rpcgen): Likewise.
32941         (rpcgen-cmd): Define to use $(built-program-file).  Expand
32942         comment.
32943         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32944         ($(objpfx)x%.stmp): Likewise.
32945         * sunrpc/proto.h [IS_IN_build] (_): Define.
32946         [IS_IN_build] (_libc_intl_domainname): Likewise.
32947
32948 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32949
32950         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32951         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32952         and R_X86_64_TPOFF64.
32953
32954 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32955
32956         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32957         sysdeps/unix/sysv/syscalls.list.
32958         (stime): Likewise.
32959         (utime): Likewise.
32960         * sysdeps/unix/sysv/syscalls.list: Remove file.
32961
32962 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
32963
32964         [BZ #3440]
32965         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32966         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32967         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32968         (__LC_IDENTIFICATION): Make these macros useful in #if
32969         expressions, as required by C99.
32970
32971 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
32972
32973         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32974         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
32975         after this.
32976
32977 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
32978
32979         * stdlib/longlong.h: Updated from GCC.
32980
32981 2012-05-09  Andreas Jaeger  <aj@suse.de>
32982
32983         * nscd/nscd.c (run_modes): Make named enum, reorder so that
32984         default is first entry.
32985         (run_mode): Set type.
32986         (main): Remove informal message about syslog.
32987         (options): Fix typo.
32988
32989         [BZ #14053]
32990         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32991         to asm.
32992         (lrint): Likewise.
32993         (llrintf): Likewise.
32994         (llrint): Likewise.
32995         (rint): Likewise.
32996         (rintf): Likewise.
32997         (nearbyint): Likewise.
32998         (nearbyintf): Likewise.
32999
33000 2012-05-09  Andreas Jaeger  <aj@suse.de>
33001             Pedro Alves  <palves@redhat.com>
33002
33003         * nscd/nscd.c (run_mode): Use enum.
33004         (main): Cleanup coding style issue.
33005
33006 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
33007             Andreas Jaeger  <aj@suse.de>
33008
33009         * nscd/nscd.c (go_background): Replaced with...
33010         (run_mode): ... this.
33011         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33012         (options): Add -F --foreground.
33013         (main): Implement it.
33014         (parse_opt): Parse it.
33015
33016 2012-05-09  Andreas Jaeger  <aj@suse.de>
33017
33018         [BZ #14083]
33019         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33020         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33021         -Wconversion warning.
33022         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33023         Likewise.
33024
33025 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
33026
33027         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
33028         == 0.
33029         (LC_ALL): Use macro-int-constant.
33030         (LC_COLLATE): Likewise.
33031         (LC_CTYPE): Likewise.
33032         (LC_MESSAGES): Likewise.
33033         (LC_MONETARY): Likewise.
33034         (LC_NUMERIC): Likewise.
33035         (LC_TIME): Likewise.
33036         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33037         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33038         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33039         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33040         Specify type.
33041         [C99-based standards] (float_t): Expect type.
33042         [C99-based standards] (double_t): Expect type.
33043         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
33044         type.
33045         [C99-based standards] (HUGE_VALL): Likewise.
33046         [C99-based standards] (INFINITY): Likewise.
33047         [C99-based standards] (NAN): Likewise.
33048         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33049         [C99-based standards] (FP_NAN): Likewise.
33050         [C99-based standards] (FP_NORMAL): Likewise.
33051         [C99-based standards] (FP_SUBNORMAL): Likewise.
33052         [C99-based standards] (FP_ZERO): Likewise.
33053         [C99-based standards] (FP_FAST_FMA): Use
33054         optional-macro-int-constant.  Specify type.  Require == 1.
33055         [C99-based standards] (FP_FAST_FMAF): Likewise.
33056         [C99-based standards] (FP_FAST_FMAL): Likewise.
33057         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33058         [C99-based standards] (FP_ILOGBNAN): Likewise.
33059         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33060         Specify type.
33061         [C99-based standards] (MATH_ERREXCEPT): Likewise.
33062         [C99-based standards] (math_errhandling): Specify type.
33063         [ISO99 || ISO11] (signgam): Do not allow.
33064         [non-C99-based standards] (copysignf): Do not allow.
33065         [non-C99-based standards] (exp2f): Likewise.
33066         [non-C99-based standards] (log2f): Likewise.
33067         [non-C99-based standards] (modff): Allow.
33068         [non-C99-based standards] (erff): Do not allow.
33069         [non-C99-based standards] (erfcf): Likewise.
33070         [non-C99-based standards] (gammaf): Likewise.
33071         [non-C99-based standards] (hypotf): Likewise.
33072         [non-C99-based standards] (j0f): Likewise.
33073         [non-C99-based standards] (j1f): Likewise.
33074         [non-C99-based standards] (jnf): Likewise.
33075         [non-C99-based standards] (lgammaf): Likewise.
33076         [non-C99-based standards] (tgammaf): Likewise.
33077         [non-C99-based standards] (y0f): Likewise.
33078         [non-C99-based standards] (y1f): Likewise.
33079         [non-C99-based standards] (ynf): Likewise.
33080         [non-C99-based standards] (isnanf): Likewise.
33081         [non-C99-based standards] (acoshf): Likewise.
33082         [non-C99-based standards] (asinhf): Likewise.
33083         [non-C99-based standards] (atanhf): Likewise.
33084         [non-C99-based standards] (cbrtf): Likewise.
33085         [non-C99-based standards] (expm1f): Likewise.
33086         [non-C99-based standards] (ilogbf): Likewise.
33087         [non-C99-based standards] (log1pf): Likewise.
33088         [non-C99-based standards] (logbf): Likewise.
33089         [non-C99-based standards] (nextafterf): Likewise.
33090         [non-C99-based standards] (remainderf): Likewise.
33091         [non-C99-based standards] (rintf): Likewise.
33092         [non-C99-based standards] (scalbf): Likewise.
33093         [non-C99-based standards] (copysignl): Likewise.
33094         [non-C99-based standards] (exp2l): Likewise.
33095         [non-C99-based standards] (log2l): Likewise.
33096         [non-C99-based standards] (modfl): Allow.
33097         [non-C99-based standards] (erfl): Do not allow.
33098         [non-C99-based standards] (erfcl): Likewise.
33099         [non-C99-based standards] (gammal): Likewise.
33100         [non-C99-based standards] (hypotl): Likewise.
33101         [non-C99-based standards] (j0l): Likewise.
33102         [non-C99-based standards] (j1l): Likewise.
33103         [non-C99-based standards] (jnl): Likewise.
33104         [non-C99-based standards] (lgammal): Likewise.
33105         [non-C99-based standards] (tgammal): Likewise.
33106         [non-C99-based standards] (y0l): Likewise.
33107         [non-C99-based standards] (y1l): Likewise.
33108         [non-C99-based standards] (ynl): Likewise.
33109         [non-C99-based standards] (isnanl): Likewise.
33110         [non-C99-based standards] (acoshl): Likewise.
33111         [non-C99-based standards] (asinhl): Likewise.
33112         [non-C99-based standards] (atanhl): Likewise.
33113         [non-C99-based standards] (cbrtl): Likewise.
33114         [non-C99-based standards] (expm1l): Likewise.
33115         [non-C99-based standards] (ilogbl): Likewise.
33116         [non-C99-based standards] (log1pl): Likewise.
33117         [non-C99-based standards] (logbl): Likewise.
33118         [non-C99-based standards] (nextafterl): Likewise.
33119         [non-C99-based standards] (remainderl): Likewise.
33120         [non-C99-based standards] (rintl): Likewise.
33121         [non-C99-based standards] (scalbl): Likewise.
33122         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33123         [non-C99-based standards] (FP_*): Do not allow.
33124         [C99-based standards] (FP_*): Change to
33125         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33126         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33127         allow.
33128         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33129         (SIG_ERR): Likewise.
33130         [X/Open-based standards] (SIG_HOLD): Likewise.
33131         (SIG_IGN): Likewise.
33132         (SIGABRT): Use macro-int-constant.  Specify type.  Require
33133         positive value.
33134         (SIGFPE): Likewise.
33135         (SIGILL): Likewise.
33136         (SIGINT): Likewise.
33137         (SIGSEGV): Likewise.
33138         (SIGTER): Likewise.
33139         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33140         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33141         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33142         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33143         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33144         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33145         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33146         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33147         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33148         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33149         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33150         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33151         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33152         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33153         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33154         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33155         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33156         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33157         [X/Open-based standards] (SIGTRAP): Likewise.
33158         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33159         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33160         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33161         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33162         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33163         allow.
33164
33165 2012-05-08  Ian Wienand  <ianw@vmware.com>
33166
33167         [BZ #14080]
33168         * time/tzset.c (__tzset_parse_tz): Update default rules for
33169         daylight time changes in the Energy Policy Act of 2005.
33170
33171 2012-05-09  Andreas Jaeger  <aj@suse.de>
33172
33173         [BZ #13983]
33174         * elf/ldconfig.c (parse_conf): Change string to make clear that
33175         ldconfig only issued a warning if ld.so.conf does not exist.
33176
33177 2012-05-08  David S. Miller  <davem@davemloft.net>
33178
33179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33180         movxtod instead of popping the value on the stack.
33181
33182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33183
33184 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
33185
33186         * config.h.in: Add HAVE_ARM_PCS_VFP.
33187
33188 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
33189
33190         [BZ #13979]
33191         * include/features.h: Warn if user requests __FORTIFY_SOURCE
33192         checking but the checks are disabled for any reason.
33193
33194 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
33195
33196         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33197         and ELF64_R_TYPE with ELFW(R_TYPE).
33198
33199 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
33200
33201         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33202         (ulimit): Likewise.
33203
33204         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33205         (settimeofday): Likewise.
33206
33207 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
33208
33209         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
33210         a struct th_u2 inside the union, and move tu_block/tu_code into
33211         a new th_u3 union of tu_block/tu_code inside of that.  Move
33212         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
33213         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
33214         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33215         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33216         (th_stuff): Change to th_u1.tu_stuff.
33217         (th_data): Define.
33218         (th_msg): Change to th_u1.th_u2.tu_data.
33219
33220 2012-05-07  David S. Miller  <davem@davemloft.net>
33221
33222         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33223
33224         [BZ #14074]
33225         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33226         (SETUP_PIC_REG): Use it.
33227         (SETUP_PIC_REG_LEAF): Use it.
33228
33229 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
33230
33231         [BZ #13885]
33232         [BZ #13923]
33233         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33234         USE_AS_EXPM1L.
33235         (EXPL_FINITE): Likewise.
33236         (FLDLOG): Likewise.
33237         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33238         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33239         e_expl.S.
33240         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33241         USE_AS_EXPM1L.
33242         (EXPL_FINITE): Likewise.
33243         (FLDLOG): Likewise.
33244         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33245         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33246         e_expl.S.
33247         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
33248         test of -max_value argument for long double.
33249         * sysdeps/i386/fpu/libm-test-ulps: Update.
33250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33251
33252 2012-05-06  David S. Miller  <davem@davemloft.net>
33253
33254         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33255         quad soft-float symbols whose references which are compiler
33256         generated.
33257         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33258
33259 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
33260
33261         [BZ #13884]
33262         [BZ #13914]
33263         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33264         USE_AS_EXP10L.
33265         (EXPL_FINITE): Likewise.
33266         (FLDLOG): Likewise.
33267         (c0): Likewise.
33268         (c1): Likewise.
33269         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33270         Adjust comments for base varying.
33271         (__expl_finite): Change alias to EXPL_FINITE.
33272         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33273         e_expl.S.
33274         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33275         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33276         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33277         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33278         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33279         USE_AS_EXP10L.
33280         (EXPL_FINITE): Likewise.
33281         (FLDLOG): Likewise.
33282         (c0): Likewise.
33283         (c1): Likewise.
33284         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33285         Adjust comments for base varying.
33286         (__expl_finite): Change alias to EXPL_FINITE.
33287         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
33288         tests for bugs.
33289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33290
33291         [BZ #14064]
33292         * math/libm-test.inc (check_float_internal): Correct ulp
33293         calculation for subnormal expected results.
33294
33295 2012-05-06  Andreas Jaeger  <aj@suse.de>
33296
33297         * Makeconfig (+math-flags): New, set to -frounding-math.
33298         (+cflags): Add +math-flags so that all of glibc gets compiled with
33299         it.
33300
33301         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33302
33303 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
33304
33305         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33306         Disable one test.
33307
33308         [BZ #13787]
33309         [BZ #13922]
33310         [BZ #14036]
33311         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33312         (__ieee754_expl): Allow for and saturate large arguments.
33313         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33314         (u_threshold): Likewise.
33315         (__exp): Call __ieee754_exp before checking for overflow and
33316         underflow.
33317         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33318         (u_threshold): Likewise.
33319         (__expf): Call __ieee754_expf before checking for overflow and
33320         underflow.
33321         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33322         (u_threshold): Likewise.
33323         (__expl): Call __ieee754_expl before checking for overflow and
33324         underflow.
33325         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33326         (__ieee754_expl): Allow for and saturate large arguments.
33327         * math/libm-test.inc (exp_test): Add another test.  Do not allow
33328         missing overflow exception on overflow.
33329         (expm1_test): Do not allow missing overflow exception on overflow.
33330
33331         * sysdeps/i386/fpu/e_expl.c: Move to ...
33332         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
33333         rather than using inline asm.
33334         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33335         * sysdeps/x86_64/fpu/e_expl.S: Copy from
33336         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33337
33338         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33339         (nice): Likewise.
33340         (poll): Likewise.
33341         (signal): Likewise.
33342         (time): Likewise.
33343         (times): Likewise.
33344
33345 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33346
33347         * sysdeps/unix/syscalls.list (adjtime): Add entry from
33348         sysdeps/unix/common/syscalls.list.
33349         (fchmod): Likewise.
33350         (fchown): Likewise.
33351         (ftruncate): Likewise.
33352         (getrusage): Likewise.
33353         (gettimeofday): Likewise.
33354         (setpgid): Likewise.
33355         (setregid): Likewise.
33356         (setreuid): Likewise.
33357         (sigaction): Likewise.
33358         (truncate): Likewise.
33359         (vhangup): Likewise.
33360         * sysdeps/unix/common/syscalls.list: Remove file.
33361         * sysdeps/unix/bsd/Implies: Don't include unix/common.
33362         * sysdeps/unix/sysv/linux/Implies: Likewise.
33363
33364 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
33365
33366         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33368         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33369         Moved to ...
33370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33371         Here.
33372         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33373         to ...
33374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33375         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33376         to ...
33377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33378         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33379         to ...
33380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33381         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33382         to ...
33383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33384         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33385         to ...
33386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33387         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33388         to ...
33389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33390         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33391         to ...
33392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33393         Here.
33394         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33395         to ...
33396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33397         Here.
33398         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33399         to ...
33400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33401         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33402         Moved to ...
33403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33404         Here.
33405         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33406         to ...
33407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33408
33409 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33410
33411         * sysdeps/unix/common/bits/dirent.h: Remove file.
33412         * sysdeps/unix/common/bits/fcntl.h: Likewise.
33413
33414         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33415         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33416         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33417         * sysdeps/unix/bsd/isatty.c: Likewise.
33418         * sysdeps/unix/bsd/tcdrain.c: Likewise.
33419         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33420         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33421
33422 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33423
33424         [BZ #13563]
33425         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33426         long double comparison inaccuracies.
33427         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33429
33430 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
33431
33432         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33433         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33434
33435 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33436
33437         [BZ #14049]
33438         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33439         nonzero digits before rounding a hex value.
33440         * stdlib/tst-strtod.c (tests): Add another test.
33441
33442 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33443
33444         * sysdeps/s390/fpu/libm-test-ulps: Update.
33445
33446 2012-05-03  Andreas Jaeger  <aj@suse.de>
33447
33448         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33449         does not get optimized out.
33450         (malloc_opt_barrier): New.
33451
33452 2012-05-03  Andreas Jaeger  <aj@suse.de>
33453             Roland McGrath  <roland@hack.frob.com>
33454
33455         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33456         intermediate file deletion.
33457         (generated): Add .symlist files.
33458
33459 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
33460
33461         [BZ #13775]
33462         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33463         Redirect under this condition.
33464         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33465         [__USE_GNU] (__dprintf_chk): Not under this condition.
33466         [__USE_GNU] (__vdprintf_chk): Likewise.
33467         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33468         under this condition.
33469         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33470         [__USE_XOPEN2K8] (dprintf): Define under this condition.
33471         [__USE_XOPEN2K8] (vdprintf): Likewise.
33472         [__USE_GNU] (__dprintf_chk): Not under this condition.
33473         [__USE_GNU] (__vdprintf_chk): Likewise.
33474         [__USE_GNU] (dprintf): Likewise.
33475         [__USE_GNU] (vdprintf): Likewise.
33476
33477 2012-05-03  Roland McGrath  <roland@hack.frob.com>
33478
33479         * elf/Makefile (common-generated): Set this instead of generated for
33480         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
33481         $(all-built-dso)-derived lists.
33482
33483 2012-05-03  Andreas Jaeger  <aj@suse.de>
33484
33485         * sysdeps/i386/fpu/libm-test-ulps: Update.
33486
33487         * FAQ: Removed.
33488         * FAQ.in: Likewise.
33489         * scripts/gen-FAQ.pl: Likewise.
33490         * manual/install.texi (Installation): Point to online location of
33491         FAQ.
33492         * Makefile (files-for-dist): Remove FAQ.
33493         (FAQ): Remove.
33494
33495 2012-05-02  Allan McRae  <allan@archlinux.org>
33496
33497         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33498         (LDFLAGS-reldepmod5.so): Likewise.
33499         (LDFLAGS-reldep6mod1.so): Likewise.
33500         (LDFLAGS-reldep6mod4.so): Likewise.
33501         (LDFLAGS-reldep8mod3.so): Likewise.
33502         (LDFLAGS-unload4mod1.so): Likewise.
33503         (LDFLAGS-unload4mod2.so): Likewise.
33504         (LDFLAGS-tst-initorder): Likewise.
33505         (LDFLAGS-tst-initordera2.so): Likewise.
33506         (LDFLAGS-tst-initordera3.so): Likewise.
33507         (LDFLAGS-tst-initordera4.so): Likewise.
33508         (LDFLAGS-tst-initorderb2.so): Likewise.
33509         (LDFLAGS-noload): Likewise.
33510         (LDFLAGS-next): Likewise.
33511         (LDFLAGS-order2mod1.so): Likewise.
33512         (LDFLAGS-order2mod2.so): Likewise.
33513         (LDFLAGS-tst-initorder2): Likewise.
33514         (LDFLAGS-tst-initorder2a.so): Likewise.
33515         (LDFLAGS-tst-initorder2b.so): Likewise.
33516         (LDFLAGS-tst-initorder2c.so): Likewise.
33517         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33518
33519 2012-05-02  David S. Miller  <davem@davemloft.net>
33520
33521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33522
33523 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33524
33525         [BZ #14055]
33526         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33527
33528 2012-05-02  Andreas Jaeger  <aj@suse.de>
33529
33530         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33531         since we manipulate rounding mode.
33532         (CPPFLAGS-test-idouble.c): Likewise.
33533         (CPPFLAGS-test-ifloat.c): Likewise.
33534         (CFLAGS-test-ldouble.c): Likewise.
33535         (CFLAGS-test-double.c): Likewise.
33536         (CFLAGS-test-float.c): Likewise.
33537         (CFLAGS-test-misc.c): Likewise.
33538         (CFLAGS-test-test-fenv.c): Likewise.
33539
33540 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33541
33542         [BZ #2550]
33543         [BZ #2570]
33544         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33545         comparisons to determine direction to adjust input.
33546
33547 2012-05-01  Roland McGrath  <roland@hack.frob.com>
33548
33549         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33550         output to the target.
33551
33552         * scripts/localplt.awk: New file.
33553         * elf/Makefile ($(objpfx)check-localplt): Target removed.
33554         (check-localplt-CFLAGS): Variable removed.
33555         ($(all-built-dso:=.jmprel)): New static pattern rule.
33556         (generated): Add those targets.
33557         (localplt-built-dso): New variable.
33558         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33559
33560         * elf/check-localplt.c: File removed.
33561
33562         * scripts/check-execstack.awk: New file.
33563         * elf/Makefile ($(objpfx)check-execstack): Target removed.
33564         (check-execstack-CFLAGS): Variable removed.
33565         ($(objpfx)check-execstack.h): Target removed.
33566         ($(objpfx)execstack-default): New target.
33567         (generated): Add that instead of check-execstack.h.
33568         ($(all-built-dso:=.phdr)): New static pattern rule.
33569         (generated): Add those targets.
33570         * elf/check-execstack.c: File removed.
33571
33572         * scripts/check-textrel.awk: New file.
33573         * elf/Makefile ($(objpfx)check-textrel): Target removed.
33574         (check-textrel-CFLAGS): Variable removed.
33575         (all-built-dso): Use := to define.o
33576         ($(all-built-dso:=.dyn)): New static pattern rule.
33577         (generated): Add those targets.
33578         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33579         * config.make.in (READELF): New substituted variable.
33580         * elf/check-textrel.c: File removed.
33581
33582 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33583
33584         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33585         allow.
33586         * conform/data/ctype.h-data [C99-based standards] (isblank):
33587         Expect function.
33588         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33589         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33590         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33591         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33592         Specify type.  Require positive value.
33593         (EILSEQ): Likewise.
33594         (ERANGE): Likewise.
33595         [ISO || POSIX] (EILSEQ): Do not expect.
33596         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33597         Specify type.  Require positive value.
33598         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33599         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33600         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33601         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33602         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33603         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33604         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33605         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33606         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33607         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33608         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33609         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33610         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33611         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33612         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33613         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33614         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33615         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33616         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33617         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33618         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33619         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33620         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33621         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33622         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33623         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33624         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33625         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33626         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33627         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33628         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33629         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33630         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33631         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33632         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33633         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33634         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33635         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33636         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33637         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33638         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33639         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33640         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33641         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33642         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33643         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33644         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33645         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33646         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33647         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33648         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33649         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33650         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33651         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33652         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33653         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33654         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33655         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33656         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33657         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33658         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33659         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33660         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33661         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33662         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33663         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33664         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33665         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33666         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33667         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33668         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33669         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33670         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33671         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33672         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33673         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33674         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33675         Require >= 2.
33676         (FLT_ROUNDS): Expect as macro, not constant.
33677         (FLT_MANT_DIG): Use macro-int-constant.
33678         (DBL_MANT_DIG): Likewise.
33679         (LDBL_MANT_DIG): Likewise.
33680         (FLT_DIG): Likewise.
33681         (DBL_DIG): Likewise.
33682         (LDBL_DIG): Likewise.
33683         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
33684         (DBL_MIN_EXP): Likewise.
33685         (LDBL_MIN_EXP): Likewise.
33686         (FLT_MAX_EXP): Use macro-int-constant.
33687         (DBL_MAX_EXP): Likewise.
33688         (LDBL_MAX_EXP): Likewise.
33689         (FLT_MAX_10_EXP): Likewise.
33690         (DBL_MAX_10_EXP): Likewise.
33691         (LDBL_MAX_10_EXP): Likewise.
33692         (FLT_MAX): Use macro-constant.
33693         (DBL_MAX): Likewise.
33694         (LDBL_MAX): Likewise.
33695         (FLT_EPSILON): Use macro-constant.  Give upper bound.
33696         (DBL_EPSILON): Likewise.
33697         (LDBL_EPSILON): Likewise.
33698         (FLT_MIN): Likewise.
33699         (DBL_MIN): Likewise.
33700         (LDBL_MIN): Likewise.
33701         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33702         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33703         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33704         [ISO11] (FLT_HAS_SUBNORM): Likewise.
33705         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33706         [ISO11] (DBL_DECIMAL_DIG): Likewise.
33707         [ISO11] (FLT_DECIMAL_DIG): Likewise.
33708         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33709         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33710         [ISO11] (FLT_TRUE_MIN): Likewise.
33711         [ISO11] (LDBL_TRUE_MIN): Likewise.
33712         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33713         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33714         (SCHAR_MIN): Use macro-int-constant.  Specify type.
33715         (SCHAR_MAX): Likewise.
33716         (UCHAR_MAX): Likewise.
33717         (CHAR_MIN): Likewise.
33718         (CHAR_MAX): Likewise.
33719         (MB_LEN_MAX): Use macro-int-constant.
33720         (SHRT_MIN): Use macro-int-constant.  Specify type.
33721         (SHRT_MAX): Likewise.
33722         (USHRT_MAX): Likewise.
33723         (INT_MAX): Likewise.
33724         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
33725         bound negative.
33726         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33727         bound with "U".
33728         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33729         bound with "L".
33730         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
33731         bound negative.  Suffix upper bound with "L".
33732         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33733         bound with "UL".
33734         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33735         Specify type.
33736         [C99-based standards] (LLONG_MAX): Likewise.
33737         [C99-based standards] (ULLONG_MAX): Likewise.
33738         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
33739         == 0.
33740         [ISO11] (max_align_t): Require type.
33741         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33742
33743         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33744         from $CFLAGS, without defining away __attribute__ calls.
33745         (checknamespace): Use $CFLAGS_namespace.
33746
33747         * conform/conformtest.pl (@keywords): Only include C99 keywords
33748         for standards based on C99 or C11.
33749
33750         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33751         Disable tests.
33752         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33753         UNIX98]: Likewise.
33754
33755         * conform/conformtest.pl: Handle "macro-int-constant" and test for
33756         usability of symbols in #if.
33757
33758         * conform/conformtest.pl: If macro or constant types start
33759         "promoted:", expect the symbol to be of the following type
33760         promoted by the integer promotions.
33761
33762         * conform/conformtest.pl: Parse all "constant" and "macro" lines
33763         in one place.  Also handle "macro-constant".
33764
33765         * conform/conformtest.pl: Only accept expected macro values with
33766         "==".  Parse all "macro" lines in one place.
33767         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33768
33769         * conform/conformtest.pl: Handle braced types on "constant" lines
33770         instead of handling "typed-constant".
33771         * conform/data/signal.h-data: Use "constant" instead of
33772         "typed-constant".
33773
33774         * conform/conformtest.pl: Handle "optional-" at start of lines in
33775         one place rather than duplicating several cases.  Handle each
33776         format of "macro" line with initial "optional-".
33777
33778         * conform/conformtest.pl: Only accept expected constant or
33779         optional-constant values with "==".  Parse all "constant" lines in
33780         one place.  Parse all "optional-constant" lines in one place.
33781         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33782         * conform/data/fmtmsg.h-data: Likewise.
33783         * conform/data/netinet/in.h-data: Likewise.
33784         * conform/data/tar.h-data: Likewise.
33785         * conform/data/limits.h-data: Use "==" form on "constant" and
33786         "optional-constant" lines.
33787
33788         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33789         Use -std=c99 for XOPEN2K.
33790         (@knownproblems): Remove.
33791         (newtoken): Don't check %isknown.
33792
33793         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33794         Do not expect macro.
33795         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33796         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33797         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33798         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33799         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33800         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33801         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33802         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33803         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33804         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33805         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33806         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33807         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33808         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33809         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33810         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33811         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33812         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33813         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33814         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33815         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33816         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33817         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33818         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33819         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33820         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33821         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33822         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33823         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33824         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33825         [XPG3] (acosh): Likewise.
33826         [XPG3] (asinh): Likewise.
33827         [XPG3] (atanh): Likewise.
33828         [XPG3] (cbrt): Likewise.
33829         [XPG3] (expm1): Likewise.
33830         [XPG3] (ilogb): Likewise.
33831         [XPG3] (log1p): Likewise.
33832         [XPG3] (logb): Likewise.
33833         [XPG3] (nextafter): Likewise.
33834         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33835         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33836         [XPG3] (remainder): Likewise.
33837         [XPG3] (rint): Likewise.
33838         [XPG3 || XPG4 || UNIX98] (round): Likewise.
33839         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33840         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33841         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33842         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33843         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33844         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33845         [UNIX98 || XOPEN2K] (scalb): Expect.
33846         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33847         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33848         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33849         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33850         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33851         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33852         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33853         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33854         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33855         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33856         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33857         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33858         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33859         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33860         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33861         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33862         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33863         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33864         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33865         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33866         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33867         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33868         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33869         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33870         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33871         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33872         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33873         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33874         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33875         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33876         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33877         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33878         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33879         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33880         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33881         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33882         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33883         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33884         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33885         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33886         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33887         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33888         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33889         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33890         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33891         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33892         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33893         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33894         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33895         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33896         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33897         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33898         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33899         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33900         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33901         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33902         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33903         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33904         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33905         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33906         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33907         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33908         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33909         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33910         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33911         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33912         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33913         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33914         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33915         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33916         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33917         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33918         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33919         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33920         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33921         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33922         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33923         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33924         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33925         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33926         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33927         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33928         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33929         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33930         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33931         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33932         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33933         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33934         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33935         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33936         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33937         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33938         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33939         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33940         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33941         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33942         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33943         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33944         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33945         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33946         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33947         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33948         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33949         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33950         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33951         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33952         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33953         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33954         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33955         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33956         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33957         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33958         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33959         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33960         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33961         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33962         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33963         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33964         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33965         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33966         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33967         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33968         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33969         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33970         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33971         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33972         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33973         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33974         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33975         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33976         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33977         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33978         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33979         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33980         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33981         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33982         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33983
33984         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33985         _XOPEN_SOURCE_EXTENDED for XPG4.
33986
33987         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33988
33989         * Makeconfig (localtime): Remove variable.
33990         (inst_localtime-file): Likewise.
33991
33992 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33993
33994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33995         Update.
33996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33997         Update.
33998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33999         Update.
34000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34001         Update.
34002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34003         Update.
34004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34005         Update.
34006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34007         Update.
34008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34009         Update.
34010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34011         Update.
34012
34013 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
34014
34015         [BZ #2550]
34016         [BZ #2570]
34017         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34018         comparisons to determine direction to adjust input.
34019         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34020         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34021         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34022         Likewise.
34023         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34024         Likewise.
34025         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34026         Likewise.
34027         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34028         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34029         Likewise.
34030         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34031         Likewise.
34032         * math/libm-test.inc (nexttoward_test): Add more tests.
34033
34034 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34035
34036         [BZ #14040]
34037         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34038         in version GLIBC_2.1, not GLIBC_2.0.
34039         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34040         Likewise.
34041
34042 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
34043
34044         [BZ #13942]
34045         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34046         (1 - x) * (1 + x).
34047         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34048         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34049         * math/libm-test.inc (acos_test): Add more tests.
34050         (asin_test): Likewise.
34051         * sysdeps/i386/fpu/libm-test-ulps: Update.
34052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34053
34054         [BZ #14034]
34055         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34056         of square root.
34057         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34058         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34059         * math/libm-test.inc (acos_test_tonearest): New function.
34060         (acos_test_towardzero): Likewise.
34061         (acos_test_downward): Likewise.
34062         (acos_test_upward): Likewise.
34063         (asin_test_tonearest): Likewise.
34064         (asin_test_towardzero): Likewise.
34065         (asin_test_downward): Likewise.
34066         (asin_test_upward): Likewise.
34067         (main): Call the new functions.
34068         * sysdeps/i386/fpu/libm-test-ulps: Update.
34069         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34070
34071         [BZ #13884]
34072         [BZ #13924]
34073         * math/e_exp10.c: Include <float.h>.
34074         (__ieee754_exp10): Handle underflow here rather than multiplying
34075         large negative argument by M_LN10.
34076         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34077         of __ieee754_expf.
34078         * math/e_exp10l.c: Include <float.h>.
34079         (__ieee754_exp10l): Handle underflow here rather than multiplying
34080         large negative argument by M_LN10l.
34081         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
34082         spurious overflow exception on underflow.
34083
34084 2012-04-29  Marek Polacek  <polacek@redhat.com>
34085
34086         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34087         (__fortify_function): New macro.
34088         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34089         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34090         __extern_always_inline.
34091         * libio/bits/stdio2.h: Likewise.
34092         * libio/bits/stdio.h: Likewise.
34093         * string/string.h: Likewise.
34094         * string/bits/string3.h: Likewise.
34095         * include/stdio.h: Likewise.
34096         * stdlib/bits/stdlib.h: Likewise.
34097         * stdlib/stdlib.h: Likewise.
34098         * rt/bits/mqueue2.h: Likewise.
34099         * rt/mqueue.h: Likewise.
34100         * posix/bits/unistd.h: Likewise.
34101         * posix/unistd.h: Likewise.
34102         * io/bits/poll2.h: Likewise.
34103         * io/bits/fcntl2.h: Likewise.
34104         * io/fcntl.h: Likewise.
34105         * io/sys/poll.h: Likewise.
34106         * misc/bits/syslog.h: Likewise.
34107         * misc/bits/syslog-ldbl.h: Likewise.
34108         * misc/sys/syslog.h: Likewise.
34109         * socket/bits/socket2.h: Likewise.
34110         * socket/sys/socket.h: Likewise.
34111         * debug/tst-chk1.c: Likewise.
34112         * wcsmbs/bits/wchar2.h: Likewise.
34113         * wcsmbs/bits/wchar-ldbl.h: Likewise.
34114         * wcsmbs/wchar.h: Likewise.
34115
34116 2012-04-29  Andreas Jaeger  <aj@suse.de>
34117
34118         * Makerules (tests): Remove enable-check-abi protection.
34119         (check-abi-warn): Remove.
34120         (check-abi-%): Remove check-abi-warn usage.
34121
34122         * configure.in: Remove check-abi configure option.
34123         * configure: Regenerated.
34124         * config.make.in (enable-check-abi): Remove.
34125
34126 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
34127
34128         [BZ #14033]
34129         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34130         double functions to double *_finite functions.
34131
34132         [BZ #13941]
34133         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34134         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34135         LDBL_MIN_EXP.
34136         * stdio-common/Makefile (tests): Add tst-sprintf3.
34137         * stdio-common/tst-sprintf3.c: New file.
34138
34139         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34140         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34141
34142 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34143
34144         * conform/conformtest.pl: Remove duplicate typed-constant
34145         handling.
34146
34147 2012-04-28  David S. Miller  <davem@davemloft.net>
34148
34149         * Makerules (%.abilist): Add vpath on sysdep_dirs.
34150         (check-abi-%): Remove AWK script prerequisite and explicit
34151         abilist directory.
34152         (check-abi): Rewrite to just diff the symlist with the abilist.
34153         (config-tls, config-abi-config): Delete, no longer used.
34154         (update-abi-%): Remove AWK script and explicit abilist directory.
34155         (update-abi): Rewrite to simply compare and conditionally copy the
34156         symlist and the sysdep abilist file.  Remove update-abi-config
34157         checks.
34158         * abilist/ld.abilist: Remove.
34159         * abilist/libBrokenLocale.abilist: Remove.
34160         * abilist/libanl.abilist: Remove.
34161         * abilist/libcrypt.abilist: Remove.
34162         * abilist/libdl.abilist: Remove.
34163         * abilist/librt.abilist: Remove.
34164         * abilist/libthread_db.abilist: Remove.
34165         * abilist/libutil.abilist: Remove.
34166         * scripts/extract-abilist.awk: Remove.
34167         * scripts/merge-abilist.awk: Remove.
34168         * sysdeps/generic/libcidn.abilist: New file.
34169         * sysdeps/generic/libnss_compat.abilist: New file.
34170         * sysdeps/generic/libnss_db.abilist: New file.
34171         * sysdeps/generic/libnss_dns.abilist: New file.
34172         * sysdeps/generic/libnss_files.abilist: New file.
34173         * sysdeps/generic/libnss_hesiod.abilist: New file.
34174         * sysdeps/generic/libnss_nis.abilist: New file.
34175         * sysdeps/generic/libnss_nisplus.abilist: New file.
34176         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34177         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34178         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34179         file.
34180         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34181         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34182         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34183         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34184         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34185         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34186         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34187         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34188         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34189         file.
34190         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34191         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34192         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34193         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34194         file.
34195         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34196         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34197         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34198         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34199         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34200         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34201         file.
34202         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34203         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34204         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34205         file.
34206         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34207         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34208         New file.
34209         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34210         New file.
34211         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34212         New file.
34213         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34214         New file.
34215         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34216         New file.
34217         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34218         New file.
34219         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34220         New file.
34221         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34222         New file.
34223         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34224         New file.
34225         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34226         New file.
34227         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34228         New file.
34229         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34230         New file.
34231         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34232         New file.
34233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34234         file.
34235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34236         New file.
34237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34238         New file.
34239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34240         file.
34241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34242         New file.
34243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34244         New file.
34245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34246         file.
34247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34248         New file.
34249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34250         New file.
34251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34252         New file.
34253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34254         New file.
34255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34256         New file.
34257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34258         New file.
34259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34261         file.
34262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34263         New file.
34264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34265         file.
34266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34267         file.
34268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34269         file.
34270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34271         file.
34272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34273         file.
34274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34275         New file.
34276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34277         file.
34278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34279         file.
34280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34281         New file.
34282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34283         file.
34284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34286         file.
34287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34288         New file.
34289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34290         file.
34291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34292         file.
34293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34294         file.
34295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34296         file.
34297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34298         file.
34299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34300         New file.
34301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34302         file.
34303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34304         file.
34305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34306         New file.
34307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34308         file.
34309         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34310         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34311         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34312         file.
34313         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34314         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34315         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34316         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34317         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34318         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34319         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34320         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34321         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34322         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34325         file.
34326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34327         New file.
34328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34329         file.
34330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34331         file.
34332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34333         file.
34334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34335         file.
34336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34337         file.
34338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34339         New file.
34340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34341         New file.
34342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34343         file.
34344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34345         New file.
34346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34347         file.
34348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34350         file.
34351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34352         New file.
34353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34354         file.
34355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34356         file.
34357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34358         file.
34359         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34360         file.
34361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34362         file.
34363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34364         New file.
34365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34366         New file.
34367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34368         file.
34369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34370         New file.
34371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34372         file.
34373
34374 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34375
34376         * conform/conformtest.pl: Fix typo in handling typed-constant from
34377         allow-header.
34378
34379 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34380
34381         * README: Cut down references to pre-2.6 Linux kernels and
34382         Linuxthreads.  Update lists of configurations in libc and ports
34383         and sort alphabetically.  Say "or newer" with Linux kernel version
34384         requirements.
34385
34386         * config.h.in [IS_IN_build]: Allow compiling without optimization.
34387
34388 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34389
34390         [BZ #887]
34391         * math/libm-test.inc (logb_test_downward): New test to expose
34392         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34393         rounding mode.
34394
34395 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34396
34397         [BZ #14027]
34398         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34399         to be done.
34400         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34401         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34402
34403 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
34404
34405         * sysdeps/unix/i386/brk.S: Remove file.
34406         * sysdeps/unix/i386/dl-brk.S: Likewise.
34407         * sysdeps/unix/i386/pipe.S: Likewise.
34408         * sysdeps/unix/i386/sigreturn.S: Likewise.
34409         * sysdeps/unix/i386/syscall.S: Likewise.
34410         * sysdeps/unix/i386/vfork.S: Likewise.
34411         * sysdeps/unix/i386/wait.S: Likewise.
34412
34413         * sysdeps/unix/common/tcsendbrk.c: Move to ...
34414         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34415
34416         * configure.in (arm*-none*): Do not allow without
34417         --enable-hacker-mode.
34418         (netbsd*): Remove case setting base_os.
34419         (386bsd*): Likewise.
34420         (freebsd*): Likewise.
34421         (bsdi*): Likewise.
34422         (osf*): Likewise.
34423         (sunos*): Likewise.
34424         (ultrix*): Likewise.
34425         (newsos*): Likewise.
34426         (dynix*): Likewise.
34427         (*bsd*): Likewise.
34428         (sysv*): Likewise.
34429         (isc*): Likewise.
34430         (esix*): Likewise.
34431         (sco*): Likewise.
34432         (minix*): Likewise.
34433         (irix4*): Likewise.
34434         (irix6*): Likewise.
34435         (solaris[2-9]*): Likewise.
34436         (none): Likewise.
34437         * configure: Regenerated.
34438
34439 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34440
34441         [BZ #11521]
34442         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34443         overflow or cancellation in calculating denominator.
34444         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34445         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34446         down expression to avoid unexpected rounding in newer GCCs.
34447         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34448
34449 2012-04-26  David S. Miller  <davem@davemloft.net>
34450
34451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34452         long-double compat symbols.
34453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34466
34467 2012-04-25  David S. Miller  <davem@davemloft.net>
34468
34469         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34470         HWCAP_* values only after the memory barriers have been defined.
34471         (atomic_full_barrier): Define.
34472         (atomic_read_barrier): Define.
34473         (atomic_write_barrier): Define.
34474
34475 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34476
34477         * shlib-versions: Add libgcc_s version information.
34478         * sysdeps/generic/libgcc_s.h: Remove.
34479         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34480         libgcc_s.h.
34481         * sysdeps/gnu/unwind-resume.c: Likewise.
34482         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34483
34484 2012-04-25  David S. Miller  <davem@davemloft.net>
34485
34486         * sysdeps/unix/sparc/brk.S: Delete.
34487         * sysdeps/unix/sparc/dl-brk.S: Delete.
34488         * sysdeps/unix/sparc/pipe.S: Delete.
34489         * sysdeps/unix/sparc/sysdep.S: Delete.
34490         * sysdeps/unix/sparc/sysdep.h: Delete.
34491         * sysdeps/unix/sparc/vfork.S: Delete.
34492         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34493         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34494         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34495         (ret_ERRVAL, r0, r1, MOVE): Define.
34496         (JUMPTARGET): Remove.
34497         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34498         sysdeps/unix/sparc/sysdep.h
34499         (ENTRY, END): Remove.
34500         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34501
34502 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
34503
34504         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34505         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34506         -DIS_IN_build.
34507
34508         * timezone/README: Update upstream location and email address for
34509         tzcode and tzdata.
34510         * timezone/zdump.c: Update from tzcode 2012b.
34511         * timezone/zic.c: Likewise.
34512
34513         * configure.in (libc_cv_as_needed): Remove test.
34514         * configure: Regenerated.
34515         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34516         conditional definition.
34517         [$(have-as-needed) != yes] (no-as-needed): Likewise.
34518         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34519         * config.make.in (have-as-needed): Remove variable.
34520
34521 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34522             Paul Pluzhnikov  <ppluzhnikov@google.com>
34523
34524         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34525         strings correctly.
34526
34527 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
34528
34529         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34530         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34531         * sysdeps/sh/strlen.S: Likewise.
34532
34533 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34534
34535         * sysdeps/unix/fork.S: Remove file.
34536         * sysdeps/unix/i386/fork.S: Likewise.
34537         * sysdeps/unix/sparc/fork.S: Likewise.
34538
34539         * sysdeps/unix/system.c: Remove file.
34540         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34541
34542         * sysdeps/unix/getegid.S: Remove file.
34543         * sysdeps/unix/geteuid.S: Likewise.
34544
34545 2012-04-24  Roland McGrath  <roland@hack.frob.com>
34546
34547         * scripts/check-localplt.awk: New file.
34548         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34549         of diff.
34550         * scripts/data/localplt-generic.data: Add a comment.
34551
34552         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34553         NODE when __dir_mkfile failed.
34554         * sysdeps/mach/hurd/symlinkat.c: Likewise.
34555         Reported by Ludovic Courtès <ludo@gnu.org>.
34556
34557 2012-04-24  Andreas Jaeger  <aj@suse.de>
34558
34559         * Makerules (common-clean): Also remove gen-as-const-headers
34560         files.
34561
34562 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34563
34564         * Makerules (native-compile): Do not change working directory for
34565         build.  Use $(OUTPUT_OPTION) in command.
34566         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34567
34568 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34569
34570         [BZ #13886]
34571         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34572         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34573         * math/libm-test.inc (floor_test): Add more tests.
34574         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34575
34576 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34577
34578         * sysdeps/unix/getdents.c: Remove file.
34579         * sysdeps/unix/sysv/getdents.c: Likewise.
34580         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34581
34582         * sysdeps/unix/syscalls.list (madvise): Add syscall from
34583         sysdeps/unix/mman/syscalls.list.
34584         (mmap): Likewise.
34585         (mprotect): Likewise.
34586         (msync): Likewise.
34587         (munmap): Likewise.
34588         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34589         * sysdeps/unix/mman/syscalls.list: Remove.
34590         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34591
34592         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34593         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34594         * configure: Regenerated.
34595         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34596         $(libgcc_s_suffix).
34597         * config.make.in (libgcc_s_suffix): Remove variable.
34598
34599 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
34600
34601         * sysdeps/unix/sysv/gethostname.c: Move to ...
34602         * sysdeps/posix/gethostname.c: ... here.
34603
34604         * sysdeps/unix/execve.S: Remove file.
34605
34606         * sysdeps/unix/_exit.S: Remove file.
34607
34608 2012-04-23  Andreas Jaeger  <aj@suse.de>
34609
34610         [BZ #13739]
34611         * manual/Makefile: Remove make dist support, there's no
34612         need for a stand-alone documentation tar ball.
34613         (TEXI2DVI): Define always, it's not in Makeconfig.
34614         (dist): Removed.
34615         (tar-it): Removed.
34616         (edition): Removed.
34617         (glibc-doc-$(edition).tar): Removed
34618         (%.Z): Removed.
34619         (%.gz): Removed.
34620         (%.uu): Removed.
34621         (ETAGS): Remove, it's in Makeconfig.
34622         (move-if-change): Remove, it's in Makeconfig.
34623
34624 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
34625
34626         [BZ #13970]
34627         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34628         (strtod, strtof, strtold, strtol, strtoul, strtoq)
34629         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34630         (strtod_l, strtof_l, strtold_l): Remove __wur.
34631         It is not necessarily an error to ignore strtol's return value.
34632         One can reliably look at the stored endptr to decide whether
34633         the number had valid syntax.
34634
34635 2012-04-21  Andreas Jaeger  <aj@suse.de>
34636
34637         [BZ #13739]
34638         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34639
34640 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
34641
34642         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34643         * sysdeps/unix/sysv/Versions: Remove file.
34644
34645 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
34646
34647         [BZ #13927]
34648         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34649
34650 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
34651
34652         [BZ #7064]
34653         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34654         version from __vm86.
34655
34656 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
34657
34658         * sysdeps/unix/common/lxstat.c: Remove file.
34659         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34660
34661         * sysdeps/unix/sysv/Makefile: Remove file.
34662
34663         * sysdeps/unix/sysv/direct.h: Remove file.
34664
34665         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34666         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34667         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34668         * sysdeps/unix/sysv/bits/signum.h: Likewise.
34669         * sysdeps/unix/sysv/bits/stat.h: Likewise.
34670         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34671         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34672
34673         * sysdeps/unix/sysv/setrlimit.c: Remove file.
34674
34675         * sysdeps/unix/xmknod.c: Remove file.
34676         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34677
34678         * sysdeps/unix/sysv/settimeofday.c: Remove file.
34679
34680         * sysdeps/unix/sysv/i386/time.S: Remove file.
34681
34682         * sysdeps/unix/fxstat.c: Remove file.
34683         * sysdeps/unix/xstat.c: Likewise.
34684         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34685
34686         * sysdeps/unix/sysv/sigaction.c: Remove file.
34687
34688         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34689         (sysdep_headers): Remove variable.
34690         [termio.h not in sysdep_headers] (generated): Likewise.
34691         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34692         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34693         * sysdeps/unix/sysv/tcdrain.c: Likewise.
34694         * sysdeps/unix/sysv/tcflow.c: Likewise.
34695         * sysdeps/unix/sysv/tcflush.c: Likewise.
34696         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34697         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34698         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34699         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34700         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34701
34702         * sysdeps/unix/siglist.c: Remove file.
34703
34704         * sysdeps/unix/getppid.S: Remove file.
34705
34706         * sysdeps/unix/mkdir.c: Remove file.
34707         * sysdeps/unix/rmdir.c: Likewise.
34708
34709 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
34710
34711         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34712         ERR_MAX value.
34713         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34714         errlist-compat value.
34715
34716 2012-04-18  David S. Miller  <davem@davemloft.net>
34717
34718         * sysdeps/generic/memcopy.h (reg_char): Delete.
34719         * debug/strcat_chk.c: Use char, not reg_char.
34720         * debug/strcpy_chk.c: Likewise.
34721         * debug/strncat_chk.c: Likewise.
34722         * debug/strncpy_chk.c: Likewise.
34723         * string/memchr.c: Likewise.
34724         * string/memrchr.c: Likewise.
34725         * string/rawmemchr.c: Likewise.
34726         * string/strcat.c: Likewise.
34727         * string/strchr.c: Likewise.
34728         * string/strchrnul.c: Likewise.
34729         * string/strcmp.c: Likewise.
34730         * string/strcpy.c: Likewise.
34731         * string/strncat.c: Likewise.
34732         * string/strncmp.c: Likewise.
34733         * string/strncpy.c: Likewise.
34734
34735 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34736
34737         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34738         __builtin_memcopy is called when src and dest ranges are known to not
34739         overlap.
34740
34741 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34742
34743         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34744         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34745         fwd_align_merge macro call.
34746         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34747         bwd_align_merge macro call.
34748         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34749
34750 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34751
34752         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34753         bwd_align_merge macros.
34754         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34755         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34756         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34757
34758 2012-04-18  David S. Miller  <davem@davemloft.net>
34759
34760         * sysdeps/sparc/sparc64/memcopy.h: Delete.
34761
34762 2012-04-18  Andreas Jaeger  <aj@suse.de>
34763
34764         [BZ# 6794]
34765         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34766         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34767         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34768
34769         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34770         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34771         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34772
34773         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34774         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34775         Adjust for changed ldbl-128 files.
34776
34777         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34778         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34779         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34780
34781 2012-04-17  David S. Miller  <davem@davemloft.net>
34782
34783         * sysdeps/sparc/sparc32/memcopy.h: Delete.
34784
34785 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
34786
34787         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34788         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34789         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34790         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34791         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34792         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34793
34794 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34795
34796         [BZ #6794]
34797         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34798         * math/libm-test.inc: Add ilogb errno and exception tests.
34799         * math/w_ilogb.c: New file: ilogb wrapper.
34800         * math/w_ilogbf.c: New file: ilogbf wrapper.
34801         * math/w_ilogbl.c: New file: ilogbl wrapper.
34802         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34803         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34804         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34805         exception being thrown with 0.0 as argument.
34806         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34807         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34808         exception being thrown with 0.0 as argument.
34809         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34810         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34811         exception being thrown with 0.0 as argument.
34812         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34813         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34814         exception being thrown with 0.0 as argument.
34815         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34816         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34817         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34818         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34819         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34820         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34821         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34822         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34823         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34824
34825 2012-04-17  Petr Baudis  <pasky@ucw.cz>
34826
34827         * include/sys/uio.h: Change __vector to __iovec to avoid clash
34828         with altivec.
34829
34830 2012-04-16  Marek Polacek  <polacek@redhat.com>
34831
34832         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34833
34834 2012-04-16  Marek Polacek  <polacek@redhat.com>
34835
34836         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34837         operands of fdivp instruction.
34838
34839 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34840
34841         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34842         * elf/tst-auditmod3b.c: Likewise.
34843         * elf/tst-auditmod4b.c: Likewise.
34844         * elf/tst-auditmod5b.c: Likewise.
34845         * elf/tst-auditmod6b.c: Likewise.
34846         * elf/tst-auditmod6c.c: Likewise.
34847         * elf/tst-auditmod7b.c: Likewise.
34848         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34849         * sysdeps/x86_64/preconfigure.in: Likewise.
34850         * sysdeps/x86_64/preconfigure: Regenerated.
34851
34852 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34853
34854         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34855         __ILP32__.
34856
34857 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
34858
34859         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34860         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34861
34862 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
34863
34864         [BZ #13973]
34865         * locale/iso-639.def: Fix gl language name. Spotted by
34866         Yaron Shahrabani.
34867
34868 2012-04-12  Roland McGrath  <roland@hack.frob.com>
34869
34870         [BZ #2074]
34871         * libio/libio.h (__io_write_fn): Update comment.
34872
34873 2012-04-12  Petr Baudis  <pasky@ucw.cz>
34874
34875         [BZ #2074]
34876         * stdio.texi (Hook Functions): The user provided writer function
34877         is not allowed to return -1.
34878
34879 2012-04-11  David S. Miller  <davem@davemloft.net>
34880
34881         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34882
34883 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
34884
34885         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34886         Add a leading slash to rtkaio.
34887
34888 2012-04-11  Jim Meyering  <meyering@redhat.com>
34889
34890         [BZ #11959]
34891         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34892         It is not necessarily an error to ignore fwrite's return
34893         value.  One can reliably use ferror to test for errors after
34894         the fact.
34895
34896 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34897
34898         * bits/types.h (__snseconds_t): New type.
34899         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34900
34901         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34902         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34903         (__SNSECONDS_T_TYPE): Likewise.
34904         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34905         (__SNSECONDS_T_TYPE): Likewise.
34906         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34907         (__SNSECONDS_T_TYPE): Likewise.
34908
34909 2012-04-10  Andreas Jaeger  <aj@suse.de>
34910
34911         [BZ #2636]
34912         * manual/time.texi (Processor Time): Return type of times is
34913         elapsed real time since an arbitrary point in the past.
34914         (CPU Time): Move CLK_TCK from here...
34915         (Processor Time): ...to here.  Correct description.
34916         * manual/conf.texi (Constants for Sysconf): Correct description of
34917         _SC_CLK_TCK.
34918
34919 2012-04-10  David S. Miller  <davem@davemloft.net>
34920
34921         [BZ #13967]
34922         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34923         where the is a gap between DT_REL(A) and DT_JMPREL.
34924
34925 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34926
34927         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34928         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34929         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34930
34931 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34932
34933         * elf/dl-support.c (_dl_inhibit_cache): New variable.
34934         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34935         (dl_main): Handle --inhibit-cache.
34936         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34937         _dl_inhibit_cache.
34938         * elf/dl-load.c (_dl_map_object): Use it.
34939         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34940
34941 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34942
34943         [BZ #13872]
34944         * sysdeps/i386/fpu/e_powl.S (p78): New object.
34945         (__ieee754_powl): Saturate large exponents rather than testing for
34946         overflow of y*log2(x).
34947         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34948         * math/libm-test.inc (pow_test): Do not permit spurious overflow
34949         exceptions.
34950
34951         [BZ #11521]
34952         * math/s_ctan.c: Include <float.h>.
34953         (__ctan): Avoid internal overflow or cancellation in calculating
34954         denominator.
34955         * math/s_ctanf.c: Likewise.
34956         * math/s_ctanl.c: Likewise.
34957         * math/s_ctanh.c: Likewise.
34958         * math/s_ctanhf.c: Likewise.
34959         * math/s_ctanhl.c: Likewise.
34960         * math/libm-test.inc (ctan_test): Add more tests.
34961         (ctanh_test): Likewise.
34962         * sysdeps/i386/fpu/libm-test-ulps: Update.
34963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34964
34965 2012-04-09  Andreas Jaeger  <aj@suse.de>
34966
34967         [BZ #6894]
34968         * manual/filesys.texi (Directory Entries): Mention that d_namlen
34969         is an optional BSD extension.
34970
34971         [BZ #10254]
34972         * manual/stdio.texi (Opening Streams): Document additional fopen
34973         parameters.
34974
34975 2012-04-09  Roland McGrath  <roland@hack.frob.com>
34976
34977         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34978         %eax without telling the compiler.
34979
34980 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
34981
34982         [BZ # 13963]
34983         * manual/install.texi: Use sourceware.org.
34984
34985 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34986
34987         [BZ #13873]
34988         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34989         (__ieee754_pow): Generate overflow and underflow using huge*huge
34990         and tiny*tiny rather than just returning constant infinity or zero
34991         for large exponents.
34992         * math/libm-test.inc (pow_test): Require overflow exceptions for
34993         applicable cases of large exponents.
34994
34995         [BZ #706]
34996         * sysdeps/i386/fpu/e_pow.S (p10): New object.
34997         (__ieee754_pow): Use iterative multiplication algorithm only for
34998         integer exponents with absolute value below 1024.  Check for odd
34999         integer exponents when using algorithm for real exponents.
35000         * math/libm-test.inc (pow_test): Add more tests.
35001         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35002
35003 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
35004
35005         [BZ #13705]
35006         * math/libm-test.inc (exp_test): Do not allow overflow exception
35007         on underflow test.
35008
35009 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
35010
35011         [BZ #13705]
35012         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35013         instead of __kernel_standard_f.
35014
35015 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
35016
35017         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35018         * sysdeps/x86_64/memset_chk.S: Likewise.
35019
35020 2012-04-08  Andreas Jaeger  <aj@suse.de>
35021
35022         [BZ #10153]
35023         * manual/startup.texi (Environment Access): Describe return value
35024         for putenv and setenv.
35025
35026         [BZ #6895]
35027         * manual/filesys.texi (Directory Entries): Add description for
35028         DT_LNK.
35029
35030         [BZ #6890]
35031         * manual/filesys.texi (Directory Entries): Clarify that it's file
35032         system not operating system in the description of DT_UNKNOWN.
35033
35034         [BZ #6578]
35035         * manual/syslog.texi (closelog): Fix reference, it's openlog.
35036
35037 2012-04-08  Stephen Compall  <s11@member.fsf.org>
35038
35039         [BZ #6649]
35040         * manual/llio.texi (Opening and Closing Files): Add cross
35041         reference to explain mode argument.
35042
35043 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
35044
35045         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35046         * sysdeps/x86_64/memset_chk.S: Likewise.
35047
35048 2012-04-07  David S. Miller  <davem@davemloft.net>
35049
35050         * elf/elf.h (R_SPARC_WDISP10): Define.
35051         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35052         R_SPARC_SIZE32.
35053         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35054         R_SPARC_SIZE64 and R_SPARC_H34.
35055
35056 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
35057
35058         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35059         conditions and remove no longer applicable assertion.
35060
35061 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
35062
35063         * bits/byteswap.h: Include <features.h>.
35064         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35065         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35066
35067 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
35068
35069         * bits/byteswap.h (__bswap_16): Removed.
35070         Include <bits/byteswap-16.h> to get __bswap_16.
35071         * sysdeps/i386/bits/byteswap.h: Likewise.
35072         * sysdeps/s390/bits/byteswap.h: Likewise.
35073         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35074         * bits/byteswap-16.h: New file.
35075         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35076         * sysdeps/s390/bits/byteswap-16.h: Likewise.
35077         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35078         * string/Makefile (headers): Add bits/byteswap-16.h.
35079
35080 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35081
35082         [BZ #13895]
35083         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35084         extra indirection.
35085         * nss/Makefile (tests-static, tests): Add tst-nss-static.
35086         * nss/tst-nss-static.c: New.
35087
35088 2012-04-06  Robert Millan  <rmh@gnu.org>
35089
35090         [BZ #6486]
35091         * manual/llio.texi (File Position Primitive): lseek
35092         refers to WHENCE when it really means OFFSET.
35093
35094 2012-04-06  Andreas Jaeger  <aj@suse.de>
35095
35096         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35097         strncmp declarations.
35098
35099         * abilist/libc.abilist: Add __poll and __ppoll.
35100
35101 2012-04-05  David S. Miller  <davem@davemloft.net>
35102
35103         * scripts/check-local-headers.sh: Accept a host triplet in the
35104         path matched by the exclude regexp.
35105
35106         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35107         definition.
35108         * sysdeps/powerpc/powerpc32/dl-machine.h
35109         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35110         * sysdeps/s390/s390-32/dl-machine.h
35111         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35112         * sysdeps/sparc/sparc32/dl-machine.h
35113         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35114         * sysdeps/sparc/sparc64/dl-machine.h
35115         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35116
35117         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35118         lazy binding.
35119         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35120         undefined symbol errors.
35121
35122         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35123         DT_NEEDED entries.
35124
35125 2012-04-05  Michael Matz  <matz@suse.de>
35126
35127         [BZ #13592]
35128         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35129
35130 2012-04-05  Andreas Jaeger  <aj@suse.de>
35131
35132         [BZ #13908]
35133         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35134         comment.
35135
35136 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35137
35138         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35139         which ROUND is no valid rounding mode.
35140
35141 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35142
35143         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35144         read again.
35145         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35146
35147 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35148
35149         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35150         an exception using FPU order intentionally.
35151
35152 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35153
35154         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35155         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35156         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35157         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35158
35159 2012-04-05  Simon Josefsson  <simon@josefsson.org>
35160
35161         [BZ #12340]
35162         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35163         EINVAL when BUFLEN is too smal.
35164
35165 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35166
35167         [BZ #13553]
35168         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35169         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35170
35171 2012-04-03  Andreas Jaeger  <aj@suse.de>
35172
35173         [BZ #13938]
35174         * manual/setjmp.texi (System V contexts): Fix sentence.
35175
35176         [BZ #13926]
35177         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35178         New macro for this case.
35179         [!__GNUC__] (__bswap_64): New inline function for this case.
35180         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35181         * bits/byteswap.h: Likewise.
35182         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35183         ull, guard with __GLIBC_HAVE_LONG_LONG.
35184
35185         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35186         __GLIBC_HAVE_LONG_LONG.
35187
35188         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35189         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35190
35191 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35192
35193         [BZ #13691]
35194         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35195         inptr and inend, rather than using last_ch.
35196
35197 2012-04-02  David S. Miller  <davem@davemloft.net>
35198
35199         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35200         * stdio-common/printf-parse.h (read_int): Change return type to
35201         'int', return -1 on INT_MAX overflow.
35202         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35203         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
35204         overflows INT_MAX.  Check for overflow of in-format-string precision
35205         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
35206         SIZE_MAX not INT_MAX for integer overflow test.
35207         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35208         skip the construct in the format string but do not record anything.
35209         * stdio-common/bug22.c: Adjust to test both width/prevision
35210         INT_MAX overflow as well as total length INT_MAX overflow.  Check
35211         explicitly for proper errno values.
35212
35213 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35214
35215         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35216         CHAR_MAX.
35217         * string/test-strcmp.c [! WIDE]: Likewise.
35218         * time/tst-mktime2.c: Likewise for INT_MAX.
35219         * string/test-string.h: #include <sys/param.h> for MIN.
35220
35221         * csu/init-first.c (__libc_init_first): Call __ctype_init.
35222         * sysdeps/i386/init-first.c (init): Likewise.
35223         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35224         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35225         * sysdeps/sh/init-first.c (init): Likewise.
35226
35227 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
35228
35229         * po/ru.po: Update from translation team.
35230         * po/vi.po: Likewise.
35231
35232 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35233
35234         * resolv/nss_dns/dns-host.c: Merge copyright years.
35235
35236 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35237
35238         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35239         Optimize memcpy with prefetch if
35240         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
35241         src, dst pointers have unequal 16 byte alignments.
35242
35243 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35244
35245         [BZ #13928]
35246         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35247         from a CNAME entry and return the minimum ttl for the query.
35248         (gaih_getanswer_slice): Likewise.
35249
35250 2012-03-30  Jeff Law  <law@redhat.com>
35251
35252         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35253         due to long keys.
35254         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35255         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35256
35257         * resolv/nss_dns/dns-host.c: Update copyright year.
35258
35259 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
35260
35261         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35262         requests to save a system call.  Fix check that all bytes are sent.
35263
35264         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35265         comments for sendmmsg.
35266
35267 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35268
35269         [BZ #13691]
35270         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35271         with only 1 character between 0x0041 and 0x01b0.
35272         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35273         * wcsmbs/tst-mbsnrtowcs.c: New file.
35274
35275 2012-03-29  David S. Miller  <davem@davemloft.net>
35276
35277         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35278         small copies by hand.
35279
35280 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35281
35282         [BZ #13761]
35283         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35284         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35285         group memberships.
35286
35287 2012-03-28  David S. Miller  <davem@davemloft.net>
35288
35289         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35290         that branches into memcpy.
35291         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35292         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35293         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35294         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35295         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35296         bits.
35297         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35298         implementation too.
35299         * sysdeps/sparc/mempcpy.S: New file.
35300
35301         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35302         the IFUNC routine in the libc case.
35303         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35304
35305         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35306         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35307         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35308         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35309         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35310         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35311         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35312         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35313
35314         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35315         loop to 256 bytes instead of 64 bytes and fix test signedness.
35316
35317         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35318         * sysdeps/sparc/sparc32/Makefile: rather than here...
35319         * sysdeps/sparc/sparc64/Makefile: and here.
35320
35321 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
35322
35323         * malloc/mallocbug.c: Avoid warnings about unused variables.
35324
35325 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35326
35327         [BZ #13760]
35328         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35329         in the right place. Discard and retry query if response is
35330         larger than input buffer size.
35331
35332 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
35333
35334         [BZ #369]
35335         [BZ #2678]
35336         [BZ #3866]
35337         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35338         x for large integer exponent.
35339         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35340         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
35341         sign of result as needed afterwards.
35342         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35343         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35344         result for underflowing pow the same as for overflow.
35345         (__kernel_standard_l): Handle powl overflow and underflow here
35346         rather than calling __kernel_standard.
35347         * math/libm-test.inc (pow_test): Add more tests.
35348
35349         [BZ #3868]
35350         [BZ #13879]
35351         [BZ #13910]
35352         [BZ #13911]
35353         [BZ #13912]
35354         [BZ #13913]
35355         [BZ #13915]
35356         [BZ #13916]
35357         [BZ #13917]
35358         [BZ #13918]
35359         [BZ #13919]
35360         [BZ #13920]
35361         [BZ #13921]
35362         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35363         * sysdeps/ieee754/k_standard.c: Include <float.h>.
35364         (__kernel_standard_l): New function.
35365         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35366         __kernel_standard.
35367         * math/w_acosl.c (__acosl): Likewise.
35368         * math/w_asinl.c (__asinl): Likewise.
35369         * math/w_atan2l.c (__atan2l): Likewise.
35370         * math/w_atanhl.c (__atanhl): Likewise.
35371         * math/w_coshl.c (__coshl): Likewise.
35372         * math/w_exp10l.c (__exp10l): Likewise.
35373         * math/w_exp2l.c (__exp2l): Likewise.
35374         * math/w_fmodl.c (__fmodl): Likewise.
35375         * math/w_hypotl.c (__hypotl): Likewise.
35376         * math/w_j0l.c (__j0l, __y0l): Likewise.
35377         * math/w_j1l.c (__j1l, __y1l): Likewise.
35378         * math/w_jnl.c (__jnl, __ynl): Likewise.
35379         * math/w_lgammal.c (__lgammal): Likewise.
35380         * math/w_log10l.c (__log10l): Likewise.
35381         * math/w_log2l.c (__log2l): Likewise.
35382         * math/w_logl.c (__logl): Likewise.
35383         * math/w_powl.c (__powl): Likewise.
35384         * math/w_remainderl.c (__remainderl): Likewise.
35385         * math/w_scalbl.c (sysv_scalbl): Likewise.
35386         * math/w_sinhl.c (__sinhl): Likewise.
35387         * math/w_sqrtl.c (__sqrtl): Likewise.
35388         * math/w_tgammal.c (__tgammal): Likewise.
35389         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35390         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35391         * math/libm-test.inc (acos_test): Add more tests.
35392         (acosh_test): Likewise.
35393         (asin_test): Likewise.
35394         (atanh_test): Likewise.
35395         (exp_test): Likewise.
35396         (exp10_test): Likewise.
35397         (exp2_test): Likewise.
35398         (expm1_test): Likewise.
35399         (lgamma_test): Likewise.
35400         (log_test): Likewise.
35401         (log10_test): Likewise.
35402         (log1p_test): Likewise.
35403         (log2_test): Likewise.
35404         (pow_test): Do not allow some spurious overflow exceptions.
35405         (sqrt_test): Add more tests.
35406         (tgamma_test): Likewise.
35407         (y0_test): Likewise.
35408         (y1_test): Likewise.
35409         (yn_test): Likewise.
35410
35411 2012-03-27  Anton Blanchard  <anton@samba.org>
35412
35413         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35414         MAP_HUGETLB.
35415         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35416         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35417         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35418
35419 2012-03-27  David S. Miller  <davem@davemloft.net>
35420
35421         * conform/Makefile: Run run-conformtest.sh using $(BASH).
35422
35423         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35424         have-as-vis3 check.
35425
35426 2012-03-27  Andreas Jaeger  <aj@suse.de>
35427
35428         * sysdeps/x86_64/elf/configure.in: Moved to ...
35429         * sysdeps/x86_64/configure.in: ... here.
35430         * sysdeps/x86_64/elf/start.S: Moved to ...
35431         * sysdeps/x86_64/start.S: ... here.
35432         * sysdeps/x86_64/elf/configure: Delete.
35433
35434         * sysdeps/x86_64/configure.in: Merge contents from
35435         sysdeps/i386/configure.in (without i686 check).
35436
35437         * sysdeps/i386/elf/Versions: Merge into ...
35438         * sysdeps/i386/Versions: ... this.
35439         * sysdeps/i386/elf/Versions: Delete file.
35440         * sysdeps/i386/elf/start.S: Moved to ...
35441         * sysdeps/i386/start.S: ...here.
35442         * sysdeps/i386/elf/configure.in: Merge into...
35443         * sysdeps/i386/configure.in: ...here.
35444         * sysdeps/i386/elf/configure.in: Delete file.
35445         * sysdeps/i386/elf/configure: Delete file.
35446
35447         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35448         * debug/backtracesyms.c: ... here.
35449         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35450         * debug/backtracesymsfd.c: ... here.
35451         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35452         * sysdeps/generic/ifunc-sel.h: ... here.
35453
35454         * sysdeps/unix/i386/start.c: Delete file.
35455         * sysdeps/unix/sparc/start.c: Delete file.
35456         * sysdeps/unix/start.c: Delete file.
35457
35458         * sysdeps/sh/elf/configure.in: Moved to ...
35459         * sysdeps/sh/configure.in: ... here.
35460         * sysdeps/sh/elf/start.S: Moved to ...
35461         * sysdeps/sh/start.S: ... here.
35462         * sysdeps/sh/elf/configure: Delete file.
35463
35464         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35465         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35466         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35467         * sysdeps/powerpc/powerpc64/entry.h: ... here.
35468         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35469         * sysdeps/powerpc/powerpc64/start.S: here.
35470         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35471         * sysdeps/powerpc/powerpc64/Makefile: ... this.
35472         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35473         * sysdeps/powerpc/powerpc64/configure.in: ... this.
35474         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35475
35476         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35477         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35478         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35479         * sysdeps/powerpc/powerpc32/start.S: ... here.
35480         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35481         * sysdeps/powerpc/powerpc32/configure.in: ... this.
35482         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35483
35484         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35485         * sysdeps/powerpc/ifunc-sel.h: ... here.
35486         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35487         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35488
35489         * sysdeps/sparc/elf/configure.in: Moved to ...
35490         * sysdeps/sparc/configure.in: ... here.
35491         * sysdeps/sparc/elf/configure: Delete file.
35492         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35493         * sysdeps/sparc/sparc32/start.S: ... here.
35494         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35495         * sysdeps/sparc/sparc64/start.S: ... here.
35496         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35497         * sysdeps/sparc/sparc32/Makefile: ... this.
35498         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35499         * sysdeps/sparc/sparc64/Makefile: ... this.
35500
35501         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35502         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35503         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35504         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35505         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35506         * sysdeps/s390/s390-32/setjmp.S: ... here.
35507         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35508         * sysdeps/s390/s390-32/configure.in: ... here.
35509         * sysdeps/s390/s390-32/elf/configure: Delete file.
35510         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35511         * sysdeps/s390/s390-32/start.S: ... here.
35512
35513         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35514         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35515         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35516         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35517         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35518         * sysdeps/s390/s390-64/setjmp.S: ... here.
35519         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35520         * sysdeps/s390/s390-64/configure.in: ... here
35521         * sysdeps/s390/s390-64/elf/configure: Delete file.
35522         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35523         * sysdeps/s390/s390-64/start.S: ... here.
35524         * sysdeps/s390/s390-64/elf/configure: Delete.
35525
35526         * configure.in: Remove support for elf directories in sysdeps.
35527
35528         * configure: Regenerated.
35529         * sysdeps/i386/configure: Regenerated.
35530         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35531         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35532         * sysdeps/s390/s390-32/configure: Regenerated.
35533         * sysdeps/s390/s390-64/configure: Regenerated.
35534         * sysdeps/sh/configure: Regenerated.
35535         * sysdeps/sparc/configure: Regenerated.
35536         * sysdeps/x86_64/configure: Regenerated.
35537
35538 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
35539
35540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35541
35542         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35543         denormal result into account.
35544
35545 2012-03-25  Roland McGrath  <roland@hack.frob.com>
35546
35547         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35548         Reported by Allan McRae <allan@archlinux.org>.
35549
35550 2012-03-23  Jeff Law  <law@redhat.com>
35551
35552         * nss/getnssent.c (__nss_getent): Fix typo.
35553
35554 2012-03-23  David S. Miller  <davem@davemloft.net>
35555
35556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35557
35558 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
35559
35560         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35561         to pad to uint64_t for each field.
35562         (dl_tls_index): Replace unsigned long with uint64_t.
35563
35564 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
35565         Paul Pluzhnikov  <ppluzhnikov@google.com>
35566
35567         [BZ #6528]
35568         * grp/Makefile (otherlibs): Don't set it.
35569         * inet/Makefile (otherlibs): Likewise.
35570         * login/Makefile (otherlibs): Likewise.
35571         * nscd/Makefile (otherlibs): Likewise.
35572         * posix/Makefile (otherlibs): Likewise.
35573         * pwd/Makefile (otherlibs): Likewise.
35574         * rt/Makefile (otherlibs): Likewise.
35575         * sunrpc/Makefile (otherlibs): Likewise.
35576         * nss/Makefile (otherlibs): Likewise.
35577         Add libnss_files to routines and static-only-routines.
35578         ($(objpfx)getent): Remove rule.
35579         * resolv/Makefile: Add libnss_dns and libresolv to routines and
35580         static-only-routines.
35581
35582 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35583
35584         [BZ #13892]
35585         * math/s_cexp.c: Include <float.h>.
35586         (__cexp): Handle exp result overflowing not necessarily
35587         overflowing both real and imaginary parts of result.
35588         * math/s_cexpf.c: Likewise.
35589         * math/s_cexpl.c: Likewise.
35590         * math/libm-test.inc (cexp_test): Add more tests.
35591         * sysdeps/i386/fpu/libm-test-ulps: Update.
35592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35593
35594 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35595
35596         * include/link.h (ELFW): New macro.
35597         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35598         Replace ELF64_R_TYPE with ELFW(R_TYPE).
35599
35600 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35601
35602         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35603         with uint64_t.
35604
35605 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35606
35607         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35608         declaration.
35609         (struct La_x32_retval): Likewise.
35610
35611 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35612
35613         * sysdeps/x86_64/preconfigure.in: New file.
35614         * sysdeps/x86_64/preconfigure: New generated file.
35615
35616 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35617
35618         [BZ #13824]
35619         * math/e_exp2l.c: Include <float.h>.
35620         (__ieee754_exp2l): Handle overflow and underflow cases
35621         separately.  Only pass fractional part of argument to
35622         __ieee754_expl.
35623         * math/libm-test.inc (exp2_test): Add more tests.
35624
35625         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35626         negating x to take absolute value.
35627         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35628         Likewise.
35629         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35630         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35631         Likewise.
35632         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35633         computing low part if x was negated.
35634         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35635
35636 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35637
35638         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35639         la_x32_gnu_pltexit.
35640         (pltexit): Cast int_retval to ptrdiff_t.
35641         * elf/tst-auditmod3b.c: Likewise.
35642         * elf/tst-auditmod4b.c: Likewise.
35643         * elf/tst-auditmod5b.c: Likewise.
35644         * elf/tst-auditmod6b.c: Likewise.
35645         * elf/tst-auditmod6c.c: Likewise.
35646         * elf/tst-auditmod7b.c: Likewise.
35647
35648         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35649         and x32_gnu_pltexit.
35650
35651         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35652         __ELF_NATIVE_CLASS.
35653         (La_x32_regs): New macro.
35654         (La_x32_retval): Likewise.
35655         (la_x32_gnu_pltenter): New function prototype.
35656         (la_x32_gnu_pltexit): Likewise.
35657
35658 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
35659
35660         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35661         exponent.
35662
35663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35664
35665         * configure.in (libc_cv_cc_nofma): Check for option to disable
35666         generation of FMA instructions.
35667         * configure: Regenerate.
35668         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35669         * sysdeps/ieee754/dbl-64/Makefile: New file.
35670         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35671         Remove brandred-fma4.
35672         (CFLAGS-brandred-fma4.c): Remove.
35673         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35674         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35675         define.
35676         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35677         define.
35678
35679 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35680
35681         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35682         LLONG_MAX != LONG_MAX.
35683         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35684         (_fitoa_word): Likewise.
35685         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35686         LLONG_MAX != LONG_MAX.
35687         * stdio-common/_itowa.h: Include <_itoa.h>.
35688         (_itowa_word): Use _ITOA_WORD_TYPE on value.
35689         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
35690         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
35691         only if not defined.
35692         (_ITOA_WORD_TYPE): Likewise.
35693         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35694         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35695
35696 2012-03-21  David S. Miller  <davem@davemloft.net>
35697
35698         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35699
35700 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35701
35702         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35703         of x86_64 when setting libc_cv_slibdir, libdir and
35704         libc_cv_localedir.
35705         * sysdeps/unix/sysv/linux/configure: Regenerated.
35706
35707 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35708
35709         * manual/lang.texi (Old Varargs): Remove section.
35710         (How Variadic): Update menu.
35711         (va_start): Do not mention varargs.h.
35712
35713 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35714             Joseph Myers  <joseph@codesourcery.com>
35715
35716         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35717         link test.
35718         * configure: Regenerated.
35719
35720 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35721
35722         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35723         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35724         conformtest.pl
35725
35726 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35727
35728         * NOTES: Remove.
35729         * Makefile (files-for-dist): Remove NOTES.
35730         (NOTES): Remove rule.
35731         * README: Don't refer to NOTES.
35732         * manual/creature.texi: Don't include macros.texi.
35733         * manual/intro.texi (creature.texi): Remove comment referring to
35734         NOTES.
35735
35736         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35737         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35738         * configure: Regenerated.
35739         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35740         LIBC_TRY_CC_OPTION.
35741         (libc_cv_as_i686): Likewise.
35742         (libc_cv_cc_avx): Likewise.
35743         (libc_cv_cc_sse2avx): Likewise.
35744         (libc_cv_cc_fma4): Likewise.
35745         (libc_cv_cc_novzeroupper): Likewise.
35746         * sysdeps/i386/configure: Regenerated.
35747
35748         [BZ #13883]
35749         * sysdeps/i386/fpu/s_cexp.S: Remove.
35750         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35751         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35752         * math/libm-test.inc (cexp_test): Add more tests.
35753         * sysdeps/i386/fpu/libm-test-ulps: Update.
35754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35755
35756 2012-03-21  Allan McRae  <allan@archlinux.org>
35757
35758         * timezone/Makefile: Do not install iso3166.tab and zone.tab
35759
35760 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35761
35762         [BZ #13871]
35763         * math/w_exp2.c: Do not include <float.h>.
35764         (o_threshold, u_threshold): Remove.
35765         (__exp2): Calculate result before checking finiteness and calling
35766         __kernel_standard.
35767         * math/w_exp2f.c: Likewise.
35768         * math/w_exp2l.c: Likewise.
35769         * math/libm-test.inc (exp2_test): Require overflow exception for
35770         1e6 input.
35771
35772         [BZ #3866]
35773         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35774         range of signed 64-bit integers before using fistpll.  Remove
35775         checks for whether integers fit in mantissa bits.
35776         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35777         the range of signed 32-bit integers before using fistpl.  Remove
35778         checks for whether integers fit in mantissa bits.
35779         * sysdeps/i386/fpu/e_powl.S (p64): New object.
35780         (__ieee754_powl): Test for y outside the range of signed 64-bit
35781         integers before using fistpll.  Reduce 64-bit values to 63-bit
35782         ones as needed.
35783         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35784         divide-by-zero is raised for zero to large negative powers.
35785         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35786         (__ieee754_powl): Test for y outside the range of signed 64-bit
35787         integers before using fistpll.  Reduce 64-bit values to 63-bit
35788         ones as needed.
35789         * math/libm-test.inc (pow_test): Add more tests.
35790
35791 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35792
35793         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35794         <stdio-common/_itoa.h>.
35795         * debug/segfault.c: Likewise.
35796         * elf/dl-cache.c: Likewise.
35797         * elf/dl-minimal.c: Likewise.
35798         * elf/dl-misc.c: Likewise.
35799         * elf/dl-sysdep.c: Likewise.
35800         * elf/dl-version.c: Likewise.
35801         * elf/rtld.c: Likewise.
35802         * hurd/hurdsock.c: Likewise.
35803         * hurd/lookup-retry.c: Likewise.
35804         * malloc/malloc.c: Likewise.
35805         * malloc/mtrace.c: Likewise.
35806         * nscd/nscd_getgr_r.c: Likewise.
35807         * nscd/nscd_getpw_r.c: Likewise.
35808         * nscd/nscd_getserv_r.c: Likewise.
35809         * posix/getopt_init.c: Likewise.
35810         * posix/wordexp.c: Likewise.
35811         * stdio-common/_itoa.c: Likewise.
35812         * stdio-common/printf_fphex.c: Likewise.
35813         * stdio-common/vfprintf.c: Likewise.
35814         * string/_strerror.c: Likewise.
35815         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35816         * sysdeps/i386/i686/hp-timing.h: Likewise.
35817         * sysdeps/mach/_strerror.c: Likewise.
35818         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35819         * sysdeps/mach/hurd/sethostid.c: Likewise.
35820         * sysdeps/mach/hurd/xmknodat.c: Likewise.
35821         * sysdeps/mach/xpg-strerror.c: Likewise.
35822         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35823         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35824         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35825         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35826         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35827         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35828         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35829         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35830         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35831         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35832         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35833         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35834         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35835         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35836         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35837         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35838         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35839         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35840         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35841         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35842         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35843
35844         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35845
35846         * stdio-common/_itoa.h: Moved to ...
35847         * sysdeps/generic/_itoa.h: Here.
35848
35849         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35850
35851         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35852         instead of "_itoa.h" and "_itowa.h".
35853         * stdio-common/vfprintf.: Likewise.
35854
35855 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35856
35857         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35858         <bits/wordsize.h>.
35859         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35860         (__signbit): Likwise.
35861         (llrintf): Likwise.
35862         (llrint): Likwise.
35863
35864 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35865
35866         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35867         __WORDSIZE != 64.
35868
35869 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
35870
35871         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35872         OVERFLOW_EXCEPTION_OK.
35873         * math/libm-test.inc ("Philosophy"): Update comment about
35874         exception testing.
35875         (OVERFLOW_EXCEPTION): Define.
35876         (OVERFLOW_EXCEPTION_OK): Likewise.
35877         (INVALID_EXCEPTION_OK): Renumber.
35878         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35879         (IGNORE_ZERO_INF_SIGN): Likewise.
35880         (test_exceptions): Handle FE_OVERFLOW.
35881         (exp10_test): Expect overflow exceptions.
35882         (exp2_test): Likewise.
35883         (expm1_test): Likewise.
35884         (nextafter_test): Likewise.
35885         (pow_test): Likewise.
35886         (scalbn_test): Likewise.
35887         (scalbln_test): Likewise.
35888
35889 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35890
35891         * sysdeps/x86_64/bits/atomic.h
35892         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35893         64bit integer.
35894         (atomic_exchange_acq): Likewise.
35895         (__arch_exchange_and_add_body): Likewise.
35896         (__arch_add_body): Likewise.
35897         (atomic_add_negative): Likewise.
35898         (atomic_add_zero): Likewise.
35899
35900 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35901
35902         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35903         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35904
35905 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35906
35907         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35908         Check __x86_64__ instead of __WORDSIZE.
35909
35910 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35911
35912         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35913
35914 2012-03-19  David S. Miller  <davem@davemloft.net>
35915
35916         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35917
35918         * sysdeps/sparc/fpu/fenv_private.h: New file.
35919         * sysdeps/sparc/fpu/math_private.h: Use it.
35920         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35921         Remove.
35922         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35923         (libc_feholdexcept_setroundl): Remove.
35924         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35925         Remove.
35926         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35927         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35928
35929 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35930
35931         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35932         int64_t instead of long int.
35933         (INSERT_WORDS64): Likwise.
35934
35935 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35936
35937         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35938         _Unwind_GetCFA return to _Unwind_Ptr first.
35939
35940 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
35941
35942         [BZ #13629]
35943         * math/s_clog.c: Include <float.h>.
35944         (__clog): Scale large or subnormal inputs.
35945         * math/s_clogf.c: Likewise.
35946         * math/s_clogl.c: Likewise.
35947         * math/s_clog10.c: Include <float.h>.
35948         (M_LOG10_2): Define.
35949         (__clog10): Scale large or subnormal inputs.
35950         * math/s_clog10f.c: Likewise.
35951         * math/s_clog10l.c: Likewise.
35952         * math/libm-test.inc (clog_test): Add more tests.
35953         (clog10_test): Likewise.
35954         * sysdeps/i386/fpu/libm-test-ulps: Update.
35955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35956
35957         [BZ #11451]
35958         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35959         x and y.
35960         * math/libm-test.inc (atan2_test): Add another test.
35961
35962         * Makerules (common-objdir-compile): Remove.
35963         * sysdeps/unix/Makefile (config-generated): Do not add
35964         $(unix-generated) to variable.
35965         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35966         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35967         Remove rule.
35968         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35969         Likewise.
35970         [generic bits/local_lim.h] (before-compile): Do not append to
35971         variable.
35972         [generic bits/local_lim.h] (common-generated): Likewise.
35973         [generic sys/param.h] (before-compile): Do not append to variable.
35974         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35975         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35976         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35977         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35978         include.
35979         [generic sys/param.h] (sys/param.h-includes): Remove variable.
35980         [generic sys/param.h] (sys/param.h-includes): Remove rule.
35981         [generic sys/param.h] ($(addprefix
35982         $(common-objpfx),$(sys/param.h-includes))): Likewise.
35983         [generic sys/param.h] (common-generated): Do not append to
35984         variable.
35985         [generic sys/param.h] (sysdep_headers): Likewise.
35986         [generic bits/errno.h] (before-compile): Do not append to
35987         variable.
35988         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35989         rule.
35990         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35991         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35992         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35993         [generic bits/errno.h] (common-generated): Do not append to
35994         variable.
35995         [generic bits/ioctls.h] (before-compile): Do not append to
35996         variable.
35997         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35998         rule.
35999         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36000         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36001         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36002         rule.
36003         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36004         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36005         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36006         [generic bits/ioctls.h] (common-generated): Do not append to
36007         variable.
36008         [generic sys/syscall.h] (syscall.h): Remove variable.
36009         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36010         rule.
36011         [generic sys/syscall.h] (before-compile): Do not append to
36012         variable.
36013         [generic sys/syscall.h] (common-generated): Likewise.
36014         * sysdeps/unix/errnos-tmpl.c: Remove file.
36015         * sysdeps/unix/errnos.awk: Likewise.
36016         * sysdeps/unix/ioctls-tmpl.c: Likewise.
36017         * sysdeps/unix/ioctls.awk: Likewise.
36018         * sysdeps/unix/mk-local_lim.c: Likewise.
36019         * sysdeps/unix/snarf-ioctls: Likewise.
36020
36021 2012-03-19  Richard Henderson  <rth@twiddle.net>
36022
36023         * sysdeps/i386/fpu/fenv_private.h: New file.
36024         * sysdeps/i386/fpu/math_private.h: Use it.
36025         (math_opt_barrier, math_force_eval): Remove.
36026         (libc_feholdexcept_setround_53bit): Remove.
36027         (libc_feupdateenv_53bit): Remove.
36028         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36029         (math_opt_barrier, math_force_eval): Remove.
36030         (libc_feholdexcept): Remove.
36031         (libc_feholdexcept_setround): Remove.
36032         (libc_fetestexcept, libc_fesetenv): Remove.
36033         (libc_feupdateenv_test): Remove.
36034         (libc_feupdateenv, libc_feholdsetround): Remove.
36035         (libc_feresetround): Remove.
36036
36037         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36038         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36039
36040         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36041         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36042         (libc_feupdateenv_testl): New.
36043         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36044         (libc_feupdateenv_testf): New.
36045         (libc_feupdateenv): Use libc_feupdateenv_test.
36046         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36047         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36048
36049         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36050         (libc_feholdsetroundf, libc_feholdsetroundl): New.
36051         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36052         (libc_feresetround_noex): New.
36053         (libc_feresetround_noexf): New.
36054         (libc_feresetround_noexl): New.
36055         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36056         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36057         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36058         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36059         SET_RESTORE_ROUND.
36060         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36061         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36062         (__cos): Likewise.
36063         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36064         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36065         SET_RESTORE_ROUND_NOEX.
36066         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36067         SET_RESTORE_ROUND_NOEXF.
36068         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36069         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36070         (libc_feholdsetroundf): New.
36071         (libc_feresetround, libc_feresetroundf): New.
36072
36073         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36074         (libc_feholdexcept_setround_53bit): Convert from macro to function.
36075         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
36076
36077         * sysdeps/generic/math_private.h: Include <fenv.h>.
36078         (default_libc_feholdexcept): New.
36079         (default_libc_feholdexcept_setround): New.
36080         (default_libc_fesetenv, default_libc_feupdateenv): New.
36081         (libc_feholdexcept): Only define if undefined.
36082         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36083         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36084         (libc_feholdexcept_setroundl): Likewise.
36085         (libc_feholdexcept_setround_53bit): Likewise.
36086         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36087         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36088         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36089         (libc_feupdateenv_53bit): Likewise.
36090         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36091         (libc_feholdexcept): Convert from macro to inline function.
36092         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36093         (libc_fesetenv, libc_feupdateenv): Likewise.
36094
36095         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36096         not previously defined.
36097         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36098         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36099         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36100         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36101         * sysdeps/ieee754/flt-32/math_private.h: New file.
36102         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36103         math_private.h below SET_FLOAT_WORD.
36104         (__isnan, __isinf_ns, __finite): Remove.
36105         (__isnanf, __isinf_nsf, __finitef): Remove.
36106
36107 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
36108
36109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36110
36111 2012-03-17  David S. Miller  <davem@davemloft.net>
36112
36113         [BZ #6471]
36114         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36115         for 2.16.
36116
36117 2012-03-16  David S. Miller  <davem@davemloft.net>
36118
36119         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36120         warnings.
36121
36122         [BZ #6471]
36123         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36124         properly.
36125         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36126         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36127         sysdep_routines when subdir is sysvipc.
36128         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36129         __getshmlba helper.
36130
36131         * sysdeps/sparc/fpu/libm-test/ulps: Update.
36132
36133 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36134
36135         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36136         [__LP64__].
36137
36138 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36139
36140         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36141         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36142         (__lround): Renamed to ...
36143         (__llround): This.  Replace long int with long long int.
36144         Define lround functions as aliases of llround functions.
36145         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36146
36147 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36148
36149         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36150         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
36151         adresses to uintptr_t.  Replace "long int" and "unsigned long
36152         int" with "greg_t" on va_arg.
36153
36154 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36155
36156         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36157         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36158
36159         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36160         Move e_machine check before EI_CLASS check.  Handle x32
36161         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36162         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36163         SKIP_EM_IA_64 and include
36164         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36165
36166         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36167         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36168         (add_system_dir): New macro.
36169
36170         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36171         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36172
36173 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36174
36175         [BZ #2551]
36176         [BZ #2552]
36177         [BZ #2553]
36178         [BZ #2554]
36179         [BZ #2562]
36180         [BZ #2563]
36181         [BZ #2565]
36182         [BZ #2566]
36183         [BZ #2576]
36184         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36185         (y0): Likewise.
36186         * math/w_j0f.c (j0f): Likewise.
36187         (y0f): Likewise.
36188         * math/w_j0l.c (__j0l): Likewise.
36189         (__y0l): Likewise.
36190         * math/w_j1.c (j1): Likewise.
36191         (y1): Likewise.
36192         * math/w_j1f.c (j1f): Likewise.
36193         (y1f): Likewise.
36194         * math/w_j1l.c (__j1l): Likewise.
36195         (__y1l): Likewise.
36196         * math/w_jn.c (jn): Likewise.
36197         (yn): Likewise.
36198         * math/w_jnf.c (jnf): Likewise.
36199         (ynf): Likewise.
36200         * math/w_jnl.c (__jnl): Likewise.
36201         (__ynl): Likewise.
36202         * math/libm-test.inc (j0_test): Add more tests.
36203         (j1_test): Likewise.
36204         (jn_test): Likewise.  Add trailing semicolon to existing test.
36205         (y0_test): Likewise.
36206         (y1_test): Likewise.
36207         * sysdeps/i386/fpu/libm-test-ulps: Update.
36208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36209
36210         [BZ #13851]
36211         [BZ #13854]
36212         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36213         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36214         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36215         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36216         (__tanl): Set errno for infinite argument.
36217         * sysdeps/i386/fpu/mptan.c: Remove.
36218         * sysdeps/i386/fpu/s_tan.S: Likewise.
36219         * sysdeps/i386/fpu/s_tanl.S: Likewise.
36220         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36221         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36222         * math/libm-test.inc (tan_test): Add more tests and enable more
36223         tests for double and long double.
36224         * sysdeps/i386/fpu/libm-test-ulps: Update.
36225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36226
36227 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
36228
36229         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36230         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36231
36232 2012-03-16  Roland McGrath  <roland@hack.frob.com>
36233
36234         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36235         * configure.in: Use it for both main tree and add-ons.
36236         * configure: Regenerated.
36237
36238 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36239
36240         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36241
36242 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36243
36244         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36245         in comment.
36246
36247         [BZ #13851]
36248         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36249         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36250         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36251         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36252         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36253         infinite argument.
36254         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36255         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36256         != 0 for prec == 2.
36257         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36258         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36259         * sysdeps/i386/fpu/s_cosl.S: Likewise.
36260         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36261         * sysdeps/i386/fpu/s_sinl.S: Likewise.
36262         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36263         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36264         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36265         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36266         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36267         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36268         * math/libm-test.inc (cos_test): Add more tests and enable more
36269         tests for long double.
36270         (sin_test): Likewise.
36271         (sincos_test): Likewise.
36272         * sysdeps/i386/fpu/libm-test-ulps: Update.
36273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36274
36275 2012-03-16  David S. Miller  <davem@davemloft.net>
36276
36277         * sysdeps/sparc/fpu/math_private.h: New file.
36278
36279 2012-03-15  David S. Miller  <davem@davemloft.net>
36280
36281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36282         file.
36283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36285         file.
36286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36287         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36288         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36289         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36290         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36291         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36292         sysdep routines.
36293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36294
36295         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36296         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36297
36298         * sysdeps/sparc/sparc-ifunc.h: New file.
36299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36300         sparc-ifunc.h
36301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36303         Likewise.
36304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36305         Likewise.
36306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36310         Likewise.
36311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36316         Likewise.
36317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36318         Likewise.
36319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36323         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36324         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36325         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36326         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36327         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36328         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36329         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36330         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36331         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36332         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36333         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36334         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36335         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36336         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36337         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36338         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36339         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36340         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36341         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36342         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36343
36344 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36345
36346         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36347         scaling.
36348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36349
36350 2012-03-15  Andreas Jaeger  <aj@suse.de>
36351
36352         [BZ #13852]
36353         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36354         ieee754/flt-32 implementation for sin, cos and sincos.
36355         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36356         * sysdeps/i386/fpu/s_cosf.S: Likewise.
36357         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36358         * sysdeps/i386/fpu/s_sinf.S: Likewise.
36359         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36360         ieee754/flt-32 implementation for tan.
36361
36362         * math/libm-test.inc (cos_test): Enable some large input tests for
36363         float as well
36364         (sin_test): Likewise.
36365         (sincos_test): Likewise.
36366         (tan_test): Add tests for large input.
36367
36368         * sysdeps/i386/fpu/libm-test-ulps: Update.
36369
36370 2012-03-15  Andreas Jaeger  <aj@suse.de>
36371
36372         [BZ #13658]
36373         * math/libm-test.inc (cos_test): Add more test cases.
36374         (sin_test): Likewise.
36375         (sincos_test): Likewise.
36376
36377 2012-03-15  Andreas Jaeger  <aj@suse.de>
36378
36379         [BZ #13837]
36380         * math/libm-test.inc (cos_test): Add a test case for large input
36381         value.
36382         (sin_test): Likewise.
36383         (sincos_test): Likewise.
36384
36385 2012-03-15  Andreas Jaeger  <aj@suse.de>
36386             Joseph Myers  <joseph@codesourcery.com>
36387
36388         [BZ #13658]
36389         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36390         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36391         * sysdeps/i386/fpu/branred.c: Likewise.
36392         * sysdeps/i386/fpu/dosincos.c: Likewise.
36393         * sysdeps/i386/fpu/mpa.c: Likewise.
36394         * sysdeps/i386/fpu/s_cos.S: Likewise.
36395         * sysdeps/i386/fpu/s_sin.S: Likewise.
36396         * sysdeps/i386/fpu/s_sincos.S: Likewise.
36397         * sysdeps/i386/fpu/sincos32.c: Likewise.
36398
36399         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36400         Define.
36401         (libc_feupdateenv_53bit): Define.
36402         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36403         Define.
36404         (libc_feupdateenv_53bit): Define.
36405
36406         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36407         53 bit (without extend i386 double precision).
36408
36409         * math/libm-test.inc (sincos_test): Add tests for large input.
36410         (sin): Likewise.
36411         (cos): Likewise.
36412
36413         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36414
36415 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36416
36417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36418
36419 2012-03-15  David S. Miller  <davem@davemloft.net>
36420
36421         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36422         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36423         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36424         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36429         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36430         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36431         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36432         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36433         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36434         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36435         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36437         file.
36438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36440         file.
36441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36443         file.
36444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36446         file.
36447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36448         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36449         fmin/fmax sysdep routines.
36450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36451
36452 2012-03-14  David S. Miller  <davem@davemloft.net>
36453
36454         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36455         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36457         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36458         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36459         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36460         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36461         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36462         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36463         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36464         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36465         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36466         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36467         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36468         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36469         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36470         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36471         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36472         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36473         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36474         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36475         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36476         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36477         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36478         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36479         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36480         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36481         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36482         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36483         routines.
36484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36485         file.
36486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36488         file.
36489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36491         file.
36492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36494         file.
36495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36497         file.
36498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36500         file.
36501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36502         file.
36503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36504         file.
36505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36506         file.
36507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36508         New file.
36509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36510         file.
36511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36512         file.
36513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36515         file.
36516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36518         file.
36519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36521         file.
36522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36524         VIS3 routines.
36525
36526         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36527         New file.
36528
36529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36530
36531         * sysdeps/sparc/configure.in: New file.
36532         * sysdeps/sparc/configure: Generate.
36533         * configure.in (libc_cv_sparc_as_vis3): Substitute.
36534         * configure: Regenerate.
36535         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36536         * config.make.in (have-as-vis3): New.
36537         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36538         available use -Av9d instead of -Av9a.
36539         * sysdeps/sparc/sparc64/Makefile: Likewise.
36540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36542         New file.
36543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36544         file.
36545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36546         New file.
36547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36548         file.
36549         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36550         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36551         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36552         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36553         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36554
36555         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36556         fzeros/fnegs to load 0x80000000 into a float register instead of
36557         using the stack.
36558         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36559
36560 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36561
36562         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36563         bits/syscall.h.
36564         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36565         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36566         ($(inst_includedir)/bits/syscall.h): Remove rule.
36567         ($(objpfx)bits/syscall.d): Include instead of
36568         $(objpfx)syscall-list.d.
36569         (generated): Change syscall-list.h and syscall-list.d to
36570         bits/syscall.h and bits/syscall.d.
36571
36572 2012-03-14  Roland McGrath  <roland@hack.frob.com>
36573
36574         [BZ #13846]
36575         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36576
36577 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36578
36579         [BZ #13841]
36580         * math/s_csqrt.c: Include <float.h>.
36581         (__csqrt): Scale large or subnormal inputs.
36582         * math/s_csqrtf.c: Likewise.
36583         * math/s_csqrtl.c: Likewise.
36584         * math/libm-test.inc (csqrt_test): Add more tests.
36585         * sysdeps/i386/fpu/libm-test-ulps: Update.
36586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36587
36588         [BZ #13840]
36589         * math/libm-test.inc (hypot_test): Add more tests.
36590
36591 2012-03-13  David S. Miller  <davem@davemloft.net>
36592
36593         [BZ #13840]
36594         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36595         double-precision for the calculation instead of scaling.
36596
36597 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
36598
36599         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36600         manipulate bits before adding and subtracting TWO52[sx].
36601         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36602         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36603         Likewise.
36604         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36605
36606 2012-03-13  David S. Miller  <davem@davemloft.net>
36607
36608         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36609         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36610         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36611         rtld-global-offsets.h
36612         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36613
36614         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36615         large parameters.
36616
36617         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36618
36619         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36620         'err' in the ifdef scope in which it is actually used.
36621
36622         * nss/nss_db/db-init.c: Include string.h
36623
36624 2012-03-12  David S. Miller  <davem@davemloft.net>
36625
36626         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36627         masking out of the most significant byte of random value used.
36628         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36629         Fix coding style in previous change.
36630
36631         * sysdeps/unix/sysv/linux/kernel-features.h
36632         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36633         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36634         expression.
36635         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36636         later.
36637
36638 2012-03-11  David S. Miller  <davem@davemloft.net>
36639
36640         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36641         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36642         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36643         for 'resultvar' otherwise things get truncated on 64-bit.
36644
36645         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36646         Fix masking out of the most significant byte of random value used.
36647
36648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36649
36650 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
36651
36652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36653
36654 2012-03-09  David S. Miller  <davem@davemloft.net>
36655
36656         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36657         variables with appropriate CPP guards.
36658         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36659         from the frame pointer, not the stack pointer.  Correct layout
36660         comments.  Fix test on resulting framesize and the management of
36661         the outregs buffer for pltexit.  Preserve floating point return
36662         values across _dl_call_pltexit call.
36663         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36664         framesize and the management of the outregs buffer for pltexit.
36665         Preserve floating point return values across _dl_call_pltexit
36666         call.
36667         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36668         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36669         (la_sparc64_gnu_pltexit): New functions.
36670         (print_exit): Fix format string for return register value.
36671
36672 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
36673
36674         * sunrpc/Makefile (others): Add rpcgen.
36675         ($(objpfx)rpcgen): Remove special build rule and dependency on
36676         libc.
36677         * sunrpc/rpcgen.c: New file.
36678
36679 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
36680
36681         [BZ #13673]
36682         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36683         * stdio-common/bug-vfprintf-nargs.c: Likewise.
36684         * sysdeps/i386/crti.S: Likewise.
36685         * sysdeps/i386/crtn.S: Likewise.
36686         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36687         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36688         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36689         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36690         * sysdeps/sh/crti.S: Likewise.
36691         * sysdeps/sh/crtn.S: Likewise.
36692         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36693
36694         [BZ #13673]
36695         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36696         with URL.
36697         * locale/programs/locfile-kw.gperf: Likewise.
36698         * locale/programs/charmap-kw.h: Regenerated.
36699         * locale/programs/locfile-kw.h: Likewise.
36700
36701         [BZ #13673]
36702         * intl/plural.y: Replace FSF snail mail address with URL.
36703         * intl/plural.c: Regenerated.
36704
36705 2012-03-09  Richard Henderson  <rth@twiddle.net>
36706
36707         * include/math_private.h: Remove file.
36708         * math/math_private.h: Move file ...
36709         * sysdeps/generic/math_private.h: ... here.
36710
36711         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36712         * sysdeps/powerpc/fpu/math_private.h: Likewise.
36713         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36714
36715         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36716         and <math_private.h>.
36717         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36718         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36719         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36720         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36721         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36722         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36723         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36724         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36725         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36726         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36727         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36728         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36729         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36730         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36731         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36732         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36733         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36734         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36735         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36736         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36737         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36738         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36739         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36740         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36741         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36742         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36743         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36744         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36745         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36746         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36747         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36748         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36749         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36750         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36751         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36752         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36753         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36754         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36755         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36756         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36757         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36758         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36759         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36760         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36761         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36762         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36763         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36764         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36765         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36766         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36767         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36768         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36769         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36770         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36771         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36772         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36773         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36774         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36775         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36776         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36777         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36778         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36779         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36780         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36781         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36782         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36783         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36784         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36785         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36786         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36787         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36788         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36789         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36790         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36791         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36792         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36793         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36794         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36795         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36796         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36797         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36798         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36799         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36800         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36801         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36802         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36803         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36804         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36805         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36806         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36807         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36808         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36809         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36810         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36811         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36812         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36813         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36814         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36815         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36816         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36817         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36818         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36819         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36820         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36821         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36822         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36823         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36824         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36825         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36826         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36827         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36828         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36829         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36830         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36831         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36832         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36833         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36834         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36835         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36836         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36837         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36838         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36839         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36840         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36841         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36842         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36843         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36844         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36845         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36846         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36847         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36848         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36849         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36850         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36851         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36852         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36853         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36854         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36855         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36856         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36857         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36858         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36859         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36860         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36861         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36862         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36863         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36864         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36865         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36866         * sysdeps/ieee754/k_standard.c: Likewise.
36867         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36868         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36869         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36870         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36871         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36872         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36873         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36874         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36875         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36876         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36877         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36878         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36879         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36880         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36881         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36882         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36883         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36884         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36885         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36886         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36887         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36888         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36889         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36890         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36891         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36892         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36893         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36894         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36895         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36896         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36897         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36898         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36899         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36900         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36901         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36902         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36903         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36904         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36905         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36906         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36907         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36908         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36909         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36910         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36911         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36912         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36913         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36914         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36915         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36916         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36917         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36918         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36919         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36920         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36921         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36922         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36923         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36924         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36925         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36926         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36927         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36928         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36929         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36930         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36931         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36932         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36933         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36934         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36935         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36936         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36937         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36938         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36939         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36940         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36941         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36942         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36943         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36944         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36945         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36946         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36947         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36948         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36949         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36950         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36951         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36952         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36953         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36954         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36955         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36956         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36957         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36958         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36959         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36960         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36961         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36962         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36963         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36964         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36965         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36966         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36967         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36968         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36969         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36970         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36971         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36972         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36973         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36974         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36975         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36976         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36977         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36978         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36979         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36980         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36981         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36982         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36983         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36984         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36985         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36986         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36987         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36988         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36989         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36990         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36991         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36992         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36993         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36994         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36995         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36996         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36997         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36998         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36999         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37000         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37001         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37002         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37003         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37004         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37005         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37006         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37007         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37008         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37009         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37010         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37011         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37012         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37013         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37014         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37015         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37016         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37017         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37018         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37019         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37020         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37021         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37022         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37023         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37024         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37025         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37026         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37027         * sysdeps/ieee754/s_lib_version.c: Likewise.
37028         * sysdeps/ieee754/s_matherr.c: Likewise.
37029         * sysdeps/ieee754/s_signgam.c: Likewise.
37030         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37031         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37032         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37033         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37034         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37035         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37036         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37037         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37038         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37039         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37040         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37041         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37042         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37043         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37044         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37045         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37046         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37047         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37048         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37049         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37050         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37051
37052 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
37053
37054         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37055         * sunrpc/rpc_main.c: Likewise.
37056         * sunrpc/rpc_svcout.c: Likewise.
37057
37058 2012-03-09  David S. Miller  <davem@davemloft.net>
37059
37060         * include/math_private.h: New file.
37061
37062 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
37063
37064         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37065         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37066         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37067         from <bits/socket_type.h>.
37068         (enum __socket_type): Don't define here.
37069         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37070         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37071         bits/socket_type.h.
37072
37073         [BZ #13566]
37074         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37075         checking __USE_GNU.
37076
37077         * Makerules ($(inst_includedir)/%.h): New rule.
37078         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37079         (install-others): Remove variable setting.
37080         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37081
37082 2012-03-08  Richard Henderson  <rth@twiddle.net>
37083
37084         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37085         from macro to inline function; merge with the
37086         !__LIBC_INTERNAL_MATH_INLINES version.
37087         (__ieee754_sqrtf): Likewise.
37088
37089         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37090         to inline function.
37091         (__rintf, __floor, __floorf): Likewise.
37092
37093         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37094         macro to inline function.
37095         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37096
37097         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37098         not <math/math_private.h>.
37099
37100 2012-03-08  David S. Miller  <davem@davemloft.net>
37101
37102         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37103         copyright year.
37104         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37105
37106 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
37107
37108         * resolv/gai_misc.c (handle_requests): Fix struct timespec
37109         normalization.
37110         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37111         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37112
37113 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
37114
37115         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
37116         be defined individually, they must be defined as a block.  Define
37117         S for printing a string instead of hidint the different by using a
37118         macro for adding the 'l'.
37119         * stdio-common/tst-fphex-wide.c: Adjust.
37120
37121 2012-03-07  Marek Polacek  <polacek@redhat.com>
37122
37123         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37124
37125 2012-03-08  Marek Polacek  <polacek@redhat.com>
37126
37127         [BZ #13806]
37128         * stdio-common/Makefile (tests): Add tst-fphex-wide.
37129         * stdio-common/tst-fphex.c: Define a few macros to make the
37130         test reusable.  Use them.
37131         * stdio-common/tst-fphex-wide.c: New file.
37132
37133 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
37134
37135         [BZ #6911]
37136         * manual/macros.texi (gnusystems): New macro.
37137         (nongnusystems): Likewise.
37138         (gnulinuxhurdsystems): Likewise.
37139         (gnuhurdsystems): Likewise..
37140         (gnulinuxsystems): Likewise.
37141         * manual/charset.texi: Use new macros or @theglibc{} to refer to
37142         variants of the GNU system, not "GNU system".
37143         * manual/conf.texi: Likewise.
37144         * manual/errno.texi: Likewise.  Update example of errno macro
37145         expansion.
37146         * manual/filesys.texi: Likewise.
37147         (getumask): Document as specific to GNU/Hurd.
37148         * manual/install.texi: Likewise.  Reword some references to
37149         GNU/Linux.
37150         * manual/intro.texi: Likewise.
37151         * manual/io.texi: Likewise.
37152         (File Name Portability): Detail which constraints are inapplicable
37153         to all GNU systems and which are only inapplicable to GNU/Hurd.
37154         * manual/job.texi: Likewise.
37155         * manual/llio.texi: Likewise.
37156         (O_NOCTTY): Document as present on GNU/Linux.
37157         * manual/maint.texi: Likewise.
37158         * manual/memory.texi: Likewise.
37159         * manual/pattern.texi: Likewise.
37160         * manual/pipe.texi: Likewise.
37161         * manual/process.texi: Likewise.
37162         * manual/resource.texi: Likewise.
37163         (RUSAGE_CHILDREN): Remove statement about specifying a particular
37164         child on GNU/Hurd.
37165         * manual/setjmp.texi: Likewise.
37166         * manual/signal.texi: Likewise.
37167         * manual/startup.texi: Likewise.
37168         * manual/stdio.texi: Likewise.
37169         * manual/terminal.texi: Likewise.
37170         (ONLCR): Document as POSIX.
37171         (OXTABS): Document availability on GNU/Linux as XTABS.
37172         (ONOEOT): Document availability separately from other bits.
37173         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37174         * manual/time.texi: Likewise.
37175         * manual/users.texi: Likewise.
37176         * INSTALL: Regenerated.
37177         * sysdeps/gnu/errlist.c: Regenerated.
37178
37179         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37180         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37181         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
37182         puts.
37183         * configure: Regenerated.
37184
37185 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
37186
37187         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37188         default includes instead of AC_HEADER_CHECK.
37189         * sysdeps/i386/configure: Regenerated.
37190
37191         [BZ #10716]
37192         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37193         * math/s_cacoshf.c (__cacoshf): Likewise.
37194         * math/s_cacoshl.c (__cacoshl): Likewise.
37195         * math/s_casinh.c (__casinh): Set signs of result from argument.
37196         * math/s_casinhf.c (__casinhf): Likewise.
37197         * math/s_casinhl.c (__casinhl): Likewise.
37198         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37199         (casinh_test): Add more tests.
37200         * sysdeps/i386/fpu/libm-test-ulps: Update.
37201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37202
37203 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
37204
37205         * po/zh_TW.po: Update from translation team.
37206
37207         * login/Makefile (distribute): Remove variable.
37208         * catgets/Makefile: Likewise.
37209         * mach/Makefile: Likewise.
37210         * malloc/Makefile: Likewise.
37211         * misc/Makefile: Likewise.
37212         * iconv/Makefile: Likewise.
37213         * nscd/Makefile: Likewise.
37214         * hurd/Makefile: Likewise.
37215         * manual/Makefile: Likewise.
37216         * locale/Makefile: Likewise.
37217         * intl/Makefile: Likewise.
37218         * conform/Makefile: Likewise.
37219         * nss/Makefile: Likewise.
37220         * time/Makefile: Likewise.
37221         * soft-fp/Makefile: Likewise.
37222         * dirent/Makefile: Likewise.
37223         * gmon/Makefile: Likewise.
37224         * po/Makefile: Likewise.
37225         * rt/Makefile: Likewise.
37226         * socket/Makefile: Likewise.
37227         * math/Makefile: Likewise.
37228         * signal/Makefile: Likewise.
37229         * debug/Makefile: Likewise.
37230         * elf/Makefile: Likewise.
37231         * timezone/Makefile: Likewise.
37232         * stdlib/Makefile: Likewise.
37233         * iconvdata/Makefile: Likewise.
37234         * sunrpc/Makefile: Likewise.
37235         * io/Makefile: Likewise.
37236         * argp/Makefile: Likewise.
37237         * inet/Makefile: Likewise.
37238         * hesiod/Makefile: Likewise.
37239         * grp/Makefile: Likewise.
37240         * csu/Makefile: Likewise.
37241         * wctype/Makefile: Likewise.
37242         * crypt/Makefile: Likewise.
37243         * libio/Makefile: Likewise.
37244         * string/Makefile: Likewise.
37245         * nis/Makefile: Likewise.
37246         * resolv/Makefile: Likewise.
37247         * stdio-common/Makefile: Likewise.
37248         * wcsmbs/Makefile: Likewise.
37249         * dlfcn/Makefile: Likewise.
37250         * posix/Makefile: Likewise.
37251
37252         [BZ #6959]
37253         * timezone/Makefile: Don't install timezone files, just the programs
37254         and scripts.
37255
37256 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
37257
37258         * nss/databases.def: Add missing gshadow entry.
37259
37260         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
37261
37262 2012-03-06  Marek Polacek  <polacek@redhat.com>
37263
37264         [BZ #13726]
37265         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37266         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37267         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37268         * stdio-common/tst-long-dbl-fphex.c: New file.
37269
37270 2012-03-06  David S. Miller  <davem@davemloft.net>
37271
37272         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37273         (set_obp_int): New function.
37274         (get_obp_int): New function.
37275         (__get_clockfreq_via_dev_openprom): Likewise.
37276         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37277         Avoid unused variable warnings on 'val' and use builtin_expect.
37278         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37279         __builtin_expect.
37280         (INLINE_CLONE_SYSCALL): Likewise.
37281
37282 2012-03-05  David S. Miller  <davem@davemloft.net>
37283
37284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37285
37286 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
37287
37288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37289
37290         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37291         only for |x| >= 40.
37292         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37293
37294 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37295
37296         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37297         Replace gettimeofday with __vdso_gettimeofday.
37298
37299         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37300         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37301         __vdso_clock_gettime and __vdso_getcpu.
37302
37303         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37304         time with __vdso_time.
37305
37306 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37307
37308         * manual/lang.texi (size_t): Note types to which size_t may be
37309         equivalent with the GNU C Library, but do not describe when
37310         differences between them are significant.
37311
37312 2012-03-05  Andreas Jaeger  <aj@suse.de>
37313
37314         * sysdeps/i386/fpu/libm-test-ulps: Update.
37315
37316 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37317
37318         [BZ #3976]
37319         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37320         (__ieee754_pow): Save and restore rounding mode and use
37321         round-to-nearest for main computations.
37322         * math/libm-test.inc (pow_test_tonearest): New function.
37323         (pow_test_towardzero): Likewise.
37324         (pow_test_downward): Likewise.
37325         (pow_test_upward): Likewise.
37326         (main): Call the new functions.
37327         * sysdeps/i386/fpu/libm-test-ulps: Update.
37328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37329
37330         [BZ #3976]
37331         * math/libm-test.inc (cosh_test_tonearest): New function.
37332         (cosh_test_towardzero): Likewise.
37333         (cosh_test_downward): Likewise.
37334         (cosh_test_upward): Likewise.
37335         (sinh_test_tonearest): Likewise.
37336         (sinh_test_towardzero): Likewise.
37337         (sinh_test_downward): Likewise.
37338         (sinh_test_upward): Likewise.
37339         (main): Call the new functions.
37340         * sysdeps/i386/fpu/libm-test-ulps: Update.
37341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37342
37343 2012-03-05  Tom de Vries  <tom@codesourcery.com>
37344
37345         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37346         default stack guard is set in last bytes.
37347         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37348
37349 2012-03-05  Kees Cook  <keescook@chromium.org>
37350
37351         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37352
37353         [BZ #13656]
37354         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37355         possibly allocate from heap instead of stack.
37356         * stdio-common/bug-vfprintf-nargs.c: New file.
37357         * stdio-common/Makefile (tests): Add nargs overflow test.
37358
37359 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
37360
37361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37362
37363 2012-03-03  Marek Polacek  <polacek@redhat.com>
37364
37365         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37366         * math/math_private.h: Likewise.
37367         * stdlib/tst-strtod.c: Likewise.
37368         * sysdeps/i386/i486/bits/atomic.h: Likewise.
37369         * sysdeps/x86_64/bits/atomic.h: Likewise.
37370
37371 2012-03-02  David S. Miller  <davem@davemloft.net>
37372
37373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37377         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37378         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37379         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37380         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37381
37382 2012-03-02  Roland McGrath  <roland@hack.frob.com>
37383
37384         [BZ #13792]
37385         * manual/examples/README: New file, says the example source files
37386         can be used under GPL>=2.
37387         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37388         line containing just "*/".
37389         * manual/examples/add.c: Add copyright header (GPL>=2).
37390         * manual/examples/argp-ex1.c: Likewise.
37391         * manual/examples/argp-ex2.c: Likewise.
37392         * manual/examples/argp-ex3.c: Likewise.
37393         * manual/examples/argp-ex4.c: Likewise.
37394         * manual/examples/atexit.c: Likewise.
37395         * manual/examples/db.c: Likewise.
37396         * manual/examples/dir.c: Likewise.
37397         * manual/examples/dir2.c: Likewise.
37398         * manual/examples/execinfo.c: Likewise.
37399         * manual/examples/filecli.c: Likewise.
37400         * manual/examples/filesrv.c: Likewise.
37401         * manual/examples/fmtmsgexpl.c: Likewise.
37402         * manual/examples/genpass.c: Likewise.
37403         * manual/examples/inetcli.c: Likewise.
37404         * manual/examples/inetsrv.c: Likewise.
37405         * manual/examples/isockad.c: Likewise.
37406         * manual/examples/longopt.c: Likewise.
37407         * manual/examples/memopen.c: Likewise.
37408         * manual/examples/memstrm.c: Likewise.
37409         * manual/examples/mkfsock.c: Likewise.
37410         * manual/examples/mkisock.c: Likewise.
37411         * manual/examples/mygetpass.c: Likewise.
37412         * manual/examples/pipe.c: Likewise.
37413         * manual/examples/popen.c: Likewise.
37414         * manual/examples/rprintf.c: Likewise.
37415         * manual/examples/search.c: Likewise.
37416         * manual/examples/select.c: Likewise.
37417         * manual/examples/setjmp.c: Likewise.
37418         * manual/examples/sigh1.c: Likewise.
37419         * manual/examples/sigusr.c: Likewise.
37420         * manual/examples/stpcpy.c: Likewise.
37421         * manual/examples/strdupa.c: Likewise.
37422         * manual/examples/strftim.c: Likewise.
37423         * manual/examples/strncat.c: Likewise.
37424         * manual/examples/subopt.c: Likewise.
37425         * manual/examples/swapcontext.c: Likewise.
37426         * manual/examples/termios.c: Likewise.
37427         * manual/examples/testopt.c: Likewise.
37428         * manual/examples/testpass.c: Likewise.
37429         * manual/examples/timeval_subtract.c: Likewise.
37430
37431         [BZ #13792]
37432         * manual/time.texi (Elapsed Time): Move timeval_subtract example
37433         function to ...
37434         * manual/timeval_subtract.c.texi: ... here, new file.
37435
37436 2012-03-02  David S. Miller  <davem@davemloft.net>
37437
37438         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37439
37440 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
37441
37442         [BZ #3976]
37443         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37444         (__sin): Save and restore rounding mode and use round-to-nearest
37445         for all computations.
37446         (__cos): Save and restore rounding mode and use round-to-nearest
37447         for all computations.
37448         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37449         <fenv.h>.
37450         (tan): Save and restore rounding mode and use round-to-nearest for
37451         all computations.
37452         * math/libm-test.inc (cos_test_tonearest): New function.
37453         (cos_test_towardzero): Likewise.
37454         (cos_test_downward): Likewise.
37455         (cos_test_upward): Likewise.
37456         (sin_test_tonearest): Likewise.
37457         (sin_test_towardzero): Likewise.
37458         (sin_test_downward): Likewise.
37459         (sin_test_upward): Likewise.
37460         (tan_test_tonearest): Likewise.
37461         (tan_test_towardzero): Likewise.
37462         (tan_test_downward): Likewise.
37463         (tan_test_upward): Likewise.
37464         (main): Call the new functions.
37465         * sysdeps/i386/fpu/libm-test-ulps: Update.
37466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37467
37468         [BZ #10135]
37469         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37470         small n, then large n, before computing and testing k+n.
37471         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37472         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37473         Likewise.
37474         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37475         Likewise.
37476         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37477         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37478         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37479         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37480         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37481         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37482         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37483         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37484         * math/libm-test.inc (scalbn_test): Add more tests.
37485         (scalbln_test): Likewise.
37486
37487         * manual/filesys.texi (mode_t): Describe constraints on size and
37488         signedness, not exact equivalence to a particular type.
37489         (ino_t): Likewise.
37490         (ino64_t): Likewise.
37491         (dev_t): Likewise.
37492         (nlink_t): Likewise.
37493         (blkcnt_t): Likewise.
37494         (blkcnt64_t): Likewise.
37495         * manual/llio.texi (off_t): Likewise.
37496
37497         [BZ #3976]
37498         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37499         (__ieee754_exp): Save and restore rounding mode and use
37500         round-to-nearest for all computations.
37501         * math/libm-test.inc (exp_test_tonearest): New function.
37502         (exp_test_towardzero): Likewise.
37503         (exp_test_downward): Likewise.
37504         (exp_test_upward): Likewise.
37505         (main): Call the new functions.
37506         * sysdeps/i386/fpu/libm-test-ulps: Update.
37507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37508
37509 2012-03-01  Chris Demetriou  <cgd@google.com>
37510
37511         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37512         have predictable order.
37513
37514 2012-03-01  David S. Miller  <davem@davemloft.net>
37515
37516         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37517
37518         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37519         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37520         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37521         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37522
37523         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37524         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37525         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37527         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37528         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37529         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37530         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37531         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37532
37533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37534
37535         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37536         * sysdeps/sparc/fpu/libm-test-ulps: to here.
37537         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37538
37539         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37540         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37541         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37542         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37543         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37544         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37545         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37546         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37547         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37548         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37549         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37550         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37551         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37552         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37553         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37554         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37555         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37556         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37557         * sysdeps/sparc/elf/configure: Regenerated.
37558
37559 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
37560
37561         * configure.in (AS, LD): Require binutils 2.20 or later.
37562         * configure: Regenerated.
37563         * manual/install.texi (Tools for Compilation): Give binutils 2.20
37564         as required minimum version.
37565         * INSTALL: Regenerated.
37566
37567         [BZ #2541]
37568         [BZ #4108]
37569         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37570         before squaring exponent.
37571         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37572         bottom long double and 27 bits of top long double before squaring
37573         exponent.
37574         * math/libm-test.inc (erfc_test): Add more tests.
37575         * sysdeps/i386/fpu/libm-test-ulps: Update.
37576         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37578
37579 2012-03-01  Kai Tietz  <ktietz@redhat.com>
37580
37581         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37582         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37583         containing bit-fields.
37584         * soft-fp/extended.h (_FP_UNION_E): Likewise.
37585         * soft-fp/single.h (_FP_UNION_S): Likewise.
37586         * soft-fp/double.h (_FP_UNION_D): Likewise.
37587
37588 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37589
37590         [BZ #13786]
37591         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37592         not include ../strcmp.S.
37593         [USE_AS_STRNCASECMP_L]: Likewise.
37594         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37595         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37596         * sysdeps/i386/i686/multiarch/strncase_l-c.c
37597         (__strncasecmp_l_ia32): Define as alias to
37598         __strncasecmp_l_nonascii.
37599
37600         [BZ #5794]
37601         * math/libm-test.inc (expm1_test): Add test for bug 5794.
37602         * sysdeps/i386/fpu/libm-test-ulps: Update.
37603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37604
37605         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37607
37608 2012-02-29  Jeff Law  <law@redhat.com>
37609
37610         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37611         out of bounds read.
37612
37613 2012-02-29  Marek Polacek  <polacek@redhat.com>
37614
37615         [BZ #13706]
37616         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37617         * elf/Makefile: Add rules to run tst-unused-dep.out.
37618
37619 2012-02-28  David S. Miller  <davem@davemloft.net>
37620
37621         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37622         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37623         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37624         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37625         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37626         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37627
37628 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37629
37630         * math/libm-test.inc (llround_test): Move one test from
37631         lround_test.  Use TEST_f_L in moved test.
37632         (lround_test): Move misplaced test to llround_test.  Add testcase
37633         from bug 2561.
37634
37635 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
37636
37637         * sysdeps/x86_64/fpu/e_expf.S: New file.
37638         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37639
37640 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
37641
37642         [BZ #13637]
37643         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37644         of remain_len that may cause incomplete multi-byte character and
37645         false match.
37646         * posix/bug-regex33.c: New file.
37647         * posix/Makefile (tests): Add bug-regex33.
37648
37649 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
37650
37651         * manual/macros.texi: New file.
37652         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37653         * manual/libc.texinfo: Include macros.texi.
37654         * manual/creatute.texi: Likewise.
37655         * manual/install.texi: Likewise.
37656         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37657         @glibcadj{} in references to the GNU C Library.
37658         * manual/charset.texi: Likewise.
37659         * manual/conf.texi: Likewise.
37660         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
37661         when not using those macros.
37662         * manual/creature.texi: Likewise.
37663         * manual/crypt.texi: Likewise.
37664         * manual/errno.texi: Likewise.
37665         * manual/filesys.texi: Likewise.
37666         * manual/header.texi: Likewise.
37667         * manual/install.texi: Likewise.
37668         * manual/intro.texi: Likewise.
37669         * manual/io.texi: Likewise.
37670         * manual/job.texi: Likewise.
37671         * manual/lang.texi: Likewise.
37672         * manual/libc.texiinfo: Likewise.
37673         * manual/llio.texi: Likewise.
37674         * manual/locale.texi: Likewise.
37675         * manual/maint.texi: Likewise.
37676         * manual/math.texi: Likewise.
37677         * manual/memory.texi: Likewise.
37678         * manual/message.texi: Likewise.
37679         * manual/nss.texi: Likewise.
37680         * manual/pattern.texi: Likewise.
37681         * manual/process.texi: Likewise.
37682         * manual/resource.texi: Likewise.
37683         * manual/search.texi: Likewise.
37684         * manual/setjmp.texi: Likewise.
37685         * manual/signal.texi: Likewise.
37686         * manual/socket.texi: Likewise.
37687         * manual/startup.texi: Likewise.
37688         * manual/stdio.texi: Likewise.
37689         * manual/string.texi: Likewise.
37690         * manual/sysinfo.texi: Likewise.
37691         * manual/syslog.texi: Likewise.
37692         * manual/terminal.texi: Likewise.
37693         * manual/time.texi: Likewise.
37694         * manual/users.texi: Likewise.
37695         * INSTALL: Regenerated.
37696         * NOTES: Regenerated.
37697         * sysdeps/gnu/errlist.c: Regenerated.
37698
37699 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
37700
37701         * include/dirent.h: Include <dirstream.h> before
37702         <dirent/dirent.h>.
37703
37704 2012-02-28  David S. Miller  <davem@davemloft.net>
37705
37706         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37707         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37708         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37709         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37710
37711 2012-02-27  David S. Miller  <davem@davemloft.net>
37712
37713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37715         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37716         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37717
37718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37719         frame pointer instead of stack pointer relative arg slot.
37720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37721         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37722         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37723
37724 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
37725
37726         [BZ #3992]
37727         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37728
37729 2012-02-27  David S. Miller  <davem@davemloft.net>
37730
37731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37735         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37736         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37737         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37738         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37739
37740 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37741
37742         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37743         later.  Allow versions 5-9.
37744         * configure: Regenerated.
37745         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37746         required minimum version and 4.6 as recommended version.  Do not
37747         mention bugs in GCC 2.7 and 2.8.
37748         * INSTALL: Regenerated.
37749
37750 2012-02-27  David S. Miller  <davem@davemloft.net>
37751
37752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37756         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37757         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37758         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37759         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37760
37761         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37762         manipulate bits before adding and subtracting TWO112[sx].
37763         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37764
37765 2012-02-27  Roland McGrath  <roland@hack.frob.com>
37766
37767         [BZ #13775]
37768         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37769         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37770         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37771         being in POSIX, because they are in 1003.1-2008.
37772
37773         * rt/tst-aio.c: Include <fcntl.h>.
37774         * rt/tst-aio7.c: Likewise.
37775         * rt/tst-aio64.c: Likewise.
37776
37777         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37778
37779 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37780
37781         * manual/install.texi (--with-headers): Describe headers as
37782         interface headers, not private headers.
37783         (Specific advice for GNU/Linux systems): Describe use of headers
37784         from "make headers_install", not private headers from older
37785         kernels.
37786         * INSTALL: Regenerated.
37787         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37788         Change to 2.6.19.
37789         * sysdeps/unix/sysv/linux/configure: Regenerated.
37790
37791         * manual/llio.texi (fclean): Remove documentation.
37792
37793         * manual/Makefile (libc-texi-generated): New variable.  Include
37794         version.texi.
37795         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37796         $(libc-texi-generated), not duplicated list of files.
37797         (version.texi, stamp-version): New rules.
37798         (realclean): Remove $(libc-texi-generated), not individual files
37799         from that list.  Do not remove dir-add.texinfo.
37800         * manual/libc.texinfo: Comment out uses of edition numbers and
37801         references to printed manual.  Remove last-updated dates.
37802         (EDITION): Comment out.
37803         (ISBN): Likewise.
37804         (VERSION, UPDATED): Remove.
37805         (version.texi): Include.
37806
37807 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
37808
37809         * sysdeps/posix/spawni.c: Include <signal.h>.
37810         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37811         * sysdeps/pthread/aio_fsync.c: Likewise.
37812
37813 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
37814
37815         * conform/Makefile (tests): Run only when not cross-compiling and
37816         when fast-check is not defined.
37817
37818         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37819         * conform/data/limits.h-data: Fixes for POSIX2008.
37820         * conform/run-conformtest.sh: Run all tests.
37821         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37822         headers.
37823         * include/bits/dlfcn.h: Likewise.
37824         * include/langinfo.h: Likewise.
37825         * include/monetary.h: Likewise.
37826         * include/sys/poll.h: Likewise.
37827
37828         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37829         for __USE_GNU.
37830         * posix/spawn.h: Define __need_sigset_t.
37831         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37832         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37833         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
37834         to get sigevent_t only.
37835         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37836         only for __USE_GNU.
37837         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37838         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37839         process_vm_writev only for __USE_GNU.
37840         * termios/termios.h: Declare tcgetsid also for POSIX2008.
37841
37842         * conform/Makefile: For now ignore errors from run-conformtest.
37843         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
37844         POSIX to avoid namespace pollution.  Don't prepend headers.
37845         * conform/data/aio.h-data: Fixes for POSIX testing.
37846         * conform/data/fcntl.h-data: Likewise.
37847         * conform/data/glob.h-data: Likewise.
37848         * conform/data/grp.h-data: Likewise.
37849         * conform/data/pthread.h-data: Likewise.
37850         * conform/data/pwd.h-data: Likewise.
37851         * conform/data/signal.h-data: Likewise.
37852         * conform/data/spawn.h-data: Likewise.
37853         * conform/data/stdio.h-data: Likewise.
37854         * conform/data/stdlib.h-data: Likewise.
37855         * conform/data/stropts.h-data: Likewise.
37856         * conform/data/sys/mman.h-data: Likewise.
37857         * conform/data/sys/stat.h-data: Likewise.
37858         * conform/data/sys/types.h-data: Likewise.
37859         * conform/data/sys/wait.h-data: Likewise.
37860         * conform/data/time.h-data: Likewise.
37861         * conform/data/unistd.h-data: Likewise.
37862         * conform/data/utime.h-data: Likewise.
37863
37864         * io/sys/stat.h: fchmod was always in POSIX.
37865         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37866         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37867         * rt/aio.h: Define __need_timespec before including <time.h>.
37868         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37869         struct.  Add forward declaration of pthread_attr_t and use it in
37870         sigevent.
37871         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37872         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37873         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37874         always remove CLK_TCK definition.
37875
37876 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
37877
37878         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37879
37880 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
37881
37882         * conform/run-conformtest.sh: New file.
37883         * conform/Makefile: Run run-conformtest for tests.
37884         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
37885         support.
37886
37887         * conform/data/uchar.h-data: New file.
37888         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37889         * conform/data/arpa/inet.h-data: Likewise.
37890         * conform/data/assert.h-data: Likewise.
37891         * conform/data/complex.h-data: Likewise.
37892         * conform/data/cpio.h-data: Likewise.
37893         * conform/data/ctype.h-data: Likewise.
37894         * conform/data/dirent.h-data: Likewise.
37895         * conform/data/dlfcn.h-data: Likewise.
37896         * conform/data/errno.h-data: Likewise.
37897         * conform/data/fcntl.h-data: Likewise.
37898         * conform/data/float.h-data: Likewise.
37899         * conform/data/fmtmsg.h-data: Likewise.
37900         * conform/data/fnmatch.h-data: Likewise.
37901         * conform/data/ftw.h-data: Likewise.
37902         * conform/data/glob.h-data: Likewise.
37903         * conform/data/grp.h-data: Likewise.
37904         * conform/data/iconv.h-data: Likewise.
37905         * conform/data/inttypes.h-data: Likewise.
37906         * conform/data/langinfo.h-data: Likewise.
37907         * conform/data/libgen.h-data: Likewise.
37908         * conform/data/limits.h-data: Likewise.
37909         * conform/data/locale.h-data: Likewise.
37910         * conform/data/math.h-data: Likewise.
37911         * conform/data/monetary.h-data: Likewise.
37912         * conform/data/mqueue.h-data: Likewise.
37913         * conform/data/ndbm.h-data: Likewise.
37914         * conform/data/net/if.h-data: Likewise.
37915         * conform/data/netdb.h-data: Likewise.
37916         * conform/data/netinet/in.h-data: Likewise.
37917         * conform/data/nl_types.h-data: Likewise.
37918         * conform/data/poll.h-data: Likewise.
37919         * conform/data/pthread.h-data: Likewise.
37920         * conform/data/pwd.h-data: Likewise.
37921         * conform/data/regex.h-data: Likewise.
37922         * conform/data/sched.h-data: Likewise.
37923         * conform/data/search.h-data: Likewise.
37924         * conform/data/semaphore.h-data: Likewise.
37925         * conform/data/setjmp.h-data: Likewise.
37926         * conform/data/signal.h-data: Likewise.
37927         * conform/data/spawn.h-data: Likewise.
37928         * conform/data/stdarg.h-data: Likewise.
37929         * conform/data/stdio.h-data: Likewise.
37930         * conform/data/stdlib.h-data: Likewise.
37931         * conform/data/string.h-data: Likewise.
37932         * conform/data/strings.h-data: Likewise.
37933         * conform/data/stropts.h-data: Likewise.
37934         * conform/data/sys/ipc.h-data: Likewise.
37935         * conform/data/sys/mman.h-data: Likewise.
37936         * conform/data/sys/msg.h-data: Likewise.
37937         * conform/data/sys/resource.h-data: Likewise.
37938         * conform/data/sys/select.h-data: Likewise.
37939         * conform/data/sys/sem.h-data: Likewise.
37940         * conform/data/sys/shm.h-data: Likewise.
37941         * conform/data/sys/socket.h-data: Likewise.
37942         * conform/data/sys/stat.h-data: Likewise.
37943         * conform/data/sys/statvfs.h-data: Likewise.
37944         * conform/data/sys/time.h-data: Likewise.
37945         * conform/data/sys/timeb.h-data: Likewise.
37946         * conform/data/sys/times.h-data: Likewise.
37947         * conform/data/sys/types.h-data: Likewise.
37948         * conform/data/sys/uio.h-data: Likewise.
37949         * conform/data/sys/un.h-data: Likewise.
37950         * conform/data/sys/utsname.h-data: Likewise.
37951         * conform/data/sys/wait.h-data: Likewise.
37952         * conform/data/syslog.h-data: Likewise.
37953         * conform/data/tar.h-data: Likewise.
37954         * conform/data/termios.h-data: Likewise.
37955         * conform/data/utime.h-data: Likewise.
37956         * conform/data/utmpx.h-data: Likewise.
37957         * conform/data/varargs.h-data: Likewise.
37958         * conform/data/wchar.h-data: Likewise.
37959         * conform/data/wctype.h-data: Likewise.
37960         * conform/data/wordexp.h-data: Likewise.
37961
37962         * include/stropts.h: New file.
37963         * include/uchar.h: New file.
37964         * include/aio.h: Changes to allow conformtest.pl to use the headers.
37965         * include/assert.h: Likewise.
37966         * include/ctype.h: Likewise.
37967         * include/dirent.h: Likewise.
37968         * include/dlfcn.h: Likewise.
37969         * include/fcntl.h: Likewise.
37970         * include/fnmatch.h: Likewise.
37971         * include/glob.h: Likewise.
37972         * include/grp.h: Likewise.
37973         * include/libio.h: Likewise.
37974         * include/locale.h: Likewise.
37975         * include/math.h: Likewise.
37976         * include/net/if.h: Likewise.
37977         * include/netdb.h: Likewise.
37978         * include/netinet/in.h: Likewise.
37979         * include/pthread.h: Likewise.
37980         * include/pwd.h: Likewise.
37981         * include/regex.h: Likewise.
37982         * include/sched.h: Likewise.
37983         * include/search.h: Likewise.
37984         * include/setjmp.h: Likewise.
37985         * include/signal.h: Likewise.
37986         * include/stdio.h: Likewise.
37987         * include/stdlib.h: Likewise.
37988         * include/string.h: Likewise.
37989         * include/sys/cdefs.h: Likewise.
37990         * include/sys/mman.h: Likewise.
37991         * include/sys/msg.h: Likewise.
37992         * include/sys/resource.h: Likewise.
37993         * include/sys/select.h: Likewise.
37994         * include/sys/socket.h: Likewise.
37995         * include/sys/stat.h: Likewise.
37996         * include/sys/statvfs.h: Likewise.
37997         * include/sys/time.h: Likewise.
37998         * include/sys/times.h: Likewise.
37999         * include/sys/uio.h: Likewise.
38000         * include/sys/utsname.h: Likewise.
38001         * include/sys/wait.h: Likewise.
38002         * include/termios.h: Likewise.
38003         * include/time.h: Likewise.
38004         * include/ulimit.h: Likewise.
38005         * include/unistd.h: Likewise.
38006         * include/utime.h: Likewise.
38007         * include/wchar.h: Likewise.
38008         * include/wctype.h: Likewise.
38009         * include/wordexp.h: Likewise.
38010
38011         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38012
38013         * time/time.h: TIME_UTC must be a macro.
38014         Make timespec_get available for ISO C11 only as well.
38015
38016 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
38017
38018         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38019         Reported by Peng Haitao <penght@cn.fujitsu.com>.
38020
38021 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38022
38023         * configure.in: Use -o not -a in test for unsupported multi-arch.
38024
38025 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38026
38027         * manual/texinfo.tex: Update to version 2012-01-19.16.
38028
38029 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38030
38031         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38032
38033 2012-02-24  Roland McGrath  <roland@hack.frob.com>
38034
38035         [BZ #13738]
38036         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38037         * manual/fdl-1.3.texi: New file.
38038         * manual/fdl-1.1.texi: File removed.
38039
38040         [BZ #13738]
38041         * manual/libc.texinfo (FDL_VERSION): New @set.
38042         Use it for mention of FDL in cover text.
38043         (Documentation License): Use it in @include file name.
38044
38045 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38046             Roland McGrath  <roland@hack.frob.com>
38047
38048         [BZ #5461]
38049         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38050         (not LONG_LONG_MAX and LONG_LONG_MIN.
38051         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38052         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
38053         name.
38054         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38055
38056 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38057
38058         [BZ #2547]
38059         [BZ #11365]
38060         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38061         manipulate bits before adding and subtracting TWO23[sx].
38062         * math/libm-test.inc (nearbyint_test): Add more tests.
38063
38064 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38065
38066         [BZ #2548]
38067         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38068         bits before adding and subtracting TWO23[sx].
38069         * math/libm-test.inc (rint_test): Add more tests.
38070         (rint_test_tonearest): Likewise.
38071         (rint_test_towardzero): Likewise.
38072         (rint_test_downward): Likewise.
38073         (rint_test_upward: Likewise.
38074
38075 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38076
38077         [BZ #10110]
38078         * include/stdc-predef.h: New file.  Extracted from features.h.
38079         * include/features.h: Include stdc-predef.h.
38080         * Makefile (headers): Add stdc-predef.h.
38081         * CONFORMANCE (Compiler limitations): Update.
38082
38083 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38084
38085         * manual/libc.texinfo (VERSION, UPDATED): Revert.
38086
38087 2012-02-21  David S. Miller  <davem@davemloft.net>
38088
38089         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38090         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38091
38092 2012-02-20  David S. Miller  <davem@davemloft.net>
38093
38094         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38095         using a normal save/restore sequence, rather than allocating a
38096         dummy stack frame just to store a frame pointer and restore.
38097         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38098
38099 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38100
38101         * manual/install.texi: Fix stray word in line-wrapped comment.
38102
38103 2012-02-20  David S. Miller  <davem@davemloft.net>
38104
38105         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38106         both binutils and gcc support GOTDATA.
38107
38108         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38109         "rd %pc" in the PIC register setup sequences.
38110
38111         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38112         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38113         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38114         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38115         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38116         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38117         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38118         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38119         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38120         (SYSCALL_ERROR_HANDLER): Likewise.
38121         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38122         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38123         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38124         (SYSCALL_ERROR_HANDLER): Likewise.
38125
38126         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38127         (HAVE_GCC_GOTDATA): New.
38128         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38129         relocation support in both binutils and gcc.
38130         * sysdeps/sparc/elf/configure: Regenerate.
38131
38132         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38133         * sysdeps/sparc/sparc32/elf/configure: Delete.
38134         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38135         * sysdeps/sparc/sparc64/elf/configure: Delete.
38136         * sysdeps/sparc/elf/configure.in: New file.
38137         * sysdeps/sparc/elf/configure: Generate.
38138
38139         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38140         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38141         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38142         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38143         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38144
38145 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38146
38147         * manual/install.texi: Do not mention specific glibc version
38148         numbers.
38149         * manual/libc.texinfo (VERSION, UPDATED): Update.
38150         (@copying): Use @copyright{} and range of years.
38151
38152 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38153
38154         [BZ #13695]
38155         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38156         [crti.S not in sysdirs] (generated): Do not append.
38157         [crti.S not in sysdirs] (omit-deps): Likewise.
38158         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38159         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38160         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38161         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38162         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38163         Likewise.
38164         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38165         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38166         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38167         * csu/defs.awk: Remove file.
38168         * sysdeps/generic/initfini.c: Likewise.
38169         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38170         variable.
38171         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38172         Likewise.
38173
38174 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38175
38176         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38177         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38178         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38179         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38180         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38181         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38182         <bits/epoll.h>.
38183         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38184         (__EPOLL_PACKED): Define to empty if not defined by
38185         <bits/epoll.h>.
38186         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38187         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38188         bits/epoll.h.
38189
38190 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38191
38192         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38193         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38194         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38195         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38196         <bits/timerfd.h>.
38197         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38198         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38199         bits/timerfd.h.
38200
38201 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38202
38203         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38204         in C locale.
38205         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38206         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38207         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38209
38210 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
38211
38212         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38213         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38214
38215 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
38216
38217         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38218         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38219         defined.
38220         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38221         Likewise.
38222         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38223         entry for 2.16.
38224
38225 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
38226
38227         * math/w_acos.c: Use non-signaling floating-point comparisons.
38228         * math/w_acosf.c: Likewise.
38229         * math/w_acosh.c: Likewise.
38230         * math/w_acoshf.c: Likewise.
38231         * math/w_acoshl.c: Likewise.
38232         * math/w_acosl.c: Likewise.
38233         * math/w_asin.c: Likewise.
38234         * math/w_asinf.c: Likewise.
38235         * math/w_asinl.c: Likewise.
38236         * math/w_atanh.c: Likewise.
38237         * math/w_atanhf.c: Likewise.
38238         * math/w_atanhl.c: Likewise.
38239         * math/w_exp2.c: Likewise.
38240         * math/w_exp2f.c: Likewise.
38241         * math/w_exp2l.c: Likewise.
38242         * math/w_j0.c: Likewise.
38243         * math/w_j0f.c: Likewise.
38244         * math/w_j0l.c: Likewise.
38245         * math/w_j1.c: Likewise.
38246         * math/w_j1f.c: Likewise.
38247         * math/w_j1l.c: Likewise.
38248         * math/w_jn.c: Likewise.
38249         * math/w_jnf.c: Likewise.
38250         * math/w_log.c: Likewise.
38251         * math/w_log10.c: Likewise.
38252         * math/w_log10f.c: Likewise.
38253         * math/w_log10l.c: Likewise.
38254         * math/w_log2.c: Likewise.
38255         * math/w_log2f.c: Likewise.
38256         * math/w_log2l.c: Likewise.
38257         * math/w_logf.c: Likewise.
38258         * math/w_logl.c: Likewise.
38259         * math/w_sqrt.c: Likewise.
38260         * math/w_sqrtf.c: Likewise.
38261         * math/w_sqrtl.c: Likewise.
38262         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38263         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38264         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38265         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38266         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38267
38268 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38269
38270         [BZ #9739]
38271         * manual/string.texi (strnlen): Use correct parameter name in
38272         equivalent expression.
38273
38274 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38275
38276         [BZ #11174]
38277         * manual/users.texi (seteuid): Consistently use neweuid for
38278         argument name.
38279
38280 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38281
38282         [BZ #13704]
38283         * manual/nss.texi (Services in the NSS configuration): Correct
38284         list of services in example configuration file.
38285
38286 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
38287
38288         [BZ #11322]
38289         * manual/arith.texi: Remove statements about negative zero
38290         behaving identically to zero.
38291
38292 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38293
38294         [BZ #5993]
38295         * manual/install.texi: Do not document upgrading from libc5.
38296
38297 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38298
38299         [BZ #4596]
38300         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38301
38302 2012-02-18  David S. Miller  <davem@davemloft.net>
38303
38304         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38305         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38306         %o7 across the call.
38307         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38308         instead.
38309         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38310         SETUP_PIC_REG_LEAF.
38311         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38312         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38313         * sysdeps/sparc/crtn.S: Likewise.
38314
38315 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
38316
38317         * aout/Makefile: Remove.
38318
38319 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
38320
38321         [BZ #13058]
38322         * manual/examples/argp-ex1.c (main): Format definition in GNU
38323         style.
38324         * manual/examples/argp-ex2.c (main): Likewise.
38325         * manual/examples/argp-ex3.c (main): Likewise.
38326         * manual/examples/argp-ex4.c (main): Likewise.
38327         * manual/examples/longopt.c (main): Use new-style prototype
38328         definition.
38329         * manual/examples/strncat.c (main): Specify return type and use
38330         (void) for arguments.
38331         * manual/examples/subopt.c (main): Use char **argv argument.
38332
38333 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38334
38335         [BZ #5077]
38336         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38337         rounding modes.
38338
38339 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
38340
38341         [BZ #6907]
38342         * manual/string.texi (strchr): Change when strchrnul is
38343         recommended.
38344
38345 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
38346
38347         [BZ #174]
38348         * manual/locale.texi (setlocale): Document LOCPATH.
38349
38350 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38351
38352         [BZ #10210]
38353         * manual/process.texi (execle): Move @dots{} before last argument.
38354
38355 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
38356
38357         [BZ #12047]
38358         * manual/charset.texi (Generic Charset Conversion): Fix typo
38359         (LC_TYPE -> LC_CTYPE).
38360
38361 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
38362
38363         [BZ #5805]
38364         * manual/arith.texi (scalbn): Use @var{} on parameter names.
38365         (scalbnf): Likewise.
38366         (scalbnl): Likewise.
38367         (scalbln): Likewise.
38368         (scalblnf): Likewise.
38369         (scalblnl): Likewise.
38370         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38371         (vwarnx): Likewise.
38372         (verr): Likewise.
38373         (verrx): Likewise.
38374         * manual/filesys.texi (telldir): Use braces around return type.
38375         * manual/llio.texi (mmap): Add space after comma.
38376         (mmap64): Likewise.
38377         * manual/math.texi (jn): Use @var{} on parameter names.
38378         (jnf): Likewise.
38379         (jnl): Likewise.
38380         (yn): Likewise.
38381         (ynf): Likewise.
38382         (ynl): Likewise.
38383         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38384         line.
38385         * manual/resource.texi (ulimit): Use @dots{} instead of literal
38386         "...".
38387         (sched_get_priority_min): Remove semicolon on @deftypefun line.
38388         (sched_get_priority_max): Likewise.
38389         * manual/signal.texi (sigvec): Add space after comma.
38390         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38391         names.
38392         (if_indextoname): Likewise.
38393         (if_freenameindex): Likewise.
38394         (sendto): Use ',' instead of '.' in prototype.
38395         * manual/startup.texi (syscall): Use @dots{} instead of literal
38396         "...".
38397         * manual/stdio.texi (__fpending): Separate initial words of
38398         paragraph from @deftypefun line.
38399         * manual/syslog.texi (syslog): Use @dots{} instead of literal
38400         "...".
38401         (vsyslog): Use @var{} on parameter names.
38402         * manual/terminal.texi (stty): Use @var{} on parameter names.
38403         * manual/users.texi (getutmp): Use @var{} on parameter names.
38404         (getutmpx): Likewise.
38405
38406 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38407
38408         [BZ #6884]
38409         * manual/stdio.texi (fopen): Fix typos in description of
38410         ",ccs=STRING".
38411
38412 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
38413
38414         [BZ #4026]
38415         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38416         get clock_id definition.
38417
38418 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
38419
38420         [BZ #4822]
38421         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38422         (madvise): Cast every argument to void on its own.
38423
38424 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38425
38426         [BZ #9902]
38427         * manual/startup.texi (Exit Status): Fix typo.
38428
38429 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38430
38431         [BZ #10140]
38432         * manual/examples/argp-ex1.c: Include <stdlib.h>.
38433         * manual/examples/argp-ex2.c: Likewise.
38434         * manual/examples/argp-ex3.c: Likewise.
38435
38436 2012-02-16  Richard Henderson  <rth@redhat.com>
38437
38438         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38439         * sysdeps/s390/s390-32/initfini.c: Remove.
38440         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38441         * sysdeps/s390/s390-64/initfini.c: Remove.
38442
38443 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38444
38445         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38446         compiler output for sysdeps/generic/initfini.c.
38447         * sysdeps/sh/elf/initfini.c: Remove file.
38448
38449 2012-02-16  David S. Miller  <davem@davemloft.net>
38450
38451         [BZ #11494]
38452         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38453
38454         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38455         * sysdeps/sparc/crti.S: New file.
38456         * sysdeps/sparc/crtn.S: New file.
38457         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38458         * sysdeps/sparc/sparc64/Makefile: Likewise.
38459
38460 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
38461
38462         [BZ #3335]
38463         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38464
38465 2012-02-15  Roland McGrath  <roland@hack.frob.com>
38466
38467         [BZ #4822]
38468         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38469
38470         * mach/devstream.c (cookie_io_functions_t): Macro removed.
38471         (write, read, close): Likewise.
38472         Patch by Aurelien Jarno <aurelien@aurel32.net>.
38473
38474 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
38475
38476         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38477         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38478         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38479         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38480         <bits/signalfd.h>.
38481         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38482         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38483         bits/signalfd.h.
38484
38485 2012-02-14  Marek Polacek  <polacek@redhat.com>
38486
38487         * sysdeps/x86_64/crti.S: New file.
38488         * sysdeps/x86_64/crtn.S: New file.
38489         * sysdeps/x86_64/elf/initfini.c: Remove file.
38490
38491 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38492
38493         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38494         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38495         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38496         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38497         <bits/inotify.h>.
38498         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38499         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38500         bits/inotify.h.
38501
38502 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38503
38504         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38505         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38506         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38507         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38508         <bits/eventfd.h>.
38509         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38510         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38511         bits/eventfd.h.
38512
38513 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
38514
38515         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38516         __feraiseexcept instead of feraiseexcept.
38517
38518         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38519         nanosleep invocations.
38520         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38521         strings, and add error checking for a nanosleep invocations.
38522
38523 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
38524
38525         Replace FSF snail mail address with URLs, as per GNU coding standards.
38526         Most of the snail mail addresses were wrong anyway, and omitting
38527         them makes the source code easier to maintain.  Almost all of the
38528         changes are to license notices and to locale LC_IDENTIFICATION
38529         addresses, except for this one:
38530         * manual/libc.texinfo: In "Published by", give the FSF's URL,
38531         not its snail mail address.
38532
38533 2012-02-09  Richard Henderson  <rth@twiddle.net>
38534
38535         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38536         of kernel-features.h.
38537
38538         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38539
38540 2012-02-08  Marek Polacek  <polacek@redhat.com>
38541
38542         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38543         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38544         * sysdeps/gnu/_G_config.h: Likewise.
38545         * sysdeps/generic/_G_config.h: Likewise.
38546
38547 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
38548
38549         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38550         tests.
38551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38552
38553         * sysdeps/powerpc/powerpc32/crti.S: New file.
38554         * sysdeps/powerpc/powerpc32/crtn.S: New file.
38555         * sysdeps/powerpc/powerpc64/crti.S: New file.
38556         * sysdeps/powerpc/powerpc64/crtn.S: New file.
38557
38558         * Makeconfig (have-initfini): Don't set.
38559         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38560         * configure.in (nopic_initfini): Don't substitute.
38561         * config.h.in (HAVE_INITFINI): Don't #undef.
38562         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38563         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38564
38565 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
38566
38567         Support crti.S and crtn.S provided directly by architectures.
38568         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38569         [crti.S in sysdirs] (omit-deps): Likewise.
38570         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38571         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38572         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38573         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38574         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38575         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38576         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38577         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38578         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38579         compiler output for sysdeps/generic/initfini.c.
38580         * sysdeps/i386/elf/Makefile: Remove file.
38581         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38582
38583 2012-02-07  Marek Polacek  <polacek@redhat.com>
38584
38585         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38586         * sysdeps/gnu/_G_config.h: Likewise.
38587         * sysdeps/mach/hurd/_G_config.h: Likewise.
38588
38589 2012-02-07  Marek Polacek  <polacek@redhat.com>
38590
38591         * math/Makefile (tests): Add tst-CMPLX2.
38592         * math/tst-CMPLX2.c: New file.
38593
38594 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
38595
38596         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38597
38598         * math/libm-test.inc (jn_test): Add missing L suffix.
38599
38600 2012-02-06  Marek Polacek  <polacek@redhat.com>
38601
38602         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38603         * sysdeps/i386/fpu/e_powf.S: Likewise.
38604         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38605         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38606         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38607         * sysdeps/i386/fpu/e_pow.S: Likewise.
38608         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38609         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38610         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38611         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38612         * sysdeps/i386/fpu/e_log2.S: Likewise.
38613         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38614         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38615         * sysdeps/i386/fpu/e_powl.S: Likewise.
38616         * sysdeps/i386/fpu/s_log1p.S: Likewise.
38617         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38618         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38619         * sysdeps/i386/fpu/e_logl.S: Likewise.
38620         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38621         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38622         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38623         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38624         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38625         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38626         * sysdeps/i386/fpu/e_log.S: Likewise.
38627         * sysdeps/i386/fpu/s_cexp.S: Likewise.
38628         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38629         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38630         * sysdeps/i386/fpu/e_logf.S: Likewise.
38631         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38632         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38633         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38634         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38635         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38636         * sysdeps/i386/fpu/e_log10.S: Likewise.
38637         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38638         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38639         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38640         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38641         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38642         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38643         * sysdeps/i386/asm-syntax.h: Likewise.
38644         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38645         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38646         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38647         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38648         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38649         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38650         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38651         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38652         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38653         * sysdeps/powerpc/sysdep.h: Likewise.
38654         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38655         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38656
38657 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38658
38659         [BZ #411]
38660         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38661
38662 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38663
38664         * sysdeps/i386/sysdep.h: Include <features.h>.
38665         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38666         version.
38667
38668 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
38669
38670         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38671         Define.
38672         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38673         LOAD_PIC_REG_STR.
38674
38675 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38676
38677         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38678         (SETUP_PIC_REG): Use GET_PC_THUNK.
38679         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38680         macro.
38681
38682 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38683
38684         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38685         for non-PIC compilation.
38686         (SETUP_PIC_REG): Add .p2align directive.
38687         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38688         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38689         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38690         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38691         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38692         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38693         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38694         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38695         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38696         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38697         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38698         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38699         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38700         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38701         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38702         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38703         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38704         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38705         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38706         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38707         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38708         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38709         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38710         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38711         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38712         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38713         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38714         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38715         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38716         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38717         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38718         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38719         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38720         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38721         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38722         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38723         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38724         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38725         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38726         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38727         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38728
38729 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38730
38731         * math/tst-CMPLX.c: Include <stdio.h>.
38732
38733 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
38734
38735         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38736         float.
38737         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38738         * sysdeps/sparc/bits/mathdef.h: Likewise.
38739
38740 2012-01-31  Marek Polacek  <polacek@redhat.com>
38741
38742         * libio/libio.h: Don't define _PARAMS.
38743         * locale/programs/config.h: Don't define PARAMS.
38744         * stdlib/strtol_l.c: Likewise.
38745         (__strtol_l): Remove PARAMS from the prototype.
38746
38747 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
38748
38749         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
38750         names.  Just use the correct names.  Remove unnecessary wrapper
38751         functions.
38752         * malloc/arena.c: Likewise.
38753         * malloc/hooks.c: Likewise.
38754
38755         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38756         ARENA_TEST says not to.  Simplify test for creation of a new arena.
38757         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38758
38759 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
38760
38761         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38762         into tail calls.
38763         (update_get_addr): New function.
38764         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38765         GET_ADDR_MODULE parameter.
38766
38767 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38768
38769         * crypt/cert.c: Remove __STDC__ conditionals.
38770         * crypt/crypt-entry.c: Likewise.
38771         * crypt/crypt_util.c: Likewise.
38772         * libio/filedoalloc.c: Likewise.
38773         * libio/fileops.c: Likewise.
38774         * libio/genops.c: Likewise.
38775         * libio/iofclose.c: Likewise.
38776         * libio/iofdopen.c: Likewise.
38777         * libio/iofopen.c: Likewise.
38778         * libio/iofopen64.c: Likewise.
38779         * libio/iogetdelim.c: Likewise.
38780         * libio/iopopen.c: Likewise.
38781         * libio/obprintf.c: Likewise.
38782         * libio/oldfileops.c: Likewise.
38783         * libio/oldiofclose.c: Likewise.
38784         * libio/oldiofdopen.c: Likewise.
38785         * libio/oldiofopen.c: Likewise.
38786         * libio/oldiopopen.c: Likewise.
38787         * libio/wfiledoalloc.c: Likewise.
38788         * libio/wgenops.c: Likewise.
38789         * locale/programs/xmalloc.c: Likewise.
38790         * misc/syslog.c: Likewise.
38791         * stdio-common/xbug.c: Likewise.
38792         * string/memchr.c: Likewise.
38793         * string/memcmp.c: Likewise.
38794         * string/memrchr.c: Likewise.
38795         * string/rawmemchr.c: Likewise.
38796         * sysdeps/posix/getcwd.c: Likewise.
38797         * time/strftime_l.c: Likewise.
38798
38799 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38800
38801         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38802         * config.make.in (config-cflags-sse2avx): Define.
38803         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38804         Fix typo.
38805
38806 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
38807
38808         * scripts/config.guess: Update from upstream config git repository.
38809         * scripts/config.sub: Likewise.
38810
38811 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
38812
38813         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38814         (EM_NUM): Update.
38815         (R_TILEPRO_*, R_TILEGX_*): New macros.
38816
38817         * scripts/firstversions.awk: Fix bug in version range handling.
38818
38819         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38820
38821         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38822
38823         * include/sys/epoll.h: New file.
38824         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38825         libc_hidden_def.
38826
38827 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
38828
38829         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38830         Avoid unnecessary __WORDSIZE == 64 test.
38831         (fmaxf): Use VEX format if possible.
38832         (fmax): Likewise.
38833         (fminf): Likewise.
38834         (fmin): Likewise.
38835
38836         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38837         * math/math_private.h: Remove libc_fegetround* and
38838         libc_fesetround*.
38839         * sysdeps/i386/configure.in: Check for -msse2avx.
38840         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38841         also if SSE2AVX is defined.
38842         Remove libc_fegetround* and libc_fesetround*.
38843         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38844         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
38845         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38846         of HAS_YMM_USABLE.
38847         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38848         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38849         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38850         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38851         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38852
38853         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38854
38855 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38856
38857         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38858         size is not set.
38859         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38860
38861 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
38862
38863         [BZ #13618]
38864         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38865         relocation.
38866         * Makeconfig (libm): Define.
38867         * elf/Makefile: Add rules to build and run tst-relsort1.
38868         * elf/tst-relsort1.c: New file.
38869         * elf/tst-relsort1mod1.c: New file.
38870         * elf/tst-relsort1mod2.c: New file.
38871
38872 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
38873
38874         * math/s_ldexp.c: Remove __STDC__ conditionals.
38875         * math/s_ldexpf.c: Likewise.
38876         * math/s_ldexpl.c: Likewise.
38877         * math/s_nextafter.c: Likewise.
38878         * math/s_nexttowardf.c: Likewise.
38879         * math/s_significand.c: Likewise.
38880         * math/s_significandf.c: Likewise.
38881         * math/s_significandl.c: Likewise.
38882         * math/w_jnl.c: Likewise.
38883         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38884         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38885         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38886         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38887         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38888         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38889         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38890         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38891         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38892         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38893         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38894         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38895         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38896         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38897         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38898         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38899         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38900         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38901         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38902         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38903         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38904         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38905         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38906         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38907         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38908         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38909         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38910         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38911         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38912         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38913         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38914         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38915         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38916         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38917         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38918         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38919         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38920         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38921         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38922         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38923         * sysdeps/ieee754/k_standard.c: Likewise.
38924         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38925         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38926         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38927         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38928         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38929         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38930         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38931         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38932         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38933         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38934         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38935         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38936         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38937         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38938         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38939         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38940         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38941         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38942         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38943         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38944         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38945         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38946         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38947         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38948         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38949         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38950         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38951         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38952         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38953         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38954         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38955         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38956         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38957         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38958         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38959         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38960         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38961         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38962         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38963         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38964         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38965         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38966         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38967         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38968         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38969         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38970         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38971         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38972         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38973         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38974         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38975         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38976         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38977         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38978         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38979         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38980         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38981         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38982         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38983         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38984         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38985         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38986         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38987         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38988         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38989         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38990         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38991         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38992         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38993         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38994         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38995         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38996         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38997         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38998         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38999         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39000         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39001         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39002         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39003         * sysdeps/ieee754/s_matherr.c: Likewise.
39004         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39005         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39006         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39007         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39008
39009 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
39010
39011         * crypt/md5.h: Remove __STDC__ conditionals.
39012         * libio/libioP.h: Likewise.
39013         * locale/programs/config.h: Likewise.
39014         * sysdeps/generic/sysdep.h: Likewise.
39015         * sysdeps/i386/asm-syntax.h: Likewise.
39016         * sysdeps/s390/asm-syntax.h: Likewise.
39017         * sysdeps/unix/sysdep.h: Likewise.
39018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39020
39021 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
39022
39023         * libio/libio.h: Remove __STDC__ conditionals.
39024         * malloc/obstack.h: Likewise.
39025         * math/complex.h: Likewise.
39026         * math/math.h: Likewise.
39027         * sysdeps/generic/_G_config.h: Likewise.
39028         * sysdeps/gnu/_G_config.h: Likewise.
39029         * sysdeps/mach/hurd/_G_config.h: Likewise.
39030         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39031         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39032         * sysdeps/sparc/bits/mathdef.h: Likewise.
39033
39034 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
39035
39036         [BZ #13583]
39037         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39038         Clean up HAS_* macros.
39039         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39040         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39041         possible.
39042         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39043         HAS_AVX.
39044         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39045         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39046         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39047         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39048         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39049
39050 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
39051
39052         * elf/tst-unique3.cc (gets): Remove declaration.
39053         * elf/tst-unique3lib.cc (gets): Likewise.
39054         * elf/tst-unique3lib2.cc (gets): Likewise.
39055         * elf/tst-unique4.cc (gets): Likewise.
39056
39057 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
39058
39059         * include/stdio.h: Add C++ protection.  Add gets declarations and
39060         definitions.
39061         * debug/tst-chk1.c: Don't declare gets here.
39062         * stdio-common/tst-gets.c: Likewise.
39063
39064 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39065
39066         * posix/glob: Remove directory.
39067
39068 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39069
39070         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39071
39072 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
39073
39074         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39075         of the non-standard EPFNOSUPPORT.
39076
39077 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39078
39079         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39080         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39081         ANYWHERE set to 1 only on KERN_NO_SPACE error.
39082
39083 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
39084
39085         * wcsmbs/uchar.h: Test __STDC_VERSION__.
39086
39087 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
39088
39089         * nscd/aicache.c (addhstaiX): Do not cache negative results of
39090         transient errors.
39091         * nscd/grpcache.c (cache_addgr): Likewise.
39092         * nscd/hstcache.c (cache_addhst): Likewise.
39093         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39094         * nscd/pwdcache.c (cache_addpw): Likewise.
39095         * nscd/servicescache.c (cache_addserv): Likewise.
39096
39097 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
39098
39099         * malloc/malloc.c: Various cleanups.
39100         * malloc/hooks.c: Likewise.
39101
39102         * stdlib/Makefile (tests): Add bug-fmtmsg1.
39103         * stdlib/bug-fmtmsg1.c: New file.
39104
39105         * stdlib/fmtmsg.c (init): Add missing unlock.
39106         Patch by Peng Haitao <penght@cn.fujitsu.com>.
39107
39108 2012-01-12  Marek Polacek  <polacek@redhat.com>
39109
39110         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39111         and _GNU_SOURCE.
39112
39113 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39114
39115         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39116         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39117         macro to ensure uniqueness of label name.
39118         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39119         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39120
39121 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
39122
39123         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39124
39125         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39126         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39127         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39128         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39129
39130 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
39131
39132         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39133
39134         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39135         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39136         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39137
39138         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39139
39140         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39141         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39142         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39143         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39144
39145         * math/bits/math-finite.h: Add ldexp support.
39146
39147 2012-01-10  Marek Polacek  <polacek@redhat.com>
39148
39149         * locale/programs/localedef.h (show_archive_content): Add noreturn
39150         attribute.
39151
39152 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
39153
39154         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39155
39156 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39157
39158         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39159
39160         * io/Makefile (headers): Add bits/poll2.h.
39161
39162 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
39163
39164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39165         typo #include statement.
39166
39167 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39168
39169         * include/sys/cdefs.h: Define __attribute_alloc_size.
39170         * catgets/gencat.c: Add alloc_size attribute and apply consistently
39171         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39172         * elf/pldd.c: Likewise.
39173         * iconv/iconv_charmap.c: Likewise.
39174         * iconv/iconvconfig.c: Likewise.
39175         * iconv/strtab.c: Likewise.
39176         * locale/programs/locale.c: Likewise.
39177         * locale/programs/localedef.h: Likewise.
39178         * locale/programs/simple-hash.c: Likewise.
39179         * nscd/nscd.h: Likewise.
39180         * nss/makedb.c: Likewise.
39181         * sysdeps/generic/ldconfig.h: Likewise.
39182         * locale/programs/localedef.c: Remove xmalloc prototype.
39183         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39184
39185 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39186
39187         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39188         appropriate.
39189
39190 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39191
39192         * math/Makefile (tests): Add tst-CMPLX.
39193         * math/tst-CMPLX.c: New file.
39194
39195         * math/complex.h (CMPLXL): Fix typo.
39196
39197         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39198         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39199         GLIBC_2.16.
39200         * debug/tst-chk1.c: Add poll and ppoll tests.
39201         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39202         * include/sys/poll.h: Add hidden proto for ppoll.
39203         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39204         * sysdeps/mach/hurd/ppoll.c: Likewise.
39205         * io/ppoll.c: Likewise.
39206         * debug/poll_chk.c: New file.
39207         * debug/ppoll_chk.c: New file.
39208         * include/bits/poll2.h: New file.
39209         * io/bits/poll2.h: New file.
39210
39211         [BZ #1350]
39212         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39213
39214         * configure.in: static is always set to yes.  Remove.
39215         * config.make.in: Don't set build-static.
39216         * Makeconfig: Remove use of build-static.
39217         * dlfcn/Makefile: Likewise.
39218         * elf/Makefile: Likewise.
39219         * math/Makefile: Likewise.
39220         * misc/Makefile: Likewise.
39221         * nptl/Makefile: Likewise.
39222         * sysdeps/mach/hurd/Makefile: Likewise.
39223
39224         * configure.in: PWD_P is not used anymore.
39225         * config.make.in: Remove PWD_P entry.
39226
39227         * configure.in: Remove last remnants of RANLIB.
39228         No need to check for signed size_t anymore.
39229         Don't set libc_commonpagesize and libc_relro_required here for Alpha
39230         and IA-64.
39231         Remove __builtin_expect test because we require at least gcc 3.4.
39232         * aclocal.m4: Likewise.
39233
39234         * wcsmbs/mbrtoc16.c: Implement using towc function.
39235         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39236         * wcsmbs/wcsmbsload.c: Likewise.
39237         * iconv/gconv_simple.c: Likewise.
39238         * iconv/gconv_int.h: Likewise.
39239         * iconv/gconv_builtin.h: Likewise.
39240         * iconv/iconv_prog.c: Remove CHAR16 handling.
39241
39242         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39243
39244         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39245
39246         * configure.in: Remove --with-elf and --enable-bounded options.
39247         Dont set base_machine for ia64.  More non-ELF conditions removed.
39248         Remove testing and setting of leading underscore information.
39249         * config.make.in (build-bounded): Set to no.
39250         * config.h.in: Remove NO_UNDERSCORES entry.
39251         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
39252         them.
39253         * csu/start.c: Remove !NO_UNDERSCORE code.
39254         * locale/localeinfo.h: Likewise.
39255         * sysdeps/generic/machine-gmon.h: Likewise.
39256         * sysdeps/generic/sysdep.h: Likewise.
39257         * sysdeps/i386/sysdep.h: Likewise.
39258         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39259         * sysdeps/mach/sysdep.h: Likewise.
39260         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39261         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39262         * sysdeps/sh/sysdep.h: Likewise.
39263         * sysdeps/sparc/sparc32/alloca.S: Likewise.
39264         * sysdeps/unix/i386/sysdep.S: Likewise.
39265         * sysdeps/unix/sparc/start.c: Likewise.
39266         * sysdeps/unix/sparc/sysdep.S: Likewise.
39267         * sysdeps/unix/sparc/sysdep.h: Likewise.
39268         * sysdeps/unix/start.c: Likewise.
39269         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39270         * sysdeps/x86_64/sysdep.h: Likewise.
39271
39272 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
39273
39274         [BZ #13553]
39275         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39276         for non-gcc.
39277         * argp/argp-fmtstream.h: Use const instead __const.
39278         * argp/argp.h: Likewise.
39279         * assert/assert.h: Likewise.
39280         * bits/fenv.h: Likewise.
39281         * bits/sched.h: Likewise.
39282         * bits/sigset.h: Likewise.
39283         * bits/sigthread.h: Likewise.
39284         * catgets/nl_types.h: Likewise.
39285         * conform/data/pthread.h-data: Likewise.
39286         * crypt/crypt-private.h: Likewise.
39287         * crypt/crypt.h: Likewise.
39288         * crypt/crypt_util.c: Likewise.
39289         * ctype/ctype.h: Likewise.
39290         * debug/execinfo.h: Likewise.
39291         * debug/mbsnrtowcs_chk.c: Likewise.
39292         * debug/mbsrtowcs_chk.c: Likewise.
39293         * debug/wcsnrtombs_chk.c: Likewise.
39294         * debug/wcsrtombs_chk.c: Likewise.
39295         * debug/wcstombs_chk.c: Likewise.
39296         * dirent/dirent.h: Likewise.
39297         * dlfcn/dlfcn.h: Likewise.
39298         * elf/neededtest4.c: Likewise.
39299         * grp/grp.h: Likewise.
39300         * gshadow/gshadow.h: Likewise.
39301         * iconv/gconv.h: Likewise.
39302         * iconv/gconv_int.h: Likewise.
39303         * iconv/gconv_simple.c: Likewise.
39304         * iconv/iconv.h: Likewise.
39305         * iconv/loop.c: Likewise.
39306         * iconv/skeleton.c: Likewise.
39307         * include/aio.h: Likewise.
39308         * include/aliases.h: Likewise.
39309         * include/argz.h: Likewise.
39310         * include/arpa/inet.h: Likewise.
39311         * include/assert.h: Likewise.
39312         * include/dirent.h: Likewise.
39313         * include/dlfcn.h: Likewise.
39314         * include/execinfo.h: Likewise.
39315         * include/fcntl.h: Likewise.
39316         * include/fenv.h: Likewise.
39317         * include/glob.h: Likewise.
39318         * include/grp.h: Likewise.
39319         * include/libintl.h: Likewise.
39320         * include/mntent.h: Likewise.
39321         * include/netdb.h: Likewise.
39322         * include/pwd.h: Likewise.
39323         * include/rpc/netdb.h: Likewise.
39324         * include/sched.h: Likewise.
39325         * include/search.h: Likewise.
39326         * include/shadow.h: Likewise.
39327         * include/signal.h: Likewise.
39328         * include/stdio.h: Likewise.
39329         * include/stdlib.h: Likewise.
39330         * include/string.h: Likewise.
39331         * include/sys/socket.h: Likewise.
39332         * include/sys/stat.h: Likewise.
39333         * include/sys/statfs.h: Likewise.
39334         * include/sys/statvfs.h: Likewise.
39335         * include/sys/syslog.h: Likewise.
39336         * include/sys/time.h: Likewise.
39337         * include/sys/uio.h: Likewise.
39338         * include/time.h: Likewise.
39339         * include/unistd.h: Likewise.
39340         * include/utmp.h: Likewise.
39341         * include/wchar.h: Likewise.
39342         * include/wctype.h: Likewise.
39343         * inet/aliases.h: Likewise.
39344         * inet/arpa/inet.h: Likewise.
39345         * inet/netinet/ether.h: Likewise.
39346         * inet/netinet/in.h: Likewise.
39347         * intl/libintl.h: Likewise.
39348         * io/bits/fcntl2.h: Likewise.
39349         * io/fcntl.h: Likewise.
39350         * io/ftw.h: Likewise.
39351         * io/sys/poll.h: Likewise.
39352         * io/sys/stat.h: Likewise.
39353         * io/sys/statfs.h: Likewise.
39354         * io/sys/statvfs.h: Likewise.
39355         * io/utime.h: Likewise.
39356         * libio/bits/stdio.h: Likewise.
39357         * libio/bits/stdio2.h: Likewise.
39358         * libio/libio.h: Likewise.
39359         * libio/libioP.h: Likewise.
39360         * libio/stdio.h: Likewise.
39361         * locale/lc-ctype.c: Likewise.
39362         * locale/locale.h: Likewise.
39363         * login/utmp.h: Likewise.
39364         * malloc/arena.c: Likewise.
39365         * malloc/malloc.c: Likewise.
39366         * malloc/malloc.h: Likewise.
39367         * malloc/mcheck.c: Likewise.
39368         * malloc/mtrace.c: Likewise.
39369         * math/bits/mathcalls.h: Likewise.
39370         * math/fenv.h: Likewise.
39371         * math/math_private.h: Likewise.
39372         * misc/bits/error.h: Likewise.
39373         * misc/bits/syslog.h: Likewise.
39374         * misc/err.h: Likewise.
39375         * misc/error.h: Likewise.
39376         * misc/fstab.h: Likewise.
39377         * misc/mntent.h: Likewise.
39378         * misc/regexp.h: Likewise.
39379         * misc/search.h: Likewise.
39380         * misc/sgtty.h: Likewise.
39381         * misc/sys/mman.h: Likewise.
39382         * misc/sys/syslog.h: Likewise.
39383         * misc/sys/uio.h: Likewise.
39384         * misc/sys/xattr.h: Likewise.
39385         * misc/ttyent.h: Likewise.
39386         * nis/rpcsvc/ypclnt.h: Likewise.
39387         * nss/nss.h: Likewise.
39388         * posix/bits/unistd.h: Likewise.
39389         * posix/fnmatch.h: Likewise.
39390         * posix/glob.h: Likewise.
39391         * posix/sched.h: Likewise.
39392         * posix/spawn.h: Likewise.
39393         * posix/sys/wait.h: Likewise.
39394         * posix/unistd.h: Likewise.
39395         * posix/wordexp.h: Likewise.
39396         * pwd/pwd.h: Likewise.
39397         * resolv/netdb.h: Likewise.
39398         * resource/sys/resource.h: Likewise.
39399         * rt/aio.h: Likewise.
39400         * rt/bits/mqueue2.h: Likewise.
39401         * rt/mqueue.h: Likewise.
39402         * shadow/shadow.h: Likewise.
39403         * signal/signal.h: Likewise.
39404         * socket/send.c: Likewise.
39405         * socket/sendto.c: Likewise.
39406         * socket/sys/socket.h: Likewise.
39407         * stdio-common/printf.h: Likewise.
39408         * stdlib/bits/stdlib.h: Likewise.
39409         * stdlib/fmtmsg.h: Likewise.
39410         * stdlib/monetary.h: Likewise.
39411         * stdlib/stdlib.h: Likewise.
39412         * stdlib/ucontext.h: Likewise.
39413         * streams/stropts.h: Likewise.
39414         * string/argz.h: Likewise.
39415         * string/bits/string2.h: Likewise.
39416         * string/string.h: Likewise.
39417         * string/strings.h: Likewise.
39418         * sunrpc/rpc/auth.h: Likewise.
39419         * sunrpc/rpc/auth_des.h: Likewise.
39420         * sunrpc/rpc/clnt.h: Likewise.
39421         * sunrpc/rpc/netdb.h: Likewise.
39422         * sunrpc/rpc/pmap_clnt.h: Likewise.
39423         * sunrpc/rpc/xdr.h: Likewise.
39424         * sysdeps/generic/inttypes.h: Likewise.
39425         * sysdeps/generic/net/if.h: Likewise.
39426         * sysdeps/generic/sys/swap.h: Likewise.
39427         * sysdeps/gnu/net/if.h: Likewise.
39428         * sysdeps/gnu/utmpx.h: Likewise.
39429         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39430         * sysdeps/i386/i486/bits/string.h: Likewise.
39431         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39432         * sysdeps/s390/bits/string.h: Likewise.
39433         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39434         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39435         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39436         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39437         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39438         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39439         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39440         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39441         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39442         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39443         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39444         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39445         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39446         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39447         * sysdeps/unix/sysv/linux/readv.c: Likewise.
39448         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39449         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39450         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39451         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39452         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39453         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39454         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39455         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39456         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39457         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39458         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39459         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39460         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39461         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39462         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39463         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39464         * sysvipc/sys/ipc.h: Likewise.
39465         * sysvipc/sys/msg.h: Likewise.
39466         * sysvipc/sys/sem.h: Likewise.
39467         * sysvipc/sys/shm.h: Likewise.
39468         * termios/termios.h: Likewise.
39469         * time/sys/time.h: Likewise.
39470         * time/time.h: Likewise.
39471         * wcsmbs/bits/wchar2.h: Likewise.
39472         * wcsmbs/uchar.h: Likewise.
39473         * wcsmbs/wchar.h: Likewise.
39474         * wctype/wctype.h: Likewise.
39475
39476         [BZ #13551]
39477         * Makeconfig: Remove all but ELF support including AIX support.
39478         * Makerules: Likewise.
39479         * config.h.in: Likewise.
39480         * config.make.in: Likewise.
39481         * configure: Likewise.
39482         * configure.in: Likewise.
39483         * csu/Makefile: Likewise.
39484         * csu/version.c: Likewise.
39485         * debug/Makefile: Likewise.
39486         * dlfcn/Makefile: Likewise.
39487         * elf/Makefile: Likewise.
39488         * extra-lib.mk: Likewise.
39489         * iconv/Makefile: Likewise.
39490         * include/libc-symbols.h: Likewise.
39491         * include/shlib-compat.h: Likewise.
39492         * resolv/Makefile: Likewise.
39493         * resolv/res_libc.c: Likewise.
39494         * rt/Makefile: Likewise.
39495         * sysdeps/i386/asm-syntax.h: Likewise.
39496         * sysdeps/i386/sysdep.h: Likewise.
39497         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39498         * sysdeps/mach/sysdep.h: Likewise.
39499         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39500         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39501         * sysdeps/s390/asm-syntax.h: Likewise.
39502         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39503         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39504         * sysdeps/sh/sysdep.h: Likewise.
39505         * sysdeps/unix/sparc/sysdep.h: Likewise.
39506         * sysdeps/wordsize-32/divdi3.c: Likewise.
39507         * sysdeps/x86_64/sysdep.h: Likewise.
39508
39509         * argp/Versions: Remove _argp_unlock_xxx.
39510
39511         [BZ #13559]
39512         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
39513         * abilist/libBrokenLocale.abilist: Likewise.
39514         * abilist/libanl.abilist: Likewise.
39515         * abilist/libc.abilist: Likewise.
39516         * abilist/libcrypt.abilist: Likewise.
39517         * abilist/libdl.abilist: Likewise.
39518         * abilist/libm.abilist: Likewise.
39519         * abilist/libnsl.abilist: Likewise.
39520         * abilist/libpthread.abilist: Likewise.
39521         * abilist/libresolv.abilist: Likewise.
39522         * abilist/librt.abilist: Likewise.
39523         * abilist/libthread_db.abilist: Likewise.
39524         * abilist/libutil.abilist: Likewise.
39525         * abilist/libnss_db.abilist: New file.
39526
39527         * scripts/abilist.awk: Add support for indirect functions.
39528
39529         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39530
39531         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39532
39533         * shlib-versions: Remove entries for ports architectures.
39534
39535         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
39536         files in ports.
39537         * elf/stackguard-macros.h: Remove support for IA-64.
39538         * elf/tst-auditmod1.c: Likewise.
39539         * sysdeps/generic/ldsodefs.h: Likewise.
39540
39541         * sysdeps/unix/sysv/linux/configure.in: Ports should define
39542         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39543         configure files.
39544
39545         [BZ #13552]
39546         * configure.in: Remove --enable-omitfp support.
39547         * FAQ.in: Adjust.
39548         * config.make.in: Likewise.
39549         * Makeconfig: Likewise.
39550         * manual/install.texi: Likewise.
39551
39552         In case anyone cares, the IA-64 architecture could move to ports.
39553         * sysdeps/ia64/*: Removed.
39554         * sysdeps/unix/sysv/linux/ia64/*: Removed.
39555         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39556
39557         [BZ #13555]
39558         * configure.in: Remove entries for unsupported architectures.
39559
39560         [BZ #13533]
39561         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39562         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
39563         routines.
39564         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39565         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39566         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
39567         fall back to using wcrtomb.
39568         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39569         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
39570         renaming.
39571         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39572         * wcsmbs/tst-c16c32-1.c: New file.
39573
39574         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39575         local variable.
39576
39577         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39578
39579         * elf/tst-unique3.cc: Add explicit declaration of gets.
39580         * elf/tst-unique3lib.cc: Likewise.
39581         * elf/tst-unique3lib2.cc: Likewise.
39582         * elf/tst-unique4.cc: Likewise.
39583
39584         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39585
39586 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
39587
39588         [BZ #13566]
39589         * assert/assert.h (static_assert): Don't define for C++.
39590         * libio/stdio.h (gets): Do declare for C++ <= C++11.
39591         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39592
39593 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
39594
39595         * iconv/loop.c (single loop): Fix assertion in storing of
39596         remaining bytes.
39597
39598         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39599
39600 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
39601
39602         * posix/getconf.c: Update copyright year.
39603         * nss/getent.c: Likewise.
39604         * nss/makedb.c: Likewise.
39605         * iconv/iconvconfig.c: Likewise.
39606         * iconv/iconv_prog.c: Likewise.
39607         * elf/ldconfig.c: Likewise.
39608         * elf/pldd.c: Likewise.
39609         * elf/sotruss.ksh: Likewise.
39610         * catgets/gencat.c: Likewise.
39611         * csu/version.c: Likewise.
39612         * elf/ldd.bash.in: Likewise.
39613         * elf/sprof.c (print_version): Likewise.
39614         * locale/programs/locale.c: Likewise.
39615         * locale/programs/localedef.c: Likewise.
39616         * login/programs/pt_chown.c: Likewise.
39617         * nscd/nscd.c (print_version): Likewise.
39618         * debug/xtrace.sh: Likewise.
39619         * malloc/memusage.sh: Likewise.
39620         * malloc/mtrace.pl: Likewise.
39621         * debug/catchsegv.sh: Likewise.
39622
39623 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
39624
39625         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39626         pure attribute.
39627
39628 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
39629
39630         [BZ #13533]
39631         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39632         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39633         transformations.
39634         * iconv/gconv_int.h: Likewise.
39635         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39636         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39637         from libc for GLIBC_2.16.
39638         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39639         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39640         * wcsmbs/uchar.h: Really define mbstate_t.
39641         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39642         * wcsmbs/c16rtomb.c: New file.
39643         * wcsmbs/mbrtoc16.c: New file.
39644         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39645         for C/POSIX locale.
39646         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39647         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39648
39649         * wcsmbs/wchar.h: Add missing __restrict.
39650
39651 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39652
39653         [BZ #13532]
39654         * time/Makefile (routines): Add timespec_get.
39655         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39656         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
39657         timespec for ISO C11.
39658         * time/timespec_get.c: New file.
39659         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39660         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39661
39662         [BZ #13531]
39663         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39664         * stdlib/stdlib.h: Declare aligned_alloc.
39665         * Versions.def: Add GLIBC_2.16 for libc.
39666         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39667
39668         [BZ 13527]
39669         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39670         ISO C11.
39671
39672         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39673         code.
39674
39675         [BZ #13528]
39676         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39677
39678         [BZ #13529]
39679         * assert/assert.h (static_assert): Define.
39680
39681         * version.h: Update for 2.16 development version.
39682
39683         [BZ #13526]
39684         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39685         _ISOC11_SOURCE.
39686
39687         * version.h (RELEASE): Bump for 2.15 release.
39688         * include/features.h (__GLIBC_MINOR__): Bump to 15.
39689
39690         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39691         Patch by Marek Polacek <mpolacek@redhat.com>.
39692
39693         * bits/byteswap.h: Protect long long constants with __extension__.
39694         * sysdeps/i386/bits/byteswap.h: Likewise.
39695         * sysdeps/ia64/bits/byteswap.h: Likewise.
39696         * sysdeps/s390/bits/byteswap.h: Likewise.
39697         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39698
39699 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39700
39701         [BZ #13540]
39702         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39703         destination buffer.
39704         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39705
39706 2011-12-23  Marek Polacek  <polacek@redhat.com>
39707
39708         * elf/dl-addr.c (determine_info): Add inline keyword.
39709         * elf/tst-auditmod4b.c (check_avx): Likewise.
39710         * elf/tst-auditmod6b.c (check_avx): Likewise.
39711         * elf/tst-auditmod6c.c (check_avx): Likewise.
39712         * elf/tst-auditmod7b.c (check_avx): Likewise.
39713
39714 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39715
39716         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39717         !__SSE_MATH__.
39718
39719 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39720
39721         [BZ #13540]
39722         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39723         processing for last bytes.
39724
39725 2011-08-06  Bruno Haible  <bruno@clisp.org>
39726
39727         [BZ #13061]
39728         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39729         U+0385, not to U+1FEE.
39730
39731         [BZ #13062]
39732         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39733         entry for U+00A5 U+0301.
39734
39735 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39736
39737         [BZ #13166]
39738         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39739         buffer for the output is too small.
39740
39741         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39742         optimization.
39743
39744         [BZ #13185]
39745         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39746         SSE flags if possible.
39747
39748 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39749
39750         [BZ #13540]
39751         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39752         processing for last bytes.
39753
39754 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
39755
39756         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39757         (syscall-list-default-options, syscall-list-default-condition)
39758         (syscall-list-includes): Define.
39759         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39760         list of ABIs and options and #if conditions for each ABI.  Do not
39761         handle common syscalls between ABIs specially.
39762         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39763         Remove.
39764         (syscall-list-variants, syscall-list-32bit-options)
39765         (syscall-list-32bit-condition, syscall-list-64bit-options)
39766         (syscall-list-64bit-condition): Define.
39767         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39768         (syscall-list-variants, syscall-list-32bit-options)
39769         (syscall-list-32bit-condition, syscall-list-64bit-options)
39770         (syscall-list-64bit-condition): Define.
39771         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39772         Remove.
39773         (syscall-list-variants, syscall-list-32bit-options)
39774         (syscall-list-32bit-condition, syscall-list-64bit-options)
39775         (syscall-list-64bit-condition): Define.
39776         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39777         Remove.
39778         (syscall-list-variants, syscall-list-32bit-options)
39779         (syscall-list-32bit-condition, syscall-list-64bit-options)
39780         (syscall-list-64bit-condition): Define.
39781
39782 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39783
39784         * locale/iso-639.def: Add brx entry.
39785
39786         [BZ #13328]
39787         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39788         Proposed by Mariusz_Cukr <marcukr@op.pl>.
39789
39790         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39791         __feraiseexcept_renamed.
39792
39793 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39794
39795         [BZ #13538]
39796         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39797         EPOLLET with unsigned values.
39798         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39799         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39800
39801         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39802         to large cancellation.
39803         * math/s_cacoshf.c: Likewise.
39804         * math/s_cacoshl.c: Likewise.
39805
39806 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
39807
39808         [BZ #13305]
39809         [BZ #12786]
39810         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39811         * math/s_cacoshf.c: Likewise.
39812         * math/s_cacoshl.c: Likewise.
39813
39814 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39815
39816         [BZ #13439]
39817         * iconv/gconv.h: Define __GCONV_SWAP.
39818         * iconvdata/unicode.c: The swap bit must be stored in __flags.
39819         * iconvdata/utf-16.c: Likewise.
39820         * iconvdata/utf-32.c: Likewise.
39821
39822 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39823
39824         [BZ #13524]
39825         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39826         numerator after shifting it by one limb.
39827
39828 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
39829
39830         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39831         under [__USE_EXTERN_INLINES].
39832
39833 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39834
39835         [BZ #13446]
39836         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39837
39838 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39839
39840         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39841         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39842         optimized code.
39843         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39844         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39845         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39846         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39847         for strncasecmp/strncasecmp_l compilation.
39848         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39849         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39850
39851 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
39852
39853         [BZ #13484]
39854         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39855         of __asm__.
39856
39857 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39858
39859         [BZ #13506]
39860         * time/tzfile.c (__tzfile_read): Check values from file header.
39861
39862 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39863
39864         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39865         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39866         * powerpc/powerpc32/dl-start.S: Likewise.
39867         * powerpc/powerpc32/elf/start.S: Likewise.
39868         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39869         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39870         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39871         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39872         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39873         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39874         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39875         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39876         * powerpc/powerpc32/fpu/s_round.S: Likewise.
39877         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39878         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39879         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39880         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39881         * powerpc/powerpc32/memset.S: Likewise.
39882         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39883         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39884         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39885         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39886         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39887         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39888         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39889         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39890         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39891         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39892         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39893         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39894         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39895
39896 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39897
39898         * math/libm-test.inc: Added more nearbyint tests.
39899         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39900         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39901         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39902         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39903
39904 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
39905
39906         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39907         FD_CLOEXEC.
39908
39909 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39910
39911         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39912         Add wcscpy-ssse3 wcscpy-c.
39913         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39914         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39915         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39916         * sysdeps/x86_64/wcschr.S: New file.
39917         * sysdeps/x86_64/wcsrchr.S: New file.
39918         * string/test-strcmp.c: Remove checking of wcscmp function for
39919         wrong alignments.
39920         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39921         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39922         wcsrchr-sse2 wcsrchr-c.
39923         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39924         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39925         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39926         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39927         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39928         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39929         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39930         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39931         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39932         * wcsmbc/wcschr.c (WCSCHR): New macro.
39933
39934 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39935
39936         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39937         * wcsmbs/test-wcsrchr.c: New file.
39938         * string/test-strrchr.c: Add wcsrchr support.
39939         (WIDE): New macro.
39940         * wcsmbs/test-wcscpy.c: New file.
39941         * string/test-strcpy.c: Add wcscpy support.
39942         (WIDE): New macro.
39943
39944 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
39945
39946         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39947         the inner loop.
39948
39949 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
39950
39951         [BZ #13472]
39952         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39953
39954 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
39955
39956         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39957         Minor optimizations.
39958
39959         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39960         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39961         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39962
39963 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
39964
39965         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39966         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39967         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39968         for gcc to avoid warnings.
39969         * inet/Makefile (tests): Add tst-checks.
39970         * inet/tst-checks.c: New file.
39971
39972         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39973         warning.
39974
39975         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39976         __wmemcmp_sse2.
39977
39978         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39979         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39980
39981         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39982
39983 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
39984
39985         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39986         problem.
39987
39988         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39989
39990 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
39991
39992         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39993         conditional on GCC version.
39994         (__arch_compare_and_exchange_val_8_acq)
39995         (__arch_compare_and_exchange_val_16_acq)
39996         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39997         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39998         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39999
40000 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
40001
40002         * sysdeps/sh/backtrace.c: New file.
40003
40004 2011-12-02  Andreas Schwab  <schwab@redhat.com>
40005
40006         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
40007         parenthesis.
40008
40009 2011-12-01  Andreas Schwab  <schwab@redhat.com>
40010
40011         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40012         falling back to utime.
40013
40014 2011-11-30  Andreas Schwab  <schwab@redhat.com>
40015
40016         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40017         expectations for float.
40018
40019 2011-11-29  Andreas Schwab  <schwab@redhat.com>
40020
40021         * locale/weight.h (findidx): Add parameter len.
40022         * locale/weightwc.h (findidx): Likewise.
40023         * posix/fnmatch_loop.c (FCT): Adjust caller.
40024         * posix/regcomp.c (build_equiv_class): Likewise.
40025         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40026         * posix/regexec.c (check_node_accept_bytes): Likewise.
40027         * string/strcoll_l.c (STRCOLL): Likewise.
40028         * string/strxfrm_l.c (STRXFRM): Likewise.
40029
40030 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
40031
40032         * Makefile.in: Remove CVSOPT handling.
40033         * configure.in: Remove use of AC_REVISION.
40034         * iconvdata/Makefile (distribute): No need to filter out CVS.
40035         * scripts/list-sources.sh: Remove CVS, subversion and monotone
40036         handling.
40037
40038 2011-11-16  Andreas Schwab  <schwab@redhat.com>
40039
40040         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40041         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40042         [USE_AS_STRNCASECMP_L]: Likewise.
40043         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40044         NO_TLS_DIRECT_SEG_REFS.
40045         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40046         Fix argument offsets for non-PIC.
40047         [USE_AS_STRNCASECMP_L]: Likewise.
40048         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40049         NO_TLS_DIRECT_SEG_REFS.
40050
40051 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
40052
40053         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40054         O_CLOEXEC.
40055         * locale/loadlocale.c (_nl_load_locale): Likewise.
40056
40057 2011-11-15  Andreas Schwab  <schwab@redhat.com>
40058
40059         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40060         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40061         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40062         (SYSCALL_GETTIME): Set errno on error.
40063
40064         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40065         count references to noai6ai_cached.
40066
40067 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
40068
40069         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40070
40071         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40072         FD_CLOEXEC for /proc/self/maps.
40073
40074         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40075         FD_CLOEXEC for /proc/meminfo.
40076
40077         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40078         gai.conf.
40079
40080         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
40081         FD_CLOEXEC for given file.
40082
40083         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40084
40085         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40086         FD_CLOEXEC for /etc/hosts.
40087         (_gethtent): Likewise.
40088
40089         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40090
40091         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40092         cancellation and set FD_CLOEXEC for /etc/netgroup.
40093
40094         * nss/nss_files/files-key.c (search): Don't allow cancellation when
40095         reading /etc/publickey.
40096
40097         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40098         allow cancellation when reading /etc/group.
40099
40100         * nss/nss_files/files-alias.c (internal_setent): Don't allow
40101         cancellation.
40102         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
40103
40104         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40105         when using data file.
40106
40107         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40108
40109         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40110         (write_nis_obj): Use "c" and "e" in fopen.
40111
40112         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40113
40114         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40115
40116         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40117
40118         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40119
40120         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40121         locale.alias.
40122
40123         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40124
40125         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40126
40127         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40128
40129         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40130         file parsing and set FD_CLOEXEC.
40131
40132 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40133
40134         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40135
40136 2011-11-14  Andreas Schwab  <schwab@redhat.com>
40137
40138         * malloc/arena.c (arena_get2): Don't call reused_arena when
40139         _int_new_arena failed.
40140
40141 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40142
40143         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40144         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40145         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40146         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40147         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40148         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40149         to compile strcasecmp and strncasecmp.
40150         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40151         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40152
40153         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40154
40155 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
40156
40157         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40158         locale-defines.sym to gen-as-const-headers.
40159         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40160         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40161         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40162         to compile strcasecmp and strncasecmp.
40163         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40164         strcasecmp_l and strncasecmp_l.
40165         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40166         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40167         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40168         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40169         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40170         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40171         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40172         * sysdeps/i386/i686/multiarch/strncase.S: New file.
40173         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40174         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40175         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40176
40177 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
40178
40179         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40180         result of SYSDEP_GETTIME_CPU to retval.
40181         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40182         parameter list to macro.  Remove trailing semicolon.  Adjust users.
40183
40184         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40185         variable.
40186
40187         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40188         mantissa words.
40189         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40190
40191         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40192         from unused variable.
40193
40194         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40195         DWARF definitions.
40196         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40197         for assembling.
40198
40199         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40200         over namespaces.
40201
40202         * sunrpc/rpc_prot.c (rejected): Fix case value.
40203
40204         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40205         unsigned long long int to avoid warnings in shift.
40206
40207         * posix/regex_internal.c (re_string_reconstruct): Actually use result
40208         of use of trans.
40209         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40210         variable tmp.
40211
40212         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40213         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40214         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40215
40216         * nis/nis_table.c (nis_list): Use variable of correct type for
40217         result of __follow_path call.
40218
40219 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40220
40221         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40222         of math functions ceil, trunc, floor, round, and sqrt, when
40223         avaliable on the platform.
40224         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40225         name clash.
40226         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40227         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40228         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40229
40230 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
40231
40232         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40233         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40234
40235 2011-11-11  Roland McGrath  <roland@hack.frob.com>
40236
40237         * include/unistd.h: Fix __readlink return type.
40238         Reported by Chris Metcalf <cmetcalf@tilera.com>.
40239
40240 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
40241
40242         * stdlib/ucontext.h: Undo last change for makecontext.
40243
40244 2011-11-11  Andreas Schwab  <schwab@redhat.com>
40245
40246         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40247
40248         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40249         * setjmp/setjmp.h: Mark functions as non-leaf.
40250         * setjmp/bits/setjmp2.h: Likewise.
40251         * stdlib/ucontext.h: Likewise.
40252
40253 2011-11-10  Andreas Schwab  <schwab@redhat.com>
40254
40255         * malloc/arena.c (_int_new_arena): Don't increment narenas.
40256         (reused_arena): Don't check arena limit.
40257         (arena_get2): Atomically check arena limit.
40258
40259 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
40260
40261         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40262         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40263
40264         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40265         instructions.
40266
40267 2011-11-07  Andreas Schwab  <schwab@redhat.com>
40268
40269         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40270         handler when locking.
40271
40272         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40273         Fix size of allocated buffer.
40274
40275 2011-11-04  Andreas Schwab  <schwab@redhat.com>
40276
40277         [BZ #10103]
40278         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40279         declarations for long double functions.
40280         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40281
40282         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40283
40284 2011-11-03  Andreas Schwab  <schwab@redhat.com>
40285
40286         * nscd/nscd.c (main): Don't start AVC thread until credentials are
40287         installed.
40288
40289         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40290         is disabled.
40291
40292 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40293
40294         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40295
40296 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40297
40298         * include/alloca.h (stackinfo_alloca_round): Define.
40299         (extend_alloca): Use it.
40300         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40301         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40302         here.
40303
40304         * scripts/check-local-headers.sh: Ignore libaudit.h.
40305
40306         * nscd/Makefile (extra-objs): Make recursively expanded.
40307
40308 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
40309
40310         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40311         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40312
40313         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40314         * posix/tst-rfc3484-2.c: Likewise.
40315         * posix/tst-rfc3484-3.c: Likewise.
40316
40317         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40318         process_vm_writev.
40319         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40320         process_vm_writev.
40321         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40322         process_vm_writev from libc using GLIBC_2.15 version.
40323
40324         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40325
40326 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
40327
40328         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40329         stack usage.
40330
40331 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
40332
40333         [BZ #13367]
40334         * nss/getent.c (initgroups_keys): Show error message in case no group
40335         names are given.
40336
40337         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40338         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40339         __bump_nl_timestamp.
40340         * nscd/connections (nscd_init): When host database is served open
40341         netlink socket and request notification about configuration changes.
40342         (main_loop_poll): Track netlink file descriptor and bump timestamp
40343         in case data becomes available.
40344         (main_loop_epoll): Likewise.
40345         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40346         (database_pers_head): Add extra_data fileds.
40347         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40348         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40349         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40350         Adjust caller.
40351         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40352         in6ai data, call __free_in6ai.
40353         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40354         Add -DHAVE_NETLINK.
40355         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
40356         interface information.  Reuse previous data if netlink timestamp
40357         is not changed.
40358         (__bump_nl_timestamp): New function.
40359         (__free_in6ai): New function.
40360
40361 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
40362
40363         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40364         close_not_cancel_no_status here.
40365         (__check_pf): Reorganize code a bit to not call close twice if OOM.
40366
40367 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40368
40369         [BZ #13276]
40370         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40371         return value.
40372
40373         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40374         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40375         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40376
40377 2011-07-03  Andreas Jaeger  <aj@suse.de>
40378
40379         [BZ #10709]
40380         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40381         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40382         * math/libm-test.inc (sin_test): Add test case.
40383
40384 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40385
40386         [BZ #13337]
40387         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40388         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40389
40390         * elf/chroot_canon.c (chroot_canon): Cleanups.
40391
40392         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40393
40394         [BZ #13335]
40395         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40396         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40397
40398         * string/test-strchr.c: Make usable for strchrnul testing.
40399         * string/test-strchrnul.c: New file.
40400         * string/Makefile (strop-tests): Add strchrnul.
40401
40402         * po/it.po: Update from translation team.
40403         * po/es.po: Likewise.
40404
40405 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
40406
40407         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40408         the three constants needed as parameters.  Drop the others.
40409         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40410         __m128i_strloadu_tolower.
40411         Create and initialize variable zero and use it in all the places
40412         where _mm_setzero_si128 was used.
40413
40414         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40415         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40416         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40417         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40418         anymore.
40419         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40420         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40421         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40422         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40423         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40424         __mpranred, __mptan.
40425         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40426         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40427         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40428         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40429         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40430         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40431         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40432         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40433         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40434
40435 2011-10-28  Andreas Schwab  <schwab@redhat.com>
40436
40437         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40438         redefine if SHARED.
40439         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40440
40441         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40442         wide char related routines to wcsmbs subdir.
40443
40444 2011-10-27  Andreas Schwab  <schwab@redhat.com>
40445
40446         [BZ #13344]
40447         * misc/sys/cdefs.h (__THROWNL): Define.
40448         * posix/unistd.h: Use __THREADNL instead of __THREAD
40449         for memory synchronization functions.
40450
40451 2011-10-26  Roland McGrath  <roland@hack.frob.com>
40452
40453         [BZ #13349]
40454         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40455         doesn't exist.
40456         * manual/stdio.texi (Obstack Streams): Node removed.
40457
40458 2011-10-26  Andreas Schwab  <schwab@redhat.com>
40459
40460         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40461         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40462         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40463
40464         * math/math_private.h (math_force_eval): Allow non-addressable
40465         arguments.
40466         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40467
40468 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40469
40470         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40471         file is not needed.
40472
40473         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40474         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40475         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40476         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40477         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40478         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40479         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40480         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40481         Add AVX variants.
40482         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40483         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40484         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40485         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40486         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40487         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40488         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40489         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40490         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40491         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40492         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40493         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40494         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40495         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40496         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40497         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40498         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40499         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40500         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40501
40502         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40503         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
40504
40505         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40506         place.  Use VEX encoding when compiling for AVX.
40507
40508 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40509
40510         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40511         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40512
40513         * string/test-strchr.c (do_test): Don't generate NUL bytes.
40514
40515 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40516
40517         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40518         useless if() expression.
40519         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40520         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40521         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40522         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40523         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40524         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40525         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40526         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40527         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40528         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40529         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40530         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40531         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40532         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40533         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40534         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40535         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40536         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40537         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40538
40539         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40540
40541 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40542
40543         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40544         condition.
40545         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40546
40547 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40548
40549         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40550         .text section.  Avoid duplicate constants.
40551         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40552         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40553         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40554         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40555         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40556         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40557         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40558         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40559         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40560         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40561         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40562         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40563         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40564         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40565         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40566         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40567         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40568         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40569         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40570         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40571         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40572         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40573         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40574         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40575         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40576         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40577         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40578         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40579         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40580         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40581         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40582         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40583         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40584         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40585         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40586         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40587         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40588         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40589         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40590         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40591         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40592         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40593         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40594         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40595         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40596
40597 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
40598
40599         * sysdeps/x86_64/dla.h: Move to ...
40600         * sysdeps/x86_64/fpu/dla.h: ...here.
40601         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40602         situations.  Use __builtin_fma only for gcc 4.6 and up.
40603
40604         * config.make.in: Add have-mfma4 entry.
40605         * configure.in: Substitute libc_cv_cc_fma4.
40606         * math/Makefile (dbl-only-routines): Add sincostab.
40607         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40608         Use __sincostab not sincos.
40609         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40610         name is a macro.
40611         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40612         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40613         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40614         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
40615         using __copysign.
40616         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
40617         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
40618         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40619         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40620         and __inv.
40621         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40622         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40623         __copysign.
40624         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
40625         define aliases when function name is a macro.
40626         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40627         sysdeps/ieee754/dbl-64/sincos.tbl.
40628         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40629         fma4-enabled routines.
40630         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40631         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40632         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40633         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40634         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40635         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40636         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40637         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40638         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40639         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40640         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40641         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40642         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40643         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40644         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40645         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40646         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40647         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40648         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40649         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40650         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40651         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40652         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40653         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40654         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40655         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40656         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40657         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40658         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40659         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40660
40661         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40662         rename.
40663         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40664         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40665         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40666         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40667         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40668         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40669         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40670         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40671
40672 2011-10-24  Andreas Schwab  <schwab@redhat.com>
40673
40674         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40675
40676 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40677
40678         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40679
40680         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40681         prediction.
40682         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40683
40684         * string/strnlen.c: Don't define STRNLEN, reverse logic.
40685         Remove unused variable magic_bits.
40686         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40687
40688         * string/strnlen.c: Define and use STRNLEN macro.
40689         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40690         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40691         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40692         * wcsmbs/wcslen.c: Define and use WCSLEN.
40693         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40694         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40695         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40696         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40697         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40698         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40699         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40700
40701 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40702
40703         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40704         strnlen-sse2-no-bsf.
40705         Rename strlen-no-bsf to strlen-sse2-no-bsf.
40706         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40707         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40708         Add strnlen support.
40709         (USE_AS_STRNLEN): New macro.
40710         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40711         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40712         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40713         * sysdeps/x86_64/wcslen.S: New file.
40714
40715 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
40716
40717         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40718         XMM-moves are used for copying on small sizes.
40719
40720 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40721
40722         * wcsmbs/Makefile (strop-tests): Add wcschr.
40723         * wcsmbs/test-wcschr.c: New file.
40724         * string/test-strchr.c: Update.
40725         Add wcschr support.
40726         (WIDE): New macro.
40727
40728 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40729
40730         * wcsmbs/Makefile (strop-tests): Add wcslen.
40731         * wcsmbs/test-wcslen.c: New file.
40732         * string/test-strlen.c: Update.
40733         Add wcslen support.
40734         (WIDE): New macro.
40735
40736 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40737
40738         * po/it.po: Update from translation team.
40739
40740 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40741
40742         * sysdeps/x86_64/wcscmp.S: Update.
40743         Fix wrong comparison semantics.
40744         wcscmp shall use signed comparison not unsigned.
40745         Don't use substraction to avoid overflow bug.
40746         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40747         * wcsmbc/wcscmp.c: Likewise.
40748         * string/test-strcmp.c: Likewise.
40749         Add new tests to check cases with negative values.
40750
40751 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40752
40753         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40754         * sysdeps/x86_64/dla.h: ...here.  New file.
40755         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40756         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40757         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40758         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40759         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40760         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40761         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40762         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40763         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40764
40765 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
40766
40767         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40768         __ynl_finite aliases.
40769
40770 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40771
40772         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40773
40774         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40775         define DLA_FMA.
40776         [DLA_FMA] (EMULV): Use DLA_FMA.
40777         [DLA_FMA] (MUL12): Use EMULV.
40778         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40779         that are not needed.
40780         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40781         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40782         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40783         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40784         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40785         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40786         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40787
40788 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
40789
40790         * math/s_nan.c: Undef __nan.
40791         * math/s_nanf.c: Undef __nanf.
40792         * math/s_nanl.c: Undef __nanl.
40793         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40794         "math_private.h".
40795
40796 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40797
40798         * math/s_catan.c: Add branch predictions.
40799         * math/s_catanf.c: Likewise.
40800         * math/s_catanh.c: Likewise.
40801         * math/s_catanhf.c: Likewise.
40802         * math/s_catanhl.c: Likewise.
40803         * math/s_catanl.c: Likewise.
40804         * math/s_cexp.c: Likewise.
40805         * math/s_cexpf.c: Likewise.
40806         * math/s_cexpl.c: Likewise.
40807         * math/s_clog.c: Likewise.
40808         * math/s_clog10.c: Likewise.
40809         * math/s_clog10f.c: Likewise.
40810         * math/s_clog10l.c: Likewise.
40811         * math/s_clogf.c: Likewise.
40812         * math/s_clogl.c: Likewise.
40813         * math/s_csqrt.c: Likewise.
40814         * math/s_csqrtf.c: Likewise.
40815         * math/s_csqrtl.c: Likewise.
40816         * math/s_ctanf.c: Likewise.
40817         * math/s_ctanh.c: Likewise.
40818         * math/s_ctanhf.c: Likewise.
40819         * math/s_ctanhl.c: Likewise.
40820         * math/s_ctanl.c: Likewise.
40821
40822         * math/math_private.h: Define __nan, __nanf, __nanl.
40823         * math/s_cacosh.c: Include <math_private.h>.
40824         * math/s_cacoshl.c: Likewise.
40825         * math/s_casinh.c: Likewise.
40826         * math/s_casinhf.c: Likewise.
40827         * math/s_casinhl.c: Likewise.
40828         * math/s_ccos.c: Rely entire on ccosh.
40829         * math/s_ccosf.c: Rely entire on ccoshf.
40830         * math/s_ccosl.c: Rely entirely on ccoshl.
40831         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
40832         Remove tests for FE_INVALID.
40833         * math/s_ccoshf.c: Likewise.
40834         * math/s_ccoshl.c: Likewise.
40835         * math/s_csin.c: Likewise.
40836         * math/s_csinf.c: Likewise.
40837         * math/s_csinh.c Likewise.
40838         * math/s_csinhf.c: Likewise.
40839         * math/s_csinhl.c: Likewise.
40840         * math/s_csinl.c: Likewise.
40841         * math/s_ctan.c: Likewise.
40842         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40843         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40844         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40845
40846 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
40847
40848         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40849         compilation problems.
40850
40851         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40852         __builtin_expect.
40853
40854 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
40855
40856         * sysdeps/i386/configure.in: Test for -mfma4 option.
40857         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40858         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40859         COMMON_CPUID_INDEX_80000001.
40860         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40861         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40862         use it if FMA3 is not supported.
40863         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40864
40865         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40866         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40867
40868 2011-10-20  Andreas Schwab  <schwab@redhat.com>
40869
40870         [BZ #12892]
40871         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40872         it would create a cycle with a link time dependency.
40873
40874 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
40875
40876         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40877         instruction.
40878         * string/Makefile (strop-tests): Add rawmemchr.
40879         * string/test-rawmemchr.c: New file.
40880
40881         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40882         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
40883         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
40884         when compiling str{,n}casecmp and when AVX is available.  Hook up
40885         new optimized code in initializers.
40886
40887 2011-10-19  Andreas Schwab  <schwab@redhat.com>
40888
40889         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40890         __feraiseexcept instead of feraiseexcept.
40891
40892 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
40893
40894         * math/math_private.h: Define defaults for libc_fetestexcept and
40895         libc_feupdateenv.
40896         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40897         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40898         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40899         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40900         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40901         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40902         libc_fetestexcept and libc_feupdateenv.
40903
40904         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40905         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40906         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40907         * sysdeps/x86_64/fpu/math_private.h: Define special version of
40908         libc_feholdexcept_setround.
40909
40910         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40911         Add s_nearbyint-c and s_nearbyintf-c.
40912         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40913         nearbyintf inlines.
40914         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40915         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40916         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40917         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40918
40919         * math/math_private.h: Define defaults for libc_fegetround,
40920         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40921         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40922         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40923         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40924         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40925         standard functions.
40926         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40927         Remove comments and hacks for old compiler versions.
40928         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40929         libc_fegetround, libc_fesetround, libc_feholdexcept, and
40930         libc_feholdexceptl.
40931
40932 2011-10-18  Andreas Schwab  <schwab@redhat.com>
40933
40934         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40935         (__feraiseexcept_renamed): Add __NTH.
40936         (feraiseexcept): Add __NTH.  Rename local variables to fix
40937         namespace violations.
40938
40939 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
40940
40941         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40942
40943         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40944
40945         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40946         recently added interfaces.
40947         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40948
40949         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40950         about macro parameter expansion.
40951
40952         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40953         __NO_MATH_INLINES is defined.  Cleanups.
40954
40955         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40956         and __floorf is target has SSE4.1.
40957         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40958         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40959         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40960         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40961
40962         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40963         name.
40964         (floorf): Likewise.
40965
40966         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40967
40968 2011-10-17  Andreas Schwab  <schwab@redhat.com>
40969
40970         * misc/sys/cdefs.h: Fix last change.
40971
40972         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40973         database lookup.
40974
40975 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
40976
40977         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40978
40979         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40980         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40981         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40982         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40983         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40984         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40985         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40986         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40987         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40988         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40989         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40990         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40991         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40992         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40993         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40994         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40995         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40996         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40997         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40998         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40999         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41000         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41001
41002         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41003         ceil, ceilf, floor, floorf.
41004
41005         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41006         Perform IRELATIVE relocations last.
41007
41008         * elf/do-rel.h: Add another parameter nrelative, replacing the
41009         local variable with the same name.  Change name of the function
41010         to end in Rel or Rela (uppercase).
41011         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41012         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
41013         elf_dynamic_do_##reloc function.
41014
41015 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41016
41017         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41018         is sufficient, at least on modern CPUs.
41019
41020         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41021
41022         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41023         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41024
41025         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41026         __expl_finite.
41027         * math/bits/math-finite.h: Add entries for exp.
41028         * math/e_expl.c: Add __*_finite alias.
41029         * sysdeps/i386/fpu/e_exp.S: Likewise.
41030         * sysdeps/i386/fpu/e_expf.S: Likewise.
41031         * sysdeps/i386/fpu/e_expl.c: Likewise.
41032         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41033         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41034         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41035         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41036         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41037         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41038         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41039
41040         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41041         is sufficient, at least on modern CPUs.
41042
41043         * ctype/ctype-info.c (__ctype_init): Define.
41044         * include/ctype.h (__ctype_init): Declare.
41045         (__ctype_b_loc): The variable is always initialized.
41046         (__ctype_toupper_loc): Likewise.
41047         (__ctype_tolower_loc): Likewise.
41048         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41049         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41050
41051 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
41052
41053         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41054
41055         * configure.in: Also look in $cxxmachine/include for C++ system
41056         headers.
41057
41058 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41059
41060         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41061         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41062         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41063         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
41064         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41065         (USE_AS_WMEMCMP): New macro.
41066         Fixing indents.
41067         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41068         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41069         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41070         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41071         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41072         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41073         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41074         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41075         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41076         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41077         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41078         (USE_AS_WMEMCMP): New macro.
41079         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41080         * sysdeps/string/test-memcmp.c: Update.
41081         Fix simple_wmemcmp.
41082         Add new tests.
41083         * wcsmbs/wmemcmp.c: Update.
41084         (WMEMCMP): New macro.
41085         Fix overflow bug.
41086
41087 2011-10-12  Andreas Jaeger  <aj@suse.de>
41088
41089         [BZ #13268]
41090         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41091
41092 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41093
41094         * libio/iofwide.c (do_length): Avoid warning.
41095
41096         * ctype/ctype.h (__isctype_f): Add missing __THROW.
41097
41098 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
41099
41100         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41101
41102         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41103         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41104         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41105         * sysdeps/i386/i686/fpu/e_log.S: New file.
41106         * sysdeps/i386/i686/fpu/e_logf.S: New file.
41107         * sysdeps/i386/i686/fpu/e_logl.S: New file.
41108
41109         * ctype/ctype.h: Add support for inlined isXXX functions when
41110         compiling C++ code.
41111
41112 2011-10-14  Andreas Schwab  <schwab@redhat.com>
41113
41114         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41115
41116         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41117
41118 2011-10-13  Roland McGrath  <roland@hack.frob.com>
41119
41120         [BZ #13291]
41121         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41122
41123 2011-10-13  Andreas Schwab  <schwab@redhat.com>
41124
41125         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41126         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41127         feraiseexcept.
41128
41129         * sysdeps/x86_64/memrchr.S: Check for zero size.
41130
41131         * string/stratcliff.c: Add memrchr tests.
41132
41133 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41134
41135         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41136         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41137         rawmemchr-sse2 rawmemchr-sse2-bsf.
41138         * sysdeps/i386/i686/multiarch/memchr.S: New file.
41139         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41140         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41141         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41142         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41143         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41144         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41145         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41146         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41147         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41148         * string/memrchr.c (MEMRCHR): New macro.
41149
41150 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
41151
41152         Add integration with gcc's -ffinite-math-only and optimize wrapper
41153         functions in libm.
41154         * Versions.def: Define GLIBC_2.15 version for libm.
41155         * math/Makefile (headers): Add bits/math-finite.h.
41156         * math/bits/math-finite.h: New file.
41157         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41158         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41159         * math/e_acoshl.c: Add __*_finite alias.
41160         * math/e_acosl.c: Likewise.
41161         * math/e_asinl.c: Likewise.
41162         * math/e_atan2l.c: Likewise.
41163         * math/e_atanhl.c: Likewise.
41164         * math/e_coshl.c: Likewise.
41165         * math/e_exp10.c: Likewise.
41166         * math/e_exp10f.c: Likewise.
41167         * math/e_exp10l.c: Likewise.
41168         * math/e_exp2l.c: Likewise.
41169         * math/e_fmodl.c: Likewise.
41170         * math/e_gammal_r.c: Likewise.
41171         * math/e_hypotl.c: Likewise.
41172         * math/e_j0l.c: Likewise.
41173         * math/e_j1l.c: Likewise.
41174         * math/e_jnl.c: Likewise.
41175         * math/e_lgammal_r.c: Likewise.
41176         * math/e_log10l.c: Likewise.
41177         * math/e_log2l.c: Likewise.
41178         * math/e_logl.c: Likewise.
41179         * math/e_powl.c: Likewise.
41180         * math/e_sinhl.c: Likewise.
41181         * math/e_sqrtl.c: Likewise.
41182         * math/e_scalb.c: Completely rewritten and optimized.
41183         * math/e_scalbf.c: Likewise.
41184         * math/e_scalbl.c: Likewise.
41185         * math/w_acos.c: Likewise.
41186         * math/w_acosf.c: Likewise.
41187         * math/w_acosl.c: Likewise.
41188         * math/w_acosh.c: Likewise.
41189         * math/w_acoshf.c: Likewise.
41190         * math/w_acoshl.c: Likewise.
41191         * math/w_asin.c: Likewise.
41192         * math/w_asinf.c: Likewise.
41193         * math/w_asinl.c: Likewise.
41194         * math/w_atan2.c: Likewise.
41195         * math/w_atan2f.c: Likewise.
41196         * math/w_atan2l.c: Likewise.
41197         * math/w_atanh.c: Likewise.
41198         * math/w_atanhf.c: Likewise.
41199         * math/w_atanhl.c: Likewise.
41200         * math/w_exp10.c: Likewise.
41201         * math/w_exp10f.c: Likewise.
41202         * math/w_exp10l.c: Likewise.
41203         * math/w_fmod.c: Likewise.
41204         * math/w_fmodf.c: Likewise.
41205         * math/w_fmodl.c: Likewise.
41206         * math/w_j0.c: Likewise.
41207         * math/w_j0f.c: Likewise.
41208         * math/w_j0l.c: Likewise.
41209         * math/w_j1.c: Likewise.
41210         * math/w_j1f.c: Likewise.
41211         * math/w_j1l.c: Likewise.
41212         * math/w_jn.c: Likewise.
41213         * math/w_jnf.c: Likewise.
41214         * math/w_log.c: Likewise.
41215         * math/w_logf.c: Likewise.
41216         * math/w_logl.c: Likewise.
41217         * math/w_log10.c: Likewise.
41218         * math/w_log10f.c: Likewise.
41219         * math/w_log10l.c: Likewise.
41220         * math/w_log2.c: Likewise.
41221         * math/w_log2f.c: Likewise.
41222         * math/w_log2l.c: Likewise.
41223         * math/w_pow.c: Likewise.
41224         * math/w_powf.c: Likewise.
41225         * math/w_powl.c: Likewise.
41226         * math/w_remainder.c: Likewise.
41227         * math/w_remainderf.c: Likewise.
41228         * math/w_remainderl.c: Likewise.
41229         * math/w_scalb.c: Likewise.
41230         * math/w_scalbf.c: Likewise.
41231         * math/w_scalbl.c: Likewise.
41232         * math/w_sqrt.c: Likewise.
41233         * math/w_sqrtf.c: Likewise.
41234         * math/w_sqrtl.c: Likewise.
41235         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41236         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
41237         used.
41238         * math/math_private.h: Declare __kernel_standard_f.
41239         * math/w_cosh.c: Remove cruft and optimize a bit.
41240         * math/w_coshf.c: Likewise.
41241         * math/w_coshl.c: Likewise.
41242         * math/w_exp2.c: Likewise.
41243         * math/w_exp2f.c: Likewise.
41244         * math/w_exp2l.c: Likewise.
41245         * math/w_hypot.c: Likewise.
41246         * math/w_hypotf.c: Likewise.
41247         * math/w_hypotl.c: Likewise.
41248         * math/w_lgamma.c: Likewise.
41249         * math/w_lgamma_r.c: Likewise.
41250         * math/w_lgammaf.c: Likewise.
41251         * math/w_lgammaf_r.c: Likewise.
41252         * math/w_lgammal.c: Likewise.
41253         * math/w_lgammal_r.c: Likewise.
41254         * math/w_sinh.c: Likewise.
41255         * math/w_sinhf.c: Likewise.
41256         * math/w_sinhl.c: Likewise.
41257         * math/w_tgamma.c: Likewise.
41258         * math/w_tgammaf.c: Likewise.
41259         * math/w_tgammal.c: Likewise.
41260         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41261         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41262         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41263         Minor optimizations.  Pretty printing.  Remove cruft.
41264         * sysdeps/i386/fpu/e_acosf.S: Likewise.
41265         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41266         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41267         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41268         * sysdeps/i386/fpu/e_acosl.c: Likewise.
41269         * sysdeps/i386/fpu/e_asin.S: Likewise.
41270         * sysdeps/i386/fpu/e_asinf.S: Likewise.
41271         * sysdeps/i386/fpu/e_atan2.S: Likewise.
41272         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41273         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41274         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41275         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41276         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41277         * sysdeps/i386/fpu/e_exp10.S: Likewise.
41278         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41279         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41280         * sysdeps/i386/fpu/e_exp2.S: Likewise.
41281         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41282         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41283         * sysdeps/i386/fpu/e_fmod.S: Likewise.
41284         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41285         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41286         * sysdeps/i386/fpu/e_hypot.S: Likewise.
41287         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41288         * sysdeps/i386/fpu/e_log.S: Likewise.
41289         * sysdeps/i386/fpu/e_log10.S: Likewise.
41290         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41291         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41292         * sysdeps/i386/fpu/e_log2.S: Likewise.
41293         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41294         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41295         * sysdeps/i386/fpu/e_logf.S: Likewise.
41296         * sysdeps/i386/fpu/e_logl.S: Likewise.
41297         * sysdeps/i386/fpu/e_pow.S: Likewise.
41298         * sysdeps/i386/fpu/e_powf.S: Likewise.
41299         * sysdeps/i386/fpu/e_powl.S: Likewise.
41300         * sysdeps/i386/fpu/e_remainder.S: Likewise.
41301         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41302         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41303         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41304         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41305         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41306         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41307         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41308         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41309         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41310         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41311         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41312         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41313         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41314         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41315         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41316         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41317         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41318         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41319         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41320         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41321         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41322         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41323         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41324         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41325         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41326         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41327         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41328         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41329         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41330         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41331         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41332         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41333         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41334         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41335         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41336         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41337         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41338         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41339         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41340         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41341         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41342         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41343         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41344         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41345         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41346         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41347         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41348         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41349         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41350         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41351         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41352         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41353         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41354         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41355         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41356         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41357         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41358         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41359         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41360         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41361         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41362         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41363         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41364         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41365         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41366         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41367         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41368         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41369         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41370         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41371         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41372         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41373         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41374         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41375         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41376         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41377         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41378         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41379         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41380         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41381         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41382         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41383         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41384         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41385         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41386         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41387         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41388         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41389         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41390         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41391         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41392         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41393         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41394         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41395         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41396         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41397         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41398         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41399         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41400         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41401         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41402         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41403         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41404         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41405         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41406         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41407         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41408         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41409         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41410         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41411         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41412         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41413         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41414         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41415         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41416         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41417         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41418         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41419         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
41420         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41421         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41422         (__isnanf): Likewise.
41423         (__isinf_ns): Likewise.
41424         (__isinf_nsf): Likewise.
41425         (__finite): Likewise.
41426         (__finitef): Likewise.
41427         (__ieee754_sqrt): Define as macro.
41428         (__ieee754_sqrtf): Define as macro.
41429         (__ieee754_sqrtl): Define as macro.
41430         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41431         inlined copy.
41432         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41433         __FINITE_MATH_ONLY__ consistent.
41434         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41435
41436 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
41437
41438         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41439         of rawmemchr.
41440
41441         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41442
41443 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
41444
41445         * po/ja.po: Update from translation team.
41446
41447 2011-10-08  Roland McGrath  <roland@hack.frob.com>
41448
41449         * locale/programs/locarchive.c (prepare_address_space): New function.
41450         (create_archive, enlarge_archive, open_archive): Use it.
41451
41452         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41453         inside [SHARED], where it is used.
41454
41455         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41456
41457         * nss/getent.c (netgroup_keys): Remove unused variable.
41458         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41459
41460 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
41461
41462         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41463         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41464         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41465         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41466         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41467         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41468         * math/Makefile (libm-calls): Add s_isinf_ns.
41469         * math/divtc3.c: Use __isinf_nsl instead of isinf.
41470         * math/multc3.c: Likewise.
41471         * math/s_casin.c: Likewise.
41472         * math/s_casinf.c: Likewise.
41473         * math/s_casinl.c: Likewise.
41474         * math/s_ccos.c: Likewise.
41475         * math/s_ccosf.c: Likewise.
41476         * math/s_ccosl.c: Likewise.
41477         * math/s_ctan.c: Likewise.
41478         * math/s_ctanf.c: Likewise.
41479         * math/s_ctanh.c: Likewise.
41480         * math/s_ctanhf.c: Likewise.
41481         * math/s_ctanhl.c: Likewise.
41482         * math/s_ctanl.c: Likewise.
41483         * math/w_fmod.c: Likewise.
41484         * math/w_fmodf.c: Likewise.
41485         * math/w_fmodl.c: Likewise.
41486         * math/w_remainder.c: Likewise.
41487         * math/w_remainderf.c: Likewise.
41488         * math/w_remainderl.c: Likewise.
41489         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41490         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41491         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41492         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41493         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41494         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41495         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41496         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41497
41498         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41499         of the number.
41500         * stdio-common/printf_fphex.c: Likewise.
41501         * stdio-common/printf_size.c: Likewise.
41502
41503         * math/e_exp10.c: Include math_private.h using <...> not "...".
41504         * math/e_exp10f.c: Likewise.
41505         * math/e_exp10l.c: Likewise.
41506         * math/e_exp2l.c: Likewise.
41507         * math/e_j0l.c: Likewise.
41508         * math/e_j1l.c: Likewise.
41509         * math/e_jnl.c: Likewise.
41510         * math/e_lgammal_r.c: Likewise.
41511         * math/e_rem_pio2l.c: Likewise.
41512         * math/e_scalb.c: Likewise.
41513         * math/e_scalbf.c: Likewise.
41514         * math/e_scalbl.c: Likewise.
41515         * math/k_cosl.c: Likewise.
41516         * math/k_sinl.c: Likewise.
41517         * math/k_tanl.c: Likewise.
41518         * math/s_cacoshf.c: Likewise.
41519         * math/s_catan.c: Likewise.
41520         * math/s_catanf.c: Likewise.
41521         * math/s_catanh.c: Likewise.
41522         * math/s_catanhf.c: Likewise.
41523         * math/s_catanhl.c: Likewise.
41524         * math/s_catanl.c: Likewise.
41525         * math/s_ccosh.c: Likewise.
41526         * math/s_ccoshf.c: Likewise.
41527         * math/s_ccoshl.c: Likewise.
41528         * math/s_cexp.c: Likewise.
41529         * math/s_cexpf.c: Likewise.
41530         * math/s_cexpl.c: Likewise.
41531         * math/s_clog.c: Likewise.
41532         * math/s_clog10.c: Likewise.
41533         * math/s_clog10f.c: Likewise.
41534         * math/s_clog10l.c: Likewise.
41535         * math/s_clogf.c: Likewise.
41536         * math/s_clogl.c: Likewise.
41537         * math/s_csin.c: Likewise.
41538         * math/s_csinf.c: Likewise.
41539         * math/s_csinh.c: Likewise.
41540         * math/s_csinhf.c: Likewise.
41541         * math/s_csinhl.c: Likewise.
41542         * math/s_csinl.c: Likewise.
41543         * math/s_csqrt.c: Likewise.
41544         * math/s_csqrtf.c: Likewise.
41545         * math/s_csqrtl.c: Likewise.
41546         * math/s_ctan.c: Likewise.
41547         * math/s_ctanf.c: Likewise.
41548         * math/s_ctanh.c: Likewise.
41549         * math/s_ctanhf.c: Likewise.
41550         * math/s_ctanhl.c: Likewise.
41551         * math/s_ctanl.c: Likewise.
41552         * math/s_ldexp.c: Likewise.
41553         * math/s_ldexpf.c: Likewise.
41554         * math/s_ldexpl.c: Likewise.
41555         * math/s_significand.c: Likewise.
41556         * math/s_significandf.c: Likewise.
41557         * math/s_significandl.c: Likewise.
41558         * math/w_acos.c: Likewise.
41559         * math/w_acosf.c: Likewise.
41560         * math/w_acosh.c: Likewise.
41561         * math/w_acoshf.c: Likewise.
41562         * math/w_acoshl.c: Likewise.
41563         * math/w_acosl.c: Likewise.
41564         * math/w_asin.c: Likewise.
41565         * math/w_asinf.c: Likewise.
41566         * math/w_asinl.c: Likewise.
41567         * math/w_atan2.c: Likewise.
41568         * math/w_atan2f.c: Likewise.
41569         * math/w_atan2l.c: Likewise.
41570         * math/w_atanh.c: Likewise.
41571         * math/w_atanhf.c: Likewise.
41572         * math/w_atanhl.c: Likewise.
41573         * math/w_cosh.c: Likewise.
41574         * math/w_coshf.c: Likewise.
41575         * math/w_coshl.c: Likewise.
41576         * math/w_dremf.c: Likewise.
41577         * math/w_exp10.c: Likewise.
41578         * math/w_exp10f.c: Likewise.
41579         * math/w_exp10l.c: Likewise.
41580         * math/w_exp2.c: Likewise.
41581         * math/w_exp2f.c: Likewise.
41582         * math/w_fmod.c: Likewise.
41583         * math/w_fmodf.c: Likewise.
41584         * math/w_fmodl.c: Likewise.
41585         * math/w_hypot.c: Likewise.
41586         * math/w_hypotf.c: Likewise.
41587         * math/w_hypotl.c: Likewise.
41588         * math/w_j0.c: Likewise.
41589         * math/w_j0f.c: Likewise.
41590         * math/w_j0l.c: Likewise.
41591         * math/w_j1.c: Likewise.
41592         * math/w_j1f.c: Likewise.
41593         * math/w_j1l.c: Likewise.
41594         * math/w_jn.c: Likewise.
41595         * math/w_jnf.c: Likewise.
41596         * math/w_jnl.c: Likewise.
41597         * math/w_lgamma.c: Likewise.
41598         * math/w_lgamma_r.c: Likewise.
41599         * math/w_lgammaf.c: Likewise.
41600         * math/w_lgammaf_r.c: Likewise.
41601         * math/w_lgammal.c: Likewise.
41602         * math/w_lgammal_r.c: Likewise.
41603         * math/w_log.c: Likewise.
41604         * math/w_log10.c: Likewise.
41605         * math/w_log10f.c: Likewise.
41606         * math/w_log10l.c: Likewise.
41607         * math/w_log2.c: Likewise.
41608         * math/w_log2f.c: Likewise.
41609         * math/w_log2l.c: Likewise.
41610         * math/w_logf.c: Likewise.
41611         * math/w_logl.c: Likewise.
41612         * math/w_pow.c: Likewise.
41613         * math/w_powf.c: Likewise.
41614         * math/w_powl.c: Likewise.
41615         * math/w_remainder.c: Likewise.
41616         * math/w_remainderf.c: Likewise.
41617         * math/w_remainderl.c: Likewise.
41618         * math/w_scalb.c: Likewise.
41619         * math/w_scalbf.c: Likewise.
41620         * math/w_scalbl.c: Likewise.
41621         * math/w_sinh.c: Likewise.
41622         * math/w_sinhf.c: Likewise.
41623         * math/w_sinhl.c: Likewise.
41624         * math/w_sqrt.c: Likewise.
41625         * math/w_sqrtf.c: Likewise.
41626         * math/w_sqrtl.c: Likewise.
41627         * math/w_tgamma.c: Likewise.
41628         * math/w_tgammaf.c: Likewise.
41629         * math/w_tgammal.c: Likewise.
41630
41631         * po/ja.po: Update from translation team.
41632
41633 2011-09-29  Andreas Jaeger  <aj@suse.de>
41634
41635         [BZ #13179]
41636         * sunrpc/netname.c (netname2host): Fix logic.
41637
41638         [BZ #6779]
41639         [BZ #6783]
41640         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41641         correctly.
41642         * math/w_remainder.c (__remainder): Likewise.
41643         * math/w_remainderf.c (__remainderf): Likewise.
41644         * math/libm-test.inc (remainder_test): Add test cases.
41645
41646 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41647
41648         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
41649         sdiv_qrnnd.
41650
41651 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41652
41653         * string/test-memcmp.c: Avoid unncessary #defines.
41654         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41655
41656 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41657
41658         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41659         Use new sse2 version for core i3 - i7 as it's faster
41660         than sse42 version.
41661         (bit_Prefer_PMINUB_for_stringop): New.
41662         * sysdeps/x86_64/rawmemchr.S: Update.
41663         Replace with faster SSE2 version.
41664         * sysdeps/x86_64/memrchr.S: New file.
41665         * sysdeps/x86_64/memchr.S: Update.
41666         Replace with faster SSE2 version.
41667
41668 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
41669
41670         * elf/dl-load.c (lose): Add cast to avoid warning.
41671
41672 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41673
41674         * po/ca.po: Update from translation team.
41675
41676         * inet/getnetgrent_r.c: Hook up nscd.
41677         * nscd/Makefile (routines): Add nscd_netgroup.
41678         (nscd-modules): Add netgroupcache.
41679         (CFLAGS-netgroupcache.c): Define.
41680         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41681         (cache_search): Add const to second parameter.
41682         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41683         INNETGR.
41684         (dbs): Add netgrdb entry.
41685         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41686         (verify_persistent_db): Handle netgrdb.
41687         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41688         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41689         GETFDNETGR.
41690         (netgroup_response_header): Define.
41691         (innetgroup_response_header): Define.
41692         (datahead): Add netgroup_response_header and innetgroup_response_header
41693         elements.
41694         * nscd/nscd.conf: Add entries for netgroup cache.
41695         * nscd/nscd.h (dbtype): Add netgrdb.
41696         (_PATH_NSCD_NETGROUP_DB): Define.
41697         (netgroup_iov_disabled): Declare.
41698         (xmalloc, xcalloc, xrealloc): Move declarations here.
41699         (cache_search): Adjust prototype.
41700         Add netgroup-related prototypes.
41701         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41702         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41703         (__nscd_innetgr): Declare.
41704         * nscd/selinux.c (perms): Use access_vector_t as element type and
41705         add netgroup-related initializers.
41706         * nscd/netgroupcache.c: New file.
41707         * nscd/nscd_netgroup.c: New file.
41708         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41709         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41710         For four parameters use innetgr.
41711         * nss/nss_files/files-init.c: Add definition and callback for netgr.
41712         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41713         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41714         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41715
41716         * nscd/connections.c (register_traced_file): Don't register file
41717         for disabled databases.
41718
41719 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
41720
41721         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41722
41723         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41724         from tree and freeing node.
41725
41726 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
41727
41728         * nss/nsswitch.c (__nss_database_lookup): Handle
41729         nss_parse_service_list out of memory case.
41730
41731 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
41732
41733         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41734         out of memory case.
41735
41736 2011-10-04  Andreas Schwab  <schwab@redhat.com>
41737
41738         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41739         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41740         pass it down.
41741         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41742         elf_machine_rela, elf_machine_lazy_rel.
41743         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41744         (ELF_DYNAMIC_DO_REL): Likewise.
41745         (ELF_DYNAMIC_DO_RELA): Likewise.
41746         (ELF_DYNAMIC_RELOCATE): Likewise.
41747         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41748         to ELF_DYNAMIC_DO_REL.
41749         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41750         (dl_main): In trace mode always set __RTLD_NOIFUNC.
41751         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41752         elf_machine_rela.
41753         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41754         skip_ifunc, don't call ifunc function if non-zero.
41755         (elf_machine_rela): Likewise.
41756         (elf_machine_lazy_rel): Likewise.
41757         (elf_machine_lazy_rela): Likewise.
41758         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41759         (elf_machine_lazy_rel): Likewise.
41760         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41761         Likewise.
41762         (elf_machine_lazy_rel): Likewise.
41763         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41764         Likewise.
41765         (elf_machine_lazy_rel): Likewise.
41766         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41767         (elf_machine_lazy_rel): Likewise.
41768         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41769         (elf_machine_lazy_rel): Likewise.
41770         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41771         (elf_machine_lazy_rel): Likewise.
41772         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41773         (elf_machine_lazy_rel): Likewise.
41774         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41775         (elf_machine_lazy_rel): Likewise.
41776         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41777         (elf_machine_lazy_rel): Likewise.
41778
41779 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
41780
41781         * nss/nss_files/files-init.c (_nss_files_init): Use static
41782         initialization for all the *_traced_file variables.
41783
41784 2011-09-28  Andreas Schwab  <schwab@redhat.com>
41785
41786         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41787
41788 2011-09-27  Roland McGrath  <roland@hack.frob.com>
41789
41790         [BZ #13226]
41791         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41792
41793 2011-09-27  Andreas Schwab  <schwab@redhat.com>
41794
41795         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41796         Reread the line before reparsing it.
41797
41798 2011-09-26  Andreas Schwab  <schwab@redhat.com>
41799
41800         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41801
41802 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
41803             Maxim Kuvyrkov  <maxim@codesourcery.com>
41804             Joseph Myers  <joseph@codesourcery.com>
41805
41806         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41807         if needed for __stack_chk_guard.
41808
41809 2011-09-19  Roland McGrath  <roland@hack.frob.com>
41810
41811         * sysdeps/posix/spawni.c (script_execute): Always define it.
41812         It will be optimized away if unused.
41813         (maybe_script_execute): New function.
41814         (__spawni): Call it.
41815
41816         * Makerules: Don't include tls.make.
41817         (config-tls): Always set to thread.
41818         * tls.make.c: File removed.
41819
41820 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
41821
41822         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41823         * config.make.in (CPPFLAGS-config): New substituted variable.
41824
41825 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41826
41827         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41828
41829         [BZ #13192]
41830         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41831         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41832
41833 2011-09-15  Roland McGrath  <roland@hack.frob.com>
41834
41835         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41836         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41837         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41838         (CALL_FAIL): Likewise.
41839         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41840         (CALL_FAIL): Macro removed.
41841         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41842
41843 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41844
41845         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41846         for __FINITE_MATH_ONLY__ == 1.
41847
41848 2011-09-15  Andreas Schwab  <schwab@redhat.com>
41849
41850         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41851         __ieee754_sqrt instead of sqrt.
41852         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41853         __ieee754_sqrtf instead of sqrtf.
41854         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41855         __floorf instead of floorf.
41856         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41857         __floorf, __truncf instead of floorf, truncf.
41858
41859 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
41860
41861         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41862
41863         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41864         __extern_always_inline.
41865         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41866         32-bit.
41867
41868 2011-09-14  Andreas Schwab  <schwab@redhat.com>
41869
41870         * elf/rtld.c (dl_main): Also relocate in dependency order when
41871         doing symbol dependency testing.
41872
41873 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
41874
41875         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41876         Always define `refsym'.
41877
41878 2011-09-13  Andreas Schwab  <schwab@redhat.com>
41879
41880         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41881         (__FD_ELT): Renamed from __FDELT.
41882         * misc/bits/select2.h (__FD_ELT): Likewise.
41883         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41884         __FD_MASK instead of __FDELT, __FDMASK.
41885         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41886         Likewise.
41887         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41888         Likewise.
41889
41890         * elf/Makefile (gen-ldd): Fix pattern.
41891
41892         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41893         (init_tls): Likewise.
41894
41895 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
41896
41897         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41898
41899 2011-09-12  Andreas Schwab  <schwab@redhat.com>
41900
41901         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41902         `struct cmsghdr *' instead of `void *'.
41903         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41904         Likewise.
41905
41906 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
41907
41908         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41909         if non-absolute.
41910         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41911         ldd_rewrite_script.
41912
41913 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
41914
41915         * configure.in: Remove --with-tls option.
41916         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41917         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41918         out in case it is missing.
41919         * sysdeps/ia64/elf/configure.in: Likewise.
41920         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41921         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41922         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41923         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41924         * sysdeps/sh/elf/configure.in: Likewise.
41925         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41926         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41927         * sysdeps/x86_64/elf/configure.in: Likewise.
41928         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41929         * sysdeps/mach/hurd/tls.h: Likewise.
41930
41931         [BZ #13067]
41932         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41933
41934         [BZ #13090]
41935         * configure.in: Fix use of AC_INIT.
41936
41937         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41938
41939 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
41940
41941         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41942         __set_errno.
41943         * malloc/hooks.c: Likewise.
41944
41945         [BZ #11929]
41946         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
41947         variables statically.
41948         (narenas): Initialize.
41949         (list_lock): Initialize.
41950         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
41951         initializtion of main_arena and list_lock.  Small cleanups.
41952         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41953         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
41954         Add initializers to main_arena and mp_.
41955         (malloc_state): Remove pagesize member.  Change all users to use
41956         GLRO(dl_pagesize).
41957
41958         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41959         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
41960         is always initialized.
41961
41962         * malloc/malloc.c: Removed unused configurations and dead code.
41963         * malloc/arena.c: Likewise.
41964         * malloc/hooks.c: Likewise.
41965         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41966
41967         * include/tls.h: Removed.  USE___THREAD must always be defined.
41968         * bits/libc-tsd.h: Don't handle !USE___THREAD.
41969         * elf/dl-libc.c: Likewise.
41970         * elf/dl-tsd.c: Likewise.
41971         * include/errno.h: Likewise.
41972         * include/netdb.h: Likewise.
41973         * include/resolv.h: Likewise.
41974         * inet/herrno-loc.c: Likewise.
41975         * inet/herrno.c: Likewise.
41976         * malloc/arena.c: Likewise.
41977         * malloc/hooks.c: Likewise.
41978         * malloc/malloc.c: Likewise.
41979         * resolv/res-state.c: Likewise.
41980         * resolv/res_libc.c: Likewise.
41981         * sysdeps/i386/dl-machine.h: Likewise.
41982         * sysdeps/ia64/dl-machine.h: Likewise.
41983         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41984         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41985         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41986         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41987         * sysdeps/sh/dl-machine.h: Likewise.
41988         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41989         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41990         * sysdeps/unix/i386/sysdep.S: Likewise.
41991         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41992         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41993         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41994         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41995         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41996         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41997         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41998         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41999         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42000         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42001         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42002         * sysdeps/x86_64/dl-machine.h: Likewise.
42003         * tls.make.c: Likewise.
42004
42005         * configure.in: Remove --with-__thread option.  Make tests for
42006         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42007         tls_model attribute fail if no support is available.  Remove
42008         USE_IN_LIBIO.
42009         * Makeconfig: Adjust for dropped configure option.  All features are
42010         now mandatory.
42011         * Makerules: Likewise.
42012         * Versions.def: Likewise.
42013         * argp/argp-fmtstream.c: Likewise.
42014         * argp/argp-fmtstream.h: Likewise.
42015         * argp/argp-help.c: Likewise.
42016         * assert/assert.c: Likewise.
42017         * config.h.in: Likewise.
42018         * config.make.in: Likewise.
42019         * configure: Likewise.
42020         * configure.in: Likewise.
42021         * csu/Versions: Likewise.
42022         * csu/init.c: Likewise.
42023         * elf/tst-audit2.c: Likewise.
42024         * elf/tst-tls10.c: Likewise.
42025         * elf/tst-tls10.h: Likewise.
42026         * elf/tst-tls11.c: Likewise.
42027         * elf/tst-tls12.c: Likewise.
42028         * elf/tst-tls14.c: Likewise.
42029         * elf/tst-tlsmod11.c: Likewise.
42030         * elf/tst-tlsmod12.c: Likewise.
42031         * elf/tst-tlsmod13.c: Likewise.
42032         * elf/tst-tlsmod13a.c: Likewise.
42033         * elf/tst-tlsmod14a.c: Likewise.
42034         * elf/tst-tlsmod15b.c: Likewise.
42035         * elf/tst-tlsmod16a.c: Likewise.
42036         * elf/tst-tlsmod16b.c: Likewise.
42037         * elf/tst-tlsmod7.c: Likewise.
42038         * elf/tst-tlsmod8.c: Likewise.
42039         * elf/tst-tlsmod9.c: Likewise.
42040         * gmon/gmon.c: Likewise.
42041         * grp/fgetgrent_r.c: Likewise.
42042         * grp/putgrent.c: Likewise.
42043         * hurd/fopenport.c: Likewise.
42044         * include/libc-symbols.h: Likewise.
42045         * include/tls.h: Likewise.
42046         * intl/gettextP.h: Likewise.
42047         * intl/loadinfo.h: Likewise.
42048         * locale/global-locale.c: Likewise.
42049         * locale/localeinfo.h: Likewise.
42050         * mach/devstream.c: Likewise.
42051         * malloc/arena.c: Likewise.
42052         * malloc/set-freeres.c: Likewise.
42053         * misc/err.c: Likewise.
42054         * misc/getttyent.c: Likewise.
42055         * misc/mntent_r.c: Likewise.
42056         * posix/getopt.c: Likewise.
42057         * posix/wordexp.c: Likewise.
42058         * pwd/fgetpwent_r.c: Likewise.
42059         * resolv/Versions: Likewise.
42060         * resolv/res_hconf.c: Likewise.
42061         * shadow/fgetspent_r.c: Likewise.
42062         * shadow/putspent.c: Likewise.
42063         * stdio-common/printf_fphex.c: Likewise.
42064         * stdio-common/tmpfile.c: Likewise.
42065         * stdlib/abort.c: Likewise.
42066         * stdlib/fmtmsg.c: Likewise.
42067         * sunrpc/auth_unix.c: Likewise.
42068         * sunrpc/clnt_perr.c: Likewise.
42069         * sunrpc/clnt_tcp.c: Likewise.
42070         * sunrpc/clnt_udp.c: Likewise.
42071         * sunrpc/clnt_unix.c: Likewise.
42072         * sunrpc/openchild.c: Likewise.
42073         * sunrpc/svc_simple.c: Likewise.
42074         * sunrpc/svc_tcp.c: Likewise.
42075         * sunrpc/svc_udp.c: Likewise.
42076         * sunrpc/svc_unix.c: Likewise.
42077         * sunrpc/xdr.c: Likewise.
42078         * sunrpc/xdr_array.c: Likewise.
42079         * sunrpc/xdr_rec.c: Likewise.
42080         * sunrpc/xdr_ref.c: Likewise.
42081         * sunrpc/xdr_stdio.c: Likewise.
42082
42083 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42084
42085         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42086
42087 2011-07-03  Andreas Jaeger  <aj@suse.de>
42088
42089         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42090         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42091         regenerate with gen-libm-tests.pl.
42092
42093 2010-05-12  Petr Baudis  <pasky@suse.cz>
42094
42095         [BZ #11589]
42096         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42097         around j0() zero points by switching to j1().
42098         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42099         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42100         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42101         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42102
42103 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42104
42105         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42106         instead of 0.
42107         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42108         instead of 0.
42109         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42110         Patch in part by Pavel Roskin <proski@gnu.org>.
42111
42112         [BZ #13138]
42113         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42114         realloc.
42115         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
42116         Free memory block if necessary.
42117
42118         [BZ #12847]
42119         * libio/genops.c (INTDEF): For string streams the _lock pointer can
42120         be NULL.  Don't lock in this case.
42121
42122 2011-09-09  Roland McGrath  <roland@hack.frob.com>
42123
42124         * elf/elf.h (ELFOSABI_GNU): New macro.
42125         (ELFOSABI_LINUX): Define to that.
42126
42127 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
42128
42129         * string/strncat.c (strncat): Undef the symbol in case it has been
42130         defined in bits/string.h.
42131
42132 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42133
42134         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42135
42136         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42137         link map.
42138
42139 2011-08-17  Andreas Jaeger  <aj@suse.de>
42140
42141         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42142
42143 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42144             Ian Lance Taylor  <iant@google.com>
42145
42146         * math/libm-test.inc (lround_test): New testcase.
42147         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42148
42149 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
42150
42151         * Makefile: Remove support for automatic cvs check-ins.
42152         * Makerules: Likewise.
42153         * config.make.in: Likewise.
42154         * configure.in: Likewise.
42155         * intl/Makefile: Likewise.
42156         * locale/Makefile: Likewise.
42157         * po/Makefile: Likewise.
42158         * posix/Makefile: Likewise.
42159         * sysdeps/gnu/Makefile: Likewise.
42160         * sysdeps/mach/hurd/Makefile: Likewise.
42161         * sysdeps/sparc/sparc32/Makefile: Likewise.
42162
42163         [BZ #13118]
42164         * posix/Makefile (bug-regex32-ENV): Define.
42165         Patch by John Stanley <jpsinthemix@verizon.net>.
42166
42167         * misc/Makefile (headers): Add bits/select2.h.
42168         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42169         * misc/bits/select2.h: New file.
42170         * include/bits/select2.h: New file.
42171         * debug/Makefile (routines): Add fdelt_chk.
42172         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42173         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42174         FD_ISSET.
42175         * debug/fdelt_chk.c: New file.
42176
42177         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
42178         * wcsmbs/test-wmemcmp.c: Likewise.
42179         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42180         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42181
42182 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42183
42184         * string/Makefile (strop-tests): Add memcmp.
42185         * string/test-wmemcmp.c: New file.
42186         * string/test-memcmp.c: Add wmemcmp support.
42187
42188 2011-09-08  Roland McGrath  <roland@hack.frob.com>
42189
42190         [BZ #13153]
42191         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42192         2011-07-19 change.
42193
42194         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42195         garbage value in a __mach_port_mod_refs call in the cases of the
42196         task-self and thread-self ports.
42197
42198 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42199
42200         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42201
42202 2011-09-08  Andreas Schwab  <schwab@redhat.com>
42203
42204         * elf/dl-load.c (lose): Check for non-null L.
42205
42206 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42207
42208         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42209
42210         * elf/dl-libc.c (dlerror_run): Pass back error code from
42211         dl_catch_error.
42212
42213         [BZ #13123]
42214         * elf/dl-load.c (lose): Free l_origin if it is valid.
42215
42216         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42217         names.
42218         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42219         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42220         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42221         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42222         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42223         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42224
42225 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42226
42227         * sysdeps/powerpc/fpu/e_hypot.c: New file.
42228         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42229         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42230         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42231         * sysdeps/powerpc/fpu/k_cosf.c: New file.
42232         * sysdeps/powerpc/fpu/k_sinf.c: New file.
42233         * sysdeps/powerpc/fpu/s_cosf.c: New file.
42234         * sysdeps/powerpc/fpu/s_sinf.c: New file.
42235         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42236         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42237
42238 2011-08-15  Alan Modra  <amodra@gmail.com>
42239
42240         [BZ #13092]
42241         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42242         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42243         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
42244         ppc_mcount to static-only-routines.
42245         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42246         __mcount_internal.
42247         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42248         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
42249
42250 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
42251
42252         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42253         for finite and infinity parameters.
42254
42255 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42256
42257         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42258         and add nop instructions for throughput optimization.
42259         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42260
42261 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
42262
42263         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42264         aligned copy for power7 with vector-scalar instructions.
42265         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42266
42267 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
42268
42269         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42270         AVX check.
42271
42272 2011-09-07  Andreas Schwab  <schwab@redhat.com>
42273
42274         [BZ #13144]
42275         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42276         last change.
42277
42278 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42279
42280         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42281         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42282         syscall wrapper around clock_gettime in __vdso_clock_gettime.
42283         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42284         clock_gettime.
42285
42286 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42287
42288         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42289         Forgot to demangle the pointer.
42290
42291         * sysdeps/i386/sysdep.h: Define atom_text_section.
42292         * sysdeps/x86_64/sysdep.h: Likewise.
42293         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42294         section with atom_text_section.
42295         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42296         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42297         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42298         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42299         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42300
42301         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42302         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42303         already be defined.  Change to take two parameters and don't assign
42304         result to variable.  Adjust all users.
42305         Define INTERNAL_GETTIME if not already defined.
42306         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42307         call.
42308         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42309         HAVE_CLOCK_GETTIME_VSYSCALL.
42310         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42311
42312         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42313         gettimeofday vsyscall, just use time.
42314
42315 2011-09-06  Andreas Schwab  <schwab@redhat.com>
42316
42317         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42318         <errno.h>.
42319
42320 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42321
42322         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42323         syscall on x86-64.
42324         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42325         syscall.
42326         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42327         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42328         syscall if possible.
42329
42330 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42331
42332         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42333         e_ident.  Don't pass to find_mapsXX.
42334         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42335
42336 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42337
42338         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42339         strchr-sse2-no-bsf strrchr-sse2-no-bsf
42340         * sysdeps/x86_64/multiarch/strchr.S: Update.
42341         Check bit_slow_BSF bit.
42342         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42343         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42344         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42345
42346 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42347
42348         [BZ #13134]
42349         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42350         before glibc 2.15.
42351         (tryshell): Define.
42352         (__spawni): Change last parameter to be flag.  Test
42353         SPAWN_XFLAGS_USE_PATH flag to use path or not.
42354         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42355         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42356         * posix/spawni.c: Likewise.
42357         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42358         * posix/spawnp.c: Likewise.  Change normal version to use
42359         SPAWN_XFLAGS_USE_PATH.
42360         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42361         SPAWN_XFLAGS_TRY_SHELL.
42362
42363         [BZ #13150]
42364         * posix/glob.h: Remove gcc 1.x support.
42365
42366         [BZ #13068]
42367         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42368
42369 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42370
42371         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42372         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42373         strrchr-sse2-bsf
42374         * sysdeps/i386/i686/multiarch/strchr.S: New file.
42375         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42376         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42377         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42378         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42379         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42380
42381 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42382
42383         * sysdeps/x86_64/wcscmp.S: New file.
42384
42385         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42386         wcscmp-c wcscmp-sse2
42387         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42388         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42389         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42390         * wcsmbs/wcscmp.c: Allow renaming.
42391
42392 2011-09-05  David S. Miller  <davem@davemloft.net>
42393
42394         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42395         stack slot, rather than the struct return pointer slot.
42396         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42397         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42399         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42400
42401 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42402
42403         * po/ja.po: Update from translation team.
42404
42405         [BZ #13144]
42406         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42407         kernel in 64-bit binaries.
42408
42409 2011-09-01  David S. Miller  <davem@davemloft.net>
42410
42411         * elf/elf.h (HWCAP_SPARC_*): Move to..
42412         * sysdeps/sparc/sysdep.h: this new file and add new values.
42413         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42414         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42415         _DL_HWCAP_COUNT to 24.
42416         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42417         entries.
42418         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42419         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42420         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42421         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42422         instead of magic constants.
42423         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42424
42425 2011-08-31  David S. Miller  <davem@davemloft.net>
42426
42427         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42428         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42429         Reimplement to do errno handling inline.
42430         (SYSCALL_ERROR_HANDLER): New macro.
42431         (__SYSCALL_STRING): Do not do errno handling in asm.
42432         (__CLONE_SYSCALL_STRING): Delete.
42433         (__INTERNAL_SYSCALL_STRING): Delete.
42434         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42435         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42436         (PSEUDO): Reimplement to do errno handling inline.
42437         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42438         (SYSCALL_ERROR_HANDLER): New macro.
42439         (__SYSCALL_STRING): Do not do errno handling in asm.
42440         (__CLONE_SYSCALL_STRING): Delete.
42441         (__INTERNAL_SYSCALL_STRING): Delete.
42442         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42443         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42444         i386.
42445         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42446         (inline_syscall*): Add 'err' argument.
42447         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42448         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42449         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42450         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42451
42452         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42453         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42454
42455 2011-08-30  Andreas Schwab  <schwab@redhat.com>
42456
42457         * elf/rtld.c (dl_main): Relocate objects in dependency order.
42458
42459 2011-08-29  Jiri Olsa <jolsa@redhat.com>
42460
42461         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42462         directive.
42463
42464 2011-08-24  David S. Miller  <davem@davemloft.net>
42465
42466         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42467
42468 2011-08-24  Andreas Schwab  <schwab@redhat.com>
42469
42470         * elf/Makefile: Add rules to build and run unload8 test.
42471         * elf/unload8.c: New file.
42472         * elf/unload8mod1.c: New file.
42473         * elf/unload8mod1x.c: New file.
42474         * elf/unload8mod2.c: New file.
42475         * elf/unload8mod3.c: New file.
42476
42477         * elf/dl-close.c (_dl_close_worker): Reset private search list if
42478         it wasn't used.
42479
42480 2011-08-23  David S. Miller  <davem@davemloft.net>
42481
42482         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42483         subtract stack bias.
42484         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42485         %sp not %fp in calculations.
42486         (_JMPBUF_UNWINDS_ADJ): Likewise.
42487
42488         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42489         (aio_suspend): Call it to force an exception region around the
42490         AIO_MISC_WAIT() invocation.
42491
42492 2011-08-23  Andreas Schwab  <schwab@redhat.com>
42493
42494         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42495         backslash.
42496
42497 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
42498
42499         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42500         protection macro.
42501         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42502         and <dl-machine.h>.
42503         (Elf64_FuncDesc): Remove.
42504
42505 2011-08-22  David S. Miller  <davem@davemloft.net>
42506
42507         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42508         sigaltstack check, add missing cfi directives.
42509         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42510         missing cfi directives, and sigaltstack handling.
42511
42512 2011-08-16  Andreas Schwab  <schwab@redhat.com>
42513
42514         [BZ #11724]
42515         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42516         object is seen twice.
42517         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42518
42519         * elf/Makefile (distribute): Add tst-initorder2.c.
42520         (tests): Add tst-initorder2.
42521         (modules-names): Add tst-initorder2a tst-initorder2b
42522         tst-initorder2c tst-initorder2d.  Add rules to build them.
42523         ($(objpfx)tst-initorder2.out): New rule.
42524         * elf/tst-initorder2.c: New file.
42525         * elf/tst-initorder2.exp: New file.
42526
42527 2011-08-22  Andreas Schwab  <schwab@redhat.com>
42528
42529         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42530
42531         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42532         dependencies back to end of function.
42533
42534         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42535         $(elfobjdir)/ld.so.
42536
42537 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
42538
42539         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42540         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42541         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42542         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42543         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42544         of __vdso_gettimeofday.
42545         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42546         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
42547         attribute_hidden.
42548         (_libc_vdso_platform_setup): Remove initialization of
42549         __vdso_gettimeofday and __vdso_time.
42550
42551 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42552
42553         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42554         and fgetc_unlocked.
42555         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42556         getc_unlocked.
42557
42558         * elf/dl-open.c (add_to_global): Report additions to the global scope
42559         for LD_DEBUG=scopes.
42560         (dl_open_worker): Also print scope of newly loaded dependencies.
42561         (_dl_show_scope): Indicate if there is no scope.
42562
42563         [BZ #13114]
42564         * stdio-common/Makefile (tests): Add bug24.
42565         * stdio-common/bug24.c: New file.
42566
42567 2011-08-19  Andreas Jaeger  <aj@suse.de>
42568
42569         [BZ #13114]
42570         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42571         non-existant file when using close-on-exec mode.
42572
42573 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42574
42575         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42576         the very first instruction.
42577
42578         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42579         the CFI state in the end.
42580         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42581         inclusion of dl-trampoline.h.
42582         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42583
42584 2011-08-19  Andreas Schwab  <schwab@redhat.com>
42585
42586         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42587         expectations for long double.
42588
42589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42590         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42591
42592 2011-08-14  David S. Miller  <davem@davemloft.net>
42593
42594         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42595         artificual limit depends upon the system page size.
42596
42597 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42598
42599         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42600         * resolv/Makefile: Define CFLAGS-libresolv.
42601
42602 2011-08-17  Andreas Schwab  <schwab@redhat.com>
42603
42604         * nss/makedb.c (compute_tables): Make variables used in nested
42605         function static.
42606
42607 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42608
42609         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42610         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42611         if buffer was too small.
42612
42613         * elf/pldd.c (main): Attach to all threads in the process.
42614         Rewrite /proc handling to use *at functions.
42615
42616 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
42617
42618         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42619         specifies first scope to show.
42620         (dl_open_worker): Update callers.  Move printing scope of new
42621         object to before the relocation.
42622         * elf/rtld.c (dl_main): Update _dl_show_scope call.
42623         * sysdeps/generic/ldsodefs.h: Update declaration.
42624
42625         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42626         string for the scope number.
42627
42628 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
42629
42630         * nscd/servicescache.c (cache_addserv): Make sure written is always
42631         initialized.
42632
42633 2011-08-14  Roland McGrath  <roland@hack.frob.com>
42634
42635         * sysdeps/i386/i486/bits/atomic.h
42636         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42637         statement expression, so as to suppress "set but not used" warning.
42638         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42639
42640         * string/strncat.c (STRNCAT): Use prototype definition.
42641
42642         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42643         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42644         -Iprograms here.
42645         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42646         (localedef-modules): Add localedef.
42647         (locale-modules): Add locale.
42648
42649         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42650         * elf/rtld.c (dl_main): Invert order of assignment in last change,
42651         to avoid a warning.
42652
42653 2011-08-14  David S. Miller  <davem@davemloft.net>
42654
42655         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42656         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42657
42658 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
42659
42660         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42661         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42662         * elf/rtld.c (dl_main): Set l_name of vDSO.
42663         Call _dl_show_scope when DL_DEBUG_SCOPES.
42664         (process_dl_debug): Recognize scopes flag and also set it for all.
42665         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42666         Declare _dl_show_scope.
42667
42668         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42669         (do_dlopen): Pass caller_dlopen to dl_open.
42670         (__libc_dlopen_mode): Initialize caller_dlopen.
42671
42672         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42673         of libc.  Make tolower call locale-independent.  Optimize a bit by
42674         using isdigit instead of isalnum.
42675         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42676
42677 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
42678
42679         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42680         was a dependency or dynamically loaded.
42681
42682 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
42683
42684         * intl/l10nflist.c: Allow architecture-specific pop function.
42685         * sysdeps/x86_64/l10nflist.c: New file.
42686
42687         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42688         classification.
42689
42690 2011-08-10  Andreas Schwab  <schwab@redhat.com>
42691
42692         * include/dirent.h: Add libc_hidden_proto for scandirat and
42693         scandirat64.  Don't declare __scandirat64.
42694         * dirent/scandirat.c: Add libc_hidden_def.
42695         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42696         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42697
42698 2011-08-10  David S. Miller  <davem@davemloft.net>
42699
42700         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42701         enum.
42702         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42703         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42704         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42705
42706 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
42707
42708         * Versions.def [libc]: Add GLIBC_2.15.
42709         * dirent/Makefile (routines): Add scandirat and scandirat64.
42710         * dirent/Versions [libc]: Export scandirat and scandirat64 for
42711         GLIBC_2.15.
42712         * dirent/dirent.h: Declare scandirat and scandirat64.
42713         * dirent/scandirat.c: New file.
42714         * dirent/scandirat64.c: New file.
42715         * sysdeps/wordsize-64/scandirat.c: New file.
42716         * sysdeps/wordsize-64/scandirat64.c: New file.
42717         * dirent/opendir.c: Define opendirat.
42718         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
42719         using scandirat.
42720         * dirent/scandir64.c: Adjust for scandir.c change.
42721         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
42722         __scandirat64, and __scandir_cancel_handler.
42723         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
42724         additional parameter and use openat instead of open (outside of ld.so).
42725         Add new __opendir as wrapper around __opendirat.
42726         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42727         here without requiring old scandirat implementation.
42728
42729 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
42730
42731         * dirent/scandir.c (cancel_handler): Renamed to
42732         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
42733         defined.  Adjust users.
42734         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42735         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42736
42737 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
42738
42739         * string/test-string.h (IMPL): Use __STRING to expand name and then
42740         stringify it.
42741
42742         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
42743         of cleanups.
42744
42745 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42746
42747         * string/Makefile: Update.
42748         (strop-tests): Append strncat.
42749         * string/test-wcscmp.c: New file.
42750         New comprehensive test for wcscmp.
42751         * string/test-strcmp.c: Update.
42752         (WIDE): New define.
42753
42754 2011-07-22  Andreas Schwab  <schwab@redhat.com>
42755
42756         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42757         line.
42758
42759 2011-07-26  Andreas Schwab  <schwab@redhat.com>
42760
42761         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42762         encoding to ACE if AI_IDN.
42763
42764 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
42765
42766         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42767         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42768
42769 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42770
42771         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42772         Fix overflow bug in strncat.
42773         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42774
42775         * string/test-strncat.c: Update.
42776         Add new tests for checking overflow bugs.
42777
42778 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42779
42780         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42781         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42782         * sysdeps/i386/i686/multiarch/strcat.S: New file.
42783         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42784         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42785         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42786         * sysdeps/i386/i686/multiarch/strncat.S: New file.
42787         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42788         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42789
42790         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42791         (USE_AS_STRCAT): Define.
42792         Add strcat and strncat support.
42793         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42794
42795 2011-07-25  Andreas Schwab  <schwab@redhat.com>
42796
42797         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42798         __n bigger than INT_MAX+1.
42799         (__strncmp_g): Likewise.
42800
42801 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
42802
42803         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42804         * libio/stido.h: Likewise.
42805
42806         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42807         (AF_NFC): Define.
42808         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42809         (AF_NFC): Define.
42810
42811         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42812         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42813         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42814         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42815         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42816
42817         [BZ #13021]
42818         * scripts/test-installation.pl: Don't expect libnss_test1 to be
42819         installed.
42820
42821         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42822         typo.
42823         (_dl_x86_64_save_sse): Likewise.
42824
42825 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
42826
42827         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42828         OSXSAVE.
42829         (_dl_x86_64_save_sse): Likewise.
42830
42831         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42832
42833         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42834
42835 2011-07-21  Andreas Schwab  <schwab@redhat.com>
42836
42837         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42838         change.
42839         (_dl_x86_64_save_sse): Use correct AVX check.
42840
42841 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42842
42843         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42844         bug in strncpy/strncat.
42845         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42846
42847 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
42848
42849         * string/tester.c (test_strcat): Add tests for different alignments
42850         of source and destination.
42851         (test_strncat): Likewise.
42852
42853 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42854
42855         [BZ #12852]
42856         * posix/glob.c (glob): Check passed in values before using them in
42857         expressions to avoid some overflows.
42858         (glob_in_dir): Likewise.
42859
42860         [BZ #13007]
42861         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42862         check for AVX enablement so that we don't crash with old kernels and
42863         new hardware.
42864         * elf/tst-audit4.c: Add same checks here.
42865         * elf/tst-audit6.c: Likewise.
42866
42867         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42868
42869 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
42870
42871         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42872
42873 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42874
42875         * po/cs.po: Update from translation team.
42876         * po/bg.po: Likewise.
42877
42878 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
42879
42880         * misc/sys/cdefs.h: Add support for const attribute.
42881         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42882         to gnu_dev_{major,minor,makedev} functions.
42883
42884 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
42885
42886         * intl/dcigettext.c (get_output_charset): Add missing bracket.
42887
42888 2011-07-20  Andreas Schwab  <schwab@redhat.com>
42889
42890         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42891         strlen results.
42892
42893 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42894
42895         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42896         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42897         register in order to avoid conflicts with the soft frame pointer
42898         being held in r11 when necessary.
42899         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42900         (INTERNAL_VSYSCALL_NCS): Likewise.
42901
42902 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
42903
42904         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42905         * elf/dl-fini.c (_dl_fini): Adjust caller.
42906         * elf/dl-close.c (_dl_close_worker): Likewise.
42907         * sysdeps/generic/ldsodefs.h: Adjust declaration.
42908
42909 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42910
42911         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42912         "aux_cache->nlibs < 0".
42913
42914         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42915         in the reload-count case.
42916
42917 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42918
42919         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42920         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42921         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42922         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42923         * sysdeps/x86_64/multiarch/strcat.S: New file.
42924         * sysdeps/x86_64/multiarch/strncat.S: New file.
42925         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42926         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42927         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42928         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42929         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42930         (USE_AS_STRCAT): Define.
42931         Add strcat and strncat support.
42932         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42933         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42934         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42935         * string/strncat.c: Update.
42936         (USE_AS_STRNCAT): Define.
42937         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42938         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42939         and i7.
42940         * sysdeps/x86_64/multiarch/init-arch.h
42941         (bit_Prefer_PMINUB_for_stringop): New.
42942         (index_Prefer_PMINUB_for_stringop): Likewise.
42943         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42944         bit_Prefer_PMINUB_for_stringop.
42945
42946 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42947
42948         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42949         buffer64.
42950         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42951         of casting of buffer.
42952         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42953         buffer32 and buffer64.
42954         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42955         writes instead of casting of buffer.
42956         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42957         buffer32.
42958         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42959         casting of buffer.
42960
42961 2011-07-19  Andreas Schwab  <schwab@redhat.com>
42962
42963         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42964
42965 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42966
42967         * nscd/nscd.c (termination_handler): Don't do anything for a database
42968         if it has not yet been initialized.
42969
42970 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42971
42972         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42973
42974 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42975
42976         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42977
42978 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42979
42980         * po/nl.po: Update from translation team.
42981         * po/sv.po: Likewise.
42982
42983 2011-07-16  Roland McGrath  <roland@hack.frob.com>
42984
42985         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42986         now disallowed by GCC.
42987
42988         * configure.in (use-default-link): Default to yes if a test -shared
42989         link meets our qualifications.
42990         * configure: Regenerated.
42991
42992         * config.make.in (output-format): New variable.
42993         * configure.in: Check for ld --print-output-format support.
42994         * configure: Regenerated.
42995         * Makerules ($(common-objpfx)format.lds)
42996         [$(output-format) != unknown]: Just use $(output-format),
42997         instead of the linker-script munging.
42998
42999 2011-07-14  Roland McGrath  <roland@hack.frob.com>
43000
43001         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43002         of $(common-objpfx)shlib.lds.
43003         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43004
43005         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43006         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43007
43008         * configure.in (-z relro check): Adjust test code to add a large
43009         writable data section after it.
43010         * configure: Regenerated.
43011
43012 2011-07-11  Roland McGrath  <roland@hack.frob.com>
43013
43014         * configure.in (-z relro check): Fix test code to make the variable
43015         truly const.
43016         * configure: Regenerated.
43017
43018 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
43019
43020         * nscd/nscd.h (struct traced_file): Define.
43021         (struct database_dyn): Remove inotify_descr, reset_res, and filename
43022         elements.  Add traced_files.
43023         (inotify_fd): Declare.
43024         (register_traced_file): Declare.
43025         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43026         (inotify_fd): Export.
43027         (resolv_conf_descr): Remove.
43028         (nscd_init): Move inotify descriptor creation to main.
43029         Don't register files for notification here.
43030         (register_traced_file): New function.
43031         (invalidate_cache): Don't use reset_res to determine whether to call
43032         res_init, go through the list of registered files.
43033         (main_loop_poll): The inotify descriptors are now stored in the
43034         structures for the traced files.
43035         (main_loop_epoll): Likewise
43036         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
43037         to __nss_disable_nscd.
43038         * nscd/cache.c (prune_cache): There is no single inotify descriptor
43039         for a database anymore.  Check the records for all the registered
43040         files instead.
43041         * nss/Makefile (libnss_files-routines): Add files-init.
43042         (libnss_db-routines): Add db-init.
43043         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43044         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43045         * nss/nss_db/db-init.c: New file.
43046         * nss/nss_files/files-init.c: New file.
43047         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
43048         __nss_lookup_function.
43049         (__nss_lookup_function): Call nss_load_library.
43050         (nss_load_all_libraries): New function.
43051         (__nss_disable_nscd): Take parameter with callback function for files
43052         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
43053         used for the cached services.
43054         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43055         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43056         options for features to all the files in nscd.
43057
43058         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43059
43060 2011-07-10  Roland McGrath  <roland@hack.frob.com>
43061
43062         * csu/elf-init.c (__libc_csu_init): Comment typo.
43063
43064 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
43065
43066         * po/pl.po: Update from translation team.
43067         * po/ja.po: Likewise.
43068         * po/ru.po: Likewise.
43069         * po/ko.po: Likewise.
43070         * po/fr.po: Likewise.
43071
43072 2011-07-09  Roland McGrath  <roland@hack.frob.com>
43073
43074         * configure.in (.ctors/.dtors header and trailer check):
43075         Use an empirical test on a built program.
43076         * configure: Regenerated.
43077
43078         * configure.in (-z relro check): Use an empirical test on a built DSO.
43079         Detect, but do not require, on ia64.
43080         * configure: Regenerated.
43081
43082         * configure.in (READELF): Find it with AC_CHECK_TOOL.
43083         Update tests that use readelf to use $READELF instead.
43084         * configure: Regenerated.
43085
43086 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
43087
43088         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43089         if the result is not used.
43090
43091 2011-07-05  Andreas Jaeger  <aj@suse.de>
43092
43093         [BZ#9696]
43094         * stdlib/tst-strtod.c: Add testcase.
43095
43096 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
43097
43098         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43099         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43100         The latter has a higher limit.  Take additional parameter to pass to
43101         the new function.
43102         (__pathconf): Pass file to __statfs_link_max.
43103         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43104         __statfs_link_max.
43105         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43106         __statfs_link_max.
43107
43108         [BZ #12868]
43109         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43110         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43111         Handle Lustre.
43112         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43113         (__statfs_filesize_max): Likewise.
43114         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43115
43116 2011-07-05  Andreas Jaeger  <aj@suse.de>
43117
43118         * resolv/res_comp.c (dn_skipname): Remove unused variable.
43119
43120 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
43121
43122         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43123         `status' variable.
43124         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43125         Likewise.
43126
43127 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
43128
43129         * Makefile (strop-tests): Add strncat.
43130         * string/test-strncat.c: New file.
43131
43132 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
43133
43134         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43135
43136 2011-06-21  Andreas Jaeger  <aj@suse.de>
43137
43138         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43139         Copy rule from iconvdata/Makefile.
43140
43141 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43142
43143         [BZ #12922]
43144         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43145         but no long options are defined, just return 'W'.
43146
43147 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
43148
43149         [BZ #9696]
43150         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43151
43152 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43153
43154         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43155         netgroups to read.
43156         (innetgr): Likewise.
43157
43158 2011-07-05  Roland McGrath  <roland@hack.frob.com>
43159
43160         * config.make.in (install_root): Default to $(DESTDIR).
43161
43162 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
43163
43164         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43165
43166 2011-07-02  Roland McGrath  <roland@hack.frob.com>
43167
43168         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43169
43170         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43171         containing directory rather than embedding absolute directory names.
43172
43173         * scripts/check-local-headers.sh: Rewritten using awk.
43174         Match by word, not by line.  Print error messages for matches.
43175         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43176
43177         * Makerules [shlib-lds-flags empty]:
43178         ($(common-objpfx)libc_pic.opts): New target.
43179         ($(common-objpfx)libc_pic.os.clean): New target.
43180         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43181
43182         * config.make.in (OBJCOPY): New variable.
43183         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43184         * configure: Regenerated.
43185
43186         * config.make.in (use-default-link): New variable.
43187         * configure.in (use_default_link): Grok --with-default-link to set it.
43188         * configure: Regenerated.
43189         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43190         (shlib-lds, shlib-lds-flags): Define to empty.
43191
43192         * Makerules (shlib-lds): New variable.
43193         (shlib-lds-flags): New variable.
43194         (build-shlib, build-moduile, build-module-asneeded): Use it.
43195         ($(common-objpfx)libc.so): Use $(shlib-lds).
43196         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43197         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43198
43199         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43200         DT_FLAGS/DT_FLAGS_1 with zero flags.
43201
43202         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43203         linker script munging.
43204
43205 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
43206
43207         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43208         as 128-bit value.
43209         * crypt/sha512.c (sha512_process_block): Perform total addition using
43210         128-bit if possible.
43211         (__sha512_finish_ctx): Likewise.
43212         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43213         as 64-bit value.
43214         * crypt/sha256.c (SWAP64): Define.
43215         (sha256_process_block): Perform total addition using 64-bit if
43216         possible.
43217         (__sha256_finish_ctx): Likewise.
43218
43219 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
43220
43221         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
43222         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43223         * nscd/hstcache.c (cache_addhst): Likewise.
43224         * nscd/grpcache.c (cache_addgr): Likewise.
43225         * nscd/aicache.c (addhstaiX): Likewise
43226         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43227
43228 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
43229
43230         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43231         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43232         * nscd/hstcache.c (cache_addhst): Likewise.
43233         * nscd/grpcache.c (cache_addgr): Likewise.
43234         * nscd/aicache.c (addhstaiX): Likewise
43235
43236 2011-07-01  Andreas Schwab  <schwab@redhat.com>
43237
43238         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43239         domain only when needed.
43240
43241 2011-06-30  Andreas Schwab  <schwab@redhat.com>
43242
43243         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43244         is always restored.
43245
43246 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
43247
43248         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43249         are re-adding the entry.
43250         * nscd/servicescache.c (cache_addserv): Likewise.
43251
43252 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
43253
43254         * sysdeps/generic/dl-irel.h: fix protection against multiple
43255         inclusions.
43256         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43257
43258 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
43259
43260         [BZ #12935]
43261         * malloc/memusage.sh: Fix quoting in message.
43262         * debug/xtrace.sh: Likewise.
43263
43264         * configure.in: Remove support for --experimental-malloc option, make
43265         it the default.
43266         * config.make.in: Likewise.
43267         * malloc/Makefile: Likewise.
43268
43269 2011-06-27  Andreas Schwab  <schwab@redhat.com>
43270
43271         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43272         two-byte characters.
43273
43274 2011-06-27  Roland McGrath  <roland@hack.frob.com>
43275
43276         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43277         AC_CACHE_CHECK invocation.
43278         * configure: Regenerated.
43279
43280         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43281
43282 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
43283
43284         [BZ #12350]
43285         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
43286         bit from old_res_options.
43287
43288         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43289
43290         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43291         value type for setfct.
43292
43293 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
43294
43295         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43296         __gettimeofday instead of gettimeofday.
43297
43298 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
43299
43300         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43301
43302 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
43303
43304         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43305
43306         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43307         info.
43308
43309 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43310
43311         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43312         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43313         strcpy-sse2-unaligned strncpy-sse2-unaligned
43314         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43315         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43316         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43317         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43318         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43319         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43320         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43321         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43322         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43323         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43324         (STRCPY): Support SSE2 and SSSE3 versions.
43325
43326 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
43327
43328         [BZ #12874]
43329         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43330         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43331         kernels which artificially limit size of requests.
43332
43333 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43334
43335         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43336         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43337         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43338         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43339         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43340         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43341         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43342         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43343         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43344         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43345         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43346         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43347         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43348         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43349         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43350         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43351         Enable unaligned load optimization for Intel Core i3, i5 and i7
43352         processors.
43353         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43354         Define.
43355         (index_Fast_Unaligned_Load): Define.
43356         (HAS_FAST_UNALIGNED_LOAD): Define.
43357
43358 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
43359
43360         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43361
43362 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43363
43364         [BZ #12907]
43365         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43366         until it is clear that the information is realy needed.
43367         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43368
43369 2011-06-22  Andreas Schwab  <schwab@redhat.com>
43370
43371         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43372
43373 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43374
43375         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43376         /sys/devices/system/cpu/online if it is usable.
43377
43378         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43379         reading the information from the /proc filesystem to once a second.
43380
43381 2011-06-21  Andreas Jaeger  <aj@suse.de>
43382
43383         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43384         NULL after inclusion of kernel headers.
43385
43386 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
43387
43388         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43389         calls to internal_setent.
43390
43391         [BZ #12885]
43392         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43393         addresses using gethostbyname4_r ignore IPv4 addresses.
43394
43395         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43396         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
43397
43398         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43399
43400 2011-06-20  David S. Miller  <davem@davemloft.net>
43401
43402         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43403         inclusions.
43404         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43405
43406         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43407         (elf_irel): Use it.
43408         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43409         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43410         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43411         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43412         * sysdeps/x86_64/dl-irel.h: Likewise.
43413
43414         * elf/dl-runtime.c: Use elf_ifunc_invoke.
43415         * elf/dl-sym.c: Likewise.
43416
43417 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43418
43419         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
43420         need to dereference resplen2.
43421
43422 2011-06-14  Andreas Schwab  <schwab@redhat.com>
43423
43424         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43425
43426 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43427
43428         * Makeconfig: Define vardbdir and inst_vardbdir.
43429         * nss/Makefile: Add rules to install db-Makefile.
43430
43431         * nss/nss_db/db-XXX.c: Cleanup.
43432
43433         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43434         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43435         GLIBC_PRIVATE.
43436         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43437         * nss/makedb.c: Implement -g option to specify that value strings
43438         are generated and should not be added to table iterated over for
43439         get*ent calls.
43440         * nss/nss_db/db-initgroups.c: New file.
43441
43442         * nss/getent.c: Add support for initgroups lookups through getgrouplist
43443         interface.
43444
43445         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43446         (internal_getgrouplist): Adjust to name change.
43447         Update use_initgroups_entry if this is not the first call.
43448         * nss/databases.def: Add initgroups entry.
43449
43450         * nss/makedb.c (compute_tables): Check result of multiple hash table
43451         sizes to minimize maximum chain length.
43452
43453 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
43454
43455         * Versions.def: Add entry for libnss_db.
43456         * shlib-versions: Likewise.
43457         * nss/Makefile: Add rules to build libnss_db.
43458         * nss/Versions: Add libnss_db information.  Organize libnss_files
43459         entries better.
43460         * nss/db-Makefile: Add gshadow support.  Change rules for the new
43461         makedb progra.  Some minor improvements to generate smaller files.
43462         * nss/nss_db/nss_db.h: Move NSS database header data structures to
43463         here from...
43464         * nss/makedb.c: ...here.
43465         Improve database format to be smaller and require less memory at
43466         runtime.
43467         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
43468         db anymore.
43469         * nss/nss_db/db-netgrp.c: Likewise.
43470         * nss/nss_db/db-open.c: Likewise.
43471         * nss/nss_files/flies-XXX.x: Adjust comments.
43472         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43473         * nss/nss_files/files-grp.c: Likewise.
43474         * nss/nss_files/files-hosts.c: Likewise.
43475         * nss/nss_files/files-network.c: Likewise.
43476         * nss/nss_files/files-proto.c: Likewise.
43477         * nss/nss_files/files-pwd.c: Likewise.
43478         * nss/nss_files/files-rpc.c: Likewise.
43479         * nss/nss_files/files-service.c: Likewise.
43480         * nss/nss_files/files-sgrp.c: Likewise.
43481         * nss/nss_files/files-spwd.c: Likewise.
43482         * nss/nss_db/db-alias.c: Removed.
43483         * nss/nss_db/dummy-db.h: Removed.
43484
43485 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
43486
43487         * nss/makedb.c: Rewritten to not use database library.
43488         * nss/Makefile: Update to build new makedb program.
43489
43490 2011-06-14  Andreas Jaeger  <aj@suse.de>
43491
43492         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43493         memset declaration.
43494
43495 2011-06-10  Andreas Schwab  <schwab@redhat.com>
43496
43497         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43498         tmpbuf.
43499
43500 2011-06-10  Roland McGrath  <roland@hack.frob.com>
43501
43502         * Makerules (shlib.lds): Fail if the linker script comes out empty.
43503         * elf/Makefile ($(objpfx)ld.so): Likewise.
43504
43505         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43506         Don't list ld.so twice in dependencies.
43507
43508         * posix/bug-regex31.c: Include <stdlib.h>.
43509
43510         * nscd/hstcache.c (cache_addhst): Remove unused variable.
43511
43512         * nis/nss_compat/compat-spwd.c
43513         (getspent_next_nss_netgr): Remove unused variable.
43514         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43515
43516         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43517         nonmembers" output to use the right array.
43518
43519         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43520
43521         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43522
43523         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43524         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43525         * catgets/gencat.c (read_input_file): Likewise.
43526         * locale/programs/locarchive.c (enlarge_archive): Likewise.
43527
43528         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43529         variable definition inside #if's controlling its use.
43530
43531         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43532
43533         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43534
43535         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43536
43537         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43538         unreachable code.
43539
43540         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43541
43542         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43543         * configure: Regenerated.
43544
43545         * Makerules: Revert last change.
43546         * elf/Makefile: Likewise.
43547
43548 2011-06-09  Roland McGrath  <roland@hack.frob.com>
43549
43550         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43551         * elf/Makefile ($(objpfx)librtld.os): Likewise.
43552         (reloc-link): Likewise.
43553
43554 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
43555
43556         * elf/Makefile: Add rules to build pldd.
43557         * elf/pldd.c: New file.
43558         * elf/pldd-xx.c: New file.
43559
43560 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
43561
43562         * version.h: Update for 2.15 development version.
43563
43564 2011-06-07  David S. Miller  <davem@davemloft.net>
43565
43566         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43567         ifuncs.
43568         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43569         elf_machine_lazy_rel): Likewise.
43570         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43571         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43572         elf_machine_lazy_rel): Likewise.
43573         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43574         dl_hwcap via passed in argument.
43575         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43576         Likewise.
43577
43578 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43579
43580         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
43581
43582 2011-06-06  Roland McGrath  <roland@hack.frob.com>
43583
43584         [BZ #12849]
43585         * manual/fdl-1.1.texi: New file, verbatim from:
43586         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43587         * manual/lgpl-2.1.texi: New file, verbatim from:
43588         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43589         * manual/Makefile (licenses): New variable, list those new file names.
43590         (texis): Use it.
43591         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43592
43593         * manual/fdl.texi: File removed.
43594         * manual/lesser.texi: File removed.
43595         * manual/libc.texinfo (Copying, Documentation License):
43596         Use new @include file names, put @appendix directive before @include.
43597
43598 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
43599
43600         [BZ #12841]
43601         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43602         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43603         (mq_open): Add __NTH.
43604
43605 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
43606
43607         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43608         Assume Intel Core i3/i5/i7 processor if AVX is available.
43609
43610 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43611
43612         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43613         typo.
43614
43615 2011-05-31  Andreas Schwab  <schwab@redhat.com>
43616
43617         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43618         memory.  Use alloca_account.  Fix memory leak when retrying.
43619
43620 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43621
43622         * version.h (RELEASE): Bump for 2.14 release.
43623         * include/features.h (__GLIBC_MINOR__): Bump to 14.
43624
43625         * config.make.in (RANLIB): Remove entry.
43626
43627 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
43628
43629         * po/Makefile (po-sed-cmd): Add ksh to extensions.
43630         (libc.pot): Work around missing support for .ksh extension in xgettext.
43631
43632         [BZ #12684]
43633         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43634         if both request failed.
43635         (send_dg): In case of server errors clear resplen or *resplen2.
43636
43637         [BZ #12454]
43638         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43639         when there are multiple maps.
43640         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43641         (_dl_fini): Remove test here.
43642
43643         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43644
43645 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
43646
43647         [BZ #12350]
43648         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43649         bit from old_res_options.
43650         (gaih_inet): Likewise.
43651
43652         [BZ #11099]
43653         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43654         as signed.
43655
43656         * resolv/res_init.c (res_setoptions): Make the code more compact.
43657
43658         [BZ #11558]
43659         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43660         set RES_USEVC.
43661
43662         [BZ #11634]
43663         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43664
43665         * malloc/malloc.h: Mark malloc hook variables as deprecated.
43666
43667         [BZ #11781]
43668         * malloc/malloc.h: Declare malloc hook variables as volatile.
43669
43670         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43671         in last patch.
43672
43673         [BZ #11799]
43674         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43675         raise in the comment.
43676         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43677         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43678         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43679
43680 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
43681
43682         [BZ #12811]
43683         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43684         grow the buffers more if it already has to be sufficient.
43685         (build_wcs_upper_buffer): Likewise.
43686         * posix/regexec.c (check_matching): Likewise.
43687         (clean_state_log_if_needed): Likewise.
43688         (extend_buffers): Don't enlarge buffers beyond size of the input
43689         buffer.
43690         Patches mostly by Emil Wojak <emil@wojak.eu>.
43691         * posix/bug-regex32.c: New file.
43692         * posix/Makefile (tests): Add bug-regex32.
43693
43694         * locale/findlocale.c (_nl_find_locale): Return right away if
43695         _nl_explode_name failed.
43696         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43697
43698         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43699
43700         * debug/xtrace.sh: Unify messages.
43701         * malloc/memusage.sh: Likewise.
43702
43703         [BZ #12813]
43704         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43705         time symbol from vDSO.  Substitute with vsyscall if not available.
43706         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43707         __vdso_time.
43708
43709         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43710         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43711         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43712         Add sendmmsg and internal_sendmmsg.
43713         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43714         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43715         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43716
43717         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43718         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43719         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43720
43721 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
43722
43723         [BZ #12813]
43724         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43725         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
43726         available.
43727         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43728         __vdso_getcpu.
43729
43730         [BZ #12814]
43731         * iconvdata/Makefile (tests): Add bug-iconv9.
43732         * iconvdata/bug-iconv9.c: New file.
43733
43734 2011-05-27  Andreas Schwab  <schwab@redhat.com>
43735
43736         [BZ #12814]
43737         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43738
43739 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
43740
43741         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43742         (struct user_regs_struct): Change intcs field back to cs.
43743
43744 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
43745
43746         * po/ja.po: Update from translation team.
43747
43748 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
43749
43750         [BZ #12795]
43751         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43752         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43753
43754 2011-05-20  Andreas Schwab  <schwab@redhat.com>
43755
43756         * stdlib/longlong.h: Update from GCC.
43757
43758 2011-05-23  Andreas Schwab  <schwab@redhat.com>
43759
43760         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43761         parameter name.
43762         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43763         Add parameter name.
43764         (__sysconf): Pass it down.
43765
43766 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
43767
43768         [BZ #12671]
43769         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43770         some situations.
43771         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43772         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43773         add in in __libc_use_alloca calls.  Adjust callers.
43774         (glob): Use malloc in some situations.
43775
43776         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43777         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43778         pltexit.
43779
43780 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
43781
43782         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43783         and CLOCK_BOOTTIME_ALARM.
43784
43785         [BZ #12782]
43786         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43787         is returned.
43788
43789         * string/_strerror.c (__strerror_r): Print negative errors as signed
43790         numbers.
43791
43792         [BZ #12777]
43793         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43794         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43795         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43796
43797         * configure.in: Fix typo in redirection and correct removal of test
43798         files in two cases.
43799
43800         [BZ #12788]
43801         * locale/setlocale.c (new_composite_name): Fix test to check for
43802         identical name of all categories.
43803
43804         [BZ #12792]
43805         * libio/filedoalloc.c (local_isatty): New function.
43806         (_IO_file_doallocate): Use local_isatty.
43807         * stdio-common/perror.c (perror): In case a new stream is used
43808         forward the stream error.
43809         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43810         error flag.
43811
43812 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
43813
43814         [BZ #11869]
43815         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43816         alloca.
43817         * include/alloca.h (extend_alloca_account): Define.
43818
43819         [BZ #11857]
43820         * posix/regex.h: Fix comments with documentation of user-accessible
43821         fields after compilation and describe correct free'ing of pattern
43822         after re_compile_pattern.
43823         Patch by Reuben Thomas <rrt@sc3d.org>.
43824
43825 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
43826
43827         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43828         and -mno-altivec to prevent the compiler from using Altivec and/or
43829         VSX instructions when the corresponding registers are not available.
43830
43831 2011-05-19  Andreas Schwab  <schwab@redhat.com>
43832
43833         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43834
43835 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
43836
43837         * libio/freopen.c (freopen): Use __dup2, not dup2.
43838         * libio/freopen64.c (freopen64): Likewise.
43839
43840 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43841
43842         [BZ #12775]
43843         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43844         * math/Makefile (tests): Add test-powl.
43845         (CFLAGS-test-powl.c): Define.
43846         * math/test-powl.c: New file.
43847
43848 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43849
43850         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43851
43852 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
43853
43854         [BZ #11837]
43855         * iconvdata/gb18030.c: Update to GB18020-2005.
43856
43857 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
43858
43859         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43860         RE_SYNTAX_POSIX_AWK): Update to match recent development.
43861         Patch by Aharon Robbins <arnold@skeeve.com>.
43862
43863         [BZ #11892]
43864         * stdlib/putenv.c (putenv): Don't always create copy of the variable
43865         on the stack.
43866
43867         [BZ #11895]
43868         * misc/pselect.c (__pselect): Handle timeout value errors hidden
43869         through underflows.
43870
43871         [BZ #12766]
43872         * misc/error.c (error_at_line): Ensure file_name and old_file_name
43873         point to strings before performing equality test for error_one_per_line
43874         mode.
43875
43876         [BZ #11697]
43877         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43878
43879         [BZ #11820]
43880         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43881         (struct user_fpregs_struct): Avoid __uint*_t types.
43882
43883         [BZ #6420]
43884         * malloc/mtrace.c (tr_where): Add additional parameter to point to
43885         symbol info.  Use it instead of calling _dl_addr locally.
43886         (lock_and_info): New function.
43887         (tr_freehook): Call lock_and_info and pass symbol info as additional
43888         parameter to tr_where.
43889         (tr_mallochook): Likewise.
43890         (tr_reallochook): Likewise.
43891         (tr_memalignhook): Likewise.
43892
43893         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
43894         used and couldn't be at all thread-safe.
43895
43896 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
43897
43898         * libio/freopen.c (freopen): Don't close old file descriptor
43899         before the new one is opened.  Instead dup the new file descriptor
43900         to the old one after the new stream is created.
43901         * libio/freopen64.c (freopen64): Likewise.
43902         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43903         * libio/fileops.c (_IO_new_file_close_it): Handle new
43904         _IO_FLAGS2_NOCLOSE flag.
43905         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43906         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43907         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43908         _IO_FLAGS2_NOCLOSE flag.
43909         * include/unistd.h: Add hidden_proto for dup3.
43910         Define __have_dup3.
43911         * io/dup3.c: Define hidden symbol.
43912         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43913
43914         [BZ #7101]
43915         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43916         when an incomplete long option is used.
43917         * posix/tst-getopt_long1.c: New file.
43918         * posix/Makefile (tests): Add tst-getopt_long1.
43919
43920         [BZ #10138]
43921         * scripts/config.guess: Update from autoconf-2.68.
43922         * scripts/config.sub: Likewise.
43923
43924         [BZ #10157]
43925         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43926         tests into ...
43927         (has_cpuclock): ...this.  New function.
43928         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43929         macro here based on has_cpuclock code.
43930
43931         [BZ #10149]
43932         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43933         First byte (not low byte) is now always NUL.
43934         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43935
43936         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43937         Use non-cancelable interfaces.
43938
43939         [BZ #9809]
43940         * locale/iso-639.def: Add entry for Sorani.
43941
43942         [BZ #11901]
43943         * include/stdlib.h: Move include protection to the right place.
43944         Define abort_msg_s.  Declare __abort_msg with it.
43945         * stdlib/abort.c (__abort_msg): Adjust type.
43946         * assert/assert.c (__assert_fail_base): New function.  Majority
43947         of code from __assert_fail.  Allocate memory for __abort_msg with
43948         mmap.
43949         (__assert_fail): Now call __assert_fail_base.
43950         * assert/assert-perr.c: Remove bulk of implementation.  Use
43951         __assert_fail_base.
43952         * include/assert.hL Declare __assert_fail_base.
43953         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43954         mmap.
43955         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43956
43957 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
43958
43959         [BZ #11952]
43960         [BZ #12453]
43961         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43962         until all modules are registered in the DTV.
43963         * elf/Makefile: Add rules to build and run tst-tls19.
43964         * elf/tst-tls19.c: New file.
43965         * elf/tst-tls19mod1.c: New file.
43966         * elf/tst-tls19mod2.c: New file.
43967         * elf/tst-tls19mod3.c: New file.
43968         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43969
43970         [BZ #12083]
43971         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43972         correctly.
43973
43974         [BZ #12601]
43975         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43976         two-byte sequence errors.
43977         * iconvdata/Makefile (tests): Add bug-iconv8.
43978         * iconvdata/bug-iconv8.c: New file.
43979
43980         [BZ #12626]
43981         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43982         buf2 definition.
43983
43984         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43985
43986         [BZ #12432]
43987         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43988         (dummy_getcfa): New function.
43989         (init): Get _Unwind_GetCFA address, use dummy if not found.
43990         (backtrace_helper): In recursion check, also check whether CFA changes.
43991         (__backtrace): Completely initialize arg.
43992
43993         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43994         storing incomplete byte sequence in state object.  Avoid testing for
43995         guaranteed too small input if we know there is enough data available.
43996
43997 2011-05-11  Andreas Schwab  <schwab@redhat.com>
43998
43999         * Makeconfig (+link-pie): Indent.
44000         * Rules (binaries-pie): Define if $(have-fpie) and
44001         $(build-shared).
44002         (binaries-shared): Also filter out $(binaries-pie).
44003         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44004         * nscd/Makefile (others-pie): Add nscd.
44005         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44006         ($(objpfx)nscd): Remove command override.
44007         * login/Makefile (others-pie): Add pt_chown.
44008         ($(objpfx)pt_chown): Remove command override.
44009         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44010         remove command overrides.
44011
44012 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
44013
44014         * libio/tst_putwc.c: Fix error messages.
44015
44016         [BZ #12724]
44017         * libio/fileops.c (_IO_new_file_close_it): Always flush when
44018         currently writing and seek to current position when not.
44019         * libio/Makefile (tests): Add bug-fclose1.
44020         * libio/bug-fclose1.c: New file.
44021
44022 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
44023
44024         [BZ #12511]
44025         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44026         don't set DF_1_NODELETE here.
44027         (do_lookup_x): When entering new entry test for copy relocation
44028         and if necessary set DF_1_NODELETE flag.
44029         * elf/tst-unique4.cc: New file.
44030         * elf/tst-unique4.h: New file.
44031         * elf/tst-unique4lib.cc: New file.
44032         * elf/Makefile: Add rules to build and run tst-unique4.
44033         Patch by Piotr Bury <pbury@goahead.com>.
44034
44035 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
44036
44037         [BZ #12052]
44038         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44039
44040         [BZ #12625]
44041         * misc/mntent_r.c (addmntent): Flush the stream after the output
44042
44043         [BZ #12393]
44044         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44045         (is_trusted_path_normalize): Skip initial colon.  Append slash
44046         to empty buffer.  Duplicate is_trusted_path code but allow
44047         constructed patch to be prefix.
44048         (is_dst): Allow $ORIGIN followed by /.
44049         (_dl_dst_substitute): Correct clearing of check_for_trusted.
44050         Correct testing of result of is_trusted_path_normalize
44051         (decompose_rpath): Fix warning.
44052
44053 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
44054
44055         [BZ #11257]
44056         * grp/initgroups.c (internal_getgrouplist): When we found the service
44057         list through the initgroups entry in nsswitch.conf do not always
44058         continue on a successful lookup.  Don't always use the
44059         __nss_group_database value if it is set.
44060         * nss/nsswitch.conf (initgroups): Change action for successful db
44061         lookup to continue for compatibility.
44062
44063 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
44064
44065         [BZ #11532]
44066         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44067         and CP774 modules.
44068         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44069         and CP774 modules.
44070         * iconvdata/tst-tables.sh: Likewise.
44071         * iconvdata/cp770.c: New file.
44072         * iconvdata/cp771.c: New file.
44073         * iconvdata/cp772.c: New file.
44074         * iconvdata/cp773.c: New file.
44075         * iconvdata/cp774.c: New file.
44076         * iconvdata/testdata/CP770: New file.
44077         * iconvdata/testdata/CP770..UTF8: New file.
44078         * iconvdata/testdata/CP771: New file.
44079         * iconvdata/testdata/CP771..UTF8: New file.
44080         * iconvdata/testdata/CP772: New file.
44081         * iconvdata/testdata/CP772..UTF8: New file.
44082         * iconvdata/testdata/CP773: New file.
44083         * iconvdata/testdata/CP773..UTF8: New file.
44084         * iconvdata/testdata/CP774: New file.
44085         * iconvdata/testdata/CP774..UTF8: New file.
44086
44087         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44088         END CHARMAP line.
44089         * iconvdata/gen-8bit-gap.sh: Likewise.
44090         * iconvdata/gen-8bit.sh: Likewise.
44091
44092         * locale/iso-639.def: Add ary entry.
44093
44094         [BZ #11258]
44095         * locale/C-translit.h.in: Add U20A1 transliteration.
44096
44097         [BZ #12178]
44098         * locale/iso-639.def: Add wae entry.
44099         Patch by Kevin Bortis <bortis@translate-wae.ch>.
44100
44101         [BZ #12545]
44102         * locale/programs/localedef.c (construct_output_path): Use ssize_t
44103         for n.
44104
44105         [BZ #12711]
44106         * locale/C-translit.h.in: Add entry for U20B9.
44107         Patch by pravin.d.s@gmail.com.
44108
44109 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
44110
44111         [BZ #12713]
44112         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44113         ENAMETOOLONG use generic getcwd.
44114         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
44115         in rtld.  Use *stat64.
44116         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44117         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44118         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44119         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44120         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44121         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44122         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44123         __fstatat64 macros.
44124         * include/dirent.h: Add libc_hidden_proto for rewinddir.
44125         * dirent/rewinddir.c: Add libc_hidden_def.
44126         * sysdeps/mach/hurd/rewinddir.c: Likewise.
44127         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
44128
44129         * include/dirent.h (__alloc_dir): Add flags parameter.
44130         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44131         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44132         __alloc_dir.
44133         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
44134         from fdopendir if O_CLOEXEC is already set.
44135
44136 2011-03-15  Alan Modra  <amodra@gmail.com>
44137
44138         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44139         l_tls_firstbyte_offset non-zero.  Save padding offset in
44140         l_tls_firstbyte_offset for later use.
44141         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44142         freeing static tls block.
44143
44144 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
44145
44146         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44147         where #ifdef was intended.  The intent is to prevent ARG_MAX from
44148         being defined by the kernel headers.
44149
44150 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
44151
44152         [BZ #12734]
44153         * resolv/resolv.h: Define RES_NOTLDQUERY.
44154         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44155         no-tld-query and set RES_NOTLDQUERY.
44156         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44157         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44158         modern BIND to search name as TLD unless forbidden.
44159
44160 2011-05-07  Petr Baudis  <pasky@suse.cz>
44161             Ulrich Drepper  <drepper@gmail.com>
44162
44163         [BZ #12393]
44164         * elf/dl-load.c (fillin_rpath): Move trusted path check...
44165         (is_trusted_path): ...to here.
44166         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44167         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44168         using is_trusted_path_normalize() in setuid scripts.
44169
44170 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44171
44172         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44173         __BEGIN/__END_DECLS.
44174
44175 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
44176
44177         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44178         NSS_STATUS_NOTFOUND if no record was found.
44179
44180 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44181
44182         * sunrpc/Makefile (headers): Add rpc/netdb.h.
44183         (headers-not-in-tirpc): Remove rpc/netdb.h
44184         * resolv/netdb.h: Revert last change.
44185
44186 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44187
44188         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44189         circular dependency between libgcc.a and libc.a.
44190
44191 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44192
44193         * resolv/netdb.h: Don't include <rpc/netdb.h>.
44194         * nis/Makefile: Don't install rpcsvc/*.
44195         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44196         instead of <rpc/types.h>.
44197         (MAXHOSTNAMELEN): Define.
44198
44199 2011-05-03  Andreas Schwab  <schwab@redhat.com>
44200
44201         * elf/ldconfig.c (add_dir): Don't crash on empty path.
44202
44203 2011-04-28  Maciej Babinski  <mbabinski@google.com>
44204
44205         [BZ #12714]
44206         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44207         gethostbyname4_r when IPv6 results are possible.
44208
44209 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
44210
44211         [BZ #12723]
44212         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44213         _PC_PIPE_BUF handling.
44214
44215 2011-04-30  Bruno Haible  <bruno@clisp.org>
44216
44217         [BZ #12717]
44218         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44219         * resolv/netdb.h (getnameinfo): Change type of flags parameter
44220         to 'int'.
44221         * inet/getnameinfo.c (getnameinfo): Likewise.
44222
44223 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
44224
44225         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44226         to groups setting in database lookup.
44227         * nss/nsswitch.conf: Add initgroups entry.
44228
44229 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
44230
44231         [BZ #12685]
44232         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44233         mode string.
44234         Patch by Eric Blake <eblake@redhat.com>.
44235
44236 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
44237
44238         * sunrpc/Makefile (need-export-routines): Add svc_run.
44239         (routines): Remove svc_run.
44240         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44241         * sunrpc/clnt_perr.c (clnt_perrno): Export.
44242         * sunrpc/svc_run.c (svc_run): Likewise.
44243         * sunrpc/svc_udp.c (svcudp_create): Likewise.
44244
44245 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
44246
44247         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44248         problem in reallocation in last patch.
44249
44250 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
44251
44252         * sunrpc/Makefile: Move inclusion of Rules.
44253
44254 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44255
44256         * nss/nss_files/files-initgroups.c: New file.
44257         * nss/Makefile (libnss_files-routines): Add files-initgroups.
44258         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44259         _nss_files_initgroups_dyn.
44260
44261 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
44262
44263         * elf/elf.h (R_ARM_IRELATIVE): Define.
44264
44265 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44266
44267         * po/ru.po: Update from translation team.
44268
44269 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44270
44271         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44272         dependencies.
44273
44274 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
44275
44276         [BZ #12653]
44277         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44278         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44279         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44280         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44281         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44282
44283 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
44284
44285         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44286         differing bytes.
44287         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44288         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44289         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44290
44291 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44292
44293         [BZ #12420]
44294         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44295         storing it.
44296         * stdlib/bug-getcontext.c: New file.
44297         * stdlib/Makefile: Add rules to build and run bug-getcontext.
44298
44299 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44300
44301         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44302         instructions into .machine "z9-109".
44303         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44304         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44305
44306 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44307
44308         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44309         between environment variables and auxiliary vector.
44310
44311 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
44312
44313         * Makefile: Add rules to build linkobj/libc.so.
44314         * include/libc-symbols.h: Define libc_hidden_nolink.
44315         * include/rpc/auth.h: Mark functions which are to be hidden.
44316         * include/rpc/auth_des.h: Likewise.
44317         * include/rpc/auth_unix.h: Likewise.
44318         * include/rpc/clnt.h: Likewise.
44319         * include/rpc/des_crypt.h: Likewise.
44320         * include/rpc/key_prot.h: Likewise.
44321         * include/rpc/pmap_clnt.h: Likewise.
44322         * include/rpc/pmap_prot.h: Likewise.
44323         * include/rpc/pmap_rmt.h: Likewise.
44324         * include/rpc/rpc_msg.h: Likewise.
44325         * include/rpc/svc.h: Likewise.
44326         * include/rpc/svc_auth.h: Likewise.
44327         * include/rpc/xdr.h: Likewise.
44328         * nis/Makefile: Link all DSOs against linkobj/libc.so.
44329         * nss/Makefile: Likewise.
44330         * sunrpc/Makefile: Don't install headers.  Build library with normal
44331         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
44332         * sunrpc/auth_des.c: Hide exported symbols by default, export some
44333         for the compat linking library.  Remove use of INTDEF/INTUSE.
44334         * sunrpc/auth_none.c: Likewise.
44335         * sunrpc/auth_unix.c: Likewise.
44336         * sunrpc/authdes_prot.c: Likewise.
44337         * sunrpc/authuxprot.c: Likewise.
44338         * sunrpc/clnt_gen.c: Likewise.
44339         * sunrpc/clnt_perr.c: Likewise.
44340         * sunrpc/clnt_raw.c: Likewise.
44341         * sunrpc/clnt_simp.c: Likewise.
44342         * sunrpc/clnt_tcp.c: Likewise.
44343         * sunrpc/clnt_udp.c: Likewise.
44344         * sunrpc/clnt_unix.c: Likewise.
44345         * sunrpc/des_crypt.c: Likewise.
44346         * sunrpc/des_soft.c: Likewise.
44347         * sunrpc/get_myaddr.c: Likewise.
44348         * sunrpc/key_call.c: Likewise.
44349         * sunrpc/key_prot.c: Likewise.
44350         * sunrpc/netname.c: Likewise.
44351         * sunrpc/pm_getmaps.c: Likewise.
44352         * sunrpc/pm_getport.c: Likewise.
44353         * sunrpc/pmap_clnt.c: Likewise.
44354         * sunrpc/pmap_prot.c: Likewise.
44355         * sunrpc/pmap_prot2.c: Likewise.
44356         * sunrpc/pmap_rmt.c: Likewise.
44357         * sunrpc/publickey.c: Likewise.
44358         * sunrpc/rpc_cmsg.c: Likewise.
44359         * sunrpc/rpc_common.c: Likewise.
44360         * sunrpc/rpc_dtable.c: Likewise.
44361         * sunrpc/rpc_prot.c: Likewise.
44362         * sunrpc/rpc_thread.c: Likewise.
44363         * sunrpc/rtime.c: Likewise.
44364         * sunrpc/svc.c: Likewise.
44365         * sunrpc/svc_auth.c: Likewise.
44366         * sunrpc/svc_authux.c: Likewise.
44367         * sunrpc/svc_raw.c: Likewise.
44368         * sunrpc/svc_run.c: Likewise.
44369         * sunrpc/svc_simple.c: Likewise.
44370         * sunrpc/svc_tcp.c: Likewise.
44371         * sunrpc/svc_udp.c: Likewise.
44372         * sunrpc/svc_unix.c: Likewise.
44373         * sunrpc/svcauth_des.c: Likewise.
44374         * sunrpc/xcrypt.c: Likewise.
44375         * sunrpc/xdr.c: Likewise.
44376         * sunrpc/xdr_array.c: Likewise.
44377         * sunrpc/xdr_float.c: Likewise.
44378         * sunrpc/xdr_intXX_t.c: Likewise.
44379         * sunrpc/xdr_mem.c: Likewise.
44380         * sunrpc/xdr_rec.c: Likewise.
44381         * sunrpc/xdr_ref.c: Likewise.
44382         * sunrpc/xdr_sizeof.c: Likewise.
44383         * sunrpc/xdr_stdio.c: Likewise.
44384
44385 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
44386
44387         [BZ #12650]
44388         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44389         * sysdeps/ia64/dl-tls.h: Likewise.
44390         * sysdeps/powerpc/dl-tls.h: Likewise.
44391         * sysdeps/s390/dl-tls.h: Likewise.
44392         * sysdeps/sh/dl-tls.h: Likewise.
44393         * sysdeps/sparc/dl-tls.h: Likewise.
44394         * sysdeps/x86_64/dl-tls.h: Likewise.
44395         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44396
44397 2011-03-14  Andreas Schwab  <schwab@redhat.com>
44398
44399         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44400         rpath element also skip the following colon.
44401         (expand_dynamic_string_token): Add is_path parameter and pass
44402         down to DL_DST_REQUIRED and _dl_dst_substitute.
44403         (decompose_rpath): Call expand_dynamic_string_token with
44404         non-zero is_path.  Ignore empty rpaths.
44405         (_dl_map_object_from_fd): Call expand_dynamic_string_token
44406         with zero is_path.
44407
44408 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
44409
44410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44411         Make cancelable.
44412
44413 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
44414
44415         [BZ #12655]
44416         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44417         Patch by Filipe David Manana <fdmanana@apache.org>.
44418
44419 2011-04-07  Andreas Schwab  <schwab@redhat.com>
44420
44421         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44422         Maintain aligned stack.
44423         (CHECK_RSP): Remove unused macro.
44424
44425 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
44426
44427         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44428         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44429
44430 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
44431
44432         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44433
44434         * include/features.h: Mention __USE_XOPEN2K8 in comment.
44435
44436 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
44437
44438         [BZ #12518]
44439         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44440         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44441         * sysdeps/x86_64/memmove.c: New file.
44442         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44443         (memcpy): Renamed to ...
44444         (__new_memcpy): This.
44445         (memcpy): Provide GLIBC_2_14 memcpy.
44446         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44447         (memcpy): Provide GLIBC_2_2_5 memcpy.
44448
44449 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44450
44451         [BZ #12631]
44452         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44453
44454 2011-03-30  Andreas Schwab  <schwab@redhat.com>
44455
44456         * misc/syncfs.c: New file.
44457         * misc/Makefile (routines): Add syncfs.
44458         * posix/unistd.h: Declare syncfs.
44459         * sysdeps/unix/syscalls.list: Add syncfs.
44460
44461 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44462
44463         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44464         open_by_handle_at.
44465         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44466         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44467         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44468         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44469         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44470         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44471         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44472
44473 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44474
44475         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44476         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44477         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44478         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44479         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44480         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44481         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44482
44483         * io/Makefile: Compile fallocate.c, fallocate64.c, and
44484         sync_file_range.c with -fexceptions.
44485         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44486         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44487         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44488         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44489         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44490         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44491         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44492         sync_file_range as cancellation point
44493         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
44494         now a wrapper around __call_sync_file_range with cancellation handling.
44495         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44496         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
44497         function name to __call_sync_file_range.
44498         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44499         Add call_sync_file_range.
44500
44501 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44502
44503         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44504         bits/timex.h.
44505
44506 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44507
44508         * iconv/iconv.h: Fix typo in comment.
44509         * io/fcntl.h: Likewise.
44510         * libio/stdio.h: Likewise.
44511         * posix/spawn.h: Likewise.
44512         * posix/unistd.h: Likewise.
44513         * stdlib/stdlib.h: Likewise.
44514         * time/time.h: Likewise.
44515         * wcsmbs/wchar.h: Likewise.
44516
44517         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44518         open_by_handle): Add.
44519         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44520         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
44521         Augment a few comments.
44522         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44523         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44524         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44525         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44526         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44527         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44528         open_by_handle.
44529
44530         * io/fcntl.h (AT_EMPTY_PATH): Define.
44531
44532 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
44533
44534         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44535         * sysdeps/unix/sysv/linux/bits/time.h: New file.
44536         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44537         to...
44538         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
44539         * Versions.def: Add GLIBC_2.14.
44540         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44541         Export.
44542
44543 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
44544
44545         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44546         round counter.
44547         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44548
44549 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44550
44551         [BZ #12597]
44552         * string/test-strncmp.c (do_page_test): New function.
44553         (check2): Likewise.
44554         (test_main): Call check2.
44555         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44556
44557 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
44558
44559         [BZ #12587]
44560         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44561         Handle cache information in CPU leaf 4.
44562         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44563
44564 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
44565
44566         [BZ #12583]
44567         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44568         character representation.
44569         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44570
44571 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
44572
44573         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44574         END(__isnan) to END(__isnanf) to match function entry point/label
44575         EALIGN(__isnanf,...).
44576
44577 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
44578
44579         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44580
44581 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
44582
44583         [BZ #12510]
44584         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44585         copy from the symbol referenced in the relocation to initialize the
44586         used variable.
44587         Patch by Piotr Bury <pbury@goahead.com>.
44588         * elf/Makefile: Add rules to build and tst-unique3.
44589         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44590         * elf/tst-unique3.cc: New file.
44591         * elf/tst-unique3.h: New file.
44592         * elf/tst-unique3lib.cc: New file.
44593         * elf/tst-unique3lib2.cc: New file.
44594
44595         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44596
44597 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
44598
44599         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44600         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
44601         to _start.
44602
44603 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
44604
44605         * elf/dl-load.c (_dl_map_object): If we are looking for the first
44606         to-be-loaded object along a path to loader is ld.so.
44607
44608 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44609             Ulrich Drepper  <drepper@gmail.com>
44610
44611         * sysdeps/x86_64/memset.S: After aligning destination, code
44612         branches to different locations depending on the value of
44613         misalignment, when multiarch is enabled. Fix this.
44614
44615 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44616
44617         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44618         Set _x86_64_preferred_memory_instruction for AMD processsors.
44619         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44620         Set bit_Prefer_SSE_for_memop for AMD processors.
44621
44622 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
44623
44624         * libio/fmemopen.c (fmemopen): Optimize a bit.
44625
44626 2011-03-03  Andreas Schwab  <schwab@redhat.com>
44627
44628         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44629
44630 2011-03-03  Roland McGrath  <roland@redhat.com>
44631
44632         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44633
44634 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
44635
44636         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44637         __bzero_ultra1 instead of __memset_ultra1.
44638
44639 2011-02-23  Andreas Schwab  <schwab@redhat.com>
44640             Ulrich Drepper  <drepper@gmail.com>
44641
44642         [BZ #12509]
44643         * include/link.h (struct link_map): Add l_orig_initfini.
44644         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44645         returning unsuccessfully.
44646         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44647         close of a file loaded at startup, restore the original l_initfini
44648         list.
44649         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44650         list, store the pointer.
44651         * elf/Makefile ($(objpfx)noload-mem): New rule.
44652         (noload-ENV): Define.
44653         (tests): Add $(objpfx)noload-mem.
44654         * elf/noload.c: Include <memcheck.h>.
44655         (main): Call mtrace.  Close all opened handles.
44656
44657 2011-02-17  Andreas Schwab  <schwab@redhat.com>
44658
44659         [BZ #12454]
44660         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44661         dependencies are missing.
44662
44663 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44664
44665         Fix __if_freereq crash: Unlike the generic version which uses free,
44666         Hurd needs munmap.
44667         * sysdeps/mach/hurd/ifreq.h: New file.
44668
44669 2011-01-27  Petr Baudis  <pasky@suse.cz>
44670             Ulrich Drepper  <drepper@gmail.com>
44671
44672         [BZ 12445]#
44673         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44674         to extend_alloca().
44675         * stdio-common/bug23.c: New file.
44676         * stdio-common/Makefile (tests): Add bug23.
44677
44678 2010-09-28  Andreas Schwab  <schwab@redhat.com>
44679             Ulrich Drepper  <drepper@gmail.com>
44680
44681         [BZ #12489]
44682         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44683         before performing relro protection.  At old place add assertion
44684         to make sure nothing changed.
44685
44686 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
44687             Glauber de Oliveira Costa  <glommer@gmail.com>
44688
44689         * elf/elf.h: Add new ARM TLS relocs.
44690
44691 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
44692
44693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44694         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44695         cast from r3.
44696         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
44697         'tests' variable.
44698         * sysdeps/wordsize-64/tst-writev.c: New file.
44699
44700 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
44701
44702         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44703         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44704         insns in _dl_start to prevent a TOC reference before relocs are
44705         resolved.
44706
44707 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
44708
44709         [BZ #12469]
44710         * Makeconfig: Remove RANLIB definition.
44711         * Makerules: Don't use RANLIB.
44712         * aclocal.m4: Remove ranlib test.
44713         * configure.in: No need to check for ranlib.
44714         * elf/rtld-Rules: Don't use RANLIB.
44715
44716 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44717
44718         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44719         protection macro.
44720         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44721         inclusion protection macro.
44722
44723         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44724         SIGRTMIN and SIGRTMAX and print information in that case only when
44725         SIGRTMIN is defined.
44726
44727 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
44728
44729         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44730         arginfo fn returning -1.
44731
44732         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44733         and thousands string is zero terminated.
44734
44735 2011-02-03  Andreas Schwab  <schwab@redhat.com>
44736
44737         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44738         sysdeps/unix/sysv/linux/bits/socket.h.
44739
44740 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44741
44742         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44743         (__CPU_COUNT): Remove old macros.
44744         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44745         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44746         (__CPU_ALLOC, __CPU_FREE): Add macros.
44747         (__sched_cpualloc, __sched_cpufree): Add declarations.
44748
44749 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
44750
44751         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44752         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44753         * nscd/aicache.c (addhstaiX): Return timeout of added value.
44754         (readdhstai): Return value of addhstaiX call.
44755         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44756         (addgrbyX): Return value returned by cache_addgr.
44757         (readdgrbyname): Return value returned by addgrbyX.
44758         (readdgrbygid): Likewise.
44759         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44760         (addpwbyX): Return value returned by cache_addpw.
44761         (readdpwbyname): Return value returned by addhstbyX.
44762         (readdpwbyuid): Likewise.
44763         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44764         (addservbyX): Return value returned by cache_addserv.
44765         (readdservbyname): Return value returned by addservbyX:
44766         (readdservbyport): Likewise.
44767         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44768         (addhstbyX): Return value returned by cache_addhst.
44769         (readdhstbyname): Return value returned by addhstbyX.
44770         (readdhstbyaddr): Likewise.
44771         (readdhstbynamev6): Likewise.
44772         (readdhstbyaddrv6): Likewise.
44773         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44774         (readdinitgroups): Return value returned by addinitgroupsX.
44775         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44776         (prune_cache): Keep track of timeout value of re-added entries.
44777         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44778         * nscd/nscd.h: Adjust prototypes of readd* functions.
44779
44780 2011-02-04  Roland McGrath  <roland@redhat.com>
44781
44782         * nis/nis_server.c (nis_servstate): Use the right name for 0.
44783         (nis_stats): Likewise.
44784         * nis/nis_modify.c (nis_modify): Likewise.
44785         * nis/nis_remove.c (nis_remove): Likewise.
44786         * nis/nis_add.c (nis_add): Likewise.
44787
44788         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44789
44790         * posix/fnmatch_loop.c: Add some consts.
44791
44792         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44793
44794 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
44795
44796         [BZ #12460]
44797         * config.make.in (config-cflags-novzeroupper): Define.
44798         * configure.in: Substitute libc_cv_cc_novzeroupper.
44799         * elf/Makefile (AVX-CFLAGS): Define.
44800         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44801         (CFLAGS-tst-auditmod4a.c): Likewise.
44802         (CFLAGS-tst-auditmod4b.c): Likewise.
44803         (CFLAGS-tst-auditmod6b.c): Likewise.
44804         (CFLAGS-tst-auditmod6c.c): Likewise.
44805         (CFLAGS-tst-auditmod7b.c): Likewise.
44806         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44807
44808 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
44809
44810         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44811         function to the callback.
44812         Patch partly by Jiri Olsa <jolsa@redhat.com>.
44813
44814 2011-02-02  Andreas Schwab  <schwab@redhat.com>
44815
44816         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44817         of errno.
44818
44819 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
44820
44821         [BZ #11724]
44822         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44823         of constructors.
44824         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44825         of destructors.
44826         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44827
44828         [BZ #11724]
44829         * elf/Makefile: Add rules to build and run new test.
44830         * elf/tst-initorder.c: New file.
44831         * elf/tst-initorder.exp: New file.
44832         * elf/tst-initordera1.c: New file.
44833         * elf/tst-initordera2.c: New file.
44834         * elf/tst-initordera3.c: New file.
44835         * elf/tst-initordera4.c: New file.
44836         * elf/tst-initorderb1.c: New file.
44837         * elf/tst-initorderb2.c: New file.
44838         * elf/tst-order-a1.c: New file.
44839         * elf/tst-order-a2.c: New file.
44840         * elf/tst-order-a3.c: New file.
44841         * elf/tst-order-a4.c: New file.
44842         * elf/tst-order-b1.c: New file.
44843         * elf/tst-order-b2.c: New file.
44844         * elf/tst-order-main.c: New file.
44845         New test case by George Gensure <werkt0@gmail.com>.
44846
44847 2010-10-01  Andreas Schwab  <schwab@redhat.com>
44848
44849         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44850         decoding ACE if AI_CANONIDN.
44851
44852 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
44853
44854         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44855
44856 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
44857
44858         * version.h (RELEASE): Bump for 2.13 release.
44859         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44860
44861         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44862
44863         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44864         MADV_NOHUGEPAGE.
44865         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44866         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44867         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44868         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44869         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44870         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44871
44872         * posix/getconf.c: Update copyright year.
44873         * catgets/gencat.c: Likewise.
44874         * csu/version.c: Likewise.
44875         * debug/catchsegv.sh: Likewise.
44876         * debug/xtrace.sh: Likewise.
44877         * elf/ldconfig.c: Likewise.
44878         * elf/ldd.bash.in: Likewise.
44879         * elf/sprof.c (print_version): Likewise.
44880         * iconv/iconv_prog.c: Likewise.
44881         * iconv/iconvconfig.c: Likewise.
44882         * locale/programs/locale.c: Likewise.
44883         * locale/programs/localedef.c: Likewise.
44884         * malloc/memusage.sh: Likewise.
44885         * malloc/mtrace.pl: Likewise.
44886         * nscd/nscd.c (print_version): Likewise.
44887         * nss/getent.c: Likewise.
44888
44889         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44890         PF_CAIF, and PF_ALG.
44891         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44892
44893 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
44894
44895         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44896         (modules-names): Use them.
44897         (ifunc-test-modules, ifunc-pie-tests): Define.
44898         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44899         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44900         (test-extras): Likewise.
44901         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44902         $(compile-command.c).
44903         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44904         (all-built-dso): Define.
44905         (check-textrel.out, check-execstack.out): Depend on it.
44906
44907         * configure.in: Don't override --enable-multi-arch.
44908
44909 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
44910
44911         [BZ #6812]
44912         * nscd/hstcache.c (tryagain): Define.
44913         (cache_addhst): Return tryagain not notfound for temporary errors.
44914         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44915         failed.
44916
44917 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
44918
44919         [BZ #10563]
44920         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44921         to make the syscall.
44922         * sysdeps/unix/sysv/linux/setgroups.c: New file.
44923
44924         [BZ #12378]
44925         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44926         and fall back to matching as normal character if the string ends before
44927         the matching ']' is found.  This is what POSIX requires.
44928         * posix/testfnm.c: Adjust test result.
44929         * posix/globtest.sh: Adjust test result.  Add new test.
44930         * posix/tst-fnmatch.input: Likewise.
44931         * posix/tst-fnmatch2.c: Add new test.
44932
44933 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
44934
44935         * elf/Makefile (check-execstack): Revert last change.  Depend on
44936         check-execstack.h.
44937         (check-execstack.h): New target.
44938         (generated): Add check-execstack.h.
44939         * elf/check-execstack.c: Include "check-execstack.h".
44940         (main): Revert last change.
44941         (handle_file): Return zero if GNU_STACK is absent and
44942         DEFAULT_STACK_PERMS doesn't include PF_X.
44943
44944 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
44945
44946         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44947         in child fails because the descriptor is already closed.
44948         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44949         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44950         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44951
44952         [BZ #12397]
44953         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44954         syscall.
44955
44956         [BZ #10484]
44957         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44958         temporary buffer used to handle multi lookups locally.
44959         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44960
44961 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44962
44963         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44964         loader is ld.so.
44965
44966 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
44967
44968         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44969         alignment for SSE2.
44970
44971 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44972
44973         [BZ #12394]
44974         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44975         characters.  When rounding increased number of integer digits recompute
44976         number of groups.
44977         * stdio-common/tst-grouping.c: New file.
44978         * stdio-common/Makefile: Add rules to build and run tst-grouping.
44979
44980 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
44981
44982         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44983         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
44984
44985         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44986         void.
44987         * bits/select.h: Likewise.
44988
44989 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
44990
44991         * po/ja.po: Update from translation team.
44992
44993 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
44994
44995         [BZ #11155]
44996         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44997         implementation just like for lxstat, fxstatat, et al.
44998
44999 2010-12-27  Jim Meyering  <meyering@redhat.com>
45000
45001         [BZ #12348]
45002         * posix/regexec.c (build_trtable): Return failure indication upon
45003         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
45004
45005 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
45006
45007         [BZ #12201]
45008         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45009         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45010         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45011         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45012
45013         [BZ #12207]
45014         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45015
45016         [BZ #12204]
45017         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45018         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45019
45020 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
45021
45022         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45023         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45024         script has SORT_BY_INIT_PRIORITY.
45025         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45026         NO_CTORS_DTORS_SECTIONS is defined.
45027         * elf/soinit.c: Likewise.
45028         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45029         NO_CTORS_DTORS_SECTIONS is defined.
45030         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45031         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45032         * sysdeps/sh/init-first.c: Likewise.
45033         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45034
45035 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
45036
45037         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45038         always use the slow path.
45039
45040 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
45041
45042         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45043         similar rule which adds the sysdep directories to the header search in
45044         order to pick up the correct platform stackinfo.h.
45045         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45046         perform test if it is, otherwise return successfully without testing.
45047         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45048         DEFAULT_STACK_PERMS define in stackinfo.h.
45049         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45050         defined in stackinfo.h.
45051         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45052         DEFAULT_STACK_PERMS defined in stackinfo.h.
45053         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45054         * sysdeps/ia64/stackinfo.h: Likewise.
45055         * sysdeps/s390/stackinfo.h: Likewise.
45056         * sysdeps/sh/stackinfo.h: Likewise.
45057         * sysdeps/sparc/stackinfo.h: Likewise.
45058         * sysdeps/x86_64/stackinfo.h: Likewise.
45059         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45060         PF_X for powerpc64.  Retain PF_X for powerpc32.
45061
45062 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
45063
45064         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45065         accurately.
45066         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45067         GETDENTS_64BIT_ALIGNED.
45068
45069 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
45070
45071         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45072
45073 2010-12-10  Andreas Schwab  <schwab@redhat.com>
45074
45075         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45076         _GNU_SOURCE.
45077
45078         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45079         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45080         Remove __restrict.
45081         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45082         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45083
45084 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
45085
45086         [BZ #11655]
45087         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45088         are initialized.
45089
45090 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
45091
45092         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45093
45094 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
45095
45096         * po/it.po: Update from translation team.
45097
45098 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
45099
45100         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45101         unused codes.
45102
45103 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
45104
45105         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45106
45107 2010-11-24  Andreas Schwab  <schwab@redhat.com>
45108
45109         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45110         specially.
45111         (gaih_getanswer_slice): Likewise.
45112
45113 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
45114
45115         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45116
45117 2010-05-31  Petr Baudis  <pasky@suse.cz>
45118
45119         [BZ #11149]
45120         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45121         silently even in the chroot mode.
45122
45123 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
45124
45125         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45126         last patch a bit.  Pretty printing
45127
45128 2010-05-31  Petr Baudis <pasky@suse.cz>
45129
45130         [BZ #10085]
45131         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45132         initialization of skip_initgroups_dyn.
45133
45134 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
45135
45136         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45137         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45138
45139 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
45140
45141         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45142
45143 2010-11-11  Andreas Schwab  <schwab@redhat.com>
45144
45145         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45146         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45147         (tst-fnmatch-ENV): Set MALLOC_TRACE.
45148         ($(objpfx)tst-fnmatch-mem): New rule.
45149         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45150         * posix/tst-fnmatch.c (main): Call mtrace.
45151
45152 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
45153
45154         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45155         Support Intel processor model 6 and model 0x2c.
45156
45157 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
45158
45159         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45160           signed comparison.
45161
45162 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
45163
45164         [BZ #12205]
45165         * string/test-strncasecmp.c (check_result): New function.
45166         (do_one_test): Use it.
45167         (check1): New function.
45168         (test_main): Use it.
45169         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45170         Support strcasecmp and strncasecmp.
45171
45172 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
45173
45174         [BZ #12194]
45175         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45176         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45177
45178 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
45179
45180         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45181         IFUNC support.
45182         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45183         memset-x86-64.
45184         * sysdeps/x86_64/multiarch/bzero.S: New file.
45185         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45186         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45187         * sysdeps/x86_64/multiarch/memset.S: New file.
45188         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45189         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45190         Set bit_Prefer_SSE_for_memop for Intel processors.
45191         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45192         Define.
45193         (index_Prefer_SSE_for_memop): Define.
45194         (HAS_PREFER_SSE_FOR_MEMOP): Define.
45195
45196 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
45197
45198         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45199         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45200
45201 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
45202
45203         [BZ #12191]
45204         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45205         (__x86_64_raw_data_cache_size_half): Likewise.
45206         (__x86_64_raw_shared_cache_size): Likewise.
45207         (__x86_64_raw_shared_cache_size_half): Likewise.
45208
45209         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45210         (__x86_64_raw_data_cache_size_half): Likewise.
45211         (__x86_64_raw_shared_cache_size): Likewise.
45212         (__x86_64_raw_shared_cache_size_half): Likewise.
45213         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45214         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45215         and __x86_64_raw_shared_cache_size_half.  Round
45216         __x86_64_data_cache_size_half, __x86_64_data_cache_size
45217         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45218         to multiple of 256 bytes.
45219
45220 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
45221
45222         [BZ #12167]
45223         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45224         of inacessible symlinks.  Verify result of symlink before returning it.
45225         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45226         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45227
45228 2010-10-28  Erich Ritz  <erichritz@gmail.com>
45229
45230         * math/math.h (isinf): Fix typo in comment.
45231
45232 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
45233
45234         * po/da.po: Update from translation team.
45235
45236 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
45237
45238         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45239         is added to the list.
45240
45241 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45242             Ulrich Drepper  <drepper@gmail.com>
45243
45244         * elf/dl-object.c (_dl_new_object): Don't append the new object to
45245         the global list here.  Move code to...
45246         (_dl_add_to_namespace_list): ...here.  New function.
45247         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45248         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45249         * elf/dl-load.c (lose): Don't remove the element from the list.
45250         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45251         (_dl_map_object): Likewise.
45252
45253 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
45254
45255         [BZ #12159]
45256         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45257         into all bytes of SSE register.
45258         Patch by Richard Li <richardpku@gmail.com>.
45259
45260 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
45261
45262         [BZ #12140]
45263         * malloc/malloc.c (_int_free): Fill correct number of bytes when
45264         perturbing.
45265
45266 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
45267
45268         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45269         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45270         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45271         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45273         submachine.
45274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45275
45276 2010-10-22  Andreas Schwab  <schwab@redhat.com>
45277
45278         * include/dlfcn.h (__RTLD_SECURE): Define.
45279         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
45280         mode & __RTLD_SECURE instead.
45281         (open_path): Rename preloaded parameter to secure.
45282         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45283         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45284         * elf/dl-deps.c (openaux): Likewise.
45285         * elf/rtld.c (struct map_args): Remove is_preloaded.
45286         (map_doit): Don't use it.
45287         (dl_main): Likewise.
45288         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45289         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45290
45291 2010-09-09  Andreas Schwab  <schwab@redhat.com>
45292
45293         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45294         (sysd-rules-targets): Remove duplicates.
45295         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45296         rtld-%.$o dependency.
45297
45298 2010-10-18  Andreas Schwab  <schwab@redhat.com>
45299
45300         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45301         _dl_map_object do it.
45302
45303 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
45304
45305         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45306         fast fma builtins, define the macros in the C99 standard.
45307         (FP_FAST_FMAF): Likewise.
45308         (FP_FAST_FMAL): Likewise.
45309         * sysdeps/x86_64/bits/mathdef.h: Likewise.
45310
45311         * bits/mathdef.h: Update copyright year.
45312         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45313
45314 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
45315
45316         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45317         builtins, define the macros in the C99 standard.
45318         (FP_FAST_FMAF): Likewise.
45319         (FP_FAST_FMAL): Likewise.
45320         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45321         multiply/add.
45322         (FP_FAST_FMAF): Likewise.
45323
45324 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
45325
45326         [BZ #3268]
45327         * math/libm-test.inc (fma_test): Some new testcases.
45328         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45329         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45330         y and infinite z.  Do multiplication by C already in long double.
45331         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45332         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45333         y and infinite z.  Do bitwise or of inexact bit into u.d.
45334         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45335         * sysdeps/i386/fpu/s_fmaf.S: Removed.
45336         * sysdeps/i386/fpu/s_fma.S: Removed.
45337         * sysdeps/i386/fpu/s_fmal.S: Removed.
45338
45339 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
45340
45341         [BZ #3268]
45342         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45343         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45344         computation is not scheduled after fetestexcept.  Fix value
45345         of minimum denormal long double.
45346
45347 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
45348
45349         [BZ #3268]
45350         * math/libm-test.inc (fma_test): Add some more tests.
45351         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45352         correctly.
45353
45354 2010-10-15  Andreas Schwab  <schwab@redhat.com>
45355
45356         * scripts/data/localplt-s390-linux-gnu.data: New file.
45357         * scripts/data/localplt-s390x-linux-gnu.data: New file.
45358
45359 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
45360
45361         [BZ #3268]
45362         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45363         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45364         instead of dbl-64.
45365         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45366         inlines.
45367         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45368         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45369         if one of x and y is very large and the other is subnormal.
45370         * sysdeps/s390/fpu/s_fmaf.c: New file.
45371         * sysdeps/s390/fpu/s_fma.c: New file.
45372         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45373         * sysdeps/powerpc/fpu/s_fma.S: New file.
45374         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45375         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45376         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45377
45378 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
45379
45380         [BZ #3268]
45381         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45382         fma tests.
45383         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45384         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45385         * sysdeps/i386/i686/multiarch/s_fma.c: Include
45386         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45387         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45388         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45389         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45390
45391 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
45392
45393         [BZ #12078]
45394         * posix/regcomp.c (parse_branch): One more memory leak plugged.
45395         * posix/bug-regex31.input: Add test case.
45396
45397 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45398
45399         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45400         * posix/bug-regex31.input: New file.
45401
45402         [BZ #12078]
45403         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45404         (parse_sub_exp): Fix last change, use postorder.
45405
45406         * posix/bug-regex31.c: New file.
45407         * posix/Makefile: Add rules to build and run bug-regex31.
45408
45409         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45410
45411         [BZ #12078]
45412         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45413
45414         [BZ #12108]
45415         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45416         to have entries in sys_siglist.
45417
45418         [BZ #12093]
45419         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45420         be NULL.
45421
45422 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
45423
45424         [BZ #3268]
45425         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45426         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45427         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45428         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45429         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45430         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45431         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45432         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45433         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45434         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45435         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45436         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45437         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45438         * math/ftestexcept.c (fetestexcept): Likewise.
45439         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45440         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45441         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45442         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45443         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45444         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45445         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45446
45447 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45448
45449         [BZ #12107]
45450         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45451         newline.
45452
45453 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
45454
45455         * string/bug-strstr1.c: New file.
45456         * string/Makefile: Add rules to build and run bug-strstr1.
45457
45458 2010-10-05  Eric Blake  <eblake@redhat.com>
45459
45460         [BZ #12092]
45461         * string/str-two-way.h (two_way_long_needle): Always clear memory
45462         when skipping input due to the shift table.
45463
45464 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
45465
45466         [BZ #12005]
45467         * malloc/mcheck.c: Handle large requests.
45468
45469         [BZ #12077]
45470         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45471         for strncmp and strncasecmp.
45472         * string/stratcliff.c: Add tests for strcmp and strncmp.
45473         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45474
45475 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45476
45477         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45478         __set_fpscr.
45479
45480 2010-09-30  Andreas Jaeger  <aj@suse.de>
45481
45482         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45483         (CGROUP_SUPER_MAGIC): Define.
45484         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45485         Handle btrfs and cgroup file systems.
45486         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45487         Likewise.
45488
45489 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
45490
45491         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45492         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45493
45494 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45495
45496         [BZ #12067]
45497         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45498         trying to locate the ELF header.
45499
45500 2010-09-27  Andreas Schwab  <schwab@redhat.com>
45501
45502         [BZ #11611]
45503         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45504         Mask out sign-bit copies when constructing f_fsid.
45505
45506 2010-09-24  Petr Baudis <pasky@suse.cz>
45507
45508         * debug/stack_chk_fail_local.c: Add missing licence exception.
45509         * debug/warning-nop.c: Likewise.
45510
45511 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
45512
45513         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45514         implementing getdents64 using getdents syscall, set d_type if
45515         __ASSUME_GETDENTS32_D_TYPE.
45516
45517 2010-09-16  Andreas Schwab  <schwab@redhat.com>
45518
45519         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45520         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45521
45522 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
45523
45524         [BZ #12037]
45525         * posix/unistd.h: Undo change of feature selection for ftruncate from
45526         2010-01-11.
45527
45528 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
45529
45530         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45531         detection.
45532
45533 2010-09-20  Andreas Schwab  <schwab@redhat.com>
45534
45535         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45536         fanotify_mark.
45537         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45538
45539 2010-09-14  Andreas Schwab  <schwab@redhat.com>
45540
45541         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45542         variables after CHECK_SP call.
45543         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45544
45545 2010-09-13  Andreas Schwab  <schwab@redhat.com>
45546             Ulrich Drepper  <drepper@redhat.com>
45547
45548         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45549         re-relocationg ld.so.
45550         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45551         _dl_init_paths call.
45552         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
45553         here anymore.
45554
45555 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
45556
45557         * resolv/res_init.c (__res_vinit): Count the default server we added.
45558
45559 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
45560             Ulrich Drepper  <drepper@redhat.com>
45561
45562         [BZ #11968]
45563         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45564         (____longjmp_chk): Use %ebx for saving value across system call.
45565         Add unwind info.
45566
45567 2010-09-06  Andreas Schwab  <schwab@redhat.com>
45568
45569         * manual/Makefile: Don't mix pattern rules with normal rules.
45570
45571 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45572
45573         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45574         operation.
45575         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45576         * libio/iofopncook.c (_IO_cookie_init): Likewise.
45577         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45578         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45579         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45580         Likewise.
45581
45582 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
45583
45584         [BZ #11979]
45585         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45586         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45587
45588 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
45589
45590         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45591         * sysdeps/x86_64/addmul_1.S: Likewise.
45592         * sysdeps/x86_64/lshift.S: Likewise.
45593         * sysdeps/x86_64/mul_1.S: Likewise.
45594         * sysdeps/x86_64/rshift.S: Likewise.
45595         * sysdeps/x86_64/sub_n.S: Likewise.
45596         * sysdeps/x86_64/submul_1.S: Likewise.
45597
45598 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45599
45600         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45601         Define __sched_param instead of SCHED_* and sched_param when
45602         <bits/sched.h> is included with __need_schedparam defined.
45603         * bits/sched.h [__need_schedparam]
45604         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45605         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45606         (__defined_schedparam): Define to 1.
45607         (__sched_param): New structure, identical to sched_param.
45608         (__need_schedparam): Undefine.
45609
45610 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
45611
45612         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45613         (epoll_create1): Declare.
45614
45615         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45616
45617 2010-08-31  Andreas Schwab  <schwab@redhat.com>
45618
45619         [BZ #7066]
45620         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45621         shifting retval into place.
45622
45623 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
45624
45625         * nis/rpcsvc/nis.h: Update copyright notice.
45626         * nis/rpcsvc/nis.x: Likewise.
45627         * nis/rpcsvc/nis_callback.h: Likewise.
45628         * nis/rpcsvc/nis_callback.x: Likewise.
45629         * nis/rpcsvc/nis_object.x: Likewise.
45630         * nis/rpcsvc/nis_tags.h: Likewise.
45631         * nis/rpcsvc/yp.h: Likewise.
45632         * nis/rpcsvc/yp.x: Likewise.
45633         * nis/rpcsvc/ypupd.h: Likewise.
45634         * nis/yp_xdr.c: Likewise.
45635         * nis/ypupdate_xdr.c: Likewise.
45636
45637         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
45638         mainly the body of pmap_getport.  Add parameters to specify timeouts.
45639         (pmap_getport): Use __libc_rpc_getport.
45640         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45641         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45642         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45643
45644 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
45645
45646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45647         fanotify_mark.
45648
45649 2010-08-27  Roland McGrath  <roland@redhat.com>
45650
45651         * sysdeps/i386/i686/multiarch/Makefile
45652         (CFLAGS-varshift.c): New variable.
45653
45654 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
45655
45656         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45657         * sysdeps/i386/i686/multiarch/varshift.c: New file.
45658
45659         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45660
45661         * sysdeps/x86_64/strlen.S: Minimal code improvement.
45662
45663 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
45664
45665         * sysdeps/x86_64/strlen.S: Unroll the loop.
45666         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45667         strlen-sse2 strlen-sse2-bsf.
45668         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45669         __strlen_no_bsf if bit_Slow_BSF is set.
45670         (__strlen_sse42): Removed.
45671         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45672         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45673
45674 2010-08-25  Roland McGrath  <roland@redhat.com>
45675
45676         * sysdeps/x86_64/multiarch/varshift.S: File removed.
45677         * sysdeps/x86_64/multiarch/varshift.c: New file.
45678         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45679         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45680         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45681         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45682
45683 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
45684
45685         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45686         strlen-sse2 strlen-sse2-bsf.
45687         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45688         __strlen_sse2_bsf if bit_Slow_BSF is unset.
45689         (__strlen_sse2): Removed.
45690         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45691         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45692         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45693         bit_Slow_BSF for Atom.
45694         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45695         (index_Slow_BSF): Define.
45696         (HAS_SLOW_BSF): Define.
45697
45698 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
45699
45700         [BZ #10851]
45701         * resolv/res_init.c (__res_vinit): When no server address at all
45702         is given default to loopback.
45703
45704 2010-08-24  Roland McGrath  <roland@redhat.com>
45705
45706         * configure.in: Remove config-name.h generation.
45707         * configure: Regenerated.
45708         * config-name.in: File removed.
45709         * scripts/config-uname.sh: New file.
45710         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45711         ($(objdir)config-name.h): New target.
45712
45713         * sunrpc/rpc_parse.h: Avoid nested comment.
45714
45715 2010-08-24  Richard Henderson  <rth@redhat.com>
45716             Ulrich Drepper  <drepper@redhat.com>
45717             H.J. Lu  <hongjiu.lu@intel.com>
45718
45719         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45720         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45721         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45722         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
45723         _mm_alignr_epi8 with _mm_loadu_si128.
45724         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45725         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45726         (__m128i_shift_right): Removed.
45727         * sysdeps/i386/i686/multiarch/varshift.h: New file.
45728         * sysdeps/i386/i686/multiarch/varshift.S: New file.
45729         * sysdeps/x86_64/multiarch/varshift.h: New file.
45730         * sysdeps/x86_64/multiarch/varshift.S: New file.
45731
45732 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
45733
45734         * configure.in: Move assembler checks to before sysdep dir checking.
45735
45736 2010-08-20  Petr Baudis  <pasky@suse.cz>
45737
45738         * LICENSES: Sync the sunrpc license.
45739
45740 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
45741
45742         * sunrpc/auth_des.c: Update copyright notice once again.
45743         * sunrpc/auth_none.c: Likewise.
45744         * sunrpc/auth_unix.c: Likewise.
45745         * sunrpc/authdes_prot.c: Likewise.
45746         * sunrpc/authuxprot.c: Likewise.
45747         * sunrpc/bindrsvprt.c: Likewise.
45748         * sunrpc/clnt_gen.c: Likewise.
45749         * sunrpc/clnt_perr.c: Likewise.
45750         * sunrpc/clnt_raw.c: Likewise.
45751         * sunrpc/clnt_simp.c: Likewise.
45752         * sunrpc/clnt_tcp.c: Likewise.
45753         * sunrpc/clnt_udp.c: Likewise.
45754         * sunrpc/clnt_unix.c: Likewise.
45755         * sunrpc/des_crypt.c: Likewise.
45756         * sunrpc/des_soft.c: Likewise.
45757         * sunrpc/get_myaddr.c: Likewise.
45758         * sunrpc/getrpcport.c: Likewise.
45759         * sunrpc/key_call.c: Likewise.
45760         * sunrpc/key_prot.c: Likewise.
45761         * sunrpc/openchild.c: Likewise.
45762         * sunrpc/pm_getmaps.c: Likewise.
45763         * sunrpc/pm_getport.c: Likewise.
45764         * sunrpc/pmap_clnt.c: Likewise.
45765         * sunrpc/pmap_prot.c: Likewise.
45766         * sunrpc/pmap_prot2.c: Likewise.
45767         * sunrpc/pmap_rmt.c: Likewise.
45768         * sunrpc/rpc/auth.h: Likewise.
45769         * sunrpc/rpc/auth_unix.h: Likewise.
45770         * sunrpc/rpc/clnt.h: Likewise.
45771         * sunrpc/rpc/des_crypt.h: Likewise.
45772         * sunrpc/rpc/key_prot.h: Likewise.
45773         * sunrpc/rpc/netdb.h: Likewise.
45774         * sunrpc/rpc/pmap_clnt.h: Likewise.
45775         * sunrpc/rpc/pmap_prot.h: Likewise.
45776         * sunrpc/rpc/pmap_rmt.h: Likewise.
45777         * sunrpc/rpc/rpc.h: Likewise.
45778         * sunrpc/rpc/rpc_des.h: Likewise.
45779         * sunrpc/rpc/rpc_msg.h: Likewise.
45780         * sunrpc/rpc/svc.h: Likewise.
45781         * sunrpc/rpc/svc_auth.h: Likewise.
45782         * sunrpc/rpc/types.h: Likewise.
45783         * sunrpc/rpc/xdr.h: Likewise.
45784         * sunrpc/rpc_clntout.c: Likewise.
45785         * sunrpc/rpc_cmsg.c: Likewise.
45786         * sunrpc/rpc_common.c: Likewise.
45787         * sunrpc/rpc_cout.c: Likewise.
45788         * sunrpc/rpc_dtable.c: Likewise.
45789         * sunrpc/rpc_hout.c: Likewise.
45790         * sunrpc/rpc_main.c: Likewise.
45791         * sunrpc/rpc_parse.c: Likewise.
45792         * sunrpc/rpc_parse.h: Likewise.
45793         * sunrpc/rpc_prot.c: Likewise.
45794         * sunrpc/rpc_sample.c: Likewise.
45795         * sunrpc/rpc_scan.c: Likewise.
45796         * sunrpc/rpc_scan.h: Likewise.
45797         * sunrpc/rpc_svcout.c: Likewise.
45798         * sunrpc/rpc_tblout.c: Likewise.
45799         * sunrpc/rpc_util.c: Likewise.
45800         * sunrpc/rpc_util.h: Likewise.
45801         * sunrpc/rpcinfo.c: Likewise.
45802         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45803         * sunrpc/rpcsvc/key_prot.x: Likewise.
45804         * sunrpc/rpcsvc/klm_prot.x: Likewise.
45805         * sunrpc/rpcsvc/mount.x: Likewise.
45806         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45807         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45808         * sunrpc/rpcsvc/rex.x: Likewise.
45809         * sunrpc/rpcsvc/rstat.x: Likewise.
45810         * sunrpc/rpcsvc/rusers.x: Likewise.
45811         * sunrpc/rpcsvc/sm_inter.x: Likewise.
45812         * sunrpc/rpcsvc/spray.x: Likewise.
45813         * sunrpc/rpcsvc/yppasswd.x: Likewise.
45814         * sunrpc/rtime.c: Likewise.
45815         * sunrpc/svc.c: Likewise.
45816         * sunrpc/svc_auth.c: Likewise.
45817         * sunrpc/svc_authux.c: Likewise.
45818         * sunrpc/svc_raw.c: Likewise.
45819         * sunrpc/svc_run.c: Likewise.
45820         * sunrpc/svc_simple.c: Likewise.
45821         * sunrpc/svc_tcp.c: Likewise.
45822         * sunrpc/svc_udp.c: Likewise.
45823         * sunrpc/svc_unix.c: Likewise.
45824         * sunrpc/svcauth_des.c: Likewise.
45825         * sunrpc/xcrypt.c: Likewise.
45826         * sunrpc/xdr.c: Likewise.
45827         * sunrpc/xdr_array.c: Likewise.
45828         * sunrpc/xdr_float.c: Likewise.
45829         * sunrpc/xdr_mem.c: Likewise.
45830         * sunrpc/xdr_rec.c: Likewise.
45831         * sunrpc/xdr_ref.c: Likewise.
45832         * sunrpc/xdr_sizeof.c: Likewise.
45833         * sunrpc/xdr_stdio.c: Likewise.
45834
45835         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45836         handling.
45837
45838 2010-08-19  Andreas Schwab  <schwab@redhat.com>
45839
45840         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45841
45842 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
45843
45844         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45845         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45846         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45847         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45848         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45849         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45850         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45851         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45852         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45853         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45854         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45855         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45856         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45857         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45858
45859 2010-07-26  Anton Blanchard  <anton@samba.org>
45860
45861         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45862         * malloc/arena.c (heap_trim): Likewise.
45863
45864 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
45865
45866         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45867         here.  Not...
45868         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45869         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45870
45871 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45872
45873         * sysdeps/i386/elf/Makefile: New file.
45874
45875 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45876
45877         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45878         from fanotify_init.
45879         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45880         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45881
45882 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
45883
45884         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45885         of strncasecmp_l.
45886         * sysdeps/multiarch/strcmp.S: Likewise.
45887
45888 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
45889
45890         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45891         strncase_l-nonascii.
45892         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45893         Add strncase_l-ssse3.
45894         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45895         * sysdeps/x86_64/strcmp.S: Likewise.
45896         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45897         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45898         * sysdeps/x86_64/strncase.S: New file.
45899         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45900         * sysdeps/x86_64/strncase_l.S: New file.
45901         * string/Makefile (strop-tests): Add strncasecmp.
45902         * string/test-strncasecmp.c: New file.
45903
45904         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45905         warning.
45906
45907         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45908         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45909
45910 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45911
45912         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45913
45914 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
45915
45916         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45917         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45918         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45919
45920 2010-05-01  Alan Modra  <amodra@gmail.com>
45921
45922         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45923         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45924         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45925         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45926         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45927         tidying.  Don't tail-call __sigjmp_save for static lib.
45928         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45929         save location.
45930         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45931         (CALL_MCOUNT): Add eh info, and nop after bl.
45932         (TAIL_CALL_SYSCALL_ERROR): New macro.
45933         (PSEUDO_RET): Use it.
45934         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45935         Correct save location of integer regs and cr.
45936         (_dl_profile_resolve): Correct cr save location.  Delete nops
45937         after bl when SHARED.  Reduce cfi size a little by better
45938         placement of cfi directives.
45939         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45940         make a stack frame.  Instead use parm save area as a temp.
45941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45942         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
45943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45944         Don't make a stack frame for parent, use parm save area.
45945         Increase child stack frame to 112 bytes.  Don't save unused reg,
45946         and adjust reg usage.  Set up cfi on error recovery and
45947         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45949         (__makecontext): Add dummy nop after jump to exit.
45950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45951         Use correct parm save area and cr save, reduce stack frame.
45952         Correct cfi for possible PSEUDO_RET frame setup.
45953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45954         Branch to local label emitted by PSEUDO_RET rather than
45955         __syscall_error.
45956
45957 2010-08-12  Andreas Schwab  <schwab@redhat.com>
45958
45959         [BZ #11904]
45960         * locale/programs/locale.c (print_assignment): New function.
45961         (show_locale_vars): Use it.
45962
45963 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
45964
45965         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45966         field.
45967         (struct statfs64): Likewise.
45968         (_STATFS_F_FLAGS): Define.
45969         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45970         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45971         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45972         (ST_VALID): Define locally.
45973         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45974         __statvfs_getflags, use the provided value.
45975         * sysdeps/unix/sysv/linux/kernel-features.h: Define
45976         __ASSUME_STATFS_F_FLAGS.
45977
45978         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45979
45980         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45981         Add sys/fanotify.h.
45982         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45983         fanotify_mask for GLIBC_2.13.
45984         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45985         fanotify_init and fanotify_mark.
45986         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45987         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45988
45989         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45990         Add prlimit.
45991         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45992         prlimit64 for GLIBC_2.13.
45993         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45994         prlimit64.
45995         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45996         syscall.
45997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45998         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45999         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46000         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46001         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
46002         add prlimit alias.
46003         * sysdeps/unix/sysv/linux/prlimit.c: New file.
46004
46005         [BZ #11903]
46006         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46007         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46008
46009         * nss/Makefile: Add rules to build and run tst-nss-test1.
46010         * shlib-versions: Add entry for libnss_test1.
46011         * nss/nss_test1.c: New file.
46012         * nss/tst-nss-test1.c: New file.
46013
46014         * nss/nsswitch.c (__nss_database_custom): Define new variable.
46015         (__nss_configure_lookup): Set appropriate entry in
46016         __nss_configure_lookup to true.
46017         * nss/nsswitch.h: Define enum with indeces of databases in
46018         databases and __nss_database_custom arrays.  Declare
46019         __nss_database_custom.
46020         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46021         to avoid using nscd when custom rules are installed.
46022         * nss/getXXbyYY_r.c: Likewise.
46023         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46024
46025         * nss/nss_files/files-parse.c: Whitespace fixes.
46026
46027 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
46028
46029         [BZ #11883]
46030         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46031         * posix/fnmatch_loop.c: Likewise.
46032
46033 2010-07-17  Andi Kleen  <ak@linux.intel.com>
46034
46035         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46036         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46037         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46038         * Versions.def [GLIBC_2.13]: Add.
46039
46040 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
46041
46042         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46043         Also fail if tpwd after pwuid call is NULL.
46044
46045 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46046
46047         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46048         when converting to ms.
46049
46050 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46051
46052         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46053         EOPNOTSUPP errors with ENOTTY.
46054         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46055         EOPNOTSUPP errors with ENOTTY.
46056
46057 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
46058
46059         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46060         Add strcasecmp_l-ssse3.
46061         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46062         strcasecmp.
46063         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46064         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46065         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46066
46067 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
46068
46069         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46070
46071         * string/Makefile (strop-tests): Add strcasecmp.
46072         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46073         strcasecmp_l-nonascii.
46074         (gen-as-const-headers): Add locale-defines.sym.
46075         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46076         * sysdeps/x86_64/strcasecmp.S: New file.
46077         * sysdeps/x86_64/strcasecmp_l.S: New file.
46078         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46079         * sysdeps/x86_64/locale-defines.sym: New file.
46080         * string/test-strcasecmp.c: New file.
46081
46082         * string/test-strcasestr.c: Test both ends of the range of characters.
46083         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46084
46085 2010-07-29  Roland McGrath  <roland@redhat.com>
46086
46087         [BZ #11856]
46088         * manual/locale.texi (Yes-or-No Questions): Fix example code.
46089
46090 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
46091
46092         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46093         for ld.so.
46094
46095 2010-07-27  Andreas Schwab  <schwab@redhat.com>
46096
46097         * manual/memory.texi (Malloc Tunable Parameters): Document
46098         M_PERTURB.
46099
46100 2010-07-26  Roland McGrath  <roland@redhat.com>
46101
46102         [BZ #11840]
46103         * configure.in (-fgnu89-inline check): Set and substitute
46104         gnu89_inline, not libc_cv_gnu89_inline.
46105         * configure: Regenerated.
46106         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46107
46108 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
46109
46110         * string/test-strnlen.c: New file.
46111         * string/Makefile (strop-tests): Add strnlen.
46112         * string/tester.c (test_strnlen): Add a few more test cases.
46113         * string/tst-strlen.c: Better error reporting.
46114
46115         * sysdeps/x86_64/strnlen.S: New file.
46116
46117 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
46118
46119         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46120         lower-latency instructions.
46121
46122 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
46123
46124         * string/test-strcasestr.c: New file.
46125         * string/test-strstr.c: New file.
46126         * string/Makefile (strop-tests): Add strstr and strcasestr.
46127         * string/str-two-way.h: Don't undefine MAX.
46128         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46129
46130 2010-07-21  Andreas Schwab  <schwab@redhat.com>
46131
46132         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46133         strcasestr-nonascii.
46134         (CFLAGS-strcasestr-nonascii.c): Define.
46135         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46136         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46137         Remove unused attribute.
46138
46139 2010-07-20  Roland McGrath  <roland@redhat.com>
46140
46141         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46142         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
46143         ld.so.cache was broken.  With it, there is no way to disable dsocaps
46144         like LD_HWCAP_MASK can disable hwcaps.
46145
46146 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46147
46148         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46149
46150 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
46151
46152         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46153         call in strcasestr.
46154         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46155         __strcasestr_sse42_nonascii.
46156         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46157         strcasestr-nonascii.c.
46158         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46159
46160 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
46161
46162         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46163         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46164         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46165         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46166
46167 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
46168
46169         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46170         fcntl.
46171
46172 2010-07-06  Andreas Schwab  <schwab@redhat.com>
46173
46174         [BZ #11577]
46175         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46176         dl_signal_cerror.
46177
46178 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
46179
46180         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46181         _PC_PIPE_BUF using F_GETPIPE_SZ.
46182
46183 2010-07-05  Roland McGrath  <roland@redhat.com>
46184
46185         * manual/arith.texi (Rounding Functions): Fix rint description
46186         implicit in round description.
46187
46188 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
46189
46190         * elf/Makefile: Fix linking for a few tests to make recent linker
46191         happy.
46192
46193 2010-06-30  Andreas Schwab  <schwab@redhat.com>
46194
46195         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46196         $(common-objpfx)libc_nonshared.a.
46197
46198 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
46199
46200         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46201         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46202         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46203         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46204         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46205         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46206         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46207         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46222         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46223         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46224         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46225         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46226         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46227         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46228         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46229         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46230         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46231         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46232         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46233         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46248
46249 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
46250
46251         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46252         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
46253         * string/memmove.c (memmove): Renamed to ...
46254         (MEMMOVE): ...this.  Default to memmove.
46255         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46256         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46257         (END_CHK): Define.
46258         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46259         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46260         mempcpy-ssse3-back memmove-ssse3-back.
46261         * sysdeps/x86_64/multiarch/bcopy.S: New file .
46262         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46263         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46264         * sysdeps/x86_64/multiarch/memcpy.S: New file.
46265         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46266         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46267         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46268         * sysdeps/x86_64/multiarch/memmove.c: New file.
46269         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46270         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46271         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46272         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46273         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46274         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46275         Define.
46276         (index_Fast_Copy_Backward): Define.
46277         (HAS_ARCH_FEATURE): Define.
46278         (HAS_FAST_REP_STRING): Define.
46279         (HAS_FAST_COPY_BACKWARD): Define.
46280
46281 2010-06-21  Andreas Schwab  <schwab@redhat.com>
46282
46283         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46284         Restore proper fallback handling.
46285
46286 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
46287
46288         [BZ #11701]
46289         * posix/group_member.c (__group_member): Correct checking loop.
46290
46291         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46292         OOM in getpwuid_r correctly.  Return error number when the caller
46293         should return, otherwise -1.
46294         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46295         call returning > 0 value.
46296         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46297
46298 2010-06-07  Andreas Schwab  <schwab@redhat.com>
46299
46300         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46301         libc_nonshared.a from targets in modules-names.
46302
46303 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
46304
46305         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46306         requires it.
46307
46308 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
46309
46310         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46311         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46312         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46313         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46314
46315 2010-06-02  Andreas Schwab  <schwab@redhat.com>
46316
46317         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46318
46319 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
46320
46321         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46322         and F_GETPIPE_SZ.
46323         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46324         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46325         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46326         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46327         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46328         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46329
46330 2010-06-14  Roland McGrath  <roland@redhat.com>
46331
46332         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46333
46334 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
46335
46336         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46337         __REDIRECT followed by __THROW.
46338         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46339         * posix/getopt.h (getopt): Likewise.
46340
46341 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46342
46343         * hurd/lookup-at.c (__file_name_lookup_at): Accept
46344         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
46345         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46346         in AT_FLAGS.
46347         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46348         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46349
46350 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
46351
46352         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46353
46354 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
46355
46356         [BZ #11640]
46357         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46358         Properly check family and model.
46359
46360 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
46361
46362         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46363
46364 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
46365
46366         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46367
46368 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
46369
46370         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46371         symbol reference.
46372
46373 2010-05-19  Andreas Schwab  <schwab@redhat.com>
46374
46375         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46376         symbol reference.
46377
46378 2010-05-21  Andreas Schwab  <schwab@redhat.com>
46379
46380         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46381         and internal_recvmmsg.
46382         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46383         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46384         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46385         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46386
46387         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46388         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46389         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46390
46391 2010-05-20  Andreas Schwab  <schwab@redhat.com>
46392
46393         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46394
46395 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
46396
46397         POWER7 optimizations.
46398         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46399         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46400
46401 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
46402
46403         * version.h: Update for 2.13 development version.
46404
46405 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
46406
46407         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46408         exceptions.  Return 0.
46409
46410 2010-05-07  Roland McGrath  <roland@redhat.com>
46411
46412         * elf/ldconfig.c (main): Add a const.
46413
46414 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
46415
46416         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46417         (args_options): Add no-idn option.
46418         (ahosts_keys_int): Add idn_flags to ai_flags.
46419         (parse_option): Handle 'i' option to clear idn_flags.
46420
46421         * malloc/malloc.c (_int_free): Possible race in the most recently
46422         added check.  Only act on the data if no current modification
46423         happened.
46424
46425 See ChangeLog.17 for earlier changes.